OSDN Git Service

738cae13796d75fa6fb273fae704d7b7bbda494e
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for package-unused version-unused.
4 #
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization.  ##
10 ## --------------------- ##
11
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14   emulate sh
15   NULLCMD=:
16   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17   # is contrary to our usage.  Disable this feature.
18   alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20   set -o posix
21 fi
22 DUALCASE=1; export DUALCASE # for MKS sh
23
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/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 -z "`(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   test -d ./-p && rmdir ./-p
222   as_mkdir_p=false
223 fi
224
225 as_executable_p="test -f"
226
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
229
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
232
233
234 # IFS
235 # We need space, tab and new line, in precisely that order.
236 as_nl='
237 '
238 IFS="   $as_nl"
239
240 # CDPATH.
241 $as_unset CDPATH
242
243
244 # Name of the host.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
248
249 exec 6>&1
250
251 #
252 # Initializations.
253 #
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
256 cross_compiling=no
257 subdirs=
258 MFLAGS=
259 MAKEFLAGS=
260 SHELL=${CONFIG_SHELL-/bin/sh}
261
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete.  It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
266
267 # Identity of this package.
268 PACKAGE_NAME='package-unused'
269 PACKAGE_TARNAME='libstdc++'
270 PACKAGE_VERSION='version-unused'
271 PACKAGE_STRING='package-unused version-unused'
272 PACKAGE_BUGREPORT=''
273
274 ac_unique_file="src/ios.cc"
275 # Factoring default headers for most tests.
276 ac_includes_default="\
277 #include <stdio.h>
278 #if HAVE_SYS_TYPES_H
279 # include <sys/types.h>
280 #endif
281 #if HAVE_SYS_STAT_H
282 # include <sys/stat.h>
283 #endif
284 #if STDC_HEADERS
285 # include <stdlib.h>
286 # include <stddef.h>
287 #else
288 # if HAVE_STDLIB_H
289 #  include <stdlib.h>
290 # endif
291 #endif
292 #if HAVE_STRING_H
293 # if !STDC_HEADERS && HAVE_MEMORY_H
294 #  include <memory.h>
295 # endif
296 # include <string.h>
297 #endif
298 #if HAVE_STRINGS_H
299 # include <strings.h>
300 #endif
301 #if HAVE_INTTYPES_H
302 # include <inttypes.h>
303 #else
304 # if HAVE_STDINT_H
305 #  include <stdint.h>
306 # endif
307 #endif
308 #if HAVE_UNISTD_H
309 # include <unistd.h>
310 #endif"
311
312 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 install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar glibcxx_builddir glibcxx_srcdir toplevel_srcdir CC ac_ct_CC EXEEXT OBJEXT CXX ac_ct_CXX CFLAGS CXXFLAGS LN_S AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBTOOL CXXCPP CPPFLAGS enable_shared enable_static GLIBCXX_HOSTED_TRUE GLIBCXX_HOSTED_FALSE GLIBCXX_BUILD_PCH_TRUE GLIBCXX_BUILD_PCH_FALSE glibcxx_PCHFLAGS CSTDIO_H BASIC_FILE_H BASIC_FILE_CC CPP EGREP check_msgfmt glibcxx_MOFILES glibcxx_POFILES glibcxx_localedir USE_NLS CLOCALE_H CMESSAGES_H CCODECVT_CC CCOLLATE_CC CCTYPE_CC CMESSAGES_CC CMONEY_CC CNUMERIC_CC CTIME_H CTIME_CC CLOCALE_CC CLOCALE_INTERNAL_H ALLOCATOR_H ALLOCATOR_NAME C_INCLUDE_DIR GLIBCXX_C_HEADERS_C_TRUE GLIBCXX_C_HEADERS_C_FALSE GLIBCXX_C_HEADERS_C_STD_TRUE GLIBCXX_C_HEADERS_C_STD_FALSE GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE glibcxx_thread_h DEBUG_FLAGS GLIBCXX_BUILD_DEBUG_TRUE GLIBCXX_BUILD_DEBUG_FALSE EXTRA_CXX_FLAGS WERROR SECTION_FLAGS SECTION_LDFLAGS OPT_LDFLAGS LIBMATHOBJS LIBICONV 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_THREAD_TRUE GLIBCXX_TEST_THREAD_FALSE GLIBCXX_TEST_ABI_TRUE GLIBCXX_TEST_ABI_FALSE ATOMICITY_SRCDIR ATOMIC_WORD_SRCDIR ABI_TWEAKS_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'
313 ac_subst_files=''
314
315 # Initialize some variables set by options.
316 ac_init_help=
317 ac_init_version=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
320 cache_file=/dev/null
321 exec_prefix=NONE
322 no_create=
323 no_recursion=
324 prefix=NONE
325 program_prefix=NONE
326 program_suffix=NONE
327 program_transform_name=s,x,x,
328 silent=
329 site=
330 srcdir=
331 verbose=
332 x_includes=NONE
333 x_libraries=NONE
334
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir='${exec_prefix}/bin'
341 sbindir='${exec_prefix}/sbin'
342 libexecdir='${exec_prefix}/libexec'
343 datadir='${prefix}/share'
344 sysconfdir='${prefix}/etc'
345 sharedstatedir='${prefix}/com'
346 localstatedir='${prefix}/var'
347 libdir='${exec_prefix}/lib'
348 includedir='${prefix}/include'
349 oldincludedir='/usr/include'
350 infodir='${prefix}/info'
351 mandir='${prefix}/man'
352
353 ac_prev=
354 for ac_option
355 do
356   # If the previous option needs an argument, assign it.
357   if test -n "$ac_prev"; then
358     eval "$ac_prev=\$ac_option"
359     ac_prev=
360     continue
361   fi
362
363   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
364
365   # Accept the important Cygnus configure options, so we can diagnose typos.
366
367   case $ac_option in
368
369   -bindir | --bindir | --bindi | --bind | --bin | --bi)
370     ac_prev=bindir ;;
371   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
372     bindir=$ac_optarg ;;
373
374   -build | --build | --buil | --bui | --bu)
375     ac_prev=build_alias ;;
376   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
377     build_alias=$ac_optarg ;;
378
379   -cache-file | --cache-file | --cache-fil | --cache-fi \
380   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
381     ac_prev=cache_file ;;
382   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
383   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
384     cache_file=$ac_optarg ;;
385
386   --config-cache | -C)
387     cache_file=config.cache ;;
388
389   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
390     ac_prev=datadir ;;
391   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
392   | --da=*)
393     datadir=$ac_optarg ;;
394
395   -disable-* | --disable-*)
396     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397     # Reject names that are not valid shell variable names.
398     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
399       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400    { (exit 1); exit 1; }; }
401     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
402     eval "enable_$ac_feature=no" ;;
403
404   -enable-* | --enable-*)
405     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406     # Reject names that are not valid shell variable names.
407     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
408       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409    { (exit 1); exit 1; }; }
410     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
411     case $ac_option in
412       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
413       *) ac_optarg=yes ;;
414     esac
415     eval "enable_$ac_feature='$ac_optarg'" ;;
416
417   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
418   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
419   | --exec | --exe | --ex)
420     ac_prev=exec_prefix ;;
421   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
422   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
423   | --exec=* | --exe=* | --ex=*)
424     exec_prefix=$ac_optarg ;;
425
426   -gas | --gas | --ga | --g)
427     # Obsolete; use --with-gas.
428     with_gas=yes ;;
429
430   -help | --help | --hel | --he | -h)
431     ac_init_help=long ;;
432   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
433     ac_init_help=recursive ;;
434   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
435     ac_init_help=short ;;
436
437   -host | --host | --hos | --ho)
438     ac_prev=host_alias ;;
439   -host=* | --host=* | --hos=* | --ho=*)
440     host_alias=$ac_optarg ;;
441
442   -includedir | --includedir | --includedi | --included | --include \
443   | --includ | --inclu | --incl | --inc)
444     ac_prev=includedir ;;
445   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
446   | --includ=* | --inclu=* | --incl=* | --inc=*)
447     includedir=$ac_optarg ;;
448
449   -infodir | --infodir | --infodi | --infod | --info | --inf)
450     ac_prev=infodir ;;
451   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
452     infodir=$ac_optarg ;;
453
454   -libdir | --libdir | --libdi | --libd)
455     ac_prev=libdir ;;
456   -libdir=* | --libdir=* | --libdi=* | --libd=*)
457     libdir=$ac_optarg ;;
458
459   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
460   | --libexe | --libex | --libe)
461     ac_prev=libexecdir ;;
462   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
463   | --libexe=* | --libex=* | --libe=*)
464     libexecdir=$ac_optarg ;;
465
466   -localstatedir | --localstatedir | --localstatedi | --localstated \
467   | --localstate | --localstat | --localsta | --localst \
468   | --locals | --local | --loca | --loc | --lo)
469     ac_prev=localstatedir ;;
470   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
471   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
472   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
473     localstatedir=$ac_optarg ;;
474
475   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
476     ac_prev=mandir ;;
477   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
478     mandir=$ac_optarg ;;
479
480   -nfp | --nfp | --nf)
481     # Obsolete; use --without-fp.
482     with_fp=no ;;
483
484   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
485   | --no-cr | --no-c | -n)
486     no_create=yes ;;
487
488   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
489   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
490     no_recursion=yes ;;
491
492   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
493   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
494   | --oldin | --oldi | --old | --ol | --o)
495     ac_prev=oldincludedir ;;
496   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
497   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
498   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
499     oldincludedir=$ac_optarg ;;
500
501   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
502     ac_prev=prefix ;;
503   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
504     prefix=$ac_optarg ;;
505
506   -program-prefix | --program-prefix | --program-prefi | --program-pref \
507   | --program-pre | --program-pr | --program-p)
508     ac_prev=program_prefix ;;
509   -program-prefix=* | --program-prefix=* | --program-prefi=* \
510   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
511     program_prefix=$ac_optarg ;;
512
513   -program-suffix | --program-suffix | --program-suffi | --program-suff \
514   | --program-suf | --program-su | --program-s)
515     ac_prev=program_suffix ;;
516   -program-suffix=* | --program-suffix=* | --program-suffi=* \
517   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
518     program_suffix=$ac_optarg ;;
519
520   -program-transform-name | --program-transform-name \
521   | --program-transform-nam | --program-transform-na \
522   | --program-transform-n | --program-transform- \
523   | --program-transform | --program-transfor \
524   | --program-transfo | --program-transf \
525   | --program-trans | --program-tran \
526   | --progr-tra | --program-tr | --program-t)
527     ac_prev=program_transform_name ;;
528   -program-transform-name=* | --program-transform-name=* \
529   | --program-transform-nam=* | --program-transform-na=* \
530   | --program-transform-n=* | --program-transform-=* \
531   | --program-transform=* | --program-transfor=* \
532   | --program-transfo=* | --program-transf=* \
533   | --program-trans=* | --program-tran=* \
534   | --progr-tra=* | --program-tr=* | --program-t=*)
535     program_transform_name=$ac_optarg ;;
536
537   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
538   | -silent | --silent | --silen | --sile | --sil)
539     silent=yes ;;
540
541   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
542     ac_prev=sbindir ;;
543   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
544   | --sbi=* | --sb=*)
545     sbindir=$ac_optarg ;;
546
547   -sharedstatedir | --sharedstatedir | --sharedstatedi \
548   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
549   | --sharedst | --shareds | --shared | --share | --shar \
550   | --sha | --sh)
551     ac_prev=sharedstatedir ;;
552   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
553   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
554   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
555   | --sha=* | --sh=*)
556     sharedstatedir=$ac_optarg ;;
557
558   -site | --site | --sit)
559     ac_prev=site ;;
560   -site=* | --site=* | --sit=*)
561     site=$ac_optarg ;;
562
563   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
564     ac_prev=srcdir ;;
565   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
566     srcdir=$ac_optarg ;;
567
568   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
569   | --syscon | --sysco | --sysc | --sys | --sy)
570     ac_prev=sysconfdir ;;
571   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
572   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
573     sysconfdir=$ac_optarg ;;
574
575   -target | --target | --targe | --targ | --tar | --ta | --t)
576     ac_prev=target_alias ;;
577   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
578     target_alias=$ac_optarg ;;
579
580   -v | -verbose | --verbose | --verbos | --verbo | --verb)
581     verbose=yes ;;
582
583   -version | --version | --versio | --versi | --vers | -V)
584     ac_init_version=: ;;
585
586   -with-* | --with-*)
587     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588     # Reject names that are not valid shell variable names.
589     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
590       { echo "$as_me: error: invalid package name: $ac_package" >&2
591    { (exit 1); exit 1; }; }
592     ac_package=`echo $ac_package| sed 's/-/_/g'`
593     case $ac_option in
594       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
595       *) ac_optarg=yes ;;
596     esac
597     eval "with_$ac_package='$ac_optarg'" ;;
598
599   -without-* | --without-*)
600     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601     # Reject names that are not valid shell variable names.
602     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
603       { echo "$as_me: error: invalid package name: $ac_package" >&2
604    { (exit 1); exit 1; }; }
605     ac_package=`echo $ac_package | sed 's/-/_/g'`
606     eval "with_$ac_package=no" ;;
607
608   --x)
609     # Obsolete; use --with-x.
610     with_x=yes ;;
611
612   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
613   | --x-incl | --x-inc | --x-in | --x-i)
614     ac_prev=x_includes ;;
615   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
616   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
617     x_includes=$ac_optarg ;;
618
619   -x-libraries | --x-libraries | --x-librarie | --x-librari \
620   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
621     ac_prev=x_libraries ;;
622   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
623   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
624     x_libraries=$ac_optarg ;;
625
626   -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628    { (exit 1); exit 1; }; }
629     ;;
630
631   *=*)
632     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
633     # Reject names that are not valid shell variable names.
634     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
635       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636    { (exit 1); exit 1; }; }
637     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638     eval "$ac_envvar='$ac_optarg'"
639     export $ac_envvar ;;
640
641   *)
642     # FIXME: should be removed in autoconf 3.0.
643     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
645       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
647     ;;
648
649   esac
650 done
651
652 if test -n "$ac_prev"; then
653   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
654   { echo "$as_me: error: missing argument to $ac_option" >&2
655    { (exit 1); exit 1; }; }
656 fi
657
658 # Be sure to have absolute paths.
659 for ac_var in exec_prefix prefix
660 do
661   eval ac_val=$`echo $ac_var`
662   case $ac_val in
663     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
664     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665    { (exit 1); exit 1; }; };;
666   esac
667 done
668
669 # Be sure to have absolute paths.
670 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671               localstatedir libdir includedir oldincludedir infodir mandir
672 do
673   eval ac_val=$`echo $ac_var`
674   case $ac_val in
675     [\\/$]* | ?:[\\/]* ) ;;
676     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677    { (exit 1); exit 1; }; };;
678   esac
679 done
680
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
684 build=$build_alias
685 host=$host_alias
686 target=$target_alias
687
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x; then
690   if test "x$build_alias" = x; then
691     cross_compiling=maybe
692     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693     If a cross compiler is detected then cross compile mode will be used." >&2
694   elif test "x$build_alias" != "x$host_alias"; then
695     cross_compiling=yes
696   fi
697 fi
698
699 ac_tool_prefix=
700 test -n "$host_alias" && ac_tool_prefix=$host_alias-
701
702 test "$silent" = yes && exec 6>/dev/null
703
704
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707   ac_srcdir_defaulted=yes
708   # Try the directory containing this script, then its parent.
709   ac_confdir=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711          X"$0" : 'X\(//\)[^/]' \| \
712          X"$0" : 'X\(//\)$' \| \
713          X"$0" : 'X\(/\)' \| \
714          .     : '\(.\)' 2>/dev/null ||
715 echo X"$0" |
716     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718           /^X\(\/\/\)$/{ s//\1/; q; }
719           /^X\(\/\).*/{ s//\1/; q; }
720           s/.*/./; q'`
721   srcdir=$ac_confdir
722   if test ! -r $srcdir/$ac_unique_file; then
723     srcdir=..
724   fi
725 else
726   ac_srcdir_defaulted=no
727 fi
728 if test ! -r $srcdir/$ac_unique_file; then
729   if test "$ac_srcdir_defaulted" = yes; then
730     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731    { (exit 1); exit 1; }; }
732   else
733     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734    { (exit 1); exit 1; }; }
735   fi
736 fi
737 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
738   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739    { (exit 1); exit 1; }; }
740 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set=${build_alias+set}
742 ac_env_build_alias_value=$build_alias
743 ac_cv_env_build_alias_set=${build_alias+set}
744 ac_cv_env_build_alias_value=$build_alias
745 ac_env_host_alias_set=${host_alias+set}
746 ac_env_host_alias_value=$host_alias
747 ac_cv_env_host_alias_set=${host_alias+set}
748 ac_cv_env_host_alias_value=$host_alias
749 ac_env_target_alias_set=${target_alias+set}
750 ac_env_target_alias_value=$target_alias
751 ac_cv_env_target_alias_set=${target_alias+set}
752 ac_cv_env_target_alias_value=$target_alias
753 ac_env_CXXCPP_set=${CXXCPP+set}
754 ac_env_CXXCPP_value=$CXXCPP
755 ac_cv_env_CXXCPP_set=${CXXCPP+set}
756 ac_cv_env_CXXCPP_value=$CXXCPP
757 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
758 ac_env_CPPFLAGS_value=$CPPFLAGS
759 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
760 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
761 ac_env_CPP_set=${CPP+set}
762 ac_env_CPP_value=$CPP
763 ac_cv_env_CPP_set=${CPP+set}
764 ac_cv_env_CPP_value=$CPP
765
766 #
767 # Report the --help message.
768 #
769 if test "$ac_init_help" = "long"; then
770   # Omit some internal or obsolete options to make the list less imposing.
771   # This message is too long to be a string in the A/UX 3.1 sh.
772   cat <<_ACEOF
773 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
774
775 Usage: $0 [OPTION]... [VAR=VALUE]...
776
777 To assign environment variables (e.g., CC, CFLAGS...), specify them as
778 VAR=VALUE.  See below for descriptions of some of the useful variables.
779
780 Defaults for the options are specified in brackets.
781
782 Configuration:
783   -h, --help              display this help and exit
784       --help=short        display options specific to this package
785       --help=recursive    display the short help of all the included packages
786   -V, --version           display version information and exit
787   -q, --quiet, --silent   do not print \`checking...' messages
788       --cache-file=FILE   cache test results in FILE [disabled]
789   -C, --config-cache      alias for \`--cache-file=config.cache'
790   -n, --no-create         do not create output files
791       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
792
793 _ACEOF
794
795   cat <<_ACEOF
796 Installation directories:
797   --prefix=PREFIX         install architecture-independent files in PREFIX
798                           [$ac_default_prefix]
799   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
800                           [PREFIX]
801
802 By default, \`make install' will install all the files in
803 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
804 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
805 for instance \`--prefix=\$HOME'.
806
807 For better control, use the options below.
808
809 Fine tuning of the installation directories:
810   --bindir=DIR           user executables [EPREFIX/bin]
811   --sbindir=DIR          system admin executables [EPREFIX/sbin]
812   --libexecdir=DIR       program executables [EPREFIX/libexec]
813   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
814   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
815   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
816   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
817   --libdir=DIR           object code libraries [EPREFIX/lib]
818   --includedir=DIR       C header files [PREFIX/include]
819   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
820   --infodir=DIR          info documentation [PREFIX/info]
821   --mandir=DIR           man documentation [PREFIX/man]
822 _ACEOF
823
824   cat <<\_ACEOF
825
826 Program names:
827   --program-prefix=PREFIX            prepend PREFIX to installed program names
828   --program-suffix=SUFFIX            append SUFFIX to installed program names
829   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
830
831 System types:
832   --build=BUILD     configure for building on BUILD [guessed]
833   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
834   --target=TARGET   configure for building compilers for TARGET [HOST]
835 _ACEOF
836 fi
837
838 if test -n "$ac_init_help"; then
839   case $ac_init_help in
840      short | recursive ) echo "Configuration of package-unused version-unused:";;
841    esac
842   cat <<\_ACEOF
843
844 Optional Features:
845   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
846   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
847   --enable-multilib       build many library versions (default)
848   --enable-maintainer-mode  enable make rules and dependencies not useful
849                           (and sometimes confusing) to the casual installer
850   --enable-shared=PKGS  build shared libraries default=yes
851   --enable-static=PKGS  build static libraries default=yes
852   --enable-fast-install=PKGS  optimize for fast installation default=yes
853   --disable-libtool-lock  avoid locking (might break parallel builds)
854   --disable-hosted-libstdcxx
855                           only build freestanding C++ runtime support
856   --enable-sjlj-exceptions
857                           force use of builtin_setjmp for exceptions
858                           [default=auto]
859   --enable-libstdcxx-pch  build pre-compiled libstdc++ headers
860                           [default=$is_hosted]
861   --enable-cstdio=PACKAGE use target-specific I/O package
862                           [default=stdio]
863   --enable-clocale[=MODEL]
864                           use MODEL for target locale package
865                           [default=auto]
866   --enable-nls            use Native Language Support (default)
867   --enable-libstdcxx-allocator=KIND
868                           use KIND for target std::allocator base
869                           [default=auto]
870   --enable-cheaders=KIND  construct "C" headers for g++
871                           [default=$c_model]
872   --enable-c-mbchar       enable multibyte (wide) characters
873                           [default=yes]
874   --enable-c99            turns on ISO/IEC 9899:1999 support
875                           [default=yes]
876   --enable-long-long      enables I/O support for 'long long'
877                           [default=yes]
878   --enable-concept-checks use Boost-derived template checks [default=no]
879   --enable-libstdcxx-debug-flags=FLAGS
880                           pass compiler FLAGS when building debug library
881                           [default="-g3 -O0"]
882   --enable-libstdcxx-debug
883                           build extra debug library [default=no]
884   --enable-cxx-flags=FLAGS
885                           pass compiler FLAGS when building library
886                           [default=]
887   --enable-fully-dynamic-string
888                           do not put empty strings in per-process static
889                           memory [default=no]
890   --enable-symvers=STYLE  enables symbol versioning of the shared library
891                           [default=yes]
892   --enable-version-specific-runtime-libs
893                           Specify that runtime libraries should be installed
894                           in a compiler-specific directory
895
896 Optional Packages:
897   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
898   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
899   --with-target-subdir=SUBDIR
900                           configuring in a subdirectory
901   --with-cross-host=HOST  configuring with a cross compiler
902   --with-newlib           assume newlib as a system C library
903   --with-gnu-ld           assume the C compiler uses GNU ld default=no
904   --with-pic              try to use only PIC/non-PIC objects default=use both
905   --with-gxx-include-dir=DIR
906                           installation directory for include files
907
908 Some influential environment variables:
909   CC          C compiler command
910   CFLAGS      C compiler flags
911   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
912               nonstandard directory <lib dir>
913   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
914               headers in a nonstandard directory <include dir>
915   CXX         C++ compiler command
916   CXXFLAGS    C++ compiler flags
917   CXXCPP      C++ preprocessor
918   CPP         C preprocessor
919
920 Use these variables to override the choices made by `configure' or to help
921 it to find libraries and programs with nonstandard names/locations.
922
923 _ACEOF
924 fi
925
926 if test "$ac_init_help" = "recursive"; then
927   # If there are subdirs, report their specific --help.
928   ac_popdir=`pwd`
929   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
930     test -d $ac_dir || continue
931     ac_builddir=.
932
933 if test "$ac_dir" != .; then
934   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
935   # A "../" for each directory in $ac_dir_suffix.
936   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
937 else
938   ac_dir_suffix= ac_top_builddir=
939 fi
940
941 case $srcdir in
942   .)  # No --srcdir option.  We are building in place.
943     ac_srcdir=.
944     if test -z "$ac_top_builddir"; then
945        ac_top_srcdir=.
946     else
947        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
948     fi ;;
949   [\\/]* | ?:[\\/]* )  # Absolute path.
950     ac_srcdir=$srcdir$ac_dir_suffix;
951     ac_top_srcdir=$srcdir ;;
952   *) # Relative path.
953     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
954     ac_top_srcdir=$ac_top_builddir$srcdir ;;
955 esac
956
957 # Do not use `cd foo && pwd` to compute absolute paths, because
958 # the directories may not exist.
959 case `pwd` in
960 .) ac_abs_builddir="$ac_dir";;
961 *)
962   case "$ac_dir" in
963   .) ac_abs_builddir=`pwd`;;
964   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
965   *) ac_abs_builddir=`pwd`/"$ac_dir";;
966   esac;;
967 esac
968 case $ac_abs_builddir in
969 .) ac_abs_top_builddir=${ac_top_builddir}.;;
970 *)
971   case ${ac_top_builddir}. in
972   .) ac_abs_top_builddir=$ac_abs_builddir;;
973   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
974   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
975   esac;;
976 esac
977 case $ac_abs_builddir in
978 .) ac_abs_srcdir=$ac_srcdir;;
979 *)
980   case $ac_srcdir in
981   .) ac_abs_srcdir=$ac_abs_builddir;;
982   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
983   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
984   esac;;
985 esac
986 case $ac_abs_builddir in
987 .) ac_abs_top_srcdir=$ac_top_srcdir;;
988 *)
989   case $ac_top_srcdir in
990   .) ac_abs_top_srcdir=$ac_abs_builddir;;
991   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
992   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
993   esac;;
994 esac
995
996     cd $ac_dir
997     # Check for guested configure; otherwise get Cygnus style configure.
998     if test -f $ac_srcdir/configure.gnu; then
999       echo
1000       $SHELL $ac_srcdir/configure.gnu  --help=recursive
1001     elif test -f $ac_srcdir/configure; then
1002       echo
1003       $SHELL $ac_srcdir/configure  --help=recursive
1004     elif test -f $ac_srcdir/configure.ac ||
1005            test -f $ac_srcdir/configure.in; then
1006       echo
1007       $ac_configure --help
1008     else
1009       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1010     fi
1011     cd $ac_popdir
1012   done
1013 fi
1014
1015 test -n "$ac_init_help" && exit 0
1016 if $ac_init_version; then
1017   cat <<\_ACEOF
1018 package-unused configure version-unused
1019 generated by GNU Autoconf 2.59
1020
1021 Copyright (C) 2003 Free Software Foundation, Inc.
1022 This configure script is free software; the Free Software Foundation
1023 gives unlimited permission to copy, distribute and modify it.
1024 _ACEOF
1025   exit 0
1026 fi
1027 exec 5>config.log
1028 cat >&5 <<_ACEOF
1029 This file contains any messages produced by compilers while
1030 running configure, to aid debugging if configure makes a mistake.
1031
1032 It was created by package-unused $as_me version-unused, which was
1033 generated by GNU Autoconf 2.59.  Invocation command line was
1034
1035   $ $0 $@
1036
1037 _ACEOF
1038 {
1039 cat <<_ASUNAME
1040 ## --------- ##
1041 ## Platform. ##
1042 ## --------- ##
1043
1044 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1045 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1046 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1047 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1048 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1049
1050 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1051 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1052
1053 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1054 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1055 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1056 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
1057 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1058 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1059 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1060
1061 _ASUNAME
1062
1063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1064 for as_dir in $PATH
1065 do
1066   IFS=$as_save_IFS
1067   test -z "$as_dir" && as_dir=.
1068   echo "PATH: $as_dir"
1069 done
1070
1071 } >&5
1072
1073 cat >&5 <<_ACEOF
1074
1075
1076 ## ----------- ##
1077 ## Core tests. ##
1078 ## ----------- ##
1079
1080 _ACEOF
1081
1082
1083 # Keep a trace of the command line.
1084 # Strip out --no-create and --no-recursion so they do not pile up.
1085 # Strip out --silent because we don't want to record it for future runs.
1086 # Also quote any args containing shell meta-characters.
1087 # Make two passes to allow for proper duplicate-argument suppression.
1088 ac_configure_args=
1089 ac_configure_args0=
1090 ac_configure_args1=
1091 ac_sep=
1092 ac_must_keep_next=false
1093 for ac_pass in 1 2
1094 do
1095   for ac_arg
1096   do
1097     case $ac_arg in
1098     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1099     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1100     | -silent | --silent | --silen | --sile | --sil)
1101       continue ;;
1102     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1103       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1104     esac
1105     case $ac_pass in
1106     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1107     2)
1108       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1109       if test $ac_must_keep_next = true; then
1110         ac_must_keep_next=false # Got value, back to normal.
1111       else
1112         case $ac_arg in
1113           *=* | --config-cache | -C | -disable-* | --disable-* \
1114           | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1115           | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1116           | -with-* | --with-* | -without-* | --without-* | --x)
1117             case "$ac_configure_args0 " in
1118               "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1119             esac
1120             ;;
1121           -* ) ac_must_keep_next=true ;;
1122         esac
1123       fi
1124       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1125       # Get rid of the leading space.
1126       ac_sep=" "
1127       ;;
1128     esac
1129   done
1130 done
1131 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1132 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1133
1134 # When interrupted or exit'd, cleanup temporary files, and complete
1135 # config.log.  We remove comments because anyway the quotes in there
1136 # would cause problems or look ugly.
1137 # WARNING: Be sure not to use single quotes in there, as some shells,
1138 # such as our DU 5.0 friend, will then `close' the trap.
1139 trap 'exit_status=$?
1140   # Save into config.log some information that might help in debugging.
1141   {
1142     echo
1143
1144     cat <<\_ASBOX
1145 ## ---------------- ##
1146 ## Cache variables. ##
1147 ## ---------------- ##
1148 _ASBOX
1149     echo
1150     # The following way of writing the cache mishandles newlines in values,
1151 {
1152   (set) 2>&1 |
1153     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1154     *ac_space=\ *)
1155       sed -n \
1156         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1157           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1158       ;;
1159     *)
1160       sed -n \
1161         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1162       ;;
1163     esac;
1164 }
1165     echo
1166
1167     cat <<\_ASBOX
1168 ## ----------------- ##
1169 ## Output variables. ##
1170 ## ----------------- ##
1171 _ASBOX
1172     echo
1173     for ac_var in $ac_subst_vars
1174     do
1175       eval ac_val=$`echo $ac_var`
1176       echo "$ac_var='"'"'$ac_val'"'"'"
1177     done | sort
1178     echo
1179
1180     if test -n "$ac_subst_files"; then
1181       cat <<\_ASBOX
1182 ## ------------- ##
1183 ## Output files. ##
1184 ## ------------- ##
1185 _ASBOX
1186       echo
1187       for ac_var in $ac_subst_files
1188       do
1189         eval ac_val=$`echo $ac_var`
1190         echo "$ac_var='"'"'$ac_val'"'"'"
1191       done | sort
1192       echo
1193     fi
1194
1195     if test -s confdefs.h; then
1196       cat <<\_ASBOX
1197 ## ----------- ##
1198 ## confdefs.h. ##
1199 ## ----------- ##
1200 _ASBOX
1201       echo
1202       sed "/^$/d" confdefs.h | sort
1203       echo
1204     fi
1205     test "$ac_signal" != 0 &&
1206       echo "$as_me: caught signal $ac_signal"
1207     echo "$as_me: exit $exit_status"
1208   } >&5
1209   rm -f core *.core &&
1210   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1211     exit $exit_status
1212      ' 0
1213 for ac_signal in 1 2 13 15; do
1214   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1215 done
1216 ac_signal=0
1217
1218 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1219 rm -rf conftest* confdefs.h
1220 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1221 echo >confdefs.h
1222
1223 # Predefined preprocessor variables.
1224
1225 cat >>confdefs.h <<_ACEOF
1226 #define PACKAGE_NAME "$PACKAGE_NAME"
1227 _ACEOF
1228
1229
1230 cat >>confdefs.h <<_ACEOF
1231 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1232 _ACEOF
1233
1234
1235 cat >>confdefs.h <<_ACEOF
1236 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1237 _ACEOF
1238
1239
1240 cat >>confdefs.h <<_ACEOF
1241 #define PACKAGE_STRING "$PACKAGE_STRING"
1242 _ACEOF
1243
1244
1245 cat >>confdefs.h <<_ACEOF
1246 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1247 _ACEOF
1248
1249
1250 # Let the site file select an alternate cache file if it wants to.
1251 # Prefer explicitly selected file to automatically selected ones.
1252 if test -z "$CONFIG_SITE"; then
1253   if test "x$prefix" != xNONE; then
1254     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1255   else
1256     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1257   fi
1258 fi
1259 for ac_site_file in $CONFIG_SITE; do
1260   if test -r "$ac_site_file"; then
1261     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1262 echo "$as_me: loading site script $ac_site_file" >&6;}
1263     sed 's/^/| /' "$ac_site_file" >&5
1264     . "$ac_site_file"
1265   fi
1266 done
1267
1268 if test -r "$cache_file"; then
1269   # Some versions of bash will fail to source /dev/null (special
1270   # files actually), so we avoid doing that.
1271   if test -f "$cache_file"; then
1272     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1273 echo "$as_me: loading cache $cache_file" >&6;}
1274     case $cache_file in
1275       [\\/]* | ?:[\\/]* ) . $cache_file;;
1276       *)                      . ./$cache_file;;
1277     esac
1278   fi
1279 else
1280   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1281 echo "$as_me: creating cache $cache_file" >&6;}
1282   >$cache_file
1283 fi
1284
1285 # Check that the precious variables saved in the cache have kept the same
1286 # value.
1287 ac_cache_corrupted=false
1288 for ac_var in `(set) 2>&1 |
1289                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1290   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1291   eval ac_new_set=\$ac_env_${ac_var}_set
1292   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1293   eval ac_new_val="\$ac_env_${ac_var}_value"
1294   case $ac_old_set,$ac_new_set in
1295     set,)
1296       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1297 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1298       ac_cache_corrupted=: ;;
1299     ,set)
1300       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1301 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1302       ac_cache_corrupted=: ;;
1303     ,);;
1304     *)
1305       if test "x$ac_old_val" != "x$ac_new_val"; then
1306         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1307 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1308         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1309 echo "$as_me:   former value:  $ac_old_val" >&2;}
1310         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1311 echo "$as_me:   current value: $ac_new_val" >&2;}
1312         ac_cache_corrupted=:
1313       fi;;
1314   esac
1315   # Pass precious variables to config.status.
1316   if test "$ac_new_set" = set; then
1317     case $ac_new_val in
1318     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1319       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1320     *) ac_arg=$ac_var=$ac_new_val ;;
1321     esac
1322     case " $ac_configure_args " in
1323       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1324       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1325     esac
1326   fi
1327 done
1328 if $ac_cache_corrupted; then
1329   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1330 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1331   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1332 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1333    { (exit 1); exit 1; }; }
1334 fi
1335
1336 ac_ext=c
1337 ac_cpp='$CPP $CPPFLAGS'
1338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369           ac_config_headers="$ac_config_headers config.h"
1370
1371
1372 # This works around the fact that libtool configuration may change LD
1373 # for this particular configuration, but some shells, instead of
1374 # keeping the changes in LD private, export them just because LD is
1375 # exported.  Only used at the end of this file.
1376 ### am handles this now?  ORIGINAL_LD_FOR_MULTILIBS=$LD
1377
1378 # For libtool versioning info, format is CURRENT:REVISION:AGE
1379 libtool_VERSION=6:4:0
1380
1381
1382 # Find the rest of the source tree framework.
1383 # Default to --enable-multilib
1384 # Check whether --enable-multilib or --disable-multilib was given.
1385 if test "${enable_multilib+set}" = set; then
1386   enableval="$enable_multilib"
1387   case "$enableval" in
1388   yes) multilib=yes ;;
1389   no)  multilib=no ;;
1390   *)   { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1391 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1392    { (exit 1); exit 1; }; } ;;
1393  esac
1394 else
1395   multilib=yes
1396 fi;
1397
1398 # We may get other options which we leave undocumented:
1399 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1400 # See config-ml.in if you want the gory details.
1401
1402 if test "$srcdir" = "."; then
1403   if test "$with_target_subdir" != "."; then
1404     multi_basedir="$srcdir/$with_multisrctop../.."
1405   else
1406     multi_basedir="$srcdir/$with_multisrctop.."
1407   fi
1408 else
1409   multi_basedir="$srcdir/.."
1410 fi
1411
1412
1413           ac_config_commands="$ac_config_commands default-1"
1414
1415
1416 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1417 #
1418 # You will slowly go insane if you do not grok the following fact:  when
1419 # building v3 as part of the compiler, the top-level /target/ becomes the
1420 # library's /host/.  configure then causes --target to default to --host,
1421 # exactly like any other package using autoconf.  Therefore, 'target' and
1422 # 'host' will always be the same.  This makes sense both for native and
1423 # cross compilers, just think about it for a little while.  :-)
1424 #
1425 # Also, if v3 is being configured as part of a cross compiler, the top-level
1426 # configure script will pass the "real" host as $with_cross_host.
1427 #
1428 # Do not delete or change the following two lines.  For why, see
1429 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1430 ac_aux_dir=
1431 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1432   if test -f $ac_dir/install-sh; then
1433     ac_aux_dir=$ac_dir
1434     ac_install_sh="$ac_aux_dir/install-sh -c"
1435     break
1436   elif test -f $ac_dir/install.sh; then
1437     ac_aux_dir=$ac_dir
1438     ac_install_sh="$ac_aux_dir/install.sh -c"
1439     break
1440   elif test -f $ac_dir/shtool; then
1441     ac_aux_dir=$ac_dir
1442     ac_install_sh="$ac_aux_dir/shtool install -c"
1443     break
1444   fi
1445 done
1446 if test -z "$ac_aux_dir"; then
1447   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1448 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1449    { (exit 1); exit 1; }; }
1450 fi
1451 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1452 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1453 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1454
1455 # Make sure we can run config.sub.
1456 $ac_config_sub sun4 >/dev/null 2>&1 ||
1457   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1458 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1459    { (exit 1); exit 1; }; }
1460
1461 echo "$as_me:$LINENO: checking build system type" >&5
1462 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1463 if test "${ac_cv_build+set}" = set; then
1464   echo $ECHO_N "(cached) $ECHO_C" >&6
1465 else
1466   ac_cv_build_alias=$build_alias
1467 test -z "$ac_cv_build_alias" &&
1468   ac_cv_build_alias=`$ac_config_guess`
1469 test -z "$ac_cv_build_alias" &&
1470   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1471 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1472    { (exit 1); exit 1; }; }
1473 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1474   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1475 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1476    { (exit 1); exit 1; }; }
1477
1478 fi
1479 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1480 echo "${ECHO_T}$ac_cv_build" >&6
1481 build=$ac_cv_build
1482 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1483 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1484 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1485
1486
1487 echo "$as_me:$LINENO: checking host system type" >&5
1488 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1489 if test "${ac_cv_host+set}" = set; then
1490   echo $ECHO_N "(cached) $ECHO_C" >&6
1491 else
1492   ac_cv_host_alias=$host_alias
1493 test -z "$ac_cv_host_alias" &&
1494   ac_cv_host_alias=$ac_cv_build_alias
1495 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1496   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1497 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1498    { (exit 1); exit 1; }; }
1499
1500 fi
1501 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1502 echo "${ECHO_T}$ac_cv_host" >&6
1503 host=$ac_cv_host
1504 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1505 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1506 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1507
1508
1509 echo "$as_me:$LINENO: checking target system type" >&5
1510 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1511 if test "${ac_cv_target+set}" = set; then
1512   echo $ECHO_N "(cached) $ECHO_C" >&6
1513 else
1514   ac_cv_target_alias=$target_alias
1515 test "x$ac_cv_target_alias" = "x" &&
1516   ac_cv_target_alias=$ac_cv_host_alias
1517 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1518   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1519 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1520    { (exit 1); exit 1; }; }
1521
1522 fi
1523 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1524 echo "${ECHO_T}$ac_cv_target" >&6
1525 target=$ac_cv_target
1526 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1527 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1528 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1529
1530
1531 # The aliases save the names the user supplied, while $host etc.
1532 # will get canonicalized.
1533 test -n "$target_alias" &&
1534   test "$program_prefix$program_suffix$program_transform_name" = \
1535     NONENONEs,x,x, &&
1536   program_prefix=${target_alias}-
1537 target_alias=${target_alias-$host_alias}
1538
1539 # Handy for debugging:
1540 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1541
1542 if test "$build" != "$host"; then
1543   # We are being configured with some form of cross compiler.
1544   GLIBCXX_IS_NATIVE=false
1545
1546 else
1547   GLIBCXX_IS_NATIVE=true
1548 fi
1549
1550 # Sets up automake.  Must come after AC_CANONICAL_SYSTEM.  Each of the
1551 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1552 #  1.x:  minimum required version
1553 #  no-define:  PACKAGE and VERSION will not be #define'd in config.h (a bunch
1554 #              of other PACKAGE_* variables will, however, and there's nothing
1555 #              we can do about that; they come from AC_INIT).
1556 #  foreign:  we don't follow the normal rules for GNU packages (no COPYING
1557 #            file in the top srcdir, etc, etc), so stop complaining.
1558 #  no-dependencies:  turns off auto dependency generation (just for now)
1559 #  -Wall:  turns on all automake warnings...
1560 #  -Wno-portability:  ...except this one, since GNU make is now required.
1561 am__api_version="1.9"
1562 # Find a good install program.  We prefer a C program (faster),
1563 # so one script is as good as another.  But avoid the broken or
1564 # incompatible versions:
1565 # SysV /etc/install, /usr/sbin/install
1566 # SunOS /usr/etc/install
1567 # IRIX /sbin/install
1568 # AIX /bin/install
1569 # AmigaOS /C/install, which installs bootblocks on floppy discs
1570 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1571 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1572 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1573 # OS/2's system install, which has a completely different semantic
1574 # ./install, which can be erroneously created by make from ./install.sh.
1575 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1576 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1577 if test -z "$INSTALL"; then
1578 if test "${ac_cv_path_install+set}" = set; then
1579   echo $ECHO_N "(cached) $ECHO_C" >&6
1580 else
1581   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1582 for as_dir in $PATH
1583 do
1584   IFS=$as_save_IFS
1585   test -z "$as_dir" && as_dir=.
1586   # Account for people who put trailing slashes in PATH elements.
1587 case $as_dir/ in
1588   ./ | .// | /cC/* | \
1589   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1590   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1591   /usr/ucb/* ) ;;
1592   *)
1593     # OSF1 and SCO ODT 3.0 have their own names for install.
1594     # Don't use installbsd from OSF since it installs stuff as root
1595     # by default.
1596     for ac_prog in ginstall scoinst install; do
1597       for ac_exec_ext in '' $ac_executable_extensions; do
1598         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1599           if test $ac_prog = install &&
1600             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1601             # AIX install.  It has an incompatible calling convention.
1602             :
1603           elif test $ac_prog = install &&
1604             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1605             # program-specific install script used by HP pwplus--don't use.
1606             :
1607           else
1608             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1609             break 3
1610           fi
1611         fi
1612       done
1613     done
1614     ;;
1615 esac
1616 done
1617
1618
1619 fi
1620   if test "${ac_cv_path_install+set}" = set; then
1621     INSTALL=$ac_cv_path_install
1622   else
1623     # As a last resort, use the slow shell script.  We don't cache a
1624     # path for INSTALL within a source directory, because that will
1625     # break other packages using the cache if that directory is
1626     # removed, or if the path is relative.
1627     INSTALL=$ac_install_sh
1628   fi
1629 fi
1630 echo "$as_me:$LINENO: result: $INSTALL" >&5
1631 echo "${ECHO_T}$INSTALL" >&6
1632
1633 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1634 # It thinks the first close brace ends the variable substitution.
1635 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1636
1637 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1638
1639 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1640
1641 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1642 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1643 # Just in case
1644 sleep 1
1645 echo timestamp > conftest.file
1646 # Do `set' in a subshell so we don't clobber the current shell's
1647 # arguments.  Must try -L first in case configure is actually a
1648 # symlink; some systems play weird games with the mod time of symlinks
1649 # (eg FreeBSD returns the mod time of the symlink's containing
1650 # directory).
1651 if (
1652    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1653    if test "$*" = "X"; then
1654       # -L didn't work.
1655       set X `ls -t $srcdir/configure conftest.file`
1656    fi
1657    rm -f conftest.file
1658    if test "$*" != "X $srcdir/configure conftest.file" \
1659       && test "$*" != "X conftest.file $srcdir/configure"; then
1660
1661       # If neither matched, then we have a broken ls.  This can happen
1662       # if, for instance, CONFIG_SHELL is bash and it inherits a
1663       # broken ls alias from the environment.  This has actually
1664       # happened.  Such a system could not be considered "sane".
1665       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
1666 alias in your environment" >&5
1667 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
1668 alias in your environment" >&2;}
1669    { (exit 1); exit 1; }; }
1670    fi
1671
1672    test "$2" = conftest.file
1673    )
1674 then
1675    # Ok.
1676    :
1677 else
1678    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1679 Check your system clock" >&5
1680 echo "$as_me: error: newly created file is older than distributed files!
1681 Check your system clock" >&2;}
1682    { (exit 1); exit 1; }; }
1683 fi
1684 echo "$as_me:$LINENO: result: yes" >&5
1685 echo "${ECHO_T}yes" >&6
1686 test "$program_prefix" != NONE &&
1687   program_transform_name="s,^,$program_prefix,;$program_transform_name"
1688 # Use a double $ so make ignores it.
1689 test "$program_suffix" != NONE &&
1690   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1691 # Double any \ or $.  echo might interpret backslashes.
1692 # By default was `s,x,x', remove it if useless.
1693 cat <<\_ACEOF >conftest.sed
1694 s/[\\$]/&&/g;s/;s,x,x,$//
1695 _ACEOF
1696 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1697 rm conftest.sed
1698
1699 # expand $ac_aux_dir to an absolute path
1700 am_aux_dir=`cd $ac_aux_dir && pwd`
1701
1702 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1703 # Use eval to expand $SHELL
1704 if eval "$MISSING --run true"; then
1705   am_missing_run="$MISSING --run "
1706 else
1707   am_missing_run=
1708   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1709 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1710 fi
1711
1712 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1713   # We used to keeping the `.' as first argument, in order to
1714   # allow $(mkdir_p) to be used without argument.  As in
1715   #   $(mkdir_p) $(somedir)
1716   # where $(somedir) is conditionally defined.  However this is wrong
1717   # for two reasons:
1718   #  1. if the package is installed by a user who cannot write `.'
1719   #     make install will fail,
1720   #  2. the above comment should most certainly read
1721   #     $(mkdir_p) $(DESTDIR)$(somedir)
1722   #     so it does not work when $(somedir) is undefined and
1723   #     $(DESTDIR) is not.
1724   #  To support the latter case, we have to write
1725   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1726   #  so the `.' trick is pointless.
1727   mkdir_p='mkdir -p --'
1728 else
1729   # On NextStep and OpenStep, the `mkdir' command does not
1730   # recognize any option.  It will interpret all options as
1731   # directories to create, and then abort because `.' already
1732   # exists.
1733   for d in ./-p ./--version;
1734   do
1735     test -d $d && rmdir $d
1736   done
1737   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1738   if test -f "$ac_aux_dir/mkinstalldirs"; then
1739     mkdir_p='$(mkinstalldirs)'
1740   else
1741     mkdir_p='$(install_sh) -d'
1742   fi
1743 fi
1744
1745 for ac_prog in gawk mawk nawk awk
1746 do
1747   # Extract the first word of "$ac_prog", so it can be a program name with args.
1748 set dummy $ac_prog; ac_word=$2
1749 echo "$as_me:$LINENO: checking for $ac_word" >&5
1750 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1751 if test "${ac_cv_prog_AWK+set}" = set; then
1752   echo $ECHO_N "(cached) $ECHO_C" >&6
1753 else
1754   if test -n "$AWK"; then
1755   ac_cv_prog_AWK="$AWK" # Let the user override the test.
1756 else
1757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1758 for as_dir in $PATH
1759 do
1760   IFS=$as_save_IFS
1761   test -z "$as_dir" && as_dir=.
1762   for ac_exec_ext in '' $ac_executable_extensions; do
1763   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1764     ac_cv_prog_AWK="$ac_prog"
1765     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1766     break 2
1767   fi
1768 done
1769 done
1770
1771 fi
1772 fi
1773 AWK=$ac_cv_prog_AWK
1774 if test -n "$AWK"; then
1775   echo "$as_me:$LINENO: result: $AWK" >&5
1776 echo "${ECHO_T}$AWK" >&6
1777 else
1778   echo "$as_me:$LINENO: result: no" >&5
1779 echo "${ECHO_T}no" >&6
1780 fi
1781
1782   test -n "$AWK" && break
1783 done
1784
1785 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1786 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1787 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1788 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1789   echo $ECHO_N "(cached) $ECHO_C" >&6
1790 else
1791   cat >conftest.make <<\_ACEOF
1792 all:
1793         @echo 'ac_maketemp="$(MAKE)"'
1794 _ACEOF
1795 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1796 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1797 if test -n "$ac_maketemp"; then
1798   eval ac_cv_prog_make_${ac_make}_set=yes
1799 else
1800   eval ac_cv_prog_make_${ac_make}_set=no
1801 fi
1802 rm -f conftest.make
1803 fi
1804 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1805   echo "$as_me:$LINENO: result: yes" >&5
1806 echo "${ECHO_T}yes" >&6
1807   SET_MAKE=
1808 else
1809   echo "$as_me:$LINENO: result: no" >&5
1810 echo "${ECHO_T}no" >&6
1811   SET_MAKE="MAKE=${MAKE-make}"
1812 fi
1813
1814 rm -rf .tst 2>/dev/null
1815 mkdir .tst 2>/dev/null
1816 if test -d .tst; then
1817   am__leading_dot=.
1818 else
1819   am__leading_dot=_
1820 fi
1821 rmdir .tst 2>/dev/null
1822
1823 # test to see if srcdir already configured
1824 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1825    test -f $srcdir/config.status; then
1826   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1827 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1828    { (exit 1); exit 1; }; }
1829 fi
1830
1831 # test whether we have cygpath
1832 if test -z "$CYGPATH_W"; then
1833   if (cygpath --version) >/dev/null 2>/dev/null; then
1834     CYGPATH_W='cygpath -w'
1835   else
1836     CYGPATH_W=echo
1837   fi
1838 fi
1839
1840
1841 # Define the identity of the package.
1842  PACKAGE='libstdc++'
1843  VERSION='version-unused'
1844
1845
1846 # Some tools Automake needs.
1847
1848 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1849
1850
1851 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1852
1853
1854 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1855
1856
1857 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1858
1859
1860 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1861
1862 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1863
1864 # Installed binaries are usually stripped using `strip' when the user
1865 # run `make install-strip'.  However `strip' might not be the right
1866 # tool to use in cross-compilation environments, therefore Automake
1867 # will honor the `STRIP' environment variable to overrule this program.
1868 if test "$cross_compiling" != no; then
1869   if test -n "$ac_tool_prefix"; then
1870   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1871 set dummy ${ac_tool_prefix}strip; ac_word=$2
1872 echo "$as_me:$LINENO: checking for $ac_word" >&5
1873 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1874 if test "${ac_cv_prog_STRIP+set}" = set; then
1875   echo $ECHO_N "(cached) $ECHO_C" >&6
1876 else
1877   if test -n "$STRIP"; then
1878   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1879 else
1880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1881 for as_dir in $PATH
1882 do
1883   IFS=$as_save_IFS
1884   test -z "$as_dir" && as_dir=.
1885   for ac_exec_ext in '' $ac_executable_extensions; do
1886   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1887     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1888     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1889     break 2
1890   fi
1891 done
1892 done
1893
1894 fi
1895 fi
1896 STRIP=$ac_cv_prog_STRIP
1897 if test -n "$STRIP"; then
1898   echo "$as_me:$LINENO: result: $STRIP" >&5
1899 echo "${ECHO_T}$STRIP" >&6
1900 else
1901   echo "$as_me:$LINENO: result: no" >&5
1902 echo "${ECHO_T}no" >&6
1903 fi
1904
1905 fi
1906 if test -z "$ac_cv_prog_STRIP"; then
1907   ac_ct_STRIP=$STRIP
1908   # Extract the first word of "strip", so it can be a program name with args.
1909 set dummy strip; ac_word=$2
1910 echo "$as_me:$LINENO: checking for $ac_word" >&5
1911 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1912 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1913   echo $ECHO_N "(cached) $ECHO_C" >&6
1914 else
1915   if test -n "$ac_ct_STRIP"; then
1916   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1917 else
1918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1919 for as_dir in $PATH
1920 do
1921   IFS=$as_save_IFS
1922   test -z "$as_dir" && as_dir=.
1923   for ac_exec_ext in '' $ac_executable_extensions; do
1924   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1925     ac_cv_prog_ac_ct_STRIP="strip"
1926     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1927     break 2
1928   fi
1929 done
1930 done
1931
1932   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1933 fi
1934 fi
1935 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1936 if test -n "$ac_ct_STRIP"; then
1937   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1938 echo "${ECHO_T}$ac_ct_STRIP" >&6
1939 else
1940   echo "$as_me:$LINENO: result: no" >&5
1941 echo "${ECHO_T}no" >&6
1942 fi
1943
1944   STRIP=$ac_ct_STRIP
1945 else
1946   STRIP="$ac_cv_prog_STRIP"
1947 fi
1948
1949 fi
1950 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1951
1952 # We need awk for the "check" target.  The system "awk" is bad on
1953 # some platforms.
1954 # Always define AMTAR for backward compatibility.
1955
1956 AMTAR=${AMTAR-"${am_missing_run}tar"}
1957
1958 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1959
1960
1961
1962
1963
1964
1965 # Runs configure.host, finds CC, CXX, and assorted other critical bits.  Sets
1966 # up critical shell variables.
1967
1968   # Keep these sync'd with the list in Makefile.am.  The first provides an
1969   # expandable list at autoconf time; the second provides an expandable list
1970   # (i.e., shell variable) at configure time.
1971
1972   SUBDIRS='include libmath libsupc++ src po testsuite'
1973
1974   # These need to be absolute paths, yet at the same time need to
1975   # canonicalize only relative paths, because then amd will not unmount
1976   # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
1977   glibcxx_builddir=`${PWDCMD-pwd}`
1978   case $srcdir in
1979     \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
1980     *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
1981   esac
1982   toplevel_srcdir=${glibcxx_srcdir}/..
1983
1984
1985
1986
1987   # We use these options to decide which functions to include.  They are
1988   # set from the top level.
1989
1990 # Check whether --with-target-subdir or --without-target-subdir was given.
1991 if test "${with_target_subdir+set}" = set; then
1992   withval="$with_target_subdir"
1993
1994 fi;
1995
1996
1997 # Check whether --with-cross-host or --without-cross-host was given.
1998 if test "${with_cross_host+set}" = set; then
1999   withval="$with_cross_host"
2000
2001 fi;
2002
2003
2004 # Check whether --with-newlib or --without-newlib was given.
2005 if test "${with_newlib+set}" = set; then
2006   withval="$with_newlib"
2007
2008 fi;
2009
2010   # We're almost certainly being configured before anything else which uses
2011   # C++, so all of our AC_PROG_* discoveries will be cached.  It's vital that
2012   # we not cache the value of CXX that we "discover" here, because it's set
2013   # to something unique for us and libjava.  Other target libraries need to
2014   # find CXX for themselves.  We yank the rug out from under the normal AC_*
2015   # process by sneakily renaming the cache variable.  This also lets us debug
2016   # the value of "our" CXX in postmortems.
2017   #
2018   # We must also force CXX to /not/ be a precious variable, otherwise the
2019   # wrong (non-multilib-adjusted) value will be used in multilibs.  This
2020   # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS.  And as a side
2021   # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
2022   # that ourselves.  Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
2023   #
2024   # -fno-builtin must be present here so that a non-conflicting form of
2025   # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
2026
2027
2028
2029
2030   save_CXXFLAGS="$CXXFLAGS"
2031   CXXFLAGS="$CXXFLAGS -fno-builtin"
2032   ac_ext=c
2033 ac_cpp='$CPP $CPPFLAGS'
2034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2037 if test -n "$ac_tool_prefix"; then
2038   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2039 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2040 echo "$as_me:$LINENO: checking for $ac_word" >&5
2041 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2042 if test "${ac_cv_prog_CC+set}" = set; then
2043   echo $ECHO_N "(cached) $ECHO_C" >&6
2044 else
2045   if test -n "$CC"; then
2046   ac_cv_prog_CC="$CC" # Let the user override the test.
2047 else
2048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2049 for as_dir in $PATH
2050 do
2051   IFS=$as_save_IFS
2052   test -z "$as_dir" && as_dir=.
2053   for ac_exec_ext in '' $ac_executable_extensions; do
2054   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2055     ac_cv_prog_CC="${ac_tool_prefix}gcc"
2056     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2057     break 2
2058   fi
2059 done
2060 done
2061
2062 fi
2063 fi
2064 CC=$ac_cv_prog_CC
2065 if test -n "$CC"; then
2066   echo "$as_me:$LINENO: result: $CC" >&5
2067 echo "${ECHO_T}$CC" >&6
2068 else
2069   echo "$as_me:$LINENO: result: no" >&5
2070 echo "${ECHO_T}no" >&6
2071 fi
2072
2073 fi
2074 if test -z "$ac_cv_prog_CC"; then
2075   ac_ct_CC=$CC
2076   # Extract the first word of "gcc", so it can be a program name with args.
2077 set dummy gcc; ac_word=$2
2078 echo "$as_me:$LINENO: checking for $ac_word" >&5
2079 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2080 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2081   echo $ECHO_N "(cached) $ECHO_C" >&6
2082 else
2083   if test -n "$ac_ct_CC"; then
2084   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2085 else
2086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2087 for as_dir in $PATH
2088 do
2089   IFS=$as_save_IFS
2090   test -z "$as_dir" && as_dir=.
2091   for ac_exec_ext in '' $ac_executable_extensions; do
2092   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2093     ac_cv_prog_ac_ct_CC="gcc"
2094     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2095     break 2
2096   fi
2097 done
2098 done
2099
2100 fi
2101 fi
2102 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2103 if test -n "$ac_ct_CC"; then
2104   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2105 echo "${ECHO_T}$ac_ct_CC" >&6
2106 else
2107   echo "$as_me:$LINENO: result: no" >&5
2108 echo "${ECHO_T}no" >&6
2109 fi
2110
2111   CC=$ac_ct_CC
2112 else
2113   CC="$ac_cv_prog_CC"
2114 fi
2115
2116 if test -z "$CC"; then
2117   if test -n "$ac_tool_prefix"; then
2118   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2119 set dummy ${ac_tool_prefix}cc; ac_word=$2
2120 echo "$as_me:$LINENO: checking for $ac_word" >&5
2121 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2122 if test "${ac_cv_prog_CC+set}" = set; then
2123   echo $ECHO_N "(cached) $ECHO_C" >&6
2124 else
2125   if test -n "$CC"; then
2126   ac_cv_prog_CC="$CC" # Let the user override the test.
2127 else
2128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2129 for as_dir in $PATH
2130 do
2131   IFS=$as_save_IFS
2132   test -z "$as_dir" && as_dir=.
2133   for ac_exec_ext in '' $ac_executable_extensions; do
2134   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2135     ac_cv_prog_CC="${ac_tool_prefix}cc"
2136     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2137     break 2
2138   fi
2139 done
2140 done
2141
2142 fi
2143 fi
2144 CC=$ac_cv_prog_CC
2145 if test -n "$CC"; then
2146   echo "$as_me:$LINENO: result: $CC" >&5
2147 echo "${ECHO_T}$CC" >&6
2148 else
2149   echo "$as_me:$LINENO: result: no" >&5
2150 echo "${ECHO_T}no" >&6
2151 fi
2152
2153 fi
2154 if test -z "$ac_cv_prog_CC"; then
2155   ac_ct_CC=$CC
2156   # Extract the first word of "cc", so it can be a program name with args.
2157 set dummy cc; ac_word=$2
2158 echo "$as_me:$LINENO: checking for $ac_word" >&5
2159 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2160 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2161   echo $ECHO_N "(cached) $ECHO_C" >&6
2162 else
2163   if test -n "$ac_ct_CC"; then
2164   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2165 else
2166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2167 for as_dir in $PATH
2168 do
2169   IFS=$as_save_IFS
2170   test -z "$as_dir" && as_dir=.
2171   for ac_exec_ext in '' $ac_executable_extensions; do
2172   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2173     ac_cv_prog_ac_ct_CC="cc"
2174     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2175     break 2
2176   fi
2177 done
2178 done
2179
2180 fi
2181 fi
2182 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2183 if test -n "$ac_ct_CC"; then
2184   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2185 echo "${ECHO_T}$ac_ct_CC" >&6
2186 else
2187   echo "$as_me:$LINENO: result: no" >&5
2188 echo "${ECHO_T}no" >&6
2189 fi
2190
2191   CC=$ac_ct_CC
2192 else
2193   CC="$ac_cv_prog_CC"
2194 fi
2195
2196 fi
2197 if test -z "$CC"; then
2198   # Extract the first word of "cc", so it can be a program name with args.
2199 set dummy cc; ac_word=$2
2200 echo "$as_me:$LINENO: checking for $ac_word" >&5
2201 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2202 if test "${ac_cv_prog_CC+set}" = set; then
2203   echo $ECHO_N "(cached) $ECHO_C" >&6
2204 else
2205   if test -n "$CC"; then
2206   ac_cv_prog_CC="$CC" # Let the user override the test.
2207 else
2208   ac_prog_rejected=no
2209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2210 for as_dir in $PATH
2211 do
2212   IFS=$as_save_IFS
2213   test -z "$as_dir" && as_dir=.
2214   for ac_exec_ext in '' $ac_executable_extensions; do
2215   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2216     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2217        ac_prog_rejected=yes
2218        continue
2219      fi
2220     ac_cv_prog_CC="cc"
2221     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2222     break 2
2223   fi
2224 done
2225 done
2226
2227 if test $ac_prog_rejected = yes; then
2228   # We found a bogon in the path, so make sure we never use it.
2229   set dummy $ac_cv_prog_CC
2230   shift
2231   if test $# != 0; then
2232     # We chose a different compiler from the bogus one.
2233     # However, it has the same basename, so the bogon will be chosen
2234     # first if we set CC to just the basename; use the full file name.
2235     shift
2236     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2237   fi
2238 fi
2239 fi
2240 fi
2241 CC=$ac_cv_prog_CC
2242 if test -n "$CC"; then
2243   echo "$as_me:$LINENO: result: $CC" >&5
2244 echo "${ECHO_T}$CC" >&6
2245 else
2246   echo "$as_me:$LINENO: result: no" >&5
2247 echo "${ECHO_T}no" >&6
2248 fi
2249
2250 fi
2251 if test -z "$CC"; then
2252   if test -n "$ac_tool_prefix"; then
2253   for ac_prog in cl
2254   do
2255     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2256 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2257 echo "$as_me:$LINENO: checking for $ac_word" >&5
2258 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2259 if test "${ac_cv_prog_CC+set}" = set; then
2260   echo $ECHO_N "(cached) $ECHO_C" >&6
2261 else
2262   if test -n "$CC"; then
2263   ac_cv_prog_CC="$CC" # Let the user override the test.
2264 else
2265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2266 for as_dir in $PATH
2267 do
2268   IFS=$as_save_IFS
2269   test -z "$as_dir" && as_dir=.
2270   for ac_exec_ext in '' $ac_executable_extensions; do
2271   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2272     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2273     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2274     break 2
2275   fi
2276 done
2277 done
2278
2279 fi
2280 fi
2281 CC=$ac_cv_prog_CC
2282 if test -n "$CC"; then
2283   echo "$as_me:$LINENO: result: $CC" >&5
2284 echo "${ECHO_T}$CC" >&6
2285 else
2286   echo "$as_me:$LINENO: result: no" >&5
2287 echo "${ECHO_T}no" >&6
2288 fi
2289
2290     test -n "$CC" && break
2291   done
2292 fi
2293 if test -z "$CC"; then
2294   ac_ct_CC=$CC
2295   for ac_prog in cl
2296 do
2297   # Extract the first word of "$ac_prog", so it can be a program name with args.
2298 set dummy $ac_prog; ac_word=$2
2299 echo "$as_me:$LINENO: checking for $ac_word" >&5
2300 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2301 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2302   echo $ECHO_N "(cached) $ECHO_C" >&6
2303 else
2304   if test -n "$ac_ct_CC"; then
2305   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2306 else
2307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2308 for as_dir in $PATH
2309 do
2310   IFS=$as_save_IFS
2311   test -z "$as_dir" && as_dir=.
2312   for ac_exec_ext in '' $ac_executable_extensions; do
2313   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2314     ac_cv_prog_ac_ct_CC="$ac_prog"
2315     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2316     break 2
2317   fi
2318 done
2319 done
2320
2321 fi
2322 fi
2323 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2324 if test -n "$ac_ct_CC"; then
2325   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2326 echo "${ECHO_T}$ac_ct_CC" >&6
2327 else
2328   echo "$as_me:$LINENO: result: no" >&5
2329 echo "${ECHO_T}no" >&6
2330 fi
2331
2332   test -n "$ac_ct_CC" && break
2333 done
2334
2335   CC=$ac_ct_CC
2336 fi
2337
2338 fi
2339
2340
2341 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2342 See \`config.log' for more details." >&5
2343 echo "$as_me: error: no acceptable C compiler found in \$PATH
2344 See \`config.log' for more details." >&2;}
2345    { (exit 1); exit 1; }; }
2346
2347 # Provide some information about the compiler.
2348 echo "$as_me:$LINENO:" \
2349      "checking for C compiler version" >&5
2350 ac_compiler=`set X $ac_compile; echo $2`
2351 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2352   (eval $ac_compiler --version </dev/null >&5) 2>&5
2353   ac_status=$?
2354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2355   (exit $ac_status); }
2356 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2357   (eval $ac_compiler -v </dev/null >&5) 2>&5
2358   ac_status=$?
2359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2360   (exit $ac_status); }
2361 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2362   (eval $ac_compiler -V </dev/null >&5) 2>&5
2363   ac_status=$?
2364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2365   (exit $ac_status); }
2366
2367 cat >conftest.$ac_ext <<_ACEOF
2368 /* confdefs.h.  */
2369 _ACEOF
2370 cat confdefs.h >>conftest.$ac_ext
2371 cat >>conftest.$ac_ext <<_ACEOF
2372 /* end confdefs.h.  */
2373
2374 int
2375 main ()
2376 {
2377
2378   ;
2379   return 0;
2380 }
2381 _ACEOF
2382 # FIXME: Cleanup?
2383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2384   (eval $ac_link) 2>&5
2385   ac_status=$?
2386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2387   (exit $ac_status); }; then
2388   gcc_no_link=no
2389 else
2390   gcc_no_link=yes
2391 fi
2392
2393 if test x$gcc_no_link = xyes; then
2394   # Setting cross_compile will disable run tests; it will
2395   # also disable AC_CHECK_FILE but that's generally
2396   # correct if we can't link.
2397   cross_compiling=yes
2398   EXEEXT=
2399 else
2400   cat >conftest.$ac_ext <<_ACEOF
2401 /* confdefs.h.  */
2402 _ACEOF
2403 cat confdefs.h >>conftest.$ac_ext
2404 cat >>conftest.$ac_ext <<_ACEOF
2405 /* end confdefs.h.  */
2406
2407 int
2408 main ()
2409 {
2410
2411   ;
2412   return 0;
2413 }
2414 _ACEOF
2415 ac_clean_files_save=$ac_clean_files
2416 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2417 # Try to create an executable without -o first, disregard a.out.
2418 # It will help us diagnose broken compilers, and finding out an intuition
2419 # of exeext.
2420 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2421 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2422 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2423 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2424   (eval $ac_link_default) 2>&5
2425   ac_status=$?
2426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2427   (exit $ac_status); }; then
2428   # Find the output, starting from the most likely.  This scheme is
2429 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2430 # resort.
2431
2432 # Be careful to initialize this variable, since it used to be cached.
2433 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2434 ac_cv_exeext=
2435 # b.out is created by i960 compilers.
2436 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2437 do
2438   test -f "$ac_file" || continue
2439   case $ac_file in
2440     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2441         ;;
2442     conftest.$ac_ext )
2443         # This is the source file.
2444         ;;
2445     [ab].out )
2446         # We found the default executable, but exeext='' is most
2447         # certainly right.
2448         break;;
2449     *.* )
2450         ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2451         # FIXME: I believe we export ac_cv_exeext for Libtool,
2452         # but it would be cool to find out if it's true.  Does anybody
2453         # maintain Libtool? --akim.
2454         export ac_cv_exeext
2455         break;;
2456     * )
2457         break;;
2458   esac
2459 done
2460 else
2461   echo "$as_me: failed program was:" >&5
2462 sed 's/^/| /' conftest.$ac_ext >&5
2463
2464 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2465 See \`config.log' for more details." >&5
2466 echo "$as_me: error: C compiler cannot create executables
2467 See \`config.log' for more details." >&2;}
2468    { (exit 77); exit 77; }; }
2469 fi
2470
2471 ac_exeext=$ac_cv_exeext
2472 echo "$as_me:$LINENO: result: $ac_file" >&5
2473 echo "${ECHO_T}$ac_file" >&6
2474
2475 # Check the compiler produces executables we can run.  If not, either
2476 # the compiler is broken, or we cross compile.
2477 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2478 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2479 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2480 # If not cross compiling, check that we can run a simple program.
2481 if test "$cross_compiling" != yes; then
2482   if { ac_try='./$ac_file'
2483   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2484   (eval $ac_try) 2>&5
2485   ac_status=$?
2486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2487   (exit $ac_status); }; }; then
2488     cross_compiling=no
2489   else
2490     if test "$cross_compiling" = maybe; then
2491         cross_compiling=yes
2492     else
2493         { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2494 If you meant to cross compile, use \`--host'.
2495 See \`config.log' for more details." >&5
2496 echo "$as_me: error: cannot run C compiled programs.
2497 If you meant to cross compile, use \`--host'.
2498 See \`config.log' for more details." >&2;}
2499    { (exit 1); exit 1; }; }
2500     fi
2501   fi
2502 fi
2503 echo "$as_me:$LINENO: result: yes" >&5
2504 echo "${ECHO_T}yes" >&6
2505
2506 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2507 ac_clean_files=$ac_clean_files_save
2508 # Check the compiler produces executables we can run.  If not, either
2509 # the compiler is broken, or we cross compile.
2510 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2511 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2512 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2513 echo "${ECHO_T}$cross_compiling" >&6
2514
2515 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2516 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2518   (eval $ac_link) 2>&5
2519   ac_status=$?
2520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2521   (exit $ac_status); }; then
2522   # If both `conftest.exe' and `conftest' are `present' (well, observable)
2523 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2524 # work properly (i.e., refer to `conftest.exe'), while it won't with
2525 # `rm'.
2526 for ac_file in conftest.exe conftest conftest.*; do
2527   test -f "$ac_file" || continue
2528   case $ac_file in
2529     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2530     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2531           export ac_cv_exeext
2532           break;;
2533     * ) break;;
2534   esac
2535 done
2536 else
2537   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2538 See \`config.log' for more details." >&5
2539 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2540 See \`config.log' for more details." >&2;}
2541    { (exit 1); exit 1; }; }
2542 fi
2543
2544 rm -f conftest$ac_cv_exeext
2545 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2546 echo "${ECHO_T}$ac_cv_exeext" >&6
2547
2548 rm -f conftest.$ac_ext
2549 EXEEXT=$ac_cv_exeext
2550 ac_exeext=$EXEEXT
2551 fi
2552 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2553 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2554 if test "${ac_cv_objext+set}" = set; then
2555   echo $ECHO_N "(cached) $ECHO_C" >&6
2556 else
2557   cat >conftest.$ac_ext <<_ACEOF
2558 /* confdefs.h.  */
2559 _ACEOF
2560 cat confdefs.h >>conftest.$ac_ext
2561 cat >>conftest.$ac_ext <<_ACEOF
2562 /* end confdefs.h.  */
2563
2564 int
2565 main ()
2566 {
2567
2568   ;
2569   return 0;
2570 }
2571 _ACEOF
2572 rm -f conftest.o conftest.obj
2573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2574   (eval $ac_compile) 2>&5
2575   ac_status=$?
2576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2577   (exit $ac_status); }; then
2578   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2579   case $ac_file in
2580     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2581     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2582        break;;
2583   esac
2584 done
2585 else
2586   echo "$as_me: failed program was:" >&5
2587 sed 's/^/| /' conftest.$ac_ext >&5
2588
2589 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2590 See \`config.log' for more details." >&5
2591 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2592 See \`config.log' for more details." >&2;}
2593    { (exit 1); exit 1; }; }
2594 fi
2595
2596 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2597 fi
2598 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2599 echo "${ECHO_T}$ac_cv_objext" >&6
2600 OBJEXT=$ac_cv_objext
2601 ac_objext=$OBJEXT
2602 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2603 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2604 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2605   echo $ECHO_N "(cached) $ECHO_C" >&6
2606 else
2607   cat >conftest.$ac_ext <<_ACEOF
2608 /* confdefs.h.  */
2609 _ACEOF
2610 cat confdefs.h >>conftest.$ac_ext
2611 cat >>conftest.$ac_ext <<_ACEOF
2612 /* end confdefs.h.  */
2613
2614 int
2615 main ()
2616 {
2617 #ifndef __GNUC__
2618        choke me
2619 #endif
2620
2621   ;
2622   return 0;
2623 }
2624 _ACEOF
2625 rm -f conftest.$ac_objext
2626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2627   (eval $ac_compile) 2>conftest.er1
2628   ac_status=$?
2629   grep -v '^ *+' conftest.er1 >conftest.err
2630   rm -f conftest.er1
2631   cat conftest.err >&5
2632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2633   (exit $ac_status); } &&
2634          { ac_try='test -z "$ac_c_werror_flag"
2635                          || test ! -s conftest.err'
2636   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2637   (eval $ac_try) 2>&5
2638   ac_status=$?
2639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2640   (exit $ac_status); }; } &&
2641          { ac_try='test -s conftest.$ac_objext'
2642   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2643   (eval $ac_try) 2>&5
2644   ac_status=$?
2645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2646   (exit $ac_status); }; }; then
2647   ac_compiler_gnu=yes
2648 else
2649   echo "$as_me: failed program was:" >&5
2650 sed 's/^/| /' conftest.$ac_ext >&5
2651
2652 ac_compiler_gnu=no
2653 fi
2654 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2655 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2656
2657 fi
2658 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2659 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2660 GCC=`test $ac_compiler_gnu = yes && echo yes`
2661 ac_test_CFLAGS=${CFLAGS+set}
2662 ac_save_CFLAGS=$CFLAGS
2663 CFLAGS="-g"
2664 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2665 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2666 if test "${ac_cv_prog_cc_g+set}" = set; then
2667   echo $ECHO_N "(cached) $ECHO_C" >&6
2668 else
2669   cat >conftest.$ac_ext <<_ACEOF
2670 /* confdefs.h.  */
2671 _ACEOF
2672 cat confdefs.h >>conftest.$ac_ext
2673 cat >>conftest.$ac_ext <<_ACEOF
2674 /* end confdefs.h.  */
2675
2676 int
2677 main ()
2678 {
2679
2680   ;
2681   return 0;
2682 }
2683 _ACEOF
2684 rm -f conftest.$ac_objext
2685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2686   (eval $ac_compile) 2>conftest.er1
2687   ac_status=$?
2688   grep -v '^ *+' conftest.er1 >conftest.err
2689   rm -f conftest.er1
2690   cat conftest.err >&5
2691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2692   (exit $ac_status); } &&
2693          { ac_try='test -z "$ac_c_werror_flag"
2694                          || test ! -s conftest.err'
2695   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2696   (eval $ac_try) 2>&5
2697   ac_status=$?
2698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2699   (exit $ac_status); }; } &&
2700          { ac_try='test -s conftest.$ac_objext'
2701   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2702   (eval $ac_try) 2>&5
2703   ac_status=$?
2704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2705   (exit $ac_status); }; }; then
2706   ac_cv_prog_cc_g=yes
2707 else
2708   echo "$as_me: failed program was:" >&5
2709 sed 's/^/| /' conftest.$ac_ext >&5
2710
2711 ac_cv_prog_cc_g=no
2712 fi
2713 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2714 fi
2715 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2716 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2717 if test "$ac_test_CFLAGS" = set; then
2718   CFLAGS=$ac_save_CFLAGS
2719 elif test $ac_cv_prog_cc_g = yes; then
2720   if test "$GCC" = yes; then
2721     CFLAGS="-g -O2"
2722   else
2723     CFLAGS="-g"
2724   fi
2725 else
2726   if test "$GCC" = yes; then
2727     CFLAGS="-O2"
2728   else
2729     CFLAGS=
2730   fi
2731 fi
2732 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2733 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2734 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2735   echo $ECHO_N "(cached) $ECHO_C" >&6
2736 else
2737   ac_cv_prog_cc_stdc=no
2738 ac_save_CC=$CC
2739 cat >conftest.$ac_ext <<_ACEOF
2740 /* confdefs.h.  */
2741 _ACEOF
2742 cat confdefs.h >>conftest.$ac_ext
2743 cat >>conftest.$ac_ext <<_ACEOF
2744 /* end confdefs.h.  */
2745 #include <stdarg.h>
2746 #include <stdio.h>
2747 #include <sys/types.h>
2748 #include <sys/stat.h>
2749 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2750 struct buf { int x; };
2751 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2752 static char *e (p, i)
2753      char **p;
2754      int i;
2755 {
2756   return p[i];
2757 }
2758 static char *f (char * (*g) (char **, int), char **p, ...)
2759 {
2760   char *s;
2761   va_list v;
2762   va_start (v,p);
2763   s = g (p, va_arg (v,int));
2764   va_end (v);
2765   return s;
2766 }
2767
2768 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2769    function prototypes and stuff, but not '\xHH' hex character constants.
2770    These don't provoke an error unfortunately, instead are silently treated
2771    as 'x'.  The following induces an error, until -std1 is added to get
2772    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2773    array size at least.  It's necessary to write '\x00'==0 to get something
2774    that's true only with -std1.  */
2775 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2776
2777 int test (int i, double x);
2778 struct s1 {int (*f) (int a);};
2779 struct s2 {int (*f) (double a);};
2780 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2781 int argc;
2782 char **argv;
2783 int
2784 main ()
2785 {
2786 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2787   ;
2788   return 0;
2789 }
2790 _ACEOF
2791 # Don't try gcc -ansi; that turns off useful extensions and
2792 # breaks some systems' header files.
2793 # AIX                   -qlanglvl=ansi
2794 # Ultrix and OSF/1      -std1
2795 # HP-UX 10.20 and later -Ae
2796 # HP-UX older versions  -Aa -D_HPUX_SOURCE
2797 # SVR4                  -Xc -D__EXTENSIONS__
2798 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2799 do
2800   CC="$ac_save_CC $ac_arg"
2801   rm -f conftest.$ac_objext
2802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2803   (eval $ac_compile) 2>conftest.er1
2804   ac_status=$?
2805   grep -v '^ *+' conftest.er1 >conftest.err
2806   rm -f conftest.er1
2807   cat conftest.err >&5
2808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2809   (exit $ac_status); } &&
2810          { ac_try='test -z "$ac_c_werror_flag"
2811                          || test ! -s conftest.err'
2812   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2813   (eval $ac_try) 2>&5
2814   ac_status=$?
2815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2816   (exit $ac_status); }; } &&
2817          { ac_try='test -s conftest.$ac_objext'
2818   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2819   (eval $ac_try) 2>&5
2820   ac_status=$?
2821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2822   (exit $ac_status); }; }; then
2823   ac_cv_prog_cc_stdc=$ac_arg
2824 break
2825 else
2826   echo "$as_me: failed program was:" >&5
2827 sed 's/^/| /' conftest.$ac_ext >&5
2828
2829 fi
2830 rm -f conftest.err conftest.$ac_objext
2831 done
2832 rm -f conftest.$ac_ext conftest.$ac_objext
2833 CC=$ac_save_CC
2834
2835 fi
2836
2837 case "x$ac_cv_prog_cc_stdc" in
2838   x|xno)
2839     echo "$as_me:$LINENO: result: none needed" >&5
2840 echo "${ECHO_T}none needed" >&6 ;;
2841   *)
2842     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2843 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2844     CC="$CC $ac_cv_prog_cc_stdc" ;;
2845 esac
2846
2847 # Some people use a C++ compiler to compile C.  Since we use `exit',
2848 # in C++ we need to declare it.  In case someone uses the same compiler
2849 # for both compiling C and C++ we need to have the C++ compiler decide
2850 # the declaration of exit, since it's the most demanding environment.
2851 cat >conftest.$ac_ext <<_ACEOF
2852 #ifndef __cplusplus
2853   choke me
2854 #endif
2855 _ACEOF
2856 rm -f conftest.$ac_objext
2857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2858   (eval $ac_compile) 2>conftest.er1
2859   ac_status=$?
2860   grep -v '^ *+' conftest.er1 >conftest.err
2861   rm -f conftest.er1
2862   cat conftest.err >&5
2863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2864   (exit $ac_status); } &&
2865          { ac_try='test -z "$ac_c_werror_flag"
2866                          || test ! -s conftest.err'
2867   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2868   (eval $ac_try) 2>&5
2869   ac_status=$?
2870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2871   (exit $ac_status); }; } &&
2872          { ac_try='test -s conftest.$ac_objext'
2873   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2874   (eval $ac_try) 2>&5
2875   ac_status=$?
2876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2877   (exit $ac_status); }; }; then
2878   for ac_declaration in \
2879    '' \
2880    'extern "C" void std::exit (int) throw (); using std::exit;' \
2881    'extern "C" void std::exit (int); using std::exit;' \
2882    'extern "C" void exit (int) throw ();' \
2883    'extern "C" void exit (int);' \
2884    'void exit (int);'
2885 do
2886   cat >conftest.$ac_ext <<_ACEOF
2887 /* confdefs.h.  */
2888 _ACEOF
2889 cat confdefs.h >>conftest.$ac_ext
2890 cat >>conftest.$ac_ext <<_ACEOF
2891 /* end confdefs.h.  */
2892 $ac_declaration
2893 #include <stdlib.h>
2894 int
2895 main ()
2896 {
2897 exit (42);
2898   ;
2899   return 0;
2900 }
2901 _ACEOF
2902 rm -f conftest.$ac_objext
2903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2904   (eval $ac_compile) 2>conftest.er1
2905   ac_status=$?
2906   grep -v '^ *+' conftest.er1 >conftest.err
2907   rm -f conftest.er1
2908   cat conftest.err >&5
2909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2910   (exit $ac_status); } &&
2911          { ac_try='test -z "$ac_c_werror_flag"
2912                          || test ! -s conftest.err'
2913   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2914   (eval $ac_try) 2>&5
2915   ac_status=$?
2916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2917   (exit $ac_status); }; } &&
2918          { ac_try='test -s conftest.$ac_objext'
2919   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2920   (eval $ac_try) 2>&5
2921   ac_status=$?
2922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2923   (exit $ac_status); }; }; then
2924   :
2925 else
2926   echo "$as_me: failed program was:" >&5
2927 sed 's/^/| /' conftest.$ac_ext >&5
2928
2929 continue
2930 fi
2931 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2932   cat >conftest.$ac_ext <<_ACEOF
2933 /* confdefs.h.  */
2934 _ACEOF
2935 cat confdefs.h >>conftest.$ac_ext
2936 cat >>conftest.$ac_ext <<_ACEOF
2937 /* end confdefs.h.  */
2938 $ac_declaration
2939 int
2940 main ()
2941 {
2942 exit (42);
2943   ;
2944   return 0;
2945 }
2946 _ACEOF
2947 rm -f conftest.$ac_objext
2948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2949   (eval $ac_compile) 2>conftest.er1
2950   ac_status=$?
2951   grep -v '^ *+' conftest.er1 >conftest.err
2952   rm -f conftest.er1
2953   cat conftest.err >&5
2954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2955   (exit $ac_status); } &&
2956          { ac_try='test -z "$ac_c_werror_flag"
2957                          || test ! -s conftest.err'
2958   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2959   (eval $ac_try) 2>&5
2960   ac_status=$?
2961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2962   (exit $ac_status); }; } &&
2963          { ac_try='test -s conftest.$ac_objext'
2964   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2965   (eval $ac_try) 2>&5
2966   ac_status=$?
2967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2968   (exit $ac_status); }; }; then
2969   break
2970 else
2971   echo "$as_me: failed program was:" >&5
2972 sed 's/^/| /' conftest.$ac_ext >&5
2973
2974 fi
2975 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2976 done
2977 rm -f conftest*
2978 if test -n "$ac_declaration"; then
2979   echo '#ifdef __cplusplus' >>confdefs.h
2980   echo $ac_declaration      >>confdefs.h
2981   echo '#endif'             >>confdefs.h
2982 fi
2983
2984 else
2985   echo "$as_me: failed program was:" >&5
2986 sed 's/^/| /' conftest.$ac_ext >&5
2987
2988 fi
2989 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2990 ac_ext=c
2991 ac_cpp='$CPP $CPPFLAGS'
2992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2995
2996   ac_ext=cc
2997 ac_cpp='$CXXCPP $CPPFLAGS'
2998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3001 if test -n "$ac_tool_prefix"; then
3002   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3003   do
3004     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3005 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3006 echo "$as_me:$LINENO: checking for $ac_word" >&5
3007 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3008 if test "${glibcxx_cv_prog_CXX+set}" = set; then
3009   echo $ECHO_N "(cached) $ECHO_C" >&6
3010 else
3011   if test -n "$CXX"; then
3012   glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
3013 else
3014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3015 for as_dir in $PATH
3016 do
3017   IFS=$as_save_IFS
3018   test -z "$as_dir" && as_dir=.
3019   for ac_exec_ext in '' $ac_executable_extensions; do
3020   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3021     glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3022     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3023     break 2
3024   fi
3025 done
3026 done
3027
3028 fi
3029 fi
3030 CXX=$glibcxx_cv_prog_CXX
3031 if test -n "$CXX"; then
3032   echo "$as_me:$LINENO: result: $CXX" >&5
3033 echo "${ECHO_T}$CXX" >&6
3034 else
3035   echo "$as_me:$LINENO: result: no" >&5
3036 echo "${ECHO_T}no" >&6
3037 fi
3038
3039     test -n "$CXX" && break
3040   done
3041 fi
3042 if test -z "$CXX"; then
3043   ac_ct_CXX=$CXX
3044   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3045 do
3046   # Extract the first word of "$ac_prog", so it can be a program name with args.
3047 set dummy $ac_prog; ac_word=$2
3048 echo "$as_me:$LINENO: checking for $ac_word" >&5
3049 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3050 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3051   echo $ECHO_N "(cached) $ECHO_C" >&6
3052 else
3053   if test -n "$ac_ct_CXX"; then
3054   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3055 else
3056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3057 for as_dir in $PATH
3058 do
3059   IFS=$as_save_IFS
3060   test -z "$as_dir" && as_dir=.
3061   for ac_exec_ext in '' $ac_executable_extensions; do
3062   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3063     ac_cv_prog_ac_ct_CXX="$ac_prog"
3064     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3065     break 2
3066   fi
3067 done
3068 done
3069
3070 fi
3071 fi
3072 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3073 if test -n "$ac_ct_CXX"; then
3074   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3075 echo "${ECHO_T}$ac_ct_CXX" >&6
3076 else
3077   echo "$as_me:$LINENO: result: no" >&5
3078 echo "${ECHO_T}no" >&6
3079 fi
3080
3081   test -n "$ac_ct_CXX" && break
3082 done
3083 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3084
3085   CXX=$ac_ct_CXX
3086 fi
3087
3088
3089 # Provide some information about the compiler.
3090 echo "$as_me:$LINENO:" \
3091      "checking for C++ compiler version" >&5
3092 ac_compiler=`set X $ac_compile; echo $2`
3093 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3094   (eval $ac_compiler --version </dev/null >&5) 2>&5
3095   ac_status=$?
3096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3097   (exit $ac_status); }
3098 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3099   (eval $ac_compiler -v </dev/null >&5) 2>&5
3100   ac_status=$?
3101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3102   (exit $ac_status); }
3103 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3104   (eval $ac_compiler -V </dev/null >&5) 2>&5
3105   ac_status=$?
3106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3107   (exit $ac_status); }
3108
3109 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3110 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3111 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3112   echo $ECHO_N "(cached) $ECHO_C" >&6
3113 else
3114   cat >conftest.$ac_ext <<_ACEOF
3115 /* confdefs.h.  */
3116 _ACEOF
3117 cat confdefs.h >>conftest.$ac_ext
3118 cat >>conftest.$ac_ext <<_ACEOF
3119 /* end confdefs.h.  */
3120
3121 int
3122 main ()
3123 {
3124 #ifndef __GNUC__
3125        choke me
3126 #endif
3127
3128   ;
3129   return 0;
3130 }
3131 _ACEOF
3132 rm -f conftest.$ac_objext
3133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3134   (eval $ac_compile) 2>conftest.er1
3135   ac_status=$?
3136   grep -v '^ *+' conftest.er1 >conftest.err
3137   rm -f conftest.er1
3138   cat conftest.err >&5
3139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3140   (exit $ac_status); } &&
3141          { ac_try='test -z "$ac_cxx_werror_flag"
3142                          || test ! -s conftest.err'
3143   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3144   (eval $ac_try) 2>&5
3145   ac_status=$?
3146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3147   (exit $ac_status); }; } &&
3148          { ac_try='test -s conftest.$ac_objext'
3149   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3150   (eval $ac_try) 2>&5
3151   ac_status=$?
3152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3153   (exit $ac_status); }; }; then
3154   ac_compiler_gnu=yes
3155 else
3156   echo "$as_me: failed program was:" >&5
3157 sed 's/^/| /' conftest.$ac_ext >&5
3158
3159 ac_compiler_gnu=no
3160 fi
3161 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3162 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3163
3164 fi
3165 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3166 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3167 GXX=`test $ac_compiler_gnu = yes && echo yes`
3168 ac_test_CXXFLAGS=${CXXFLAGS+set}
3169 ac_save_CXXFLAGS=$CXXFLAGS
3170 CXXFLAGS="-g"
3171 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3172 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3173 if test "${ac_cv_prog_cxx_g+set}" = set; then
3174   echo $ECHO_N "(cached) $ECHO_C" >&6
3175 else
3176   cat >conftest.$ac_ext <<_ACEOF
3177 /* confdefs.h.  */
3178 _ACEOF
3179 cat confdefs.h >>conftest.$ac_ext
3180 cat >>conftest.$ac_ext <<_ACEOF
3181 /* end confdefs.h.  */
3182
3183 int
3184 main ()
3185 {
3186
3187   ;
3188   return 0;
3189 }
3190 _ACEOF
3191 rm -f conftest.$ac_objext
3192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3193   (eval $ac_compile) 2>conftest.er1
3194   ac_status=$?
3195   grep -v '^ *+' conftest.er1 >conftest.err
3196   rm -f conftest.er1
3197   cat conftest.err >&5
3198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3199   (exit $ac_status); } &&
3200          { ac_try='test -z "$ac_cxx_werror_flag"
3201                          || test ! -s conftest.err'
3202   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3203   (eval $ac_try) 2>&5
3204   ac_status=$?
3205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3206   (exit $ac_status); }; } &&
3207          { ac_try='test -s conftest.$ac_objext'
3208   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3209   (eval $ac_try) 2>&5
3210   ac_status=$?
3211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3212   (exit $ac_status); }; }; then
3213   ac_cv_prog_cxx_g=yes
3214 else
3215   echo "$as_me: failed program was:" >&5
3216 sed 's/^/| /' conftest.$ac_ext >&5
3217
3218 ac_cv_prog_cxx_g=no
3219 fi
3220 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3221 fi
3222 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3223 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3224 if test "$ac_test_CXXFLAGS" = set; then
3225   CXXFLAGS=$ac_save_CXXFLAGS
3226 elif test $ac_cv_prog_cxx_g = yes; then
3227   if test "$GXX" = yes; then
3228     CXXFLAGS="-g -O2"
3229   else
3230     CXXFLAGS="-g"
3231   fi
3232 else
3233   if test "$GXX" = yes; then
3234     CXXFLAGS="-O2"
3235   else
3236     CXXFLAGS=
3237   fi
3238 fi
3239 for ac_declaration in \
3240    '' \
3241    'extern "C" void std::exit (int) throw (); using std::exit;' \
3242    'extern "C" void std::exit (int); using std::exit;' \
3243    'extern "C" void exit (int) throw ();' \
3244    'extern "C" void exit (int);' \
3245    'void exit (int);'
3246 do
3247   cat >conftest.$ac_ext <<_ACEOF
3248 /* confdefs.h.  */
3249 _ACEOF
3250 cat confdefs.h >>conftest.$ac_ext
3251 cat >>conftest.$ac_ext <<_ACEOF
3252 /* end confdefs.h.  */
3253 $ac_declaration
3254 #include <stdlib.h>
3255 int
3256 main ()
3257 {
3258 exit (42);
3259   ;
3260   return 0;
3261 }
3262 _ACEOF
3263 rm -f conftest.$ac_objext
3264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3265   (eval $ac_compile) 2>conftest.er1
3266   ac_status=$?
3267   grep -v '^ *+' conftest.er1 >conftest.err
3268   rm -f conftest.er1
3269   cat conftest.err >&5
3270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3271   (exit $ac_status); } &&
3272          { ac_try='test -z "$ac_cxx_werror_flag"
3273                          || test ! -s conftest.err'
3274   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3275   (eval $ac_try) 2>&5
3276   ac_status=$?
3277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3278   (exit $ac_status); }; } &&
3279          { ac_try='test -s conftest.$ac_objext'
3280   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3281   (eval $ac_try) 2>&5
3282   ac_status=$?
3283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3284   (exit $ac_status); }; }; then
3285   :
3286 else
3287   echo "$as_me: failed program was:" >&5
3288 sed 's/^/| /' conftest.$ac_ext >&5
3289
3290 continue
3291 fi
3292 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3293   cat >conftest.$ac_ext <<_ACEOF
3294 /* confdefs.h.  */
3295 _ACEOF
3296 cat confdefs.h >>conftest.$ac_ext
3297 cat >>conftest.$ac_ext <<_ACEOF
3298 /* end confdefs.h.  */
3299 $ac_declaration
3300 int
3301 main ()
3302 {
3303 exit (42);
3304   ;
3305   return 0;
3306 }
3307 _ACEOF
3308 rm -f conftest.$ac_objext
3309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3310   (eval $ac_compile) 2>conftest.er1
3311   ac_status=$?
3312   grep -v '^ *+' conftest.er1 >conftest.err
3313   rm -f conftest.er1
3314   cat conftest.err >&5
3315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3316   (exit $ac_status); } &&
3317          { ac_try='test -z "$ac_cxx_werror_flag"
3318                          || test ! -s conftest.err'
3319   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3320   (eval $ac_try) 2>&5
3321   ac_status=$?
3322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3323   (exit $ac_status); }; } &&
3324          { ac_try='test -s conftest.$ac_objext'
3325   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3326   (eval $ac_try) 2>&5
3327   ac_status=$?
3328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3329   (exit $ac_status); }; }; then
3330   break
3331 else
3332   echo "$as_me: failed program was:" >&5
3333 sed 's/^/| /' conftest.$ac_ext >&5
3334
3335 fi
3336 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3337 done
3338 rm -f conftest*
3339 if test -n "$ac_declaration"; then
3340   echo '#ifdef __cplusplus' >>confdefs.h
3341   echo $ac_declaration      >>confdefs.h
3342   echo '#endif'             >>confdefs.h
3343 fi
3344
3345 ac_ext=c
3346 ac_cpp='$CPP $CPPFLAGS'
3347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3350
3351   CXXFLAGS="$save_CXXFLAGS"
3352
3353
3354
3355
3356   # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3357   # available).  Uncomment the next line to force a particular method.
3358   echo "$as_me:$LINENO: checking whether ln -s works" >&5
3359 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3360 LN_S=$as_ln_s
3361 if test "$LN_S" = "ln -s"; then
3362   echo "$as_me:$LINENO: result: yes" >&5
3363 echo "${ECHO_T}yes" >&6
3364 else
3365   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3366 echo "${ECHO_T}no, using $LN_S" >&6
3367 fi
3368
3369   #LN_S='cp -p'
3370
3371   if test -n "$ac_tool_prefix"; then
3372   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3373 set dummy ${ac_tool_prefix}as; ac_word=$2
3374 echo "$as_me:$LINENO: checking for $ac_word" >&5
3375 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3376 if test "${ac_cv_prog_AS+set}" = set; then
3377   echo $ECHO_N "(cached) $ECHO_C" >&6
3378 else
3379   if test -n "$AS"; then
3380   ac_cv_prog_AS="$AS" # Let the user override the test.
3381 else
3382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3383 for as_dir in $PATH
3384 do
3385   IFS=$as_save_IFS
3386   test -z "$as_dir" && as_dir=.
3387   for ac_exec_ext in '' $ac_executable_extensions; do
3388   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3389     ac_cv_prog_AS="${ac_tool_prefix}as"
3390     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3391     break 2
3392   fi
3393 done
3394 done
3395
3396 fi
3397 fi
3398 AS=$ac_cv_prog_AS
3399 if test -n "$AS"; then
3400   echo "$as_me:$LINENO: result: $AS" >&5
3401 echo "${ECHO_T}$AS" >&6
3402 else
3403   echo "$as_me:$LINENO: result: no" >&5
3404 echo "${ECHO_T}no" >&6
3405 fi
3406
3407 fi
3408 if test -z "$ac_cv_prog_AS"; then
3409   ac_ct_AS=$AS
3410   # Extract the first word of "as", so it can be a program name with args.
3411 set dummy as; ac_word=$2
3412 echo "$as_me:$LINENO: checking for $ac_word" >&5
3413 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3414 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3415   echo $ECHO_N "(cached) $ECHO_C" >&6
3416 else
3417   if test -n "$ac_ct_AS"; then
3418   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3419 else
3420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3421 for as_dir in $PATH
3422 do
3423   IFS=$as_save_IFS
3424   test -z "$as_dir" && as_dir=.
3425   for ac_exec_ext in '' $ac_executable_extensions; do
3426   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3427     ac_cv_prog_ac_ct_AS="as"
3428     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3429     break 2
3430   fi
3431 done
3432 done
3433
3434 fi
3435 fi
3436 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3437 if test -n "$ac_ct_AS"; then
3438   echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3439 echo "${ECHO_T}$ac_ct_AS" >&6
3440 else
3441   echo "$as_me:$LINENO: result: no" >&5
3442 echo "${ECHO_T}no" >&6
3443 fi
3444
3445   AS=$ac_ct_AS
3446 else
3447   AS="$ac_cv_prog_AS"
3448 fi
3449
3450   if test -n "$ac_tool_prefix"; then
3451   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3452 set dummy ${ac_tool_prefix}ar; ac_word=$2
3453 echo "$as_me:$LINENO: checking for $ac_word" >&5
3454 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3455 if test "${ac_cv_prog_AR+set}" = set; then
3456   echo $ECHO_N "(cached) $ECHO_C" >&6
3457 else
3458   if test -n "$AR"; then
3459   ac_cv_prog_AR="$AR" # Let the user override the test.
3460 else
3461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3462 for as_dir in $PATH
3463 do
3464   IFS=$as_save_IFS
3465   test -z "$as_dir" && as_dir=.
3466   for ac_exec_ext in '' $ac_executable_extensions; do
3467   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3468     ac_cv_prog_AR="${ac_tool_prefix}ar"
3469     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3470     break 2
3471   fi
3472 done
3473 done
3474
3475 fi
3476 fi
3477 AR=$ac_cv_prog_AR
3478 if test -n "$AR"; then
3479   echo "$as_me:$LINENO: result: $AR" >&5
3480 echo "${ECHO_T}$AR" >&6
3481 else
3482   echo "$as_me:$LINENO: result: no" >&5
3483 echo "${ECHO_T}no" >&6
3484 fi
3485
3486 fi
3487 if test -z "$ac_cv_prog_AR"; then
3488   ac_ct_AR=$AR
3489   # Extract the first word of "ar", so it can be a program name with args.
3490 set dummy ar; ac_word=$2
3491 echo "$as_me:$LINENO: checking for $ac_word" >&5
3492 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3493 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3494   echo $ECHO_N "(cached) $ECHO_C" >&6
3495 else
3496   if test -n "$ac_ct_AR"; then
3497   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3498 else
3499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3500 for as_dir in $PATH
3501 do
3502   IFS=$as_save_IFS
3503   test -z "$as_dir" && as_dir=.
3504   for ac_exec_ext in '' $ac_executable_extensions; do
3505   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3506     ac_cv_prog_ac_ct_AR="ar"
3507     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3508     break 2
3509   fi
3510 done
3511 done
3512
3513 fi
3514 fi
3515 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3516 if test -n "$ac_ct_AR"; then
3517   echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3518 echo "${ECHO_T}$ac_ct_AR" >&6
3519 else
3520   echo "$as_me:$LINENO: result: no" >&5
3521 echo "${ECHO_T}no" >&6
3522 fi
3523
3524   AR=$ac_ct_AR
3525 else
3526   AR="$ac_cv_prog_AR"
3527 fi
3528
3529   if test -n "$ac_tool_prefix"; then
3530   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3531 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3532 echo "$as_me:$LINENO: checking for $ac_word" >&5
3533 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3534 if test "${ac_cv_prog_RANLIB+set}" = set; then
3535   echo $ECHO_N "(cached) $ECHO_C" >&6
3536 else
3537   if test -n "$RANLIB"; then
3538   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3539 else
3540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3541 for as_dir in $PATH
3542 do
3543   IFS=$as_save_IFS
3544   test -z "$as_dir" && as_dir=.
3545   for ac_exec_ext in '' $ac_executable_extensions; do
3546   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3547     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3548     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3549     break 2
3550   fi
3551 done
3552 done
3553
3554 fi
3555 fi
3556 RANLIB=$ac_cv_prog_RANLIB
3557 if test -n "$RANLIB"; then
3558   echo "$as_me:$LINENO: result: $RANLIB" >&5
3559 echo "${ECHO_T}$RANLIB" >&6
3560 else
3561   echo "$as_me:$LINENO: result: no" >&5
3562 echo "${ECHO_T}no" >&6
3563 fi
3564
3565 fi
3566 if test -z "$ac_cv_prog_RANLIB"; then
3567   ac_ct_RANLIB=$RANLIB
3568   # Extract the first word of "ranlib", so it can be a program name with args.
3569 set dummy ranlib; ac_word=$2
3570 echo "$as_me:$LINENO: checking for $ac_word" >&5
3571 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3572 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3573   echo $ECHO_N "(cached) $ECHO_C" >&6
3574 else
3575   if test -n "$ac_ct_RANLIB"; then
3576   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3577 else
3578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3579 for as_dir in $PATH
3580 do
3581   IFS=$as_save_IFS
3582   test -z "$as_dir" && as_dir=.
3583   for ac_exec_ext in '' $ac_executable_extensions; do
3584   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3585     ac_cv_prog_ac_ct_RANLIB="ranlib"
3586     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3587     break 2
3588   fi
3589 done
3590 done
3591
3592   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3593 fi
3594 fi
3595 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3596 if test -n "$ac_ct_RANLIB"; then
3597   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3598 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3599 else
3600   echo "$as_me:$LINENO: result: no" >&5
3601 echo "${ECHO_T}no" >&6
3602 fi
3603
3604   RANLIB=$ac_ct_RANLIB
3605 else
3606   RANLIB="$ac_cv_prog_RANLIB"
3607 fi
3608
3609
3610   echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3611 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3612     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3613 if test "${enable_maintainer_mode+set}" = set; then
3614   enableval="$enable_maintainer_mode"
3615   USE_MAINTAINER_MODE=$enableval
3616 else
3617   USE_MAINTAINER_MODE=no
3618 fi;
3619   echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3620 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3621
3622
3623 if test $USE_MAINTAINER_MODE = yes; then
3624   MAINTAINER_MODE_TRUE=
3625   MAINTAINER_MODE_FALSE='#'
3626 else
3627   MAINTAINER_MODE_TRUE='#'
3628   MAINTAINER_MODE_FALSE=
3629 fi
3630
3631   MAINT=$MAINTAINER_MODE_TRUE
3632
3633
3634
3635   # Set up safe default values for all subsequent AM_CONDITIONAL tests
3636   # which are themselves conditionally expanded.
3637   ## (Right now, this only matters for enable_wchar_t, but nothing prevents
3638   ## other macros from doing the same.  This should be automated.)  -pme
3639   need_libmath=no
3640   enable_wchar_t=no
3641   #enable_libstdcxx_debug=no
3642   #enable_libstdcxx_pch=no
3643   #enable_cheaders=c
3644   #c_compatibility=no
3645   #enable_abi_check=no
3646   #enable_symvers=no
3647   #enable_hosted_libstdcxx=yes
3648
3649   # Find platform-specific directories containing configuration info.
3650   # Also possibly modify flags used elsewhere, as needed by the platform.
3651
3652   . $glibcxx_srcdir/configure.host
3653   { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
3654 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
3655   { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
3656 echo "$as_me: OS config directory is $os_include_dir" >&6;}
3657
3658
3659
3660 #AC_MSG_NOTICE([====== Starting libtool configuration])
3661
3662 # Check whether --enable-shared or --disable-shared was given.
3663 if test "${enable_shared+set}" = set; then
3664   enableval="$enable_shared"
3665   p=${PACKAGE-default}
3666 case $enableval in
3667 yes) enable_shared=yes ;;
3668 no) enable_shared=no ;;
3669 *)
3670   enable_shared=no
3671   # Look at the argument we got.  We use all the common list separators.
3672   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3673   for pkg in $enableval; do
3674     if test "X$pkg" = "X$p"; then
3675       enable_shared=yes
3676     fi
3677   done
3678   IFS="$ac_save_ifs"
3679   ;;
3680 esac
3681 else
3682   enable_shared=yes
3683 fi;
3684 # Check whether --enable-static or --disable-static was given.
3685 if test "${enable_static+set}" = set; then
3686   enableval="$enable_static"
3687   p=${PACKAGE-default}
3688 case $enableval in
3689 yes) enable_static=yes ;;
3690 no) enable_static=no ;;
3691 *)
3692   enable_static=no
3693   # Look at the argument we got.  We use all the common list separators.
3694   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3695   for pkg in $enableval; do
3696     if test "X$pkg" = "X$p"; then
3697       enable_static=yes
3698     fi
3699   done
3700   IFS="$ac_save_ifs"
3701   ;;
3702 esac
3703 else
3704   enable_static=yes
3705 fi;
3706 # Check whether --enable-fast-install or --disable-fast-install was given.
3707 if test "${enable_fast_install+set}" = set; then
3708   enableval="$enable_fast_install"
3709   p=${PACKAGE-default}
3710 case $enableval in
3711 yes) enable_fast_install=yes ;;
3712 no) enable_fast_install=no ;;
3713 *)
3714   enable_fast_install=no
3715   # Look at the argument we got.  We use all the common list separators.
3716   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3717   for pkg in $enableval; do
3718     if test "X$pkg" = "X$p"; then
3719       enable_fast_install=yes
3720     fi
3721   done
3722   IFS="$ac_save_ifs"
3723   ;;
3724 esac
3725 else
3726   enable_fast_install=yes
3727 fi;
3728
3729 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3730 if test "${with_gnu_ld+set}" = set; then
3731   withval="$with_gnu_ld"
3732   test "$withval" = no || with_gnu_ld=yes
3733 else
3734   with_gnu_ld=no
3735 fi;
3736 ac_prog=ld
3737 if test "$GCC" = yes; then
3738   # Check if gcc -print-prog-name=ld gives a path.
3739   echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3740 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3741   case $host in
3742   *-*-mingw*)
3743     # gcc leaves a trailing carriage return which upsets mingw
3744     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3745   *)
3746     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3747   esac
3748   case $ac_prog in
3749     # Accept absolute paths.
3750     [\\/]* | [A-Za-z]:[\\/]*)
3751       re_direlt='/[^/][^/]*/\.\./'
3752       # Canonicalize the path of ld
3753       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3754       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3755         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3756       done
3757       test -z "$LD" && LD="$ac_prog"
3758       ;;
3759   "")
3760     # If it fails, then pretend we aren't using GCC.
3761     ac_prog=ld
3762     ;;
3763   *)
3764     # If it is relative, then search for the first ld in PATH.
3765     with_gnu_ld=unknown
3766     ;;
3767   esac
3768 elif test "$with_gnu_ld" = yes; then
3769   echo "$as_me:$LINENO: checking for GNU ld" >&5
3770 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3771 else
3772   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3773 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3774 fi
3775 if test "${lt_cv_path_LD+set}" = set; then
3776   echo $ECHO_N "(cached) $ECHO_C" >&6
3777 else
3778   if test -z "$LD"; then
3779   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3780   for ac_dir in $PATH; do
3781     test -z "$ac_dir" && ac_dir=.
3782     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3783       lt_cv_path_LD="$ac_dir/$ac_prog"
3784       # Check to see if the program is GNU ld.  I'd rather use --version,
3785       # but apparently some GNU ld's only accept -v.
3786       # Break only if it was the GNU/non-GNU ld that we prefer.
3787       if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3788         test "$with_gnu_ld" != no && break
3789       else
3790         test "$with_gnu_ld" != yes && break
3791       fi
3792     fi
3793   done
3794   IFS="$ac_save_ifs"
3795 else
3796   lt_cv_path_LD="$LD" # Let the user override the test with a path.
3797 fi
3798 fi
3799
3800 LD="$lt_cv_path_LD"
3801 if test -n "$LD"; then
3802   echo "$as_me:$LINENO: result: $LD" >&5
3803 echo "${ECHO_T}$LD" >&6
3804 else
3805   echo "$as_me:$LINENO: result: no" >&5
3806 echo "${ECHO_T}no" >&6
3807 fi
3808 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3809 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3810    { (exit 1); exit 1; }; }
3811 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3812 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3813 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3814   echo $ECHO_N "(cached) $ECHO_C" >&6
3815 else
3816   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3817 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3818   lt_cv_prog_gnu_ld=yes
3819 else
3820   lt_cv_prog_gnu_ld=no
3821 fi
3822 fi
3823 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3824 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3825 with_gnu_ld=$lt_cv_prog_gnu_ld
3826
3827
3828 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3829 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3830 if test "${lt_cv_ld_reload_flag+set}" = set; then
3831   echo $ECHO_N "(cached) $ECHO_C" >&6
3832 else
3833   lt_cv_ld_reload_flag='-r'
3834 fi
3835 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3836 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3837 reload_flag=$lt_cv_ld_reload_flag
3838 test -n "$reload_flag" && reload_flag=" $reload_flag"
3839
3840 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3841 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3842 if test "${lt_cv_path_NM+set}" = set; then
3843   echo $ECHO_N "(cached) $ECHO_C" >&6
3844 else
3845   if test -n "$NM"; then
3846   # Let the user override the test.
3847   lt_cv_path_NM="$NM"
3848 else
3849   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3850   for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3851     test -z "$ac_dir" && ac_dir=.
3852     tmp_nm=$ac_dir/${ac_tool_prefix}nm
3853     if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3854       # Check to see if the nm accepts a BSD-compat flag.
3855       # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3856       #   nm: unknown option "B" ignored
3857       # Tru64's nm complains that /dev/null is an invalid object file
3858       if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3859         lt_cv_path_NM="$tmp_nm -B"
3860         break
3861       elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3862         lt_cv_path_NM="$tmp_nm -p"
3863         break
3864       else
3865         lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3866         continue # so that we can try to find one that supports BSD flags
3867       fi
3868     fi
3869   done
3870   IFS="$ac_save_ifs"
3871   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3872 fi
3873 fi
3874
3875 NM="$lt_cv_path_NM"
3876 echo "$as_me:$LINENO: result: $NM" >&5
3877 echo "${ECHO_T}$NM" >&6
3878
3879 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3880 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3881 if test "${lt_cv_deplibs_check_method+set}" = set; then
3882   echo $ECHO_N "(cached) $ECHO_C" >&6
3883 else
3884   lt_cv_file_magic_cmd='$MAGIC_CMD'
3885 lt_cv_file_magic_test_file=
3886 lt_cv_deplibs_check_method='unknown'
3887 # Need to set the preceding variable on all platforms that support
3888 # interlibrary dependencies.
3889 # 'none' -- dependencies not supported.
3890 # `unknown' -- same as none, but documents that we really don't know.
3891 # 'pass_all' -- all dependencies passed with no checks.
3892 # 'test_compile' -- check by making test program.
3893 # 'file_magic [regex]' -- check by looking for files in library path
3894 # which responds to the $file_magic_cmd with a given egrep regex.
3895 # If you have `file' or equivalent on your system and you're not sure
3896 # whether `pass_all' will *always* work, you probably want this one.
3897
3898 case $host_os in
3899 aix*)
3900   lt_cv_deplibs_check_method=pass_all
3901   ;;
3902
3903 beos*)
3904   lt_cv_deplibs_check_method=pass_all
3905   ;;
3906
3907 bsdi4*)
3908   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3909   lt_cv_file_magic_cmd='/usr/bin/file -L'
3910   lt_cv_file_magic_test_file=/shlib/libc.so
3911   ;;
3912
3913 cygwin* | mingw* |pw32*)
3914   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3915   lt_cv_file_magic_cmd='$OBJDUMP -f'
3916   ;;
3917
3918 darwin* | rhapsody*)
3919   # this will be overwritten by pass_all, but leave it in just in case
3920   lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3921   lt_cv_file_magic_cmd='/usr/bin/file -L'
3922   case "$host_os" in
3923   rhapsody* | darwin1.012)
3924     lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3925     ;;
3926   *) # Darwin 1.3 on
3927     lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3928     ;;
3929   esac
3930   lt_cv_deplibs_check_method=pass_all
3931   ;;
3932
3933 freebsd* | kfreebsd*-gnu)
3934   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3935     case $host_cpu in
3936     i*86 )
3937       # Not sure whether the presence of OpenBSD here was a mistake.
3938       # Let's accept both of them until this is cleared up.
3939       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3940       lt_cv_file_magic_cmd=/usr/bin/file
3941       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3942       ;;
3943     esac
3944   else
3945     lt_cv_deplibs_check_method=pass_all
3946   fi
3947   ;;
3948
3949 gnu*)
3950   lt_cv_deplibs_check_method=pass_all
3951   ;;
3952
3953 hpux10.20*|hpux11*)
3954   case $host_cpu in
3955   hppa*)
3956     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3957     lt_cv_file_magic_cmd=/usr/bin/file
3958     lt_cv_file_magic_test_file=/usr/lib/libc.sl
3959     ;;
3960   ia64*)
3961     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3962     lt_cv_file_magic_cmd=/usr/bin/file
3963     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3964     ;;
3965   esac
3966   ;;
3967
3968 irix5* | irix6*)
3969   case $host_os in
3970   irix5*)
3971     # this will be overridden with pass_all, but let us keep it just in case
3972     lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3973     ;;
3974   *)
3975     case $LD in
3976     *-32|*"-32 ") libmagic=32-bit;;
3977     *-n32|*"-n32 ") libmagic=N32;;
3978     *-64|*"-64 ") libmagic=64-bit;;
3979     *) libmagic=never-match;;
3980     esac
3981     # this will be overridden with pass_all, but let us keep it just in case
3982     lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3983     ;;
3984   esac
3985   lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
3986   lt_cv_deplibs_check_method=pass_all
3987   ;;
3988
3989 # This must be Linux ELF.
3990 linux-gnu*)
3991   lt_cv_deplibs_check_method=pass_all
3992   ;;
3993
3994 netbsd* | knetbsd*-gnu)
3995   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3996     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3997   else
3998     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
3999   fi
4000   ;;
4001
4002 newsos6)
4003   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4004   lt_cv_file_magic_cmd=/usr/bin/file
4005   lt_cv_file_magic_test_file=/usr/lib/libnls.so
4006   ;;
4007
4008 osf3* | osf4* | osf5*)
4009   # this will be overridden with pass_all, but let us keep it just in case
4010   lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4011   lt_cv_file_magic_test_file=/shlib/libc.so
4012   lt_cv_deplibs_check_method=pass_all
4013   ;;
4014
4015 sco3.2v5*)
4016   lt_cv_deplibs_check_method=pass_all
4017   ;;
4018
4019 solaris*)
4020   lt_cv_deplibs_check_method=pass_all
4021   lt_cv_file_magic_test_file=/lib/libc.so
4022   ;;
4023
4024 sysv5uw[78]* | sysv4*uw2*)
4025   lt_cv_deplibs_check_method=pass_all
4026   ;;
4027
4028 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4029   case $host_vendor in
4030   ncr)
4031     lt_cv_deplibs_check_method=pass_all
4032     ;;
4033   motorola)
4034     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]'
4035     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4036     ;;
4037   esac
4038   ;;
4039 esac
4040
4041 fi
4042 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4043 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4044 file_magic_cmd=$lt_cv_file_magic_cmd
4045 deplibs_check_method=$lt_cv_deplibs_check_method
4046
4047
4048
4049
4050
4051 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4052
4053 # Only perform the check for file, if the check method requires it
4054 case $deplibs_check_method in
4055 file_magic*)
4056   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4057     echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4058 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4059 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4060   echo $ECHO_N "(cached) $ECHO_C" >&6
4061 else
4062   case $MAGIC_CMD in
4063   /*)
4064   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4065   ;;
4066   ?:/*)
4067   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4068   ;;
4069   *)
4070   ac_save_MAGIC_CMD="$MAGIC_CMD"
4071   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
4072   ac_dummy="/usr/bin:$PATH"
4073   for ac_dir in $ac_dummy; do
4074     test -z "$ac_dir" && ac_dir=.
4075     if test -f $ac_dir/${ac_tool_prefix}file; then
4076       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
4077       if test -n "$file_magic_test_file"; then
4078         case $deplibs_check_method in
4079         "file_magic "*)
4080           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4081           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4082           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4083             egrep "$file_magic_regex" > /dev/null; then
4084             :
4085           else
4086             cat <<EOF 1>&2
4087
4088 *** Warning: the command libtool uses to detect shared libraries,
4089 *** $file_magic_cmd, produces output that libtool cannot recognize.
4090 *** The result is that libtool may fail to recognize shared libraries
4091 *** as such.  This will affect the creation of libtool libraries that
4092 *** depend on shared libraries, but programs linked with such libtool
4093 *** libraries will work regardless of this problem.  Nevertheless, you
4094 *** may want to report the problem to your system manager and/or to
4095 *** bug-libtool@gnu.org
4096
4097 EOF
4098           fi ;;
4099         esac
4100       fi
4101       break
4102     fi
4103   done
4104   IFS="$ac_save_ifs"
4105   MAGIC_CMD="$ac_save_MAGIC_CMD"
4106   ;;
4107 esac
4108 fi
4109
4110 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4111 if test -n "$MAGIC_CMD"; then
4112   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4113 echo "${ECHO_T}$MAGIC_CMD" >&6
4114 else
4115   echo "$as_me:$LINENO: result: no" >&5
4116 echo "${ECHO_T}no" >&6
4117 fi
4118
4119 if test -z "$lt_cv_path_MAGIC_CMD"; then
4120   if test -n "$ac_tool_prefix"; then
4121     echo "$as_me:$LINENO: checking for file" >&5
4122 echo $ECHO_N "checking for file... $ECHO_C" >&6
4123 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4124   echo $ECHO_N "(cached) $ECHO_C" >&6
4125 else
4126   case $MAGIC_CMD in
4127   /*)
4128   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4129   ;;
4130   ?:/*)
4131   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4132   ;;
4133   *)
4134   ac_save_MAGIC_CMD="$MAGIC_CMD"
4135   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
4136   ac_dummy="/usr/bin:$PATH"
4137   for ac_dir in $ac_dummy; do
4138     test -z "$ac_dir" && ac_dir=.
4139     if test -f $ac_dir/file; then
4140       lt_cv_path_MAGIC_CMD="$ac_dir/file"
4141       if test -n "$file_magic_test_file"; then
4142         case $deplibs_check_method in
4143         "file_magic "*)
4144           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4145           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4146           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4147             egrep "$file_magic_regex" > /dev/null; then
4148             :
4149           else
4150             cat <<EOF 1>&2
4151
4152 *** Warning: the command libtool uses to detect shared libraries,
4153 *** $file_magic_cmd, produces output that libtool cannot recognize.
4154 *** The result is that libtool may fail to recognize shared libraries
4155 *** as such.  This will affect the creation of libtool libraries that
4156 *** depend on shared libraries, but programs linked with such libtool
4157 *** libraries will work regardless of this problem.  Nevertheless, you
4158 *** may want to report the problem to your system manager and/or to
4159 *** bug-libtool@gnu.org
4160
4161 EOF
4162           fi ;;
4163         esac
4164       fi
4165       break
4166     fi
4167   done
4168   IFS="$ac_save_ifs"
4169   MAGIC_CMD="$ac_save_MAGIC_CMD"
4170   ;;
4171 esac
4172 fi
4173
4174 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4175 if test -n "$MAGIC_CMD"; then
4176   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4177 echo "${ECHO_T}$MAGIC_CMD" >&6
4178 else
4179   echo "$as_me:$LINENO: result: no" >&5
4180 echo "${ECHO_T}no" >&6
4181 fi
4182
4183   else
4184     MAGIC_CMD=:
4185   fi
4186 fi
4187
4188   fi
4189   ;;
4190 esac
4191
4192 if test -n "$ac_tool_prefix"; then
4193   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4194 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4195 echo "$as_me:$LINENO: checking for $ac_word" >&5
4196 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4197 if test "${ac_cv_prog_RANLIB+set}" = set; then
4198   echo $ECHO_N "(cached) $ECHO_C" >&6
4199 else
4200   if test -n "$RANLIB"; then
4201   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4202 else
4203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4204 for as_dir in $PATH
4205 do
4206   IFS=$as_save_IFS
4207   test -z "$as_dir" && as_dir=.
4208   for ac_exec_ext in '' $ac_executable_extensions; do
4209   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4210     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4211     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4212     break 2
4213   fi
4214 done
4215 done
4216
4217 fi
4218 fi
4219 RANLIB=$ac_cv_prog_RANLIB
4220 if test -n "$RANLIB"; then
4221   echo "$as_me:$LINENO: result: $RANLIB" >&5
4222 echo "${ECHO_T}$RANLIB" >&6
4223 else
4224   echo "$as_me:$LINENO: result: no" >&5
4225 echo "${ECHO_T}no" >&6
4226 fi
4227
4228 fi
4229 if test -z "$ac_cv_prog_RANLIB"; then
4230   ac_ct_RANLIB=$RANLIB
4231   # Extract the first word of "ranlib", so it can be a program name with args.
4232 set dummy ranlib; ac_word=$2
4233 echo "$as_me:$LINENO: checking for $ac_word" >&5
4234 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4235 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4236   echo $ECHO_N "(cached) $ECHO_C" >&6
4237 else
4238   if test -n "$ac_ct_RANLIB"; then
4239   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4240 else
4241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4242 for as_dir in $PATH
4243 do
4244   IFS=$as_save_IFS
4245   test -z "$as_dir" && as_dir=.
4246   for ac_exec_ext in '' $ac_executable_extensions; do
4247   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4248     ac_cv_prog_ac_ct_RANLIB="ranlib"
4249     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4250     break 2
4251   fi
4252 done
4253 done
4254
4255   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4256 fi
4257 fi
4258 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4259 if test -n "$ac_ct_RANLIB"; then
4260   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4261 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4262 else
4263   echo "$as_me:$LINENO: result: no" >&5
4264 echo "${ECHO_T}no" >&6
4265 fi
4266
4267   RANLIB=$ac_ct_RANLIB
4268 else
4269   RANLIB="$ac_cv_prog_RANLIB"
4270 fi
4271
4272 if test -n "$ac_tool_prefix"; then
4273   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4274 set dummy ${ac_tool_prefix}strip; ac_word=$2
4275 echo "$as_me:$LINENO: checking for $ac_word" >&5
4276 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4277 if test "${ac_cv_prog_STRIP+set}" = set; then
4278   echo $ECHO_N "(cached) $ECHO_C" >&6
4279 else
4280   if test -n "$STRIP"; then
4281   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4282 else
4283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4284 for as_dir in $PATH
4285 do
4286   IFS=$as_save_IFS
4287   test -z "$as_dir" && as_dir=.
4288   for ac_exec_ext in '' $ac_executable_extensions; do
4289   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4290     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4291     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4292     break 2
4293   fi
4294 done
4295 done
4296
4297 fi
4298 fi
4299 STRIP=$ac_cv_prog_STRIP
4300 if test -n "$STRIP"; then
4301   echo "$as_me:$LINENO: result: $STRIP" >&5
4302 echo "${ECHO_T}$STRIP" >&6
4303 else
4304   echo "$as_me:$LINENO: result: no" >&5
4305 echo "${ECHO_T}no" >&6
4306 fi
4307
4308 fi
4309 if test -z "$ac_cv_prog_STRIP"; then
4310   ac_ct_STRIP=$STRIP
4311   # Extract the first word of "strip", so it can be a program name with args.
4312 set dummy strip; ac_word=$2
4313 echo "$as_me:$LINENO: checking for $ac_word" >&5
4314 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4315 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4316   echo $ECHO_N "(cached) $ECHO_C" >&6
4317 else
4318   if test -n "$ac_ct_STRIP"; then
4319   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4320 else
4321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4322 for as_dir in $PATH
4323 do
4324   IFS=$as_save_IFS
4325   test -z "$as_dir" && as_dir=.
4326   for ac_exec_ext in '' $ac_executable_extensions; do
4327   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4328     ac_cv_prog_ac_ct_STRIP="strip"
4329     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4330     break 2
4331   fi
4332 done
4333 done
4334
4335   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4336 fi
4337 fi
4338 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4339 if test -n "$ac_ct_STRIP"; then
4340   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4341 echo "${ECHO_T}$ac_ct_STRIP" >&6
4342 else
4343   echo "$as_me:$LINENO: result: no" >&5
4344 echo "${ECHO_T}no" >&6
4345 fi
4346
4347   STRIP=$ac_ct_STRIP
4348 else
4349   STRIP="$ac_cv_prog_STRIP"
4350 fi
4351
4352
4353 # Check for any special flags to pass to ltconfig.
4354 libtool_flags="--cache-file=$cache_file"
4355 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4356 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4357 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4358 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4359 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4360
4361
4362 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4363 if test "${enable_libtool_lock+set}" = set; then
4364   enableval="$enable_libtool_lock"
4365
4366 fi;
4367 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4368 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4369
4370
4371 # Check whether --with-pic or --without-pic was given.
4372 if test "${with_pic+set}" = set; then
4373   withval="$with_pic"
4374   pic_mode="$withval"
4375 else
4376   pic_mode=default
4377 fi;
4378 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4379 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4380
4381 # Some flags need to be propagated to the compiler or linker for good
4382 # libtool support.
4383 case $host in
4384 *-*-irix6*)
4385   # Find out which ABI we are using.
4386   echo '#line 4386 "configure"' > conftest.$ac_ext
4387   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4388   (eval $ac_compile) 2>&5
4389   ac_status=$?
4390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4391   (exit $ac_status); }; then
4392    if test "$lt_cv_prog_gnu_ld" = yes; then
4393     case `/usr/bin/file conftest.$ac_objext` in
4394     *32-bit*)
4395       LD="${LD-ld} -melf32bsmip"
4396       ;;
4397     *N32*)
4398       LD="${LD-ld} -melf32bmipn32"
4399       ;;
4400     *64-bit*)
4401       LD="${LD-ld} -melf64bmip"
4402       ;;
4403     esac
4404    else
4405     case `/usr/bin/file conftest.$ac_objext` in
4406     *32-bit*)
4407       LD="${LD-ld} -32"
4408       ;;
4409     *N32*)
4410       LD="${LD-ld} -n32"
4411       ;;
4412     *64-bit*)
4413       LD="${LD-ld} -64"
4414       ;;
4415     esac
4416    fi
4417   fi
4418   rm -rf conftest*
4419   ;;
4420
4421 ia64-*-hpux*)
4422   # Find out which ABI we are using.
4423   echo 'int i;' > conftest.$ac_ext
4424   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4425   (eval $ac_compile) 2>&5
4426   ac_status=$?
4427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4428   (exit $ac_status); }; then
4429     case "`/usr/bin/file conftest.o`" in
4430     *ELF-32*)
4431       HPUX_IA64_MODE="32"
4432       ;;
4433     *ELF-64*)
4434       HPUX_IA64_MODE="64"
4435       ;;
4436     esac
4437   fi
4438   rm -rf conftest*
4439   ;;
4440
4441 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4442   # Find out which ABI we are using.
4443   echo 'int i;' > conftest.$ac_ext
4444   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4445   (eval $ac_compile) 2>&5
4446   ac_status=$?
4447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4448   (exit $ac_status); }; then
4449     case "`/usr/bin/file conftest.o`" in
4450     *32-bit*)
4451       case $host in
4452         x86_64-*linux*)
4453           LD="${LD-ld} -m elf_i386"
4454           ;;
4455         ppc64-*linux*|powerpc64-*linux*)
4456           LD="${LD-ld} -m elf32ppclinux"
4457           ;;
4458         s390x-*linux*)
4459           LD="${LD-ld} -m elf_s390"
4460           ;;
4461         sparc64-*linux*)
4462           LD="${LD-ld} -m elf32_sparc"
4463           ;;
4464       esac
4465       ;;
4466     *64-bit*)
4467       case $host in
4468         x86_64-*linux*)
4469           LD="${LD-ld} -m elf_x86_64"
4470           ;;
4471         ppc*-*linux*|powerpc*-*linux*)
4472           LD="${LD-ld} -m elf64ppc"
4473           ;;
4474         s390*-*linux*)
4475           LD="${LD-ld} -m elf64_s390"
4476           ;;
4477         sparc*-*linux*)
4478           LD="${LD-ld} -m elf64_sparc"
4479           ;;
4480       esac
4481       ;;
4482     esac
4483   fi
4484   rm -rf conftest*
4485   ;;
4486
4487 *-*-sco3.2v5*)
4488   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4489   SAVE_CFLAGS="$CFLAGS"
4490   CFLAGS="$CFLAGS -belf"
4491   echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4492 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4493 if test "${lt_cv_cc_needs_belf+set}" = set; then
4494   echo $ECHO_N "(cached) $ECHO_C" >&6
4495 else
4496
4497
4498      ac_ext=c
4499 ac_cpp='$CPP $CPPFLAGS'
4500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4503
4504      if test x$gcc_no_link = xyes; then
4505   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4506 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4507    { (exit 1); exit 1; }; }
4508 fi
4509 cat >conftest.$ac_ext <<_ACEOF
4510 /* confdefs.h.  */
4511 _ACEOF
4512 cat confdefs.h >>conftest.$ac_ext
4513 cat >>conftest.$ac_ext <<_ACEOF
4514 /* end confdefs.h.  */
4515
4516 int
4517 main ()
4518 {
4519
4520   ;
4521   return 0;
4522 }
4523 _ACEOF
4524 rm -f conftest.$ac_objext conftest$ac_exeext
4525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4526   (eval $ac_link) 2>conftest.er1
4527   ac_status=$?
4528   grep -v '^ *+' conftest.er1 >conftest.err
4529   rm -f conftest.er1
4530   cat conftest.err >&5
4531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4532   (exit $ac_status); } &&
4533          { ac_try='test -z "$ac_c_werror_flag"
4534                          || test ! -s conftest.err'
4535   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4536   (eval $ac_try) 2>&5
4537   ac_status=$?
4538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4539   (exit $ac_status); }; } &&
4540          { ac_try='test -s conftest$ac_exeext'
4541   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4542   (eval $ac_try) 2>&5
4543   ac_status=$?
4544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4545   (exit $ac_status); }; }; then
4546   lt_cv_cc_needs_belf=yes
4547 else
4548   echo "$as_me: failed program was:" >&5
4549 sed 's/^/| /' conftest.$ac_ext >&5
4550
4551 lt_cv_cc_needs_belf=no
4552 fi
4553 rm -f conftest.err conftest.$ac_objext \
4554       conftest$ac_exeext conftest.$ac_ext
4555      ac_ext=c
4556 ac_cpp='$CPP $CPPFLAGS'
4557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4560
4561 fi
4562 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4563 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4564   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4565     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4566     CFLAGS="$SAVE_CFLAGS"
4567   fi
4568   ;;
4569
4570
4571 esac
4572
4573
4574 # Save cache, so that ltconfig can load it
4575 cat >confcache <<\_ACEOF
4576 # This file is a shell script that caches the results of configure
4577 # tests run on this system so they can be shared between configure
4578 # scripts and configure runs, see configure's option --config-cache.
4579 # It is not useful on other systems.  If it contains results you don't
4580 # want to keep, you may remove or edit it.
4581 #
4582 # config.status only pays attention to the cache file if you give it
4583 # the --recheck option to rerun configure.
4584 #
4585 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4586 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4587 # following values.
4588
4589 _ACEOF
4590
4591 # The following way of writing the cache mishandles newlines in values,
4592 # but we know of no workaround that is simple, portable, and efficient.
4593 # So, don't put newlines in cache variables' values.
4594 # Ultrix sh set writes to stderr and can't be redirected directly,
4595 # and sets the high bit in the cache file unless we assign to the vars.
4596 {
4597   (set) 2>&1 |
4598     case `(ac_space=' '; set | grep ac_space) 2>&1` in
4599     *ac_space=\ *)
4600       # `set' does not quote correctly, so add quotes (double-quote
4601       # substitution turns \\\\ into \\, and sed turns \\ into \).
4602       sed -n \
4603         "s/'/'\\\\''/g;
4604           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4605       ;;
4606     *)
4607       # `set' quotes correctly as required by POSIX, so do not add quotes.
4608       sed -n \
4609         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4610       ;;
4611     esac;
4612 } |
4613   sed '
4614      t clear
4615      : clear
4616      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4617      t end
4618      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4619      : end' >>confcache
4620 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4621   if test -w $cache_file; then
4622     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4623     cat confcache >$cache_file
4624   else
4625     echo "not updating unwritable cache $cache_file"
4626   fi
4627 fi
4628 rm -f confcache
4629
4630 # Actually configure libtool.  ac_aux_dir is where install-sh is found.
4631 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4632 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4633 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4634 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4635 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4636 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4637 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4638 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4639 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4640 echo "$as_me: error: libtool configure failed" >&2;}
4641    { (exit 1); exit 1; }; }
4642
4643 # Reload cache, that may have been modified by ltconfig
4644 if test -r "$cache_file"; then
4645   # Some versions of bash will fail to source /dev/null (special
4646   # files actually), so we avoid doing that.
4647   if test -f "$cache_file"; then
4648     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4649 echo "$as_me: loading cache $cache_file" >&6;}
4650     case $cache_file in
4651       [\\/]* | ?:[\\/]* ) . $cache_file;;
4652       *)                      . ./$cache_file;;
4653     esac
4654   fi
4655 else
4656   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4657 echo "$as_me: creating cache $cache_file" >&6;}
4658   >$cache_file
4659 fi
4660
4661
4662 # This can be used to rebuild libtool when needed
4663 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4664
4665 # Always use our own libtool.
4666 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4667
4668 # Redirect the config.log output again, so that the ltconfig log is not
4669 # clobbered by the next message.
4670 exec 5>>./config.log
4671
4672 ac_ext=cc
4673 ac_cpp='$CXXCPP $CPPFLAGS'
4674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4677 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4678 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4679 if test -z "$CXXCPP"; then
4680   if test "${ac_cv_prog_CXXCPP+set}" = set; then
4681   echo $ECHO_N "(cached) $ECHO_C" >&6
4682 else
4683       # Double quotes because CXXCPP needs to be expanded
4684     for CXXCPP in "$CXX -E" "/lib/cpp"
4685     do
4686       ac_preproc_ok=false
4687 for ac_cxx_preproc_warn_flag in '' yes
4688 do
4689   # Use a header file that comes with gcc, so configuring glibc
4690   # with a fresh cross-compiler works.
4691   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4692   # <limits.h> exists even on freestanding compilers.
4693   # On the NeXT, cc -E runs the code through the compiler's parser,
4694   # not just through cpp. "Syntax error" is here to catch this case.
4695   cat >conftest.$ac_ext <<_ACEOF
4696 /* confdefs.h.  */
4697 _ACEOF
4698 cat confdefs.h >>conftest.$ac_ext
4699 cat >>conftest.$ac_ext <<_ACEOF
4700 /* end confdefs.h.  */
4701 #ifdef __STDC__
4702 # include <limits.h>
4703 #else
4704 # include <assert.h>
4705 #endif
4706                      Syntax error
4707 _ACEOF
4708 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4709   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4710   ac_status=$?
4711   grep -v '^ *+' conftest.er1 >conftest.err
4712   rm -f conftest.er1
4713   cat conftest.err >&5
4714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4715   (exit $ac_status); } >/dev/null; then
4716   if test -s conftest.err; then
4717     ac_cpp_err=$ac_cxx_preproc_warn_flag
4718     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4719   else
4720     ac_cpp_err=
4721   fi
4722 else
4723   ac_cpp_err=yes
4724 fi
4725 if test -z "$ac_cpp_err"; then
4726   :
4727 else
4728   echo "$as_me: failed program was:" >&5
4729 sed 's/^/| /' conftest.$ac_ext >&5
4730
4731   # Broken: fails on valid input.
4732 continue
4733 fi
4734 rm -f conftest.err conftest.$ac_ext
4735
4736   # OK, works on sane cases.  Now check whether non-existent headers
4737   # can be detected and how.
4738   cat >conftest.$ac_ext <<_ACEOF
4739 /* confdefs.h.  */
4740 _ACEOF
4741 cat confdefs.h >>conftest.$ac_ext
4742 cat >>conftest.$ac_ext <<_ACEOF
4743 /* end confdefs.h.  */
4744 #include <ac_nonexistent.h>
4745 _ACEOF
4746 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4747   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4748   ac_status=$?
4749   grep -v '^ *+' conftest.er1 >conftest.err
4750   rm -f conftest.er1
4751   cat conftest.err >&5
4752   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4753   (exit $ac_status); } >/dev/null; then
4754   if test -s conftest.err; then
4755     ac_cpp_err=$ac_cxx_preproc_warn_flag
4756     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4757   else
4758     ac_cpp_err=
4759   fi
4760 else
4761   ac_cpp_err=yes
4762 fi
4763 if test -z "$ac_cpp_err"; then
4764   # Broken: success on invalid input.
4765 continue
4766 else
4767   echo "$as_me: failed program was:" >&5
4768 sed 's/^/| /' conftest.$ac_ext >&5
4769
4770   # Passes both tests.
4771 ac_preproc_ok=:
4772 break
4773 fi
4774 rm -f conftest.err conftest.$ac_ext
4775
4776 done
4777 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4778 rm -f conftest.err conftest.$ac_ext
4779 if $ac_preproc_ok; then
4780   break
4781 fi
4782
4783     done
4784     ac_cv_prog_CXXCPP=$CXXCPP
4785
4786 fi
4787   CXXCPP=$ac_cv_prog_CXXCPP
4788 else
4789   ac_cv_prog_CXXCPP=$CXXCPP
4790 fi
4791 echo "$as_me:$LINENO: result: $CXXCPP" >&5
4792 echo "${ECHO_T}$CXXCPP" >&6
4793 ac_preproc_ok=false
4794 for ac_cxx_preproc_warn_flag in '' yes
4795 do
4796   # Use a header file that comes with gcc, so configuring glibc
4797   # with a fresh cross-compiler works.
4798   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4799   # <limits.h> exists even on freestanding compilers.
4800   # On the NeXT, cc -E runs the code through the compiler's parser,
4801   # not just through cpp. "Syntax error" is here to catch this case.
4802   cat >conftest.$ac_ext <<_ACEOF
4803 /* confdefs.h.  */
4804 _ACEOF
4805 cat confdefs.h >>conftest.$ac_ext
4806 cat >>conftest.$ac_ext <<_ACEOF
4807 /* end confdefs.h.  */
4808 #ifdef __STDC__
4809 # include <limits.h>
4810 #else
4811 # include <assert.h>
4812 #endif
4813                      Syntax error
4814 _ACEOF
4815 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4816   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4817   ac_status=$?
4818   grep -v '^ *+' conftest.er1 >conftest.err
4819   rm -f conftest.er1
4820   cat conftest.err >&5
4821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4822   (exit $ac_status); } >/dev/null; then
4823   if test -s conftest.err; then
4824     ac_cpp_err=$ac_cxx_preproc_warn_flag
4825     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4826   else
4827     ac_cpp_err=
4828   fi
4829 else
4830   ac_cpp_err=yes
4831 fi
4832 if test -z "$ac_cpp_err"; then
4833   :
4834 else
4835   echo "$as_me: failed program was:" >&5
4836 sed 's/^/| /' conftest.$ac_ext >&5
4837
4838   # Broken: fails on valid input.
4839 continue
4840 fi
4841 rm -f conftest.err conftest.$ac_ext
4842
4843   # OK, works on sane cases.  Now check whether non-existent headers
4844   # can be detected and how.
4845   cat >conftest.$ac_ext <<_ACEOF
4846 /* confdefs.h.  */
4847 _ACEOF
4848 cat confdefs.h >>conftest.$ac_ext
4849 cat >>conftest.$ac_ext <<_ACEOF
4850 /* end confdefs.h.  */
4851 #include <ac_nonexistent.h>
4852 _ACEOF
4853 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4854   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4855   ac_status=$?
4856   grep -v '^ *+' conftest.er1 >conftest.err
4857   rm -f conftest.er1
4858   cat conftest.err >&5
4859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
4860   (exit $ac_status); } >/dev/null; then
4861   if test -s conftest.err; then
4862     ac_cpp_err=$ac_cxx_preproc_warn_flag
4863     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4864   else
4865     ac_cpp_err=
4866   fi
4867 else
4868   ac_cpp_err=yes
4869 fi
4870 if test -z "$ac_cpp_err"; then
4871   # Broken: success on invalid input.
4872 continue
4873 else
4874   echo "$as_me: failed program was:" >&5
4875 sed 's/^/| /' conftest.$ac_ext >&5
4876
4877   # Passes both tests.
4878 ac_preproc_ok=:
4879 break
4880 fi
4881 rm -f conftest.err conftest.$ac_ext
4882
4883 done
4884 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4885 rm -f conftest.err conftest.$ac_ext
4886 if $ac_preproc_ok; then
4887   :
4888 else
4889   { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4890 See \`config.log' for more details." >&5
4891 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4892 See \`config.log' for more details." >&2;}
4893    { (exit 1); exit 1; }; }
4894 fi
4895
4896 ac_ext=c
4897 ac_cpp='$CPP $CPPFLAGS'
4898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4901
4902
4903
4904 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
4905 lt_save_CC="$CC"
4906 lt_save_CFLAGS="$CFLAGS"
4907 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
4908 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4909 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4910 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4911 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4912 deplibs_check_method="$deplibs_check_method" \
4913 file_magic_cmd="$file_magic_cmd" \
4914 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
4915 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
4916 || { { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
4917 echo "$as_me: error: libtool tag configuration failed" >&2;}
4918    { (exit 1); exit 1; }; }
4919 CC="$lt_save_CC"
4920 CFLAGS="$lt_save_CFLAGS"
4921
4922 # Redirect the config.log output again, so that the ltconfig log is not
4923 # clobbered by the next message.
4924 exec 5>>./config.log
4925
4926
4927
4928
4929
4930
4931
4932
4933 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
4934
4935 # Possibly disable most of the library.
4936 ## XXX Consider skipping unncessary tests altogether in this case, rather
4937 ## than just ignoring the results.  Faster /and/ more correct, win win.
4938
4939   # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
4940 if test "${enable_hosted_libstdcxx+set}" = set; then
4941   enableval="$enable_hosted_libstdcxx"
4942
4943 else
4944   case "$host" in
4945         arm*-*-symbianelf*)
4946             enable_hosted_libstdcxx=no
4947             ;;
4948         *)
4949             enable_hosted_libstdcxx=yes
4950             ;;
4951      esac
4952 fi;
4953   if test "$enable_hosted_libstdcxx" = no; then
4954     { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
4955 echo "$as_me: Only freestanding libraries will be built" >&6;}
4956     is_hosted=no
4957     hosted_define=0
4958     enable_abi_check=no
4959     enable_libstdcxx_pch=no
4960   else
4961     is_hosted=yes
4962     hosted_define=1
4963   fi
4964
4965
4966 cat >>confdefs.h <<_ACEOF
4967 #define _GLIBCXX_HOSTED $hosted_define
4968 _ACEOF
4969
4970
4971
4972 # Check for support bits and g++ features that don't require linking.
4973
4974   echo "$as_me:$LINENO: checking for exception model to use" >&5
4975 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
4976
4977
4978   ac_ext=cc
4979 ac_cpp='$CXXCPP $CPPFLAGS'
4980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4983
4984    # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
4985 if test "${enable_sjlj_exceptions+set}" = set; then
4986   enableval="$enable_sjlj_exceptions"
4987
4988       case "$enableval" in
4989        yes|no|auto) ;;
4990        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
4991 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
4992    { (exit 1); exit 1; }; } ;;
4993                           esac
4994
4995 else
4996   enable_sjlj_exceptions=auto
4997 fi;
4998
4999
5000   if test $enable_sjlj_exceptions = auto; then
5001     # Botheration.  Now we've got to detect the exception model.  Link tests
5002     # against libgcc.a are problematic since we've not been given proper -L
5003     # bits for single-tree newlib and libgloss.
5004     #
5005     # Fake what AC_TRY_COMPILE does.  XXX Look at redoing this new-style.
5006     cat > conftest.$ac_ext << EOF
5007 #line 5007 "configure"
5008 struct S { ~S(); };
5009 void bar();
5010 void foo()
5011 {
5012   S s;
5013   bar();
5014 }
5015 EOF
5016     old_CXXFLAGS="$CXXFLAGS"
5017     CXXFLAGS=-S
5018     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5019   (eval $ac_compile) 2>&5
5020   ac_status=$?
5021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5022   (exit $ac_status); }; then
5023       if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
5024         enable_sjlj_exceptions=yes
5025       elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
5026         enable_sjlj_exceptions=no
5027       fi
5028     fi
5029     CXXFLAGS="$old_CXXFLAGS"
5030     rm -f conftest*
5031   fi
5032
5033   # This is a tad weird, for hysterical raisins.  We have to map enable/disable
5034   # to two different models.
5035   case $enable_sjlj_exceptions in
5036     yes)
5037
5038 cat >>confdefs.h <<\_ACEOF
5039 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
5040 _ACEOF
5041
5042       ac_exception_model_name=sjlj
5043       ;;
5044     no)
5045       ac_exception_model_name="call frame"
5046       ;;
5047     *)
5048       { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
5049 echo "$as_me: error: unable to detect exception model" >&2;}
5050    { (exit 1); exit 1; }; }
5051       ;;
5052   esac
5053  ac_ext=c
5054 ac_cpp='$CPP $CPPFLAGS'
5055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5058
5059  echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
5060 echo "${ECHO_T}$ac_exception_model_name" >&6
5061
5062
5063   echo "$as_me:$LINENO: checking for enabled PCH" >&5
5064 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
5065    # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
5066 if test "${enable_libstdcxx_pch+set}" = set; then
5067   enableval="$enable_libstdcxx_pch"
5068
5069       case "$enableval" in
5070        yes|no) ;;
5071        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
5072 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
5073    { (exit 1); exit 1; }; } ;;
5074       esac
5075
5076 else
5077   enable_libstdcxx_pch=$is_hosted
5078 fi;
5079
5080   echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
5081 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
5082
5083   if test $enable_libstdcxx_pch = yes; then
5084     echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
5085 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
5086 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
5087   echo $ECHO_N "(cached) $ECHO_C" >&6
5088 else
5089   ac_save_CXXFLAGS="$CXXFLAGS"
5090        CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
5091
5092
5093        ac_ext=cc
5094 ac_cpp='$CXXCPP $CPPFLAGS'
5095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5098
5099        echo '#include <math.h>' > conftest.h
5100        if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
5101                           -o conftest.h.gch 1>&5 2>&1 &&
5102                 echo '#error "pch failed"' > conftest.h &&
5103           echo '#include "conftest.h"' > conftest.cc &&
5104                $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
5105        then
5106          glibcxx_cv_prog_CXX_pch=yes
5107        else
5108          glibcxx_cv_prog_CXX_pch=no
5109        fi
5110        rm -f conftest*
5111        CXXFLAGS=$ac_save_CXXFLAGS
5112        ac_ext=c
5113 ac_cpp='$CPP $CPPFLAGS'
5114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5117
5118
5119 fi
5120 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
5121 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
5122     enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
5123   fi
5124
5125
5126   if test $enable_libstdcxx_pch = yes; then
5127     glibcxx_PCHFLAGS="-include bits/stdc++.h"
5128   else
5129     glibcxx_PCHFLAGS=""
5130   fi
5131
5132
5133
5134 # Enable all the variable C++ runtime options.
5135 # NB: C_MBCHAR must come early.
5136
5137   echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
5138 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
5139    # Check whether --enable-cstdio or --disable-cstdio was given.
5140 if test "${enable_cstdio+set}" = set; then
5141   enableval="$enable_cstdio"
5142
5143       case "$enableval" in
5144        stdio) ;;
5145        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
5146 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
5147    { (exit 1); exit 1; }; } ;;
5148                           esac
5149
5150 else
5151   enable_cstdio=stdio
5152 fi;
5153
5154
5155   # Now that libio has been removed, you can have any color you want as long
5156   # as it's black.  This is one big no-op until other packages are added, but
5157   # showing the framework never hurts.
5158   case ${enable_cstdio} in
5159     stdio)
5160       CSTDIO_H=config/io/c_io_stdio.h
5161       BASIC_FILE_H=config/io/basic_file_stdio.h
5162       BASIC_FILE_CC=config/io/basic_file_stdio.cc
5163       echo "$as_me:$LINENO: result: stdio" >&5
5164 echo "${ECHO_T}stdio" >&6
5165       ;;
5166   esac
5167
5168
5169
5170
5171
5172 ac_ext=c
5173 ac_cpp='$CPP $CPPFLAGS'
5174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5177 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5178 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5179 # On Suns, sometimes $CPP names a directory.
5180 if test -n "$CPP" && test -d "$CPP"; then
5181   CPP=
5182 fi
5183 if test -z "$CPP"; then
5184   if test "${ac_cv_prog_CPP+set}" = set; then
5185   echo $ECHO_N "(cached) $ECHO_C" >&6
5186 else
5187       # Double quotes because CPP needs to be expanded
5188     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5189     do
5190       ac_preproc_ok=false
5191 for ac_c_preproc_warn_flag in '' yes
5192 do
5193   # Use a header file that comes with gcc, so configuring glibc
5194   # with a fresh cross-compiler works.
5195   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5196   # <limits.h> exists even on freestanding compilers.
5197   # On the NeXT, cc -E runs the code through the compiler's parser,
5198   # not just through cpp. "Syntax error" is here to catch this case.
5199   cat >conftest.$ac_ext <<_ACEOF
5200 /* confdefs.h.  */
5201 _ACEOF
5202 cat confdefs.h >>conftest.$ac_ext
5203 cat >>conftest.$ac_ext <<_ACEOF
5204 /* end confdefs.h.  */
5205 #ifdef __STDC__
5206 # include <limits.h>
5207 #else
5208 # include <assert.h>
5209 #endif
5210                      Syntax error
5211 _ACEOF
5212 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5213   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5214   ac_status=$?
5215   grep -v '^ *+' conftest.er1 >conftest.err
5216   rm -f conftest.er1
5217   cat conftest.err >&5
5218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5219   (exit $ac_status); } >/dev/null; then
5220   if test -s conftest.err; then
5221     ac_cpp_err=$ac_c_preproc_warn_flag
5222     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5223   else
5224     ac_cpp_err=
5225   fi
5226 else
5227   ac_cpp_err=yes
5228 fi
5229 if test -z "$ac_cpp_err"; then
5230   :
5231 else
5232   echo "$as_me: failed program was:" >&5
5233 sed 's/^/| /' conftest.$ac_ext >&5
5234
5235   # Broken: fails on valid input.
5236 continue
5237 fi
5238 rm -f conftest.err conftest.$ac_ext
5239
5240   # OK, works on sane cases.  Now check whether non-existent headers
5241   # can be detected and how.
5242   cat >conftest.$ac_ext <<_ACEOF
5243 /* confdefs.h.  */
5244 _ACEOF
5245 cat confdefs.h >>conftest.$ac_ext
5246 cat >>conftest.$ac_ext <<_ACEOF
5247 /* end confdefs.h.  */
5248 #include <ac_nonexistent.h>
5249 _ACEOF
5250 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5251   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5252   ac_status=$?
5253   grep -v '^ *+' conftest.er1 >conftest.err
5254   rm -f conftest.er1
5255   cat conftest.err >&5
5256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5257   (exit $ac_status); } >/dev/null; then
5258   if test -s conftest.err; then
5259     ac_cpp_err=$ac_c_preproc_warn_flag
5260     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5261   else
5262     ac_cpp_err=
5263   fi
5264 else
5265   ac_cpp_err=yes
5266 fi
5267 if test -z "$ac_cpp_err"; then
5268   # Broken: success on invalid input.
5269 continue
5270 else
5271   echo "$as_me: failed program was:" >&5
5272 sed 's/^/| /' conftest.$ac_ext >&5
5273
5274   # Passes both tests.
5275 ac_preproc_ok=:
5276 break
5277 fi
5278 rm -f conftest.err conftest.$ac_ext
5279
5280 done
5281 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5282 rm -f conftest.err conftest.$ac_ext
5283 if $ac_preproc_ok; then
5284   break
5285 fi
5286
5287     done
5288     ac_cv_prog_CPP=$CPP
5289
5290 fi
5291   CPP=$ac_cv_prog_CPP
5292 else
5293   ac_cv_prog_CPP=$CPP
5294 fi
5295 echo "$as_me:$LINENO: result: $CPP" >&5
5296 echo "${ECHO_T}$CPP" >&6
5297 ac_preproc_ok=false
5298 for ac_c_preproc_warn_flag in '' yes
5299 do
5300   # Use a header file that comes with gcc, so configuring glibc
5301   # with a fresh cross-compiler works.
5302   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5303   # <limits.h> exists even on freestanding compilers.
5304   # On the NeXT, cc -E runs the code through the compiler's parser,
5305   # not just through cpp. "Syntax error" is here to catch this case.
5306   cat >conftest.$ac_ext <<_ACEOF
5307 /* confdefs.h.  */
5308 _ACEOF
5309 cat confdefs.h >>conftest.$ac_ext
5310 cat >>conftest.$ac_ext <<_ACEOF
5311 /* end confdefs.h.  */
5312 #ifdef __STDC__
5313 # include <limits.h>
5314 #else
5315 # include <assert.h>
5316 #endif
5317                      Syntax error
5318 _ACEOF
5319 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5320   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5321   ac_status=$?
5322   grep -v '^ *+' conftest.er1 >conftest.err
5323   rm -f conftest.er1
5324   cat conftest.err >&5
5325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5326   (exit $ac_status); } >/dev/null; then
5327   if test -s conftest.err; then
5328     ac_cpp_err=$ac_c_preproc_warn_flag
5329     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5330   else
5331     ac_cpp_err=
5332   fi
5333 else
5334   ac_cpp_err=yes
5335 fi
5336 if test -z "$ac_cpp_err"; then
5337   :
5338 else
5339   echo "$as_me: failed program was:" >&5
5340 sed 's/^/| /' conftest.$ac_ext >&5
5341
5342   # Broken: fails on valid input.
5343 continue
5344 fi
5345 rm -f conftest.err conftest.$ac_ext
5346
5347   # OK, works on sane cases.  Now check whether non-existent headers
5348   # can be detected and how.
5349   cat >conftest.$ac_ext <<_ACEOF
5350 /* confdefs.h.  */
5351 _ACEOF
5352 cat confdefs.h >>conftest.$ac_ext
5353 cat >>conftest.$ac_ext <<_ACEOF
5354 /* end confdefs.h.  */
5355 #include <ac_nonexistent.h>
5356 _ACEOF
5357 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5358   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5359   ac_status=$?
5360   grep -v '^ *+' conftest.er1 >conftest.err
5361   rm -f conftest.er1
5362   cat conftest.err >&5
5363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5364   (exit $ac_status); } >/dev/null; then
5365   if test -s conftest.err; then
5366     ac_cpp_err=$ac_c_preproc_warn_flag
5367     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5368   else
5369     ac_cpp_err=
5370   fi
5371 else
5372   ac_cpp_err=yes
5373 fi
5374 if test -z "$ac_cpp_err"; then
5375   # Broken: success on invalid input.
5376 continue
5377 else
5378   echo "$as_me: failed program was:" >&5
5379 sed 's/^/| /' conftest.$ac_ext >&5
5380
5381   # Passes both tests.
5382 ac_preproc_ok=:
5383 break
5384 fi
5385 rm -f conftest.err conftest.$ac_ext
5386
5387 done
5388 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5389 rm -f conftest.err conftest.$ac_ext
5390 if $ac_preproc_ok; then
5391   :
5392 else
5393   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5394 See \`config.log' for more details." >&5
5395 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5396 See \`config.log' for more details." >&2;}
5397    { (exit 1); exit 1; }; }
5398 fi
5399
5400 ac_ext=c
5401 ac_cpp='$CPP $CPPFLAGS'
5402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5405
5406
5407 echo "$as_me:$LINENO: checking for egrep" >&5
5408 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5409 if test "${ac_cv_prog_egrep+set}" = set; then
5410   echo $ECHO_N "(cached) $ECHO_C" >&6
5411 else
5412   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5413     then ac_cv_prog_egrep='grep -E'
5414     else ac_cv_prog_egrep='egrep'
5415     fi
5416 fi
5417 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5418 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5419  EGREP=$ac_cv_prog_egrep
5420
5421
5422 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5423 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5424 if test "${ac_cv_header_stdc+set}" = set; then
5425   echo $ECHO_N "(cached) $ECHO_C" >&6
5426 else
5427   cat >conftest.$ac_ext <<_ACEOF
5428 /* confdefs.h.  */
5429 _ACEOF
5430 cat confdefs.h >>conftest.$ac_ext
5431 cat >>conftest.$ac_ext <<_ACEOF
5432 /* end confdefs.h.  */
5433 #include <stdlib.h>
5434 #include <stdarg.h>
5435 #include <string.h>
5436 #include <float.h>
5437
5438 int
5439 main ()
5440 {
5441
5442   ;
5443   return 0;
5444 }
5445 _ACEOF
5446 rm -f conftest.$ac_objext
5447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5448   (eval $ac_compile) 2>conftest.er1
5449   ac_status=$?
5450   grep -v '^ *+' conftest.er1 >conftest.err
5451   rm -f conftest.er1
5452   cat conftest.err >&5
5453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5454   (exit $ac_status); } &&
5455          { ac_try='test -z "$ac_c_werror_flag"
5456                          || test ! -s conftest.err'
5457   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5458   (eval $ac_try) 2>&5
5459   ac_status=$?
5460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5461   (exit $ac_status); }; } &&
5462          { ac_try='test -s conftest.$ac_objext'
5463   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5464   (eval $ac_try) 2>&5
5465   ac_status=$?
5466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5467   (exit $ac_status); }; }; then
5468   ac_cv_header_stdc=yes
5469 else
5470   echo "$as_me: failed program was:" >&5
5471 sed 's/^/| /' conftest.$ac_ext >&5
5472
5473 ac_cv_header_stdc=no
5474 fi
5475 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5476
5477 if test $ac_cv_header_stdc = yes; then
5478   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5479   cat >conftest.$ac_ext <<_ACEOF
5480 /* confdefs.h.  */
5481 _ACEOF
5482 cat confdefs.h >>conftest.$ac_ext
5483 cat >>conftest.$ac_ext <<_ACEOF
5484 /* end confdefs.h.  */
5485 #include <string.h>
5486
5487 _ACEOF
5488 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5489   $EGREP "memchr" >/dev/null 2>&1; then
5490   :
5491 else
5492   ac_cv_header_stdc=no
5493 fi
5494 rm -f conftest*
5495
5496 fi
5497
5498 if test $ac_cv_header_stdc = yes; then
5499   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5500   cat >conftest.$ac_ext <<_ACEOF
5501 /* confdefs.h.  */
5502 _ACEOF
5503 cat confdefs.h >>conftest.$ac_ext
5504 cat >>conftest.$ac_ext <<_ACEOF
5505 /* end confdefs.h.  */
5506 #include <stdlib.h>
5507
5508 _ACEOF
5509 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5510   $EGREP "free" >/dev/null 2>&1; then
5511   :
5512 else
5513   ac_cv_header_stdc=no
5514 fi
5515 rm -f conftest*
5516
5517 fi
5518
5519 if test $ac_cv_header_stdc = yes; then
5520   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5521   if test "$cross_compiling" = yes; then
5522   :
5523 else
5524   cat >conftest.$ac_ext <<_ACEOF
5525 /* confdefs.h.  */
5526 _ACEOF
5527 cat confdefs.h >>conftest.$ac_ext
5528 cat >>conftest.$ac_ext <<_ACEOF
5529 /* end confdefs.h.  */
5530 #include <ctype.h>
5531 #if ((' ' & 0x0FF) == 0x020)
5532 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5533 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5534 #else
5535 # define ISLOWER(c) \
5536                    (('a' <= (c) && (c) <= 'i') \
5537                      || ('j' <= (c) && (c) <= 'r') \
5538                      || ('s' <= (c) && (c) <= 'z'))
5539 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5540 #endif
5541
5542 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5543 int
5544 main ()
5545 {
5546   int i;
5547   for (i = 0; i < 256; i++)
5548     if (XOR (islower (i), ISLOWER (i))
5549         || toupper (i) != TOUPPER (i))
5550       exit(2);
5551   exit (0);
5552 }
5553 _ACEOF
5554 rm -f conftest$ac_exeext
5555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5556   (eval $ac_link) 2>&5
5557   ac_status=$?
5558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5559   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5560   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5561   (eval $ac_try) 2>&5
5562   ac_status=$?
5563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5564   (exit $ac_status); }; }; then
5565   :
5566 else
5567   echo "$as_me: program exited with status $ac_status" >&5
5568 echo "$as_me: failed program was:" >&5
5569 sed 's/^/| /' conftest.$ac_ext >&5
5570
5571 ( exit $ac_status )
5572 ac_cv_header_stdc=no
5573 fi
5574 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5575 fi
5576 fi
5577 fi
5578 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5579 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5580 if test $ac_cv_header_stdc = yes; then
5581
5582 cat >>confdefs.h <<\_ACEOF
5583 #define STDC_HEADERS 1
5584 _ACEOF
5585
5586 fi
5587
5588 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5599                   inttypes.h stdint.h unistd.h
5600 do
5601 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5602 echo "$as_me:$LINENO: checking for $ac_header" >&5
5603 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5604 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5605   echo $ECHO_N "(cached) $ECHO_C" >&6
5606 else
5607   cat >conftest.$ac_ext <<_ACEOF
5608 /* confdefs.h.  */
5609 _ACEOF
5610 cat confdefs.h >>conftest.$ac_ext
5611 cat >>conftest.$ac_ext <<_ACEOF
5612 /* end confdefs.h.  */
5613 $ac_includes_default
5614
5615 #include <$ac_header>
5616 _ACEOF
5617 rm -f conftest.$ac_objext
5618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5619   (eval $ac_compile) 2>conftest.er1
5620   ac_status=$?
5621   grep -v '^ *+' conftest.er1 >conftest.err
5622   rm -f conftest.er1
5623   cat conftest.err >&5
5624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5625   (exit $ac_status); } &&
5626          { ac_try='test -z "$ac_c_werror_flag"
5627                          || test ! -s conftest.err'
5628   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5629   (eval $ac_try) 2>&5
5630   ac_status=$?
5631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5632   (exit $ac_status); }; } &&
5633          { ac_try='test -s conftest.$ac_objext'
5634   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5635   (eval $ac_try) 2>&5
5636   ac_status=$?
5637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5638   (exit $ac_status); }; }; then
5639   eval "$as_ac_Header=yes"
5640 else
5641   echo "$as_me: failed program was:" >&5
5642 sed 's/^/| /' conftest.$ac_ext >&5
5643
5644 eval "$as_ac_Header=no"
5645 fi
5646 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5647 fi
5648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5649 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5650 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5651   cat >>confdefs.h <<_ACEOF
5652 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5653 _ACEOF
5654
5655 fi
5656
5657 done
5658
5659
5660
5661   echo "$as_me:$LINENO: checking for C locale to use" >&5
5662 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
5663    # Check whether --enable-clocale or --disable-clocale was given.
5664 if test "${enable_clocale+set}" = set; then
5665   enableval="$enable_clocale"
5666
5667       case "$enableval" in
5668        generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
5669        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
5670 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
5671    { (exit 1); exit 1; }; } ;;
5672                           esac
5673
5674 else
5675   enable_clocale=auto
5676 fi;
5677
5678
5679   # If they didn't use this option switch, or if they specified --enable
5680   # with no specific model, we'll have to look for one.  If they
5681   # specified --disable (???), do likewise.
5682   if test $enable_clocale = no || test $enable_clocale = yes; then
5683      enable_clocale=auto
5684   fi
5685
5686   # Either a known package, or "auto"
5687   enable_clocale_flag=$enable_clocale
5688
5689   # Probe for locale support if no specific model is specified.
5690   # Default to "generic".
5691   if test $enable_clocale_flag = auto; then
5692     case ${target_os} in
5693       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
5694         cat >conftest.$ac_ext <<_ACEOF
5695 /* confdefs.h.  */
5696 _ACEOF
5697 cat confdefs.h >>conftest.$ac_ext
5698 cat >>conftest.$ac_ext <<_ACEOF
5699 /* end confdefs.h.  */
5700
5701         #include <features.h>
5702         #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
5703           _GLIBCXX_ok
5704         #endif
5705
5706 _ACEOF
5707 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5708   $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
5709   enable_clocale_flag=gnu
5710 else
5711   enable_clocale_flag=generic
5712 fi
5713 rm -f conftest*
5714
5715
5716         # Test for bugs early in glibc-2.2.x series
5717           if test $enable_clocale_flag = gnu; then
5718           if test "$cross_compiling" = yes; then
5719   enable_clocale_flag=generic
5720 else
5721   cat >conftest.$ac_ext <<_ACEOF
5722 /* confdefs.h.  */
5723 _ACEOF
5724 cat confdefs.h >>conftest.$ac_ext
5725 cat >>conftest.$ac_ext <<_ACEOF
5726 /* end confdefs.h.  */
5727
5728           #define _GNU_SOURCE 1
5729           #include <locale.h>
5730           #include <string.h>
5731           #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
5732           extern __typeof(newlocale) __newlocale;
5733           extern __typeof(duplocale) __duplocale;
5734           extern __typeof(strcoll_l) __strcoll_l;
5735           #endif
5736           int main()
5737           {
5738               const char __one[] = "Äuglein Augmen";
5739               const char __two[] = "Äuglein";
5740               int i;
5741               int j;
5742               __locale_t        loc;
5743                __locale_t        loc_dup;
5744               loc = __newlocale(1 << LC_ALL, "de_DE", 0);
5745               loc_dup = __duplocale(loc);
5746               i = __strcoll_l(__one, __two, loc);
5747               j = __strcoll_l(__one, __two, loc_dup);
5748               return 0;
5749           }
5750
5751 _ACEOF
5752 rm -f conftest$ac_exeext
5753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5754   (eval $ac_link) 2>&5
5755   ac_status=$?
5756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5757   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5758   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5759   (eval $ac_try) 2>&5
5760   ac_status=$?
5761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5762   (exit $ac_status); }; }; then
5763   enable_clocale_flag=gnu
5764 else
5765   echo "$as_me: program exited with status $ac_status" >&5
5766 echo "$as_me: failed program was:" >&5
5767 sed 's/^/| /' conftest.$ac_ext >&5
5768
5769 ( exit $ac_status )
5770 enable_clocale_flag=generic
5771 fi
5772 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5773 fi
5774           fi
5775
5776         # ... at some point put __strxfrm_l tests in as well.
5777         ;;
5778       darwin* | freebsd*)
5779         enable_clocale_flag=darwin
5780         ;;
5781       *)
5782         enable_clocale_flag=generic
5783         ;;
5784     esac
5785   fi
5786
5787   # Deal with gettext issues.  Default to not using it (=no) until we detect
5788   # support for it later.  Let the user turn it off via --e/d, but let that
5789   # default to on for easier handling.
5790   USE_NLS=no
5791   # Check whether --enable-nls or --disable-nls was given.
5792 if test "${enable_nls+set}" = set; then
5793   enableval="$enable_nls"
5794
5795 else
5796   enable_nls=yes
5797 fi;
5798
5799   # Set configure bits for specified locale package
5800   case ${enable_clocale_flag} in
5801     generic)
5802       echo "$as_me:$LINENO: result: generic" >&5
5803 echo "${ECHO_T}generic" >&6
5804
5805       CLOCALE_H=config/locale/generic/c_locale.h
5806       CLOCALE_CC=config/locale/generic/c_locale.cc
5807       CCODECVT_CC=config/locale/generic/codecvt_members.cc
5808       CCOLLATE_CC=config/locale/generic/collate_members.cc
5809       CCTYPE_CC=config/locale/generic/ctype_members.cc
5810       CMESSAGES_H=config/locale/generic/messages_members.h
5811       CMESSAGES_CC=config/locale/generic/messages_members.cc
5812       CMONEY_CC=config/locale/generic/monetary_members.cc
5813       CNUMERIC_CC=config/locale/generic/numeric_members.cc
5814       CTIME_H=config/locale/generic/time_members.h
5815       CTIME_CC=config/locale/generic/time_members.cc
5816       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5817       ;;
5818     darwin)
5819       echo "$as_me:$LINENO: result: darwin or freebsd" >&5
5820 echo "${ECHO_T}darwin or freebsd" >&6
5821
5822       CLOCALE_H=config/locale/generic/c_locale.h
5823       CLOCALE_CC=config/locale/generic/c_locale.cc
5824       CCODECVT_CC=config/locale/generic/codecvt_members.cc
5825       CCOLLATE_CC=config/locale/generic/collate_members.cc
5826       CCTYPE_CC=config/locale/darwin/ctype_members.cc
5827       CMESSAGES_H=config/locale/generic/messages_members.h
5828       CMESSAGES_CC=config/locale/generic/messages_members.cc
5829       CMONEY_CC=config/locale/generic/monetary_members.cc
5830       CNUMERIC_CC=config/locale/generic/numeric_members.cc
5831       CTIME_H=config/locale/generic/time_members.h
5832       CTIME_CC=config/locale/generic/time_members.cc
5833       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5834       ;;
5835
5836     gnu)
5837       echo "$as_me:$LINENO: result: gnu" >&5
5838 echo "${ECHO_T}gnu" >&6
5839
5840       # Declare intention to use gettext, and add support for specific
5841       # languages.
5842       # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
5843       ALL_LINGUAS="de fr"
5844
5845       # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
5846       # Extract the first word of "msgfmt", so it can be a program name with args.
5847 set dummy msgfmt; ac_word=$2
5848 echo "$as_me:$LINENO: checking for $ac_word" >&5
5849 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5850 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
5851   echo $ECHO_N "(cached) $ECHO_C" >&6
5852 else
5853   if test -n "$check_msgfmt"; then
5854   ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
5855 else
5856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5857 for as_dir in $PATH
5858 do
5859   IFS=$as_save_IFS
5860   test -z "$as_dir" && as_dir=.
5861   for ac_exec_ext in '' $ac_executable_extensions; do
5862   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5863     ac_cv_prog_check_msgfmt="yes"
5864     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5865     break 2
5866   fi
5867 done
5868 done
5869
5870   test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
5871 fi
5872 fi
5873 check_msgfmt=$ac_cv_prog_check_msgfmt
5874 if test -n "$check_msgfmt"; then
5875   echo "$as_me:$LINENO: result: $check_msgfmt" >&5
5876 echo "${ECHO_T}$check_msgfmt" >&6
5877 else
5878   echo "$as_me:$LINENO: result: no" >&5
5879 echo "${ECHO_T}no" >&6
5880 fi
5881
5882       if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
5883         USE_NLS=yes
5884       fi
5885       # Export the build objects.
5886       for ling in $ALL_LINGUAS; do \
5887         glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
5888         glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
5889       done
5890
5891
5892
5893       CLOCALE_H=config/locale/gnu/c_locale.h
5894       CLOCALE_CC=config/locale/gnu/c_locale.cc
5895       CCODECVT_CC=config/locale/gnu/codecvt_members.cc
5896       CCOLLATE_CC=config/locale/gnu/collate_members.cc
5897       CCTYPE_CC=config/locale/gnu/ctype_members.cc
5898       CMESSAGES_H=config/locale/gnu/messages_members.h
5899       CMESSAGES_CC=config/locale/gnu/messages_members.cc
5900       CMONEY_CC=config/locale/gnu/monetary_members.cc
5901       CNUMERIC_CC=config/locale/gnu/numeric_members.cc
5902       CTIME_H=config/locale/gnu/time_members.h
5903       CTIME_CC=config/locale/gnu/time_members.cc
5904       CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
5905       ;;
5906     ieee_1003.1-2001)
5907       echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
5908 echo "${ECHO_T}IEEE 1003.1" >&6
5909
5910       CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
5911       CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
5912       CCODECVT_CC=config/locale/generic/codecvt_members.cc
5913       CCOLLATE_CC=config/locale/generic/collate_members.cc
5914       CCTYPE_CC=config/locale/generic/ctype_members.cc
5915       CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
5916       CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
5917       CMONEY_CC=config/locale/generic/monetary_members.cc
5918       CNUMERIC_CC=config/locale/generic/numeric_members.cc
5919       CTIME_H=config/locale/generic/time_members.h
5920       CTIME_CC=config/locale/generic/time_members.cc
5921       CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5922       ;;
5923   esac
5924
5925   # This is where the testsuite looks for locale catalogs, using the
5926   # -DLOCALEDIR define during testsuite compilation.
5927   glibcxx_localedir=${glibcxx_builddir}/po/share/locale
5928
5929
5930   # A standalone libintl (e.g., GNU libintl) may be in use.
5931   if test $USE_NLS = yes; then
5932
5933 for ac_header in libintl.h
5934 do
5935 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5936 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5937   echo "$as_me:$LINENO: checking for $ac_header" >&5
5938 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5939 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5940   echo $ECHO_N "(cached) $ECHO_C" >&6
5941 fi
5942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5943 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5944 else
5945   # Is the header compilable?
5946 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5947 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5948 cat >conftest.$ac_ext <<_ACEOF
5949 /* confdefs.h.  */
5950 _ACEOF
5951 cat confdefs.h >>conftest.$ac_ext
5952 cat >>conftest.$ac_ext <<_ACEOF
5953 /* end confdefs.h.  */
5954 $ac_includes_default
5955 #include <$ac_header>
5956 _ACEOF
5957 rm -f conftest.$ac_objext
5958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5959   (eval $ac_compile) 2>conftest.er1
5960   ac_status=$?
5961   grep -v '^ *+' conftest.er1 >conftest.err
5962   rm -f conftest.er1
5963   cat conftest.err >&5
5964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5965   (exit $ac_status); } &&
5966          { ac_try='test -z "$ac_c_werror_flag"
5967                          || test ! -s conftest.err'
5968   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5969   (eval $ac_try) 2>&5
5970   ac_status=$?
5971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5972   (exit $ac_status); }; } &&
5973          { ac_try='test -s conftest.$ac_objext'
5974   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5975   (eval $ac_try) 2>&5
5976   ac_status=$?
5977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
5978   (exit $ac_status); }; }; then
5979   ac_header_compiler=yes
5980 else
5981   echo "$as_me: failed program was:" >&5
5982 sed 's/^/| /' conftest.$ac_ext >&5
5983
5984 ac_header_compiler=no
5985 fi
5986 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5987 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5988 echo "${ECHO_T}$ac_header_compiler" >&6
5989
5990 # Is the header present?
5991 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5992 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5993 cat >conftest.$ac_ext <<_ACEOF
5994 /* confdefs.h.  */
5995 _ACEOF
5996 cat confdefs.h >>conftest.$ac_ext
5997 cat >>conftest.$ac_ext <<_ACEOF
5998 /* end confdefs.h.  */
5999 #include <$ac_header>
6000 _ACEOF
6001 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6002   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6003   ac_status=$?
6004   grep -v '^ *+' conftest.er1 >conftest.err
6005   rm -f conftest.er1
6006   cat conftest.err >&5
6007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6008   (exit $ac_status); } >/dev/null; then
6009   if test -s conftest.err; then
6010     ac_cpp_err=$ac_c_preproc_warn_flag
6011     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6012   else
6013     ac_cpp_err=
6014   fi
6015 else
6016   ac_cpp_err=yes
6017 fi
6018 if test -z "$ac_cpp_err"; then
6019   ac_header_preproc=yes
6020 else
6021   echo "$as_me: failed program was:" >&5
6022 sed 's/^/| /' conftest.$ac_ext >&5
6023
6024   ac_header_preproc=no
6025 fi
6026 rm -f conftest.err conftest.$ac_ext
6027 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6028 echo "${ECHO_T}$ac_header_preproc" >&6
6029
6030 # So?  What about this header?
6031 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6032   yes:no: )
6033     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6034 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6035     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6036 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6037     ac_header_preproc=yes
6038     ;;
6039   no:yes:* )
6040     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6041 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6042     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6043 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6044     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6045 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6046     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6047 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6048     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6049 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6050     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6051 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6052     (
6053       cat <<\_ASBOX
6054 ## ----------------------------------------- ##
6055 ## Report this to the package-unused lists.  ##
6056 ## ----------------------------------------- ##
6057 _ASBOX
6058     ) |
6059       sed "s/^/$as_me: WARNING:     /" >&2
6060     ;;
6061 esac
6062 echo "$as_me:$LINENO: checking for $ac_header" >&5
6063 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6064 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6065   echo $ECHO_N "(cached) $ECHO_C" >&6
6066 else
6067   eval "$as_ac_Header=\$ac_header_preproc"
6068 fi
6069 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6070 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6071
6072 fi
6073 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6074   cat >>confdefs.h <<_ACEOF
6075 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6076 _ACEOF
6077
6078 else
6079   USE_NLS=no
6080 fi
6081
6082 done
6083
6084     echo "$as_me:$LINENO: checking for library containing gettext" >&5
6085 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
6086 if test "${ac_cv_search_gettext+set}" = set; then
6087   echo $ECHO_N "(cached) $ECHO_C" >&6
6088 else
6089   ac_func_search_save_LIBS=$LIBS
6090 ac_cv_search_gettext=no
6091 if test x$gcc_no_link = xyes; then
6092   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6093 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6094    { (exit 1); exit 1; }; }
6095 fi
6096 cat >conftest.$ac_ext <<_ACEOF
6097 /* confdefs.h.  */
6098 _ACEOF
6099 cat confdefs.h >>conftest.$ac_ext
6100 cat >>conftest.$ac_ext <<_ACEOF
6101 /* end confdefs.h.  */
6102
6103 /* Override any gcc2 internal prototype to avoid an error.  */
6104 #ifdef __cplusplus
6105 extern "C"
6106 #endif
6107 /* We use char because int might match the return type of a gcc2
6108    builtin and then its argument prototype would still apply.  */
6109 char gettext ();
6110 int
6111 main ()
6112 {
6113 gettext ();
6114   ;
6115   return 0;
6116 }
6117 _ACEOF
6118 rm -f conftest.$ac_objext conftest$ac_exeext
6119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6120   (eval $ac_link) 2>conftest.er1
6121   ac_status=$?
6122   grep -v '^ *+' conftest.er1 >conftest.err
6123   rm -f conftest.er1
6124   cat conftest.err >&5
6125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6126   (exit $ac_status); } &&
6127          { ac_try='test -z "$ac_c_werror_flag"
6128                          || test ! -s conftest.err'
6129   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6130   (eval $ac_try) 2>&5
6131   ac_status=$?
6132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6133   (exit $ac_status); }; } &&
6134          { ac_try='test -s conftest$ac_exeext'
6135   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6136   (eval $ac_try) 2>&5
6137   ac_status=$?
6138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6139   (exit $ac_status); }; }; then
6140   ac_cv_search_gettext="none required"
6141 else
6142   echo "$as_me: failed program was:" >&5
6143 sed 's/^/| /' conftest.$ac_ext >&5
6144
6145 fi
6146 rm -f conftest.err conftest.$ac_objext \
6147       conftest$ac_exeext conftest.$ac_ext
6148 if test "$ac_cv_search_gettext" = no; then
6149   for ac_lib in intl; do
6150     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
6151     if test x$gcc_no_link = xyes; then
6152   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6153 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6154    { (exit 1); exit 1; }; }
6155 fi
6156 cat >conftest.$ac_ext <<_ACEOF
6157 /* confdefs.h.  */
6158 _ACEOF
6159 cat confdefs.h >>conftest.$ac_ext
6160 cat >>conftest.$ac_ext <<_ACEOF
6161 /* end confdefs.h.  */
6162
6163 /* Override any gcc2 internal prototype to avoid an error.  */
6164 #ifdef __cplusplus
6165 extern "C"
6166 #endif
6167 /* We use char because int might match the return type of a gcc2
6168    builtin and then its argument prototype would still apply.  */
6169 char gettext ();
6170 int
6171 main ()
6172 {
6173 gettext ();
6174   ;
6175   return 0;
6176 }
6177 _ACEOF
6178 rm -f conftest.$ac_objext conftest$ac_exeext
6179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6180   (eval $ac_link) 2>conftest.er1
6181   ac_status=$?
6182   grep -v '^ *+' conftest.er1 >conftest.err
6183   rm -f conftest.er1
6184   cat conftest.err >&5
6185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6186   (exit $ac_status); } &&
6187          { ac_try='test -z "$ac_c_werror_flag"
6188                          || test ! -s conftest.err'
6189   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6190   (eval $ac_try) 2>&5
6191   ac_status=$?
6192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6193   (exit $ac_status); }; } &&
6194          { ac_try='test -s conftest$ac_exeext'
6195   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6196   (eval $ac_try) 2>&5
6197   ac_status=$?
6198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6199   (exit $ac_status); }; }; then
6200   ac_cv_search_gettext="-l$ac_lib"
6201 break
6202 else
6203   echo "$as_me: failed program was:" >&5
6204 sed 's/^/| /' conftest.$ac_ext >&5
6205
6206 fi
6207 rm -f conftest.err conftest.$ac_objext \
6208       conftest$ac_exeext conftest.$ac_ext
6209   done
6210 fi
6211 LIBS=$ac_func_search_save_LIBS
6212 fi
6213 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
6214 echo "${ECHO_T}$ac_cv_search_gettext" >&6
6215 if test "$ac_cv_search_gettext" != no; then
6216   test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
6217
6218 else
6219   USE_NLS=no
6220 fi
6221
6222   fi
6223   if test $USE_NLS = yes; then
6224     cat >>confdefs.h <<\_ACEOF
6225 #define _GLIBCXX_USE_NLS 1
6226 _ACEOF
6227
6228   fi
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245   echo "$as_me:$LINENO: checking for std::allocator base class to use" >&5
6246 echo $ECHO_N "checking for std::allocator base class to use... $ECHO_C" >&6
6247    # Check whether --enable-libstdcxx-allocator or --disable-libstdcxx-allocator was given.
6248 if test "${enable_libstdcxx_allocator+set}" = set; then
6249   enableval="$enable_libstdcxx_allocator"
6250
6251       case "$enableval" in
6252        new|malloc|mt|bitmap|pool|yes|no|auto) ;;
6253        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable libstdcxx-allocator" >&5
6254 echo "$as_me: error: Unknown argument to enable/disable libstdcxx-allocator" >&2;}
6255    { (exit 1); exit 1; }; } ;;
6256                           esac
6257
6258 else
6259   enable_libstdcxx_allocator=auto
6260 fi;
6261
6262
6263   # If they didn't use this option switch, or if they specified --enable
6264   # with no specific model, we'll have to look for one.  If they
6265   # specified --disable (???), do likewise.
6266   if test $enable_libstdcxx_allocator = no ||
6267      test $enable_libstdcxx_allocator = yes;
6268   then
6269      enable_libstdcxx_allocator=auto
6270   fi
6271
6272   # Either a known package, or "auto". Auto implies the default choice
6273   # for a particular platform.
6274   enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
6275
6276   # Probe for host-specific support if no specific model is specified.
6277   # Default to "new".
6278   if test $enable_libstdcxx_allocator_flag = auto; then
6279     case ${target_os} in
6280       linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
6281         enable_libstdcxx_allocator_flag=mt
6282         ;;
6283       *)
6284         enable_libstdcxx_allocator_flag=new
6285         ;;
6286     esac
6287   fi
6288   echo "$as_me:$LINENO: result: $enable_libstdcxx_allocator_flag" >&5
6289 echo "${ECHO_T}$enable_libstdcxx_allocator_flag" >&6
6290
6291
6292   # Set configure bits for specified locale package
6293   case ${enable_libstdcxx_allocator_flag} in
6294     bitmap)
6295       ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
6296       ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
6297       ;;
6298     malloc)
6299       ALLOCATOR_H=config/allocator/malloc_allocator_base.h
6300       ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
6301       ;;
6302     mt)
6303       ALLOCATOR_H=config/allocator/mt_allocator_base.h
6304       ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
6305       ;;
6306     new)
6307       ALLOCATOR_H=config/allocator/new_allocator_base.h
6308       ALLOCATOR_NAME=__gnu_cxx::new_allocator
6309       ;;
6310     pool)
6311       ALLOCATOR_H=config/allocator/pool_allocator_base.h
6312       ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
6313       ;;
6314   esac
6315
6316
6317
6318
6319
6320    # Check whether --enable-cheaders or --disable-cheaders was given.
6321 if test "${enable_cheaders+set}" = set; then
6322   enableval="$enable_cheaders"
6323
6324       case "$enableval" in
6325        c|c_std) ;;
6326        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
6327 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
6328    { (exit 1); exit 1; }; } ;;
6329                           esac
6330
6331 else
6332   enable_cheaders=$c_model
6333 fi;
6334
6335   { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
6336 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
6337
6338   C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
6339
6340
6341
6342
6343
6344
6345    # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
6346 if test "${enable_c_mbchar+set}" = set; then
6347   enableval="$enable_c_mbchar"
6348
6349       case "$enableval" in
6350        yes|no) ;;
6351        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c-mbchar must be yes or no" >&5
6352 echo "$as_me: error: Argument to enable/disable c-mbchar must be yes or no" >&2;}
6353    { (exit 1); exit 1; }; } ;;
6354       esac
6355
6356 else
6357   enable_c_mbchar=yes
6358 fi;
6359
6360   # Option parsed, now other scripts can test enable_c_mbchar for yes/no.
6361
6362
6363
6364
6365    # Check whether --enable-c99 or --disable-c99 was given.
6366 if test "${enable_c99+set}" = set; then
6367   enableval="$enable_c99"
6368
6369       case "$enableval" in
6370        yes|no) ;;
6371        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
6372 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
6373    { (exit 1); exit 1; }; } ;;
6374       esac
6375
6376 else
6377   enable_c99=yes
6378 fi;
6379
6380
6381
6382
6383   ac_ext=cc
6384 ac_cpp='$CXXCPP $CPPFLAGS'
6385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6388
6389
6390   # Check for the existence of <math.h> functions used if C99 is enabled.
6391   ac_c99_math=yes;
6392   echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
6393 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
6394   cat >conftest.$ac_ext <<_ACEOF
6395 /* confdefs.h.  */
6396 _ACEOF
6397 cat confdefs.h >>conftest.$ac_ext
6398 cat >>conftest.$ac_ext <<_ACEOF
6399 /* end confdefs.h.  */
6400 #include <math.h>
6401 int
6402 main ()
6403 {
6404 fpclassify(0.0);
6405   ;
6406   return 0;
6407 }
6408 _ACEOF
6409 rm -f conftest.$ac_objext
6410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6411   (eval $ac_compile) 2>conftest.er1
6412   ac_status=$?
6413   grep -v '^ *+' conftest.er1 >conftest.err
6414   rm -f conftest.er1
6415   cat conftest.err >&5
6416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6417   (exit $ac_status); } &&
6418          { ac_try='test -z "$ac_cxx_werror_flag"
6419                          || test ! -s conftest.err'
6420   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6421   (eval $ac_try) 2>&5
6422   ac_status=$?
6423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6424   (exit $ac_status); }; } &&
6425          { ac_try='test -s conftest.$ac_objext'
6426   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6427   (eval $ac_try) 2>&5
6428   ac_status=$?
6429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6430   (exit $ac_status); }; }; then
6431   :
6432 else
6433   echo "$as_me: failed program was:" >&5
6434 sed 's/^/| /' conftest.$ac_ext >&5
6435
6436 ac_c99_math=no
6437 fi
6438 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6439   cat >conftest.$ac_ext <<_ACEOF
6440 /* confdefs.h.  */
6441 _ACEOF
6442 cat confdefs.h >>conftest.$ac_ext
6443 cat >>conftest.$ac_ext <<_ACEOF
6444 /* end confdefs.h.  */
6445 #include <math.h>
6446 int
6447 main ()
6448 {
6449 isfinite(0.0);
6450   ;
6451   return 0;
6452 }
6453 _ACEOF
6454 rm -f conftest.$ac_objext
6455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6456   (eval $ac_compile) 2>conftest.er1
6457   ac_status=$?
6458   grep -v '^ *+' conftest.er1 >conftest.err
6459   rm -f conftest.er1
6460   cat conftest.err >&5
6461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6462   (exit $ac_status); } &&
6463          { ac_try='test -z "$ac_cxx_werror_flag"
6464                          || test ! -s conftest.err'
6465   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6466   (eval $ac_try) 2>&5
6467   ac_status=$?
6468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6469   (exit $ac_status); }; } &&
6470          { ac_try='test -s conftest.$ac_objext'
6471   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6472   (eval $ac_try) 2>&5
6473   ac_status=$?
6474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6475   (exit $ac_status); }; }; then
6476   :
6477 else
6478   echo "$as_me: failed program was:" >&5
6479 sed 's/^/| /' conftest.$ac_ext >&5
6480
6481 ac_c99_math=no
6482 fi
6483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6484   cat >conftest.$ac_ext <<_ACEOF
6485 /* confdefs.h.  */
6486 _ACEOF
6487 cat confdefs.h >>conftest.$ac_ext
6488 cat >>conftest.$ac_ext <<_ACEOF
6489 /* end confdefs.h.  */
6490 #include <math.h>
6491 int
6492 main ()
6493 {
6494 isinf(0.0);
6495   ;
6496   return 0;
6497 }
6498 _ACEOF
6499 rm -f conftest.$ac_objext
6500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6501   (eval $ac_compile) 2>conftest.er1
6502   ac_status=$?
6503   grep -v '^ *+' conftest.er1 >conftest.err
6504   rm -f conftest.er1
6505   cat conftest.err >&5
6506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6507   (exit $ac_status); } &&
6508          { ac_try='test -z "$ac_cxx_werror_flag"
6509                          || test ! -s conftest.err'
6510   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6511   (eval $ac_try) 2>&5
6512   ac_status=$?
6513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6514   (exit $ac_status); }; } &&
6515          { ac_try='test -s conftest.$ac_objext'
6516   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6517   (eval $ac_try) 2>&5
6518   ac_status=$?
6519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6520   (exit $ac_status); }; }; then
6521   :
6522 else
6523   echo "$as_me: failed program was:" >&5
6524 sed 's/^/| /' conftest.$ac_ext >&5
6525
6526 ac_c99_math=no
6527 fi
6528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6529   cat >conftest.$ac_ext <<_ACEOF
6530 /* confdefs.h.  */
6531 _ACEOF
6532 cat confdefs.h >>conftest.$ac_ext
6533 cat >>conftest.$ac_ext <<_ACEOF
6534 /* end confdefs.h.  */
6535 #include <math.h>
6536 int
6537 main ()
6538 {
6539 isnan(0.0);
6540   ;
6541   return 0;
6542 }
6543 _ACEOF
6544 rm -f conftest.$ac_objext
6545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6546   (eval $ac_compile) 2>conftest.er1
6547   ac_status=$?
6548   grep -v '^ *+' conftest.er1 >conftest.err
6549   rm -f conftest.er1
6550   cat conftest.err >&5
6551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6552   (exit $ac_status); } &&
6553          { ac_try='test -z "$ac_cxx_werror_flag"
6554                          || test ! -s conftest.err'
6555   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6556   (eval $ac_try) 2>&5
6557   ac_status=$?
6558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6559   (exit $ac_status); }; } &&
6560          { ac_try='test -s conftest.$ac_objext'
6561   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6562   (eval $ac_try) 2>&5
6563   ac_status=$?
6564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6565   (exit $ac_status); }; }; then
6566   :
6567 else
6568   echo "$as_me: failed program was:" >&5
6569 sed 's/^/| /' conftest.$ac_ext >&5
6570
6571 ac_c99_math=no
6572 fi
6573 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6574   cat >conftest.$ac_ext <<_ACEOF
6575 /* confdefs.h.  */
6576 _ACEOF
6577 cat confdefs.h >>conftest.$ac_ext
6578 cat >>conftest.$ac_ext <<_ACEOF
6579 /* end confdefs.h.  */
6580 #include <math.h>
6581 int
6582 main ()
6583 {
6584 isnormal(0.0);
6585   ;
6586   return 0;
6587 }
6588 _ACEOF
6589 rm -f conftest.$ac_objext
6590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6591   (eval $ac_compile) 2>conftest.er1
6592   ac_status=$?
6593   grep -v '^ *+' conftest.er1 >conftest.err
6594   rm -f conftest.er1
6595   cat conftest.err >&5
6596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6597   (exit $ac_status); } &&
6598          { ac_try='test -z "$ac_cxx_werror_flag"
6599                          || test ! -s conftest.err'
6600   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6601   (eval $ac_try) 2>&5
6602   ac_status=$?
6603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6604   (exit $ac_status); }; } &&
6605          { ac_try='test -s conftest.$ac_objext'
6606   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6607   (eval $ac_try) 2>&5
6608   ac_status=$?
6609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6610   (exit $ac_status); }; }; then
6611   :
6612 else
6613   echo "$as_me: failed program was:" >&5
6614 sed 's/^/| /' conftest.$ac_ext >&5
6615
6616 ac_c99_math=no
6617 fi
6618 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6619   cat >conftest.$ac_ext <<_ACEOF
6620 /* confdefs.h.  */
6621 _ACEOF
6622 cat confdefs.h >>conftest.$ac_ext
6623 cat >>conftest.$ac_ext <<_ACEOF
6624 /* end confdefs.h.  */
6625 #include <math.h>
6626 int
6627 main ()
6628 {
6629 signbit(0.0);
6630   ;
6631   return 0;
6632 }
6633 _ACEOF
6634 rm -f conftest.$ac_objext
6635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6636   (eval $ac_compile) 2>conftest.er1
6637   ac_status=$?
6638   grep -v '^ *+' conftest.er1 >conftest.err
6639   rm -f conftest.er1
6640   cat conftest.err >&5
6641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6642   (exit $ac_status); } &&
6643          { ac_try='test -z "$ac_cxx_werror_flag"
6644                          || test ! -s conftest.err'
6645   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6646   (eval $ac_try) 2>&5
6647   ac_status=$?
6648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6649   (exit $ac_status); }; } &&
6650          { ac_try='test -s conftest.$ac_objext'
6651   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6652   (eval $ac_try) 2>&5
6653   ac_status=$?
6654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6655   (exit $ac_status); }; }; then
6656   :
6657 else
6658   echo "$as_me: failed program was:" >&5
6659 sed 's/^/| /' conftest.$ac_ext >&5
6660
6661 ac_c99_math=no
6662 fi
6663 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6664   cat >conftest.$ac_ext <<_ACEOF
6665 /* confdefs.h.  */
6666 _ACEOF
6667 cat confdefs.h >>conftest.$ac_ext
6668 cat >>conftest.$ac_ext <<_ACEOF
6669 /* end confdefs.h.  */
6670 #include <math.h>
6671 int
6672 main ()
6673 {
6674 isgreater(0.0,0.0);
6675   ;
6676   return 0;
6677 }
6678 _ACEOF
6679 rm -f conftest.$ac_objext
6680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6681   (eval $ac_compile) 2>conftest.er1
6682   ac_status=$?
6683   grep -v '^ *+' conftest.er1 >conftest.err
6684   rm -f conftest.er1
6685   cat conftest.err >&5
6686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6687   (exit $ac_status); } &&
6688          { ac_try='test -z "$ac_cxx_werror_flag"
6689                          || test ! -s conftest.err'
6690   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6691   (eval $ac_try) 2>&5
6692   ac_status=$?
6693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6694   (exit $ac_status); }; } &&
6695          { ac_try='test -s conftest.$ac_objext'
6696   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6697   (eval $ac_try) 2>&5
6698   ac_status=$?
6699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6700   (exit $ac_status); }; }; then
6701   :
6702 else
6703   echo "$as_me: failed program was:" >&5
6704 sed 's/^/| /' conftest.$ac_ext >&5
6705
6706 ac_c99_math=no
6707 fi
6708 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6709   cat >conftest.$ac_ext <<_ACEOF
6710 /* confdefs.h.  */
6711 _ACEOF
6712 cat confdefs.h >>conftest.$ac_ext
6713 cat >>conftest.$ac_ext <<_ACEOF
6714 /* end confdefs.h.  */
6715 #include <math.h>
6716 int
6717 main ()
6718 {
6719 isgreaterequal(0.0,0.0);
6720   ;
6721   return 0;
6722 }
6723 _ACEOF
6724 rm -f conftest.$ac_objext
6725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6726   (eval $ac_compile) 2>conftest.er1
6727   ac_status=$?
6728   grep -v '^ *+' conftest.er1 >conftest.err
6729   rm -f conftest.er1
6730   cat conftest.err >&5
6731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6732   (exit $ac_status); } &&
6733          { ac_try='test -z "$ac_cxx_werror_flag"
6734                          || test ! -s conftest.err'
6735   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6736   (eval $ac_try) 2>&5
6737   ac_status=$?
6738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6739   (exit $ac_status); }; } &&
6740          { ac_try='test -s conftest.$ac_objext'
6741   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6742   (eval $ac_try) 2>&5
6743   ac_status=$?
6744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6745   (exit $ac_status); }; }; then
6746   :
6747 else
6748   echo "$as_me: failed program was:" >&5
6749 sed 's/^/| /' conftest.$ac_ext >&5
6750
6751 ac_c99_math=no
6752 fi
6753 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6754   cat >conftest.$ac_ext <<_ACEOF
6755 /* confdefs.h.  */
6756 _ACEOF
6757 cat confdefs.h >>conftest.$ac_ext
6758 cat >>conftest.$ac_ext <<_ACEOF
6759 /* end confdefs.h.  */
6760 #include <math.h>
6761 int
6762 main ()
6763 {
6764 isless(0.0,0.0);
6765   ;
6766   return 0;
6767 }
6768 _ACEOF
6769 rm -f conftest.$ac_objext
6770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6771   (eval $ac_compile) 2>conftest.er1
6772   ac_status=$?
6773   grep -v '^ *+' conftest.er1 >conftest.err
6774   rm -f conftest.er1
6775   cat conftest.err >&5
6776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6777   (exit $ac_status); } &&
6778          { ac_try='test -z "$ac_cxx_werror_flag"
6779                          || test ! -s conftest.err'
6780   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6781   (eval $ac_try) 2>&5
6782   ac_status=$?
6783   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6784   (exit $ac_status); }; } &&
6785          { ac_try='test -s conftest.$ac_objext'
6786   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6787   (eval $ac_try) 2>&5
6788   ac_status=$?
6789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6790   (exit $ac_status); }; }; then
6791   :
6792 else
6793   echo "$as_me: failed program was:" >&5
6794 sed 's/^/| /' conftest.$ac_ext >&5
6795
6796 ac_c99_math=no
6797 fi
6798 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6799   cat >conftest.$ac_ext <<_ACEOF
6800 /* confdefs.h.  */
6801 _ACEOF
6802 cat confdefs.h >>conftest.$ac_ext
6803 cat >>conftest.$ac_ext <<_ACEOF
6804 /* end confdefs.h.  */
6805 #include <math.h>
6806 int
6807 main ()
6808 {
6809 islessequal(0.0,0.0);
6810   ;
6811   return 0;
6812 }
6813 _ACEOF
6814 rm -f conftest.$ac_objext
6815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6816   (eval $ac_compile) 2>conftest.er1
6817   ac_status=$?
6818   grep -v '^ *+' conftest.er1 >conftest.err
6819   rm -f conftest.er1
6820   cat conftest.err >&5
6821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6822   (exit $ac_status); } &&
6823          { ac_try='test -z "$ac_cxx_werror_flag"
6824                          || test ! -s conftest.err'
6825   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6826   (eval $ac_try) 2>&5
6827   ac_status=$?
6828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6829   (exit $ac_status); }; } &&
6830          { ac_try='test -s conftest.$ac_objext'
6831   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6832   (eval $ac_try) 2>&5
6833   ac_status=$?
6834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6835   (exit $ac_status); }; }; then
6836   :
6837 else
6838   echo "$as_me: failed program was:" >&5
6839 sed 's/^/| /' conftest.$ac_ext >&5
6840
6841 ac_c99_math=no
6842 fi
6843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6844   cat >conftest.$ac_ext <<_ACEOF
6845 /* confdefs.h.  */
6846 _ACEOF
6847 cat confdefs.h >>conftest.$ac_ext
6848 cat >>conftest.$ac_ext <<_ACEOF
6849 /* end confdefs.h.  */
6850 #include <math.h>
6851 int
6852 main ()
6853 {
6854 islessgreater(0.0,0.0);
6855   ;
6856   return 0;
6857 }
6858 _ACEOF
6859 rm -f conftest.$ac_objext
6860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6861   (eval $ac_compile) 2>conftest.er1
6862   ac_status=$?
6863   grep -v '^ *+' conftest.er1 >conftest.err
6864   rm -f conftest.er1
6865   cat conftest.err >&5
6866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6867   (exit $ac_status); } &&
6868          { ac_try='test -z "$ac_cxx_werror_flag"
6869                          || test ! -s conftest.err'
6870   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6871   (eval $ac_try) 2>&5
6872   ac_status=$?
6873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6874   (exit $ac_status); }; } &&
6875          { ac_try='test -s conftest.$ac_objext'
6876   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6877   (eval $ac_try) 2>&5
6878   ac_status=$?
6879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6880   (exit $ac_status); }; }; then
6881   :
6882 else
6883   echo "$as_me: failed program was:" >&5
6884 sed 's/^/| /' conftest.$ac_ext >&5
6885
6886 ac_c99_math=no
6887 fi
6888 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6889   cat >conftest.$ac_ext <<_ACEOF
6890 /* confdefs.h.  */
6891 _ACEOF
6892 cat confdefs.h >>conftest.$ac_ext
6893 cat >>conftest.$ac_ext <<_ACEOF
6894 /* end confdefs.h.  */
6895 #include <math.h>
6896 int
6897 main ()
6898 {
6899 isunordered(0.0,0.0);
6900   ;
6901   return 0;
6902 }
6903 _ACEOF
6904 rm -f conftest.$ac_objext
6905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6906   (eval $ac_compile) 2>conftest.er1
6907   ac_status=$?
6908   grep -v '^ *+' conftest.er1 >conftest.err
6909   rm -f conftest.er1
6910   cat conftest.err >&5
6911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6912   (exit $ac_status); } &&
6913          { ac_try='test -z "$ac_cxx_werror_flag"
6914                          || test ! -s conftest.err'
6915   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6916   (eval $ac_try) 2>&5
6917   ac_status=$?
6918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6919   (exit $ac_status); }; } &&
6920          { ac_try='test -s conftest.$ac_objext'
6921   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6922   (eval $ac_try) 2>&5
6923   ac_status=$?
6924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6925   (exit $ac_status); }; }; then
6926   :
6927 else
6928   echo "$as_me: failed program was:" >&5
6929 sed 's/^/| /' conftest.$ac_ext >&5
6930
6931 ac_c99_math=no
6932 fi
6933 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6934   echo "$as_me:$LINENO: result: $ac_c99_math" >&5
6935 echo "${ECHO_T}$ac_c99_math" >&6
6936
6937   if test x"$ac_c99_math" = x"yes"; then
6938     cat >>confdefs.h <<\_ACEOF
6939 #define _GLIBCXX_USE_C99_MATH 1
6940 _ACEOF
6941
6942   fi
6943
6944   # Check for the existence of <complex.h> complex functions.
6945   # This is necessary even though libstdc++ uses the builtin versions
6946   # of these functions, because if the builtin cannot be used, a reference
6947   # to the library function is emitted.
6948
6949 for ac_header in complex.h
6950 do
6951 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6952 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6953   echo "$as_me:$LINENO: checking for $ac_header" >&5
6954 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6955 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6956   echo $ECHO_N "(cached) $ECHO_C" >&6
6957 fi
6958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6959 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6960 else
6961   # Is the header compilable?
6962 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6963 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6964 cat >conftest.$ac_ext <<_ACEOF
6965 /* confdefs.h.  */
6966 _ACEOF
6967 cat confdefs.h >>conftest.$ac_ext
6968 cat >>conftest.$ac_ext <<_ACEOF
6969 /* end confdefs.h.  */
6970 $ac_includes_default
6971 #include <$ac_header>
6972 _ACEOF
6973 rm -f conftest.$ac_objext
6974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6975   (eval $ac_compile) 2>conftest.er1
6976   ac_status=$?
6977   grep -v '^ *+' conftest.er1 >conftest.err
6978   rm -f conftest.er1
6979   cat conftest.err >&5
6980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6981   (exit $ac_status); } &&
6982          { ac_try='test -z "$ac_cxx_werror_flag"
6983                          || test ! -s conftest.err'
6984   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6985   (eval $ac_try) 2>&5
6986   ac_status=$?
6987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6988   (exit $ac_status); }; } &&
6989          { ac_try='test -s conftest.$ac_objext'
6990   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6991   (eval $ac_try) 2>&5
6992   ac_status=$?
6993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
6994   (exit $ac_status); }; }; then
6995   ac_header_compiler=yes
6996 else
6997   echo "$as_me: failed program was:" >&5
6998 sed 's/^/| /' conftest.$ac_ext >&5
6999
7000 ac_header_compiler=no
7001 fi
7002 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7003 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7004 echo "${ECHO_T}$ac_header_compiler" >&6
7005
7006 # Is the header present?
7007 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7008 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7009 cat >conftest.$ac_ext <<_ACEOF
7010 /* confdefs.h.  */
7011 _ACEOF
7012 cat confdefs.h >>conftest.$ac_ext
7013 cat >>conftest.$ac_ext <<_ACEOF
7014 /* end confdefs.h.  */
7015 #include <$ac_header>
7016 _ACEOF
7017 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7018   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7019   ac_status=$?
7020   grep -v '^ *+' conftest.er1 >conftest.err
7021   rm -f conftest.er1
7022   cat conftest.err >&5
7023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7024   (exit $ac_status); } >/dev/null; then
7025   if test -s conftest.err; then
7026     ac_cpp_err=$ac_cxx_preproc_warn_flag
7027     ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7028   else
7029     ac_cpp_err=
7030   fi
7031 else
7032   ac_cpp_err=yes
7033 fi
7034 if test -z "$ac_cpp_err"; then
7035   ac_header_preproc=yes
7036 else
7037   echo "$as_me: failed program was:" >&5
7038 sed 's/^/| /' conftest.$ac_ext >&5
7039
7040   ac_header_preproc=no
7041 fi
7042 rm -f conftest.err conftest.$ac_ext
7043 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7044 echo "${ECHO_T}$ac_header_preproc" >&6
7045
7046 # So?  What about this header?
7047 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
7048   yes:no: )
7049     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7050 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7051     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7052 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7053     ac_header_preproc=yes
7054     ;;
7055   no:yes:* )
7056     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7057 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7058     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
7059 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
7060     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7061 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7062     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
7063 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
7064     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7065 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7066     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7067 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7068     (
7069       cat <<\_ASBOX
7070 ## ----------------------------------------- ##
7071 ## Report this to the package-unused lists.  ##
7072 ## ----------------------------------------- ##
7073 _ASBOX
7074     ) |
7075       sed "s/^/$as_me: WARNING:     /" >&2
7076     ;;
7077 esac
7078 echo "$as_me:$LINENO: checking for $ac_header" >&5
7079 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7080 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7081   echo $ECHO_N "(cached) $ECHO_C" >&6
7082 else
7083   eval "$as_ac_Header=\$ac_header_preproc"
7084 fi
7085 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7086 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7087
7088 fi
7089 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7090   cat >>confdefs.h <<_ACEOF
7091 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7092 _ACEOF
7093  ac_has_complex_h=yes
7094 else
7095   ac_has_complex_h=no
7096 fi
7097
7098 done
7099
7100   ac_c99_complex=no;
7101   if test x"$ac_has_complex_h" = x"yes"; then
7102     ac_c99_complex=yes;
7103     echo "$as_me:$LINENO: checking for ISO C99 support in <complex.h>" >&5
7104 echo $ECHO_N "checking for ISO C99 support in <complex.h>... $ECHO_C" >&6
7105     cat >conftest.$ac_ext <<_ACEOF
7106 /* confdefs.h.  */
7107 _ACEOF
7108 cat confdefs.h >>conftest.$ac_ext
7109 cat >>conftest.$ac_ext <<_ACEOF
7110 /* end confdefs.h.  */
7111 #include <complex.h>
7112 int
7113 main ()
7114 {
7115 typedef __complex__ float _ComplexT; _ComplexT tmp;
7116                     cabsf(tmp);
7117   ;
7118   return 0;
7119 }
7120 _ACEOF
7121 rm -f conftest.$ac_objext
7122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7123   (eval $ac_compile) 2>conftest.er1
7124   ac_status=$?
7125   grep -v '^ *+' conftest.er1 >conftest.err
7126   rm -f conftest.er1
7127   cat conftest.err >&5
7128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7129   (exit $ac_status); } &&
7130          { ac_try='test -z "$ac_cxx_werror_flag"
7131                          || test ! -s conftest.err'
7132   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7133   (eval $ac_try) 2>&5
7134   ac_status=$?
7135   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7136   (exit $ac_status); }; } &&
7137          { ac_try='test -s conftest.$ac_objext'
7138   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7139   (eval $ac_try) 2>&5
7140   ac_status=$?
7141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7142   (exit $ac_status); }; }; then
7143   :
7144 else
7145   echo "$as_me: failed program was:" >&5
7146 sed 's/^/| /' conftest.$ac_ext >&5
7147
7148 ac_c99_complex=no
7149 fi
7150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7151     cat >conftest.$ac_ext <<_ACEOF
7152 /* confdefs.h.  */
7153 _ACEOF
7154 cat confdefs.h >>conftest.$ac_ext
7155 cat >>conftest.$ac_ext <<_ACEOF
7156 /* end confdefs.h.  */
7157 #include <complex.h>
7158 int
7159 main ()
7160 {
7161 typedef __complex__ double _ComplexT; _ComplexT tmp;
7162                     cabs(tmp);
7163   ;
7164   return 0;
7165 }
7166 _ACEOF
7167 rm -f conftest.$ac_objext
7168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7169   (eval $ac_compile) 2>conftest.er1
7170   ac_status=$?
7171   grep -v '^ *+' conftest.er1 >conftest.err
7172   rm -f conftest.er1
7173   cat conftest.err >&5
7174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7175   (exit $ac_status); } &&
7176          { ac_try='test -z "$ac_cxx_werror_flag"
7177                          || test ! -s conftest.err'
7178   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7179   (eval $ac_try) 2>&5
7180   ac_status=$?
7181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7182   (exit $ac_status); }; } &&
7183          { ac_try='test -s conftest.$ac_objext'
7184   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7185   (eval $ac_try) 2>&5
7186   ac_status=$?
7187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7188   (exit $ac_status); }; }; then
7189   :
7190 else
7191   echo "$as_me: failed program was:" >&5
7192 sed 's/^/| /' conftest.$ac_ext >&5
7193
7194 ac_c99_complex=no
7195 fi
7196 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7197     cat >conftest.$ac_ext <<_ACEOF
7198 /* confdefs.h.  */
7199 _ACEOF
7200 cat confdefs.h >>conftest.$ac_ext
7201 cat >>conftest.$ac_ext <<_ACEOF
7202 /* end confdefs.h.  */
7203 #include <complex.h>
7204 int
7205 main ()
7206 {
7207 typedef __complex__ long double _ComplexT; _ComplexT tmp;
7208                     cabsl(tmp);
7209   ;
7210   return 0;
7211 }
7212 _ACEOF
7213 rm -f conftest.$ac_objext
7214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7215   (eval $ac_compile) 2>conftest.er1
7216   ac_status=$?
7217   grep -v '^ *+' conftest.er1 >conftest.err
7218   rm -f conftest.er1
7219   cat conftest.err >&5
7220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7221   (exit $ac_status); } &&
7222          { ac_try='test -z "$ac_cxx_werror_flag"
7223                          || test ! -s conftest.err'
7224   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7225   (eval $ac_try) 2>&5
7226   ac_status=$?
7227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7228   (exit $ac_status); }; } &&
7229          { ac_try='test -s conftest.$ac_objext'
7230   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7231   (eval $ac_try) 2>&5
7232   ac_status=$?
7233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7234   (exit $ac_status); }; }; then
7235   :
7236 else
7237   echo "$as_me: failed program was:" >&5
7238 sed 's/^/| /' conftest.$ac_ext >&5
7239
7240 ac_c99_complex=no
7241 fi
7242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7243     cat >conftest.$ac_ext <<_ACEOF
7244 /* confdefs.h.  */
7245 _ACEOF
7246 cat confdefs.h >>conftest.$ac_ext
7247 cat >>conftest.$ac_ext <<_ACEOF
7248 /* end confdefs.h.  */
7249 #include <complex.h>
7250 int
7251 main ()
7252 {
7253 typedef __complex__ float _ComplexT; _ComplexT tmp;
7254                     cargf(tmp);
7255   ;
7256   return 0;
7257 }
7258 _ACEOF
7259 rm -f conftest.$ac_objext
7260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7261   (eval $ac_compile) 2>conftest.er1
7262   ac_status=$?
7263   grep -v '^ *+' conftest.er1 >conftest.err
7264   rm -f conftest.er1
7265   cat conftest.err >&5
7266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7267   (exit $ac_status); } &&
7268          { ac_try='test -z "$ac_cxx_werror_flag"
7269                          || test ! -s conftest.err'
7270   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7271   (eval $ac_try) 2>&5
7272   ac_status=$?
7273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7274   (exit $ac_status); }; } &&
7275          { ac_try='test -s conftest.$ac_objext'
7276   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7277   (eval $ac_try) 2>&5
7278   ac_status=$?
7279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7280   (exit $ac_status); }; }; then
7281   :
7282 else
7283   echo "$as_me: failed program was:" >&5
7284 sed 's/^/| /' conftest.$ac_ext >&5
7285
7286 ac_c99_complex=no
7287 fi
7288 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7289     cat >conftest.$ac_ext <<_ACEOF
7290 /* confdefs.h.  */
7291 _ACEOF
7292 cat confdefs.h >>conftest.$ac_ext
7293 cat >>conftest.$ac_ext <<_ACEOF
7294 /* end confdefs.h.  */
7295 #include <complex.h>
7296 int
7297 main ()
7298 {
7299 typedef __complex__ double _ComplexT; _ComplexT tmp;
7300                     carg(tmp);
7301   ;
7302   return 0;
7303 }
7304 _ACEOF
7305 rm -f conftest.$ac_objext
7306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7307   (eval $ac_compile) 2>conftest.er1
7308   ac_status=$?
7309   grep -v '^ *+' conftest.er1 >conftest.err
7310   rm -f conftest.er1
7311   cat conftest.err >&5
7312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7313   (exit $ac_status); } &&
7314          { ac_try='test -z "$ac_cxx_werror_flag"
7315                          || test ! -s conftest.err'
7316   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7317   (eval $ac_try) 2>&5
7318   ac_status=$?
7319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7320   (exit $ac_status); }; } &&
7321          { ac_try='test -s conftest.$ac_objext'
7322   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7323   (eval $ac_try) 2>&5
7324   ac_status=$?
7325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7326   (exit $ac_status); }; }; then
7327   :
7328 else
7329   echo "$as_me: failed program was:" >&5
7330 sed 's/^/| /' conftest.$ac_ext >&5
7331
7332 ac_c99_complex=no
7333 fi
7334 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7335     cat >conftest.$ac_ext <<_ACEOF
7336 /* confdefs.h.  */
7337 _ACEOF
7338 cat confdefs.h >>conftest.$ac_ext
7339 cat >>conftest.$ac_ext <<_ACEOF
7340 /* end confdefs.h.  */
7341 #include <complex.h>
7342 int
7343 main ()
7344 {
7345 typedef __complex__ long double _ComplexT; _ComplexT tmp;
7346                     cargl(tmp);
7347   ;
7348   return 0;
7349 }
7350 _ACEOF
7351 rm -f conftest.$ac_objext
7352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7353   (eval $ac_compile) 2>conftest.er1
7354   ac_status=$?
7355   grep -v '^ *+' conftest.er1 >conftest.err
7356   rm -f conftest.er1
7357   cat conftest.err >&5
7358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7359   (exit $ac_status); } &&
7360          { ac_try='test -z "$ac_cxx_werror_flag"
7361                          || test ! -s conftest.err'
7362   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7363   (eval $ac_try) 2>&5
7364   ac_status=$?
7365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7366   (exit $ac_status); }; } &&
7367          { ac_try='test -s conftest.$ac_objext'
7368   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7369   (eval $ac_try) 2>&5
7370   ac_status=$?
7371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7372   (exit $ac_status); }; }; then
7373   :
7374 else
7375   echo "$as_me: failed program was:" >&5
7376 sed 's/^/| /' conftest.$ac_ext >&5
7377
7378 ac_c99_complex=no
7379 fi
7380 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7381     cat >conftest.$ac_ext <<_ACEOF
7382 /* confdefs.h.  */
7383 _ACEOF
7384 cat confdefs.h >>conftest.$ac_ext
7385 cat >>conftest.$ac_ext <<_ACEOF
7386 /* end confdefs.h.  */
7387 #include <complex.h>
7388 int
7389 main ()
7390 {
7391 typedef __complex__ float _ComplexT; _ComplexT tmp;
7392                     ccosf(tmp);
7393   ;
7394   return 0;
7395 }
7396 _ACEOF
7397 rm -f conftest.$ac_objext
7398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7399   (eval $ac_compile) 2>conftest.er1
7400   ac_status=$?
7401   grep -v '^ *+' conftest.er1 >conftest.err
7402   rm -f conftest.er1
7403   cat conftest.err >&5
7404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7405   (exit $ac_status); } &&
7406          { ac_try='test -z "$ac_cxx_werror_flag"
7407                          || test ! -s conftest.err'
7408   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7409   (eval $ac_try) 2>&5
7410   ac_status=$?
7411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7412   (exit $ac_status); }; } &&
7413          { ac_try='test -s conftest.$ac_objext'
7414   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7415   (eval $ac_try) 2>&5
7416   ac_status=$?
7417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7418   (exit $ac_status); }; }; then
7419   :
7420 else
7421   echo "$as_me: failed program was:" >&5
7422 sed 's/^/| /' conftest.$ac_ext >&5
7423
7424 ac_c99_complex=no
7425 fi
7426 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7427     cat >conftest.$ac_ext <<_ACEOF
7428 /* confdefs.h.  */
7429 _ACEOF
7430 cat confdefs.h >>conftest.$ac_ext
7431 cat >>conftest.$ac_ext <<_ACEOF
7432 /* end confdefs.h.  */
7433 #include <complex.h>
7434 int
7435 main ()
7436 {
7437 typedef __complex__ double _ComplexT; _ComplexT tmp;
7438                     ccos(tmp);
7439   ;
7440   return 0;
7441 }
7442 _ACEOF
7443 rm -f conftest.$ac_objext
7444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7445   (eval $ac_compile) 2>conftest.er1
7446   ac_status=$?
7447   grep -v '^ *+' conftest.er1 >conftest.err
7448   rm -f conftest.er1
7449   cat conftest.err >&5
7450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7451   (exit $ac_status); } &&
7452          { ac_try='test -z "$ac_cxx_werror_flag"
7453                          || test ! -s conftest.err'
7454   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7455   (eval $ac_try) 2>&5
7456   ac_status=$?
7457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7458   (exit $ac_status); }; } &&
7459          { ac_try='test -s conftest.$ac_objext'
7460   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7461   (eval $ac_try) 2>&5
7462   ac_status=$?
7463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7464   (exit $ac_status); }; }; then
7465   :
7466 else
7467   echo "$as_me: failed program was:" >&5
7468 sed 's/^/| /' conftest.$ac_ext >&5
7469
7470 ac_c99_complex=no
7471 fi
7472 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7473     cat >conftest.$ac_ext <<_ACEOF
7474 /* confdefs.h.  */
7475 _ACEOF
7476 cat confdefs.h >>conftest.$ac_ext
7477 cat >>conftest.$ac_ext <<_ACEOF
7478 /* end confdefs.h.  */
7479 #include <complex.h>
7480 int
7481 main ()
7482 {
7483 typedef __complex__ long double _ComplexT; _ComplexT tmp;
7484                     ccosl(tmp);
7485   ;
7486   return 0;
7487 }
7488 _ACEOF
7489 rm -f conftest.$ac_objext
7490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7491   (eval $ac_compile) 2>conftest.er1
7492   ac_status=$?
7493   grep -v '^ *+' conftest.er1 >conftest.err
7494   rm -f conftest.er1
7495   cat conftest.err >&5
7496   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7497   (exit $ac_status); } &&
7498          { ac_try='test -z "$ac_cxx_werror_flag"
7499                          || test ! -s conftest.err'
7500   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7501   (eval $ac_try) 2>&5
7502   ac_status=$?
7503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7504   (exit $ac_status); }; } &&
7505          { ac_try='test -s conftest.$ac_objext'
7506   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7507   (eval $ac_try) 2>&5
7508   ac_status=$?
7509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7510   (exit $ac_status); }; }; then
7511   :
7512 else
7513   echo "$as_me: failed program was:" >&5
7514 sed 's/^/| /' conftest.$ac_ext >&5
7515
7516 ac_c99_complex=no
7517 fi
7518 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7519     cat >conftest.$ac_ext <<_ACEOF
7520 /* confdefs.h.  */
7521 _ACEOF
7522 cat confdefs.h >>conftest.$ac_ext
7523 cat >>conftest.$ac_ext <<_ACEOF
7524 /* end confdefs.h.  */
7525 #include <complex.h>
7526 int
7527 main ()
7528 {
7529 typedef __complex__ float _ComplexT; _ComplexT tmp;
7530                     ccoshf(tmp);
7531   ;
7532   return 0;
7533 }
7534 _ACEOF
7535 rm -f conftest.$ac_objext
7536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7537   (eval $ac_compile) 2>conftest.er1
7538   ac_status=$?
7539   grep -v '^ *+' conftest.er1 >conftest.err
7540   rm -f conftest.er1
7541   cat conftest.err >&5
7542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7543   (exit $ac_status); } &&
7544          { ac_try='test -z "$ac_cxx_werror_flag"
7545                          || test ! -s conftest.err'
7546   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7547   (eval $ac_try) 2>&5
7548   ac_status=$?
7549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7550   (exit $ac_status); }; } &&
7551          { ac_try='test -s conftest.$ac_objext'
7552   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7553   (eval $ac_try) 2>&5
7554   ac_status=$?
7555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7556   (exit $ac_status); }; }; then
7557   :
7558 else
7559   echo "$as_me: failed program was:" >&5
7560 sed 's/^/| /' conftest.$ac_ext >&5
7561
7562 ac_c99_complex=no
7563 fi
7564 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7565     cat >conftest.$ac_ext <<_ACEOF
7566 /* confdefs.h.  */
7567 _ACEOF
7568 cat confdefs.h >>conftest.$ac_ext
7569 cat >>conftest.$ac_ext <<_ACEOF
7570 /* end confdefs.h.  */
7571 #include <complex.h>
7572 int
7573 main ()
7574 {
7575 typedef __complex__ double _ComplexT; _ComplexT tmp;
7576                     ccosh(tmp);
7577   ;
7578   return 0;
7579 }
7580 _ACEOF
7581 rm -f conftest.$ac_objext
7582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7583   (eval $ac_compile) 2>conftest.er1
7584   ac_status=$?
7585   grep -v '^ *+' conftest.er1 >conftest.err
7586   rm -f conftest.er1
7587   cat conftest.err >&5
7588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7589   (exit $ac_status); } &&
7590          { ac_try='test -z "$ac_cxx_werror_flag"
7591                          || test ! -s conftest.err'
7592   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7593   (eval $ac_try) 2>&5
7594   ac_status=$?
7595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7596   (exit $ac_status); }; } &&
7597          { ac_try='test -s conftest.$ac_objext'
7598   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7599   (eval $ac_try) 2>&5
7600   ac_status=$?
7601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7602   (exit $ac_status); }; }; then
7603   :
7604 else
7605   echo "$as_me: failed program was:" >&5
7606 sed 's/^/| /' conftest.$ac_ext >&5
7607
7608 ac_c99_complex=no
7609 fi
7610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7611     cat >conftest.$ac_ext <<_ACEOF
7612 /* confdefs.h.  */
7613 _ACEOF
7614 cat confdefs.h >>conftest.$ac_ext
7615 cat >>conftest.$ac_ext <<_ACEOF
7616 /* end confdefs.h.  */
7617 #include <complex.h>
7618 int
7619 main ()
7620 {
7621 typedef __complex__ long double _ComplexT; _ComplexT tmp;
7622                     ccoshl(tmp);
7623   ;
7624   return 0;
7625 }
7626 _ACEOF
7627 rm -f conftest.$ac_objext
7628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7629   (eval $ac_compile) 2>conftest.er1
7630   ac_status=$?
7631   grep -v '^ *+' conftest.er1 >conftest.err
7632   rm -f conftest.er1
7633   cat conftest.err >&5
7634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7635   (exit $ac_status); } &&
7636          { ac_try='test -z "$ac_cxx_werror_flag"
7637                          || test ! -s conftest.err'
7638   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7639   (eval $ac_try) 2>&5
7640   ac_status=$?
7641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7642   (exit $ac_status); }; } &&
7643          { ac_try='test -s conftest.$ac_objext'
7644   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7645   (eval $ac_try) 2>&5
7646   ac_status=$?
7647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7648   (exit $ac_status); }; }; then
7649   :
7650 else
7651   echo "$as_me: failed program was:" >&5
7652 sed 's/^/| /' conftest.$ac_ext >&5
7653
7654 ac_c99_complex=no
7655 fi
7656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7657     cat >conftest.$ac_ext <<_ACEOF
7658 /* confdefs.h.  */
7659 _ACEOF
7660 cat confdefs.h >>conftest.$ac_ext
7661 cat >>conftest.$ac_ext <<_ACEOF
7662 /* end confdefs.h.  */
7663 #include <complex.h>
7664 int
7665 main ()
7666 {
7667 typedef __complex__ float _ComplexT; _ComplexT tmp;
7668                     cexpf(tmp);
7669   ;
7670   return 0;
7671 }
7672 _ACEOF
7673 rm -f conftest.$ac_objext
7674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7675   (eval $ac_compile) 2>conftest.er1
7676   ac_status=$?
7677   grep -v '^ *+' conftest.er1 >conftest.err
7678   rm -f conftest.er1
7679   cat conftest.err >&5
7680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7681   (exit $ac_status); } &&
7682          { ac_try='test -z "$ac_cxx_werror_flag"
7683                          || test ! -s conftest.err'
7684   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7685   (eval $ac_try) 2>&5
7686   ac_status=$?
7687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7688   (exit $ac_status); }; } &&
7689          { ac_try='test -s conftest.$ac_objext'
7690   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7691   (eval $ac_try) 2>&5
7692   ac_status=$?
7693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7694   (exit $ac_status); }; }; then
7695   :
7696 else
7697   echo "$as_me: failed program was:" >&5
7698 sed 's/^/| /' conftest.$ac_ext >&5
7699
7700 ac_c99_complex=no
7701 fi
7702 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7703     cat >conftest.$ac_ext <<_ACEOF
7704 /* confdefs.h.  */
7705 _ACEOF
7706 cat confdefs.h >>conftest.$ac_ext
7707 cat >>conftest.$ac_ext <<_ACEOF
7708 /* end confdefs.h.  */
7709 #include <complex.h>
7710 int
7711 main ()
7712 {
7713 typedef __complex__ double _ComplexT; _ComplexT tmp;
7714                     cexp(tmp);
7715   ;
7716   return 0;
7717 }
7718 _ACEOF
7719 rm -f conftest.$ac_objext
7720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7721   (eval $ac_compile) 2>conftest.er1
7722   ac_status=$?
7723   grep -v '^ *+' conftest.er1 >conftest.err
7724   rm -f conftest.er1
7725   cat conftest.err >&5
7726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7727   (exit $ac_status); } &&
7728          { ac_try='test -z "$ac_cxx_werror_flag"
7729                          || test ! -s conftest.err'
7730   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7731   (eval $ac_try) 2>&5
7732   ac_status=$?
7733   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7734   (exit $ac_status); }; } &&
7735          { ac_try='test -s conftest.$ac_objext'
7736   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7737   (eval $ac_try) 2>&5
7738   ac_status=$?
7739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7740   (exit $ac_status); }; }; then
7741   :
7742 else
7743   echo "$as_me: failed program was:" >&5
7744 sed 's/^/| /' conftest.$ac_ext >&5
7745
7746 ac_c99_complex=no
7747 fi
7748 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7749     cat >conftest.$ac_ext <<_ACEOF
7750 /* confdefs.h.  */
7751 _ACEOF
7752 cat confdefs.h >>conftest.$ac_ext
7753 cat >>conftest.$ac_ext <<_ACEOF
7754 /* end confdefs.h.  */
7755 #include <complex.h>
7756 int
7757 main ()
7758 {
7759 typedef __complex__ long double _ComplexT; _ComplexT tmp;
7760                     cexpl(tmp);
7761   ;
7762   return 0;
7763 }
7764 _ACEOF
7765 rm -f conftest.$ac_objext
7766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7767   (eval $ac_compile) 2>conftest.er1
7768   ac_status=$?
7769   grep -v '^ *+' conftest.er1 >conftest.err
7770   rm -f conftest.er1
7771   cat conftest.err >&5
7772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7773   (exit $ac_status); } &&
7774          { ac_try='test -z "$ac_cxx_werror_flag"
7775                          || test ! -s conftest.err'
7776   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7777   (eval $ac_try) 2>&5
7778   ac_status=$?
7779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7780   (exit $ac_status); }; } &&
7781          { ac_try='test -s conftest.$ac_objext'
7782   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7783   (eval $ac_try) 2>&5
7784   ac_status=$?
7785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7786   (exit $ac_status); }; }; then
7787   :
7788 else
7789   echo "$as_me: failed program was:" >&5
7790 sed 's/^/| /' conftest.$ac_ext >&5
7791
7792 ac_c99_complex=no
7793 fi
7794 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7795     cat >conftest.$ac_ext <<_ACEOF
7796 /* confdefs.h.  */
7797 _ACEOF
7798 cat confdefs.h >>conftest.$ac_ext
7799 cat >>conftest.$ac_ext <<_ACEOF
7800 /* end confdefs.h.  */
7801 #include <complex.h>
7802 int
7803 main ()
7804 {
7805 typedef __complex__ float _ComplexT; _ComplexT tmp;
7806                     csinf(tmp);
7807   ;
7808   return 0;
7809 }
7810 _ACEOF
7811 rm -f conftest.$ac_objext
7812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7813   (eval $ac_compile) 2>conftest.er1
7814   ac_status=$?
7815   grep -v '^ *+' conftest.er1 >conftest.err
7816   rm -f conftest.er1
7817   cat conftest.err >&5
7818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7819   (exit $ac_status); } &&
7820          { ac_try='test -z "$ac_cxx_werror_flag"
7821                          || test ! -s conftest.err'
7822   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7823   (eval $ac_try) 2>&5
7824   ac_status=$?
7825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7826   (exit $ac_status); }; } &&
7827          { ac_try='test -s conftest.$ac_objext'
7828   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7829   (eval $ac_try) 2>&5
7830   ac_status=$?
7831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7832   (exit $ac_status); }; }; then
7833   :
7834 else
7835   echo "$as_me: failed program was:" >&5
7836 sed 's/^/| /' conftest.$ac_ext >&5
7837
7838 ac_c99_complex=no
7839 fi
7840 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7841     cat >conftest.$ac_ext <<_ACEOF
7842 /* confdefs.h.  */
7843 _ACEOF
7844 cat confdefs.h >>conftest.$ac_ext
7845 cat >>conftest.$ac_ext <<_ACEOF
7846 /* end confdefs.h.  */
7847 #include <complex.h>
7848 int
7849 main ()
7850 {
7851 typedef __complex__ double _ComplexT; _ComplexT tmp;
7852                     csin(tmp);
7853   ;
7854   return 0;
7855 }
7856 _ACEOF
7857 rm -f conftest.$ac_objext
7858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7859   (eval $ac_compile) 2>conftest.er1
7860   ac_status=$?
7861   grep -v '^ *+' conftest.er1 >conftest.err
7862   rm -f conftest.er1
7863   cat conftest.err >&5
7864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7865   (exit $ac_status); } &&
7866          { ac_try='test -z "$ac_cxx_werror_flag"
7867                          || test ! -s conftest.err'
7868   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7869   (eval $ac_try) 2>&5
7870   ac_status=$?
7871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7872   (exit $ac_status); }; } &&
7873          { ac_try='test -s conftest.$ac_objext'
7874   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7875   (eval $ac_try) 2>&5
7876   ac_status=$?
7877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7878   (exit $ac_status); }; }; then
7879   :
7880 else
7881   echo "$as_me: failed program was:" >&5
7882 sed 's/^/| /' conftest.$ac_ext >&5
7883
7884 ac_c99_complex=no
7885 fi
7886 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7887     cat >conftest.$ac_ext <<_ACEOF
7888 /* confdefs.h.  */
7889 _ACEOF
7890 cat confdefs.h >>conftest.$ac_ext
7891 cat >>conftest.$ac_ext <<_ACEOF
7892 /* end confdefs.h.  */
7893 #include <complex.h>
7894 int
7895 main ()
7896 {
7897 typedef __complex__ long double _ComplexT; _ComplexT tmp;
7898                     csinl(tmp);
7899   ;
7900   return 0;
7901 }
7902 _ACEOF
7903 rm -f conftest.$ac_objext
7904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7905   (eval $ac_compile) 2>conftest.er1
7906   ac_status=$?
7907   grep -v '^ *+' conftest.er1 >conftest.err
7908   rm -f conftest.er1
7909   cat conftest.err >&5
7910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7911   (exit $ac_status); } &&
7912          { ac_try='test -z "$ac_cxx_werror_flag"
7913                          || test ! -s conftest.err'
7914   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7915   (eval $ac_try) 2>&5
7916   ac_status=$?
7917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7918   (exit $ac_status); }; } &&
7919          { ac_try='test -s conftest.$ac_objext'
7920   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7921   (eval $ac_try) 2>&5
7922   ac_status=$?
7923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7924   (exit $ac_status); }; }; then
7925   :
7926 else
7927   echo "$as_me: failed program was:" >&5
7928 sed 's/^/| /' conftest.$ac_ext >&5
7929
7930 ac_c99_complex=no
7931 fi
7932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7933     cat >conftest.$ac_ext <<_ACEOF
7934 /* confdefs.h.  */
7935 _ACEOF
7936 cat confdefs.h >>conftest.$ac_ext
7937 cat >>conftest.$ac_ext <<_ACEOF
7938 /* end confdefs.h.  */
7939 #include <complex.h>
7940 int
7941 main ()
7942 {
7943 typedef __complex__ float _ComplexT; _ComplexT tmp;
7944                     csinhf(tmp);
7945   ;
7946   return 0;
7947 }
7948 _ACEOF
7949 rm -f conftest.$ac_objext
7950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7951   (eval $ac_compile) 2>conftest.er1
7952   ac_status=$?
7953   grep -v '^ *+' conftest.er1 >conftest.err
7954   rm -f conftest.er1
7955   cat conftest.err >&5
7956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7957   (exit $ac_status); } &&
7958          { ac_try='test -z "$ac_cxx_werror_flag"
7959                          || test ! -s conftest.err'
7960   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7961   (eval $ac_try) 2>&5
7962   ac_status=$?
7963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7964   (exit $ac_status); }; } &&
7965          { ac_try='test -s conftest.$ac_objext'
7966   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7967   (eval $ac_try) 2>&5
7968   ac_status=$?
7969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
7970   (exit $ac_status); }; }; then
7971   :
7972 else
7973   echo "$as_me: failed program was:" >&5
7974 sed 's/^/| /' conftest.$ac_ext >&5
7975
7976 ac_c99_complex=no
7977 fi
7978 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7979     cat >conftest.$ac_ext <<_ACEOF
7980 /* confdefs.h.  */
7981 _ACEOF
7982 cat confdefs.h >>conftest.$ac_ext
7983 cat >>conftest.$ac_ext <<_ACEOF
7984 /* end confdefs.h.  */
7985 #include <complex.h>
7986 int
7987 main ()
7988 {
7989 typedef __complex__ double _ComplexT; _ComplexT tmp;
7990                     csinh(tmp);
7991   ;
7992   return 0;
7993 }
7994 _ACEOF
7995 rm -f conftest.$ac_objext
7996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7997   (eval $ac_compile) 2>conftest.er1
7998   ac_status=$?
7999   grep -v '^ *+' conftest.er1 >conftest.err
8000   rm -f conftest.er1
8001   cat conftest.err >&5
8002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8003   (exit $ac_status); } &&
8004          { ac_try='test -z "$ac_cxx_werror_flag"
8005                          || test ! -s conftest.err'
8006   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8007   (eval $ac_try) 2>&5
8008   ac_status=$?
8009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8010   (exit $ac_status); }; } &&
8011          { ac_try='test -s conftest.$ac_objext'
8012   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8013   (eval $ac_try) 2>&5
8014   ac_status=$?
8015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8016   (exit $ac_status); }; }; then
8017   :
8018 else
8019   echo "$as_me: failed program was:" >&5
8020 sed 's/^/| /' conftest.$ac_ext >&5
8021
8022 ac_c99_complex=no
8023 fi
8024 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8025     cat >conftest.$ac_ext <<_ACEOF
8026 /* confdefs.h.  */
8027 _ACEOF
8028 cat confdefs.h >>conftest.$ac_ext
8029 cat >>conftest.$ac_ext <<_ACEOF
8030 /* end confdefs.h.  */
8031 #include <complex.h>
8032 int
8033 main ()
8034 {
8035 typedef __complex__ long double _ComplexT; _ComplexT tmp;
8036                     csinhl(tmp);
8037   ;
8038   return 0;
8039 }
8040 _ACEOF
8041 rm -f conftest.$ac_objext
8042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8043   (eval $ac_compile) 2>conftest.er1
8044   ac_status=$?
8045   grep -v '^ *+' conftest.er1 >conftest.err
8046   rm -f conftest.er1
8047   cat conftest.err >&5
8048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8049   (exit $ac_status); } &&
8050          { ac_try='test -z "$ac_cxx_werror_flag"
8051                          || test ! -s conftest.err'
8052   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8053   (eval $ac_try) 2>&5
8054   ac_status=$?
8055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8056   (exit $ac_status); }; } &&
8057          { ac_try='test -s conftest.$ac_objext'
8058   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8059   (eval $ac_try) 2>&5
8060   ac_status=$?
8061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8062   (exit $ac_status); }; }; then
8063   :
8064 else
8065   echo "$as_me: failed program was:" >&5
8066 sed 's/^/| /' conftest.$ac_ext >&5
8067
8068 ac_c99_complex=no
8069 fi
8070 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8071     cat >conftest.$ac_ext <<_ACEOF
8072 /* confdefs.h.  */
8073 _ACEOF
8074 cat confdefs.h >>conftest.$ac_ext
8075 cat >>conftest.$ac_ext <<_ACEOF
8076 /* end confdefs.h.  */
8077 #include <complex.h>
8078 int
8079 main ()
8080 {
8081 typedef __complex__ float _ComplexT; _ComplexT tmp;
8082                     csqrtf(tmp);
8083   ;
8084   return 0;
8085 }
8086 _ACEOF
8087 rm -f conftest.$ac_objext
8088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8089   (eval $ac_compile) 2>conftest.er1
8090   ac_status=$?
8091   grep -v '^ *+' conftest.er1 >conftest.err
8092   rm -f conftest.er1
8093   cat conftest.err >&5
8094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8095   (exit $ac_status); } &&
8096          { ac_try='test -z "$ac_cxx_werror_flag"
8097                          || test ! -s conftest.err'
8098   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8099   (eval $ac_try) 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   :
8110 else
8111   echo "$as_me: failed program was:" >&5
8112 sed 's/^/| /' conftest.$ac_ext >&5
8113
8114 ac_c99_complex=no
8115 fi
8116 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8117     cat >conftest.$ac_ext <<_ACEOF
8118 /* confdefs.h.  */
8119 _ACEOF
8120 cat confdefs.h >>conftest.$ac_ext
8121 cat >>conftest.$ac_ext <<_ACEOF
8122 /* end confdefs.h.  */
8123 #include <complex.h>
8124 int
8125 main ()
8126 {
8127 typedef __complex__ double _ComplexT; _ComplexT tmp;
8128                     csqrt(tmp);
8129   ;
8130   return 0;
8131 }
8132 _ACEOF
8133 rm -f conftest.$ac_objext
8134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8135   (eval $ac_compile) 2>conftest.er1
8136   ac_status=$?
8137   grep -v '^ *+' conftest.er1 >conftest.err
8138   rm -f conftest.er1
8139   cat conftest.err >&5
8140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8141   (exit $ac_status); } &&
8142          { ac_try='test -z "$ac_cxx_werror_flag"
8143                          || test ! -s conftest.err'
8144   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8145   (eval $ac_try) 2>&5
8146   ac_status=$?
8147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8148   (exit $ac_status); }; } &&
8149          { ac_try='test -s conftest.$ac_objext'
8150   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8151   (eval $ac_try) 2>&5
8152   ac_status=$?
8153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8154   (exit $ac_status); }; }; then
8155   :
8156 else
8157   echo "$as_me: failed program was:" >&5
8158 sed 's/^/| /' conftest.$ac_ext >&5
8159
8160 ac_c99_complex=no
8161 fi
8162 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8163     cat >conftest.$ac_ext <<_ACEOF
8164 /* confdefs.h.  */
8165 _ACEOF
8166 cat confdefs.h >>conftest.$ac_ext
8167 cat >>conftest.$ac_ext <<_ACEOF
8168 /* end confdefs.h.  */
8169 #include <complex.h>
8170 int
8171 main ()
8172 {
8173 typedef __complex__ long double _ComplexT; _ComplexT tmp;
8174                     csqrtl(tmp);
8175   ;
8176   return 0;
8177 }
8178 _ACEOF
8179 rm -f conftest.$ac_objext
8180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8181   (eval $ac_compile) 2>conftest.er1
8182   ac_status=$?
8183   grep -v '^ *+' conftest.er1 >conftest.err
8184   rm -f conftest.er1
8185   cat conftest.err >&5
8186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8187   (exit $ac_status); } &&
8188          { ac_try='test -z "$ac_cxx_werror_flag"
8189                          || test ! -s conftest.err'
8190   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8191   (eval $ac_try) 2>&5
8192   ac_status=$?
8193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8194   (exit $ac_status); }; } &&
8195          { ac_try='test -s conftest.$ac_objext'
8196   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8197   (eval $ac_try) 2>&5
8198   ac_status=$?
8199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8200   (exit $ac_status); }; }; then
8201   :
8202 else
8203   echo "$as_me: failed program was:" >&5
8204 sed 's/^/| /' conftest.$ac_ext >&5
8205
8206 ac_c99_complex=no
8207 fi
8208 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8209     cat >conftest.$ac_ext <<_ACEOF
8210 /* confdefs.h.  */
8211 _ACEOF
8212 cat confdefs.h >>conftest.$ac_ext
8213 cat >>conftest.$ac_ext <<_ACEOF
8214 /* end confdefs.h.  */
8215 #include <complex.h>
8216 int
8217 main ()
8218 {
8219 typedef __complex__ float _ComplexT; _ComplexT tmp;
8220                     ctanf(tmp);
8221   ;
8222   return 0;
8223 }
8224 _ACEOF
8225 rm -f conftest.$ac_objext
8226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8227   (eval $ac_compile) 2>conftest.er1
8228   ac_status=$?
8229   grep -v '^ *+' conftest.er1 >conftest.err
8230   rm -f conftest.er1
8231   cat conftest.err >&5
8232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8233   (exit $ac_status); } &&
8234          { ac_try='test -z "$ac_cxx_werror_flag"
8235                          || test ! -s conftest.err'
8236   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8237   (eval $ac_try) 2>&5
8238   ac_status=$?
8239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8240   (exit $ac_status); }; } &&
8241          { ac_try='test -s conftest.$ac_objext'
8242   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8243   (eval $ac_try) 2>&5
8244   ac_status=$?
8245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8246   (exit $ac_status); }; }; then
8247   :
8248 else
8249   echo "$as_me: failed program was:" >&5
8250 sed 's/^/| /' conftest.$ac_ext >&5
8251
8252 ac_c99_complex=no
8253 fi
8254 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8255     cat >conftest.$ac_ext <<_ACEOF
8256 /* confdefs.h.  */
8257 _ACEOF
8258 cat confdefs.h >>conftest.$ac_ext
8259 cat >>conftest.$ac_ext <<_ACEOF
8260 /* end confdefs.h.  */
8261 #include <complex.h>
8262 int
8263 main ()
8264 {
8265 typedef __complex__ double _ComplexT; _ComplexT tmp;
8266                     ctan(tmp);
8267   ;
8268   return 0;
8269 }
8270 _ACEOF
8271 rm -f conftest.$ac_objext
8272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8273   (eval $ac_compile) 2>conftest.er1
8274   ac_status=$?
8275   grep -v '^ *+' conftest.er1 >conftest.err
8276   rm -f conftest.er1
8277   cat conftest.err >&5
8278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8279   (exit $ac_status); } &&
8280          { ac_try='test -z "$ac_cxx_werror_flag"
8281                          || test ! -s conftest.err'
8282   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8283   (eval $ac_try) 2>&5
8284   ac_status=$?
8285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8286   (exit $ac_status); }; } &&
8287          { ac_try='test -s conftest.$ac_objext'
8288   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8289   (eval $ac_try) 2>&5
8290   ac_status=$?
8291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8292   (exit $ac_status); }; }; then
8293   :
8294 else
8295   echo "$as_me: failed program was:" >&5
8296 sed 's/^/| /' conftest.$ac_ext >&5
8297
8298 ac_c99_complex=no
8299 fi
8300 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8301     cat >conftest.$ac_ext <<_ACEOF
8302 /* confdefs.h.  */
8303 _ACEOF
8304 cat confdefs.h >>conftest.$ac_ext
8305 cat >>conftest.$ac_ext <<_ACEOF
8306 /* end confdefs.h.  */
8307 #include <complex.h>
8308 int
8309 main ()
8310 {
8311 typedef __complex__ long double _ComplexT; _ComplexT tmp;
8312                     ctanl(tmp);
8313   ;
8314   return 0;
8315 }
8316 _ACEOF
8317 rm -f conftest.$ac_objext
8318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8319   (eval $ac_compile) 2>conftest.er1
8320   ac_status=$?
8321   grep -v '^ *+' conftest.er1 >conftest.err
8322   rm -f conftest.er1
8323   cat conftest.err >&5
8324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8325   (exit $ac_status); } &&
8326          { ac_try='test -z "$ac_cxx_werror_flag"
8327                          || test ! -s conftest.err'
8328   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8329   (eval $ac_try) 2>&5
8330   ac_status=$?
8331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8332   (exit $ac_status); }; } &&
8333          { ac_try='test -s conftest.$ac_objext'
8334   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8335   (eval $ac_try) 2>&5
8336   ac_status=$?
8337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8338   (exit $ac_status); }; }; then
8339   :
8340 else
8341   echo "$as_me: failed program was:" >&5
8342 sed 's/^/| /' conftest.$ac_ext >&5
8343
8344 ac_c99_complex=no
8345 fi
8346 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8347     cat >conftest.$ac_ext <<_ACEOF
8348 /* confdefs.h.  */
8349 _ACEOF
8350 cat confdefs.h >>conftest.$ac_ext
8351 cat >>conftest.$ac_ext <<_ACEOF
8352 /* end confdefs.h.  */
8353 #include <complex.h>
8354 int
8355 main ()
8356 {
8357 typedef __complex__ float _ComplexT; _ComplexT tmp;
8358                     ctanhf(tmp);
8359   ;
8360   return 0;
8361 }
8362 _ACEOF
8363 rm -f conftest.$ac_objext
8364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8365   (eval $ac_compile) 2>conftest.er1
8366   ac_status=$?
8367   grep -v '^ *+' conftest.er1 >conftest.err
8368   rm -f conftest.er1
8369   cat conftest.err >&5
8370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8371   (exit $ac_status); } &&
8372          { ac_try='test -z "$ac_cxx_werror_flag"
8373                          || test ! -s conftest.err'
8374   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8375   (eval $ac_try) 2>&5
8376   ac_status=$?
8377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8378   (exit $ac_status); }; } &&
8379          { ac_try='test -s conftest.$ac_objext'
8380   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8381   (eval $ac_try) 2>&5
8382   ac_status=$?
8383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8384   (exit $ac_status); }; }; then
8385   :
8386 else
8387   echo "$as_me: failed program was:" >&5
8388 sed 's/^/| /' conftest.$ac_ext >&5
8389
8390 ac_c99_complex=no
8391 fi
8392 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8393     cat >conftest.$ac_ext <<_ACEOF
8394 /* confdefs.h.  */
8395 _ACEOF
8396 cat confdefs.h >>conftest.$ac_ext
8397 cat >>conftest.$ac_ext <<_ACEOF
8398 /* end confdefs.h.  */
8399 #include <complex.h>
8400 int
8401 main ()
8402 {
8403 typedef __complex__ double _ComplexT; _ComplexT tmp;
8404                     ctanh(tmp);
8405   ;
8406   return 0;
8407 }
8408 _ACEOF
8409 rm -f conftest.$ac_objext
8410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8411   (eval $ac_compile) 2>conftest.er1
8412   ac_status=$?
8413   grep -v '^ *+' conftest.er1 >conftest.err
8414   rm -f conftest.er1
8415   cat conftest.err >&5
8416   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8417   (exit $ac_status); } &&
8418          { ac_try='test -z "$ac_cxx_werror_flag"
8419                          || test ! -s conftest.err'
8420   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8421   (eval $ac_try) 2>&5
8422   ac_status=$?
8423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8424   (exit $ac_status); }; } &&
8425          { ac_try='test -s conftest.$ac_objext'
8426   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8427   (eval $ac_try) 2>&5
8428   ac_status=$?
8429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8430   (exit $ac_status); }; }; then
8431   :
8432 else
8433   echo "$as_me: failed program was:" >&5
8434 sed 's/^/| /' conftest.$ac_ext >&5
8435
8436 ac_c99_complex=no
8437 fi
8438 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8439     cat >conftest.$ac_ext <<_ACEOF
8440 /* confdefs.h.  */
8441 _ACEOF
8442 cat confdefs.h >>conftest.$ac_ext
8443 cat >>conftest.$ac_ext <<_ACEOF
8444 /* end confdefs.h.  */
8445 #include <complex.h>
8446 int
8447 main ()
8448 {
8449 typedef __complex__ long double _ComplexT; _ComplexT tmp;
8450                     ctanhl(tmp);
8451   ;
8452   return 0;
8453 }
8454 _ACEOF
8455 rm -f conftest.$ac_objext
8456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8457   (eval $ac_compile) 2>conftest.er1
8458   ac_status=$?
8459   grep -v '^ *+' conftest.er1 >conftest.err
8460   rm -f conftest.er1
8461   cat conftest.err >&5
8462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8463   (exit $ac_status); } &&
8464          { ac_try='test -z "$ac_cxx_werror_flag"
8465                          || test ! -s conftest.err'
8466   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8467   (eval $ac_try) 2>&5
8468   ac_status=$?
8469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8470   (exit $ac_status); }; } &&
8471          { ac_try='test -s conftest.$ac_objext'
8472   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8473   (eval $ac_try) 2>&5
8474   ac_status=$?
8475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8476   (exit $ac_status); }; }; then
8477   :
8478 else
8479   echo "$as_me: failed program was:" >&5
8480 sed 's/^/| /' conftest.$ac_ext >&5
8481
8482 ac_c99_complex=no
8483 fi
8484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8485     cat >conftest.$ac_ext <<_ACEOF
8486 /* confdefs.h.  */
8487 _ACEOF
8488 cat confdefs.h >>conftest.$ac_ext
8489 cat >>conftest.$ac_ext <<_ACEOF
8490 /* end confdefs.h.  */
8491 #include <complex.h>
8492 int
8493 main ()
8494 {
8495 typedef __complex__ float _ComplexT; _ComplexT tmp;
8496                     cpowf(tmp, tmp);
8497   ;
8498   return 0;
8499 }
8500 _ACEOF
8501 rm -f conftest.$ac_objext
8502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8503   (eval $ac_compile) 2>conftest.er1
8504   ac_status=$?
8505   grep -v '^ *+' conftest.er1 >conftest.err
8506   rm -f conftest.er1
8507   cat conftest.err >&5
8508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8509   (exit $ac_status); } &&
8510          { ac_try='test -z "$ac_cxx_werror_flag"
8511                          || test ! -s conftest.err'
8512   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8513   (eval $ac_try) 2>&5
8514   ac_status=$?
8515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8516   (exit $ac_status); }; } &&
8517          { ac_try='test -s conftest.$ac_objext'
8518   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8519   (eval $ac_try) 2>&5
8520   ac_status=$?
8521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8522   (exit $ac_status); }; }; then
8523   :
8524 else
8525   echo "$as_me: failed program was:" >&5
8526 sed 's/^/| /' conftest.$ac_ext >&5
8527
8528 ac_c99_complex=no
8529 fi
8530 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8531     cat >conftest.$ac_ext <<_ACEOF
8532 /* confdefs.h.  */
8533 _ACEOF
8534 cat confdefs.h >>conftest.$ac_ext
8535 cat >>conftest.$ac_ext <<_ACEOF
8536 /* end confdefs.h.  */
8537 #include <complex.h>
8538 int
8539 main ()
8540 {
8541 typedef __complex__ double _ComplexT; _ComplexT tmp;
8542                     cpow(tmp, tmp);
8543   ;
8544   return 0;
8545 }
8546 _ACEOF
8547 rm -f conftest.$ac_objext
8548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8549   (eval $ac_compile) 2>conftest.er1
8550   ac_status=$?
8551   grep -v '^ *+' conftest.er1 >conftest.err
8552   rm -f conftest.er1
8553   cat conftest.err >&5
8554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8555   (exit $ac_status); } &&
8556          { ac_try='test -z "$ac_cxx_werror_flag"
8557                          || test ! -s conftest.err'
8558   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8559   (eval $ac_try) 2>&5
8560   ac_status=$?
8561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8562   (exit $ac_status); }; } &&
8563          { ac_try='test -s conftest.$ac_objext'
8564   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8565   (eval $ac_try) 2>&5
8566   ac_status=$?
8567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8568   (exit $ac_status); }; }; then
8569   :
8570 else
8571   echo "$as_me: failed program was:" >&5
8572 sed 's/^/| /' conftest.$ac_ext >&5
8573
8574 ac_c99_complex=no
8575 fi
8576 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8577     cat >conftest.$ac_ext <<_ACEOF
8578 /* confdefs.h.  */
8579 _ACEOF
8580 cat confdefs.h >>conftest.$ac_ext
8581 cat >>conftest.$ac_ext <<_ACEOF
8582 /* end confdefs.h.  */
8583 #include <complex.h>
8584 int
8585 main ()
8586 {
8587 typedef __complex__ long double _ComplexT; _ComplexT tmp;
8588                     cpowl(tmp, tmp);
8589   ;
8590   return 0;
8591 }
8592 _ACEOF
8593 rm -f conftest.$ac_objext
8594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8595   (eval $ac_compile) 2>conftest.er1
8596   ac_status=$?
8597   grep -v '^ *+' conftest.er1 >conftest.err
8598   rm -f conftest.er1
8599   cat conftest.err >&5
8600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8601   (exit $ac_status); } &&
8602          { ac_try='test -z "$ac_cxx_werror_flag"
8603                          || test ! -s conftest.err'
8604   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8605   (eval $ac_try) 2>&5
8606   ac_status=$?
8607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8608   (exit $ac_status); }; } &&
8609          { ac_try='test -s conftest.$ac_objext'
8610   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8611   (eval $ac_try) 2>&5
8612   ac_status=$?
8613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8614   (exit $ac_status); }; }; then
8615   :
8616 else
8617   echo "$as_me: failed program was:" >&5
8618 sed 's/^/| /' conftest.$ac_ext >&5
8619
8620 ac_c99_complex=no
8621 fi
8622 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8623   fi
8624   echo "$as_me:$LINENO: result: $ac_c99_complex" >&5
8625 echo "${ECHO_T}$ac_c99_complex" >&6
8626
8627   if test x"$ac_c99_complex" = x"yes"; then
8628     cat >>confdefs.h <<\_ACEOF
8629 #define _GLIBCXX_USE_C99_COMPLEX 1
8630 _ACEOF
8631
8632   fi
8633
8634   # Check for the existence in <stdio.h> of vscanf, et. al.
8635   ac_c99_stdio=yes;
8636   echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
8637 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
8638   cat >conftest.$ac_ext <<_ACEOF
8639 /* confdefs.h.  */
8640 _ACEOF
8641 cat confdefs.h >>conftest.$ac_ext
8642 cat >>conftest.$ac_ext <<_ACEOF
8643 /* end confdefs.h.  */
8644 #include <stdio.h>
8645 int
8646 main ()
8647 {
8648 snprintf("12", 0, "%i");
8649   ;
8650   return 0;
8651 }
8652 _ACEOF
8653 rm -f conftest.$ac_objext
8654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8655   (eval $ac_compile) 2>conftest.er1
8656   ac_status=$?
8657   grep -v '^ *+' conftest.er1 >conftest.err
8658   rm -f conftest.er1
8659   cat conftest.err >&5
8660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8661   (exit $ac_status); } &&
8662          { ac_try='test -z "$ac_cxx_werror_flag"
8663                          || test ! -s conftest.err'
8664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8665   (eval $ac_try) 2>&5
8666   ac_status=$?
8667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8668   (exit $ac_status); }; } &&
8669          { ac_try='test -s conftest.$ac_objext'
8670   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8671   (eval $ac_try) 2>&5
8672   ac_status=$?
8673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8674   (exit $ac_status); }; }; then
8675   :
8676 else
8677   echo "$as_me: failed program was:" >&5
8678 sed 's/^/| /' conftest.$ac_ext >&5
8679
8680 ac_c99_stdio=no
8681 fi
8682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8683   cat >conftest.$ac_ext <<_ACEOF
8684 /* confdefs.h.  */
8685 _ACEOF
8686 cat confdefs.h >>conftest.$ac_ext
8687 cat >>conftest.$ac_ext <<_ACEOF
8688 /* end confdefs.h.  */
8689 #include <stdio.h>
8690                   #include <stdarg.h>
8691                   void foo(char* fmt, ...)
8692                   {va_list args; va_start(args, fmt);
8693                   vfscanf(stderr, "%i", args);}
8694 int
8695 main ()
8696 {
8697
8698   ;
8699   return 0;
8700 }
8701 _ACEOF
8702 rm -f conftest.$ac_objext
8703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8704   (eval $ac_compile) 2>conftest.er1
8705   ac_status=$?
8706   grep -v '^ *+' conftest.er1 >conftest.err
8707   rm -f conftest.er1
8708   cat conftest.err >&5
8709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8710   (exit $ac_status); } &&
8711          { ac_try='test -z "$ac_cxx_werror_flag"
8712                          || test ! -s conftest.err'
8713   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8714   (eval $ac_try) 2>&5
8715   ac_status=$?
8716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8717   (exit $ac_status); }; } &&
8718          { ac_try='test -s conftest.$ac_objext'
8719   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8720   (eval $ac_try) 2>&5
8721   ac_status=$?
8722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8723   (exit $ac_status); }; }; then
8724   :
8725 else
8726   echo "$as_me: failed program was:" >&5
8727 sed 's/^/| /' conftest.$ac_ext >&5
8728
8729 ac_c99_stdio=no
8730 fi
8731 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8732   cat >conftest.$ac_ext <<_ACEOF
8733 /* confdefs.h.  */
8734 _ACEOF
8735 cat confdefs.h >>conftest.$ac_ext
8736 cat >>conftest.$ac_ext <<_ACEOF
8737 /* end confdefs.h.  */
8738 #include <stdio.h>
8739                   #include <stdarg.h>
8740                   void foo(char* fmt, ...)
8741                   {va_list args; va_start(args, fmt);
8742                   vscanf("%i", args);}
8743 int
8744 main ()
8745 {
8746
8747   ;
8748   return 0;
8749 }
8750 _ACEOF
8751 rm -f conftest.$ac_objext
8752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8753   (eval $ac_compile) 2>conftest.er1
8754   ac_status=$?
8755   grep -v '^ *+' conftest.er1 >conftest.err
8756   rm -f conftest.er1
8757   cat conftest.err >&5
8758   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8759   (exit $ac_status); } &&
8760          { ac_try='test -z "$ac_cxx_werror_flag"
8761                          || test ! -s conftest.err'
8762   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8763   (eval $ac_try) 2>&5
8764   ac_status=$?
8765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8766   (exit $ac_status); }; } &&
8767          { ac_try='test -s conftest.$ac_objext'
8768   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8769   (eval $ac_try) 2>&5
8770   ac_status=$?
8771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8772   (exit $ac_status); }; }; then
8773   :
8774 else
8775   echo "$as_me: failed program was:" >&5
8776 sed 's/^/| /' conftest.$ac_ext >&5
8777
8778 ac_c99_stdio=no
8779 fi
8780 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8781   cat >conftest.$ac_ext <<_ACEOF
8782 /* confdefs.h.  */
8783 _ACEOF
8784 cat confdefs.h >>conftest.$ac_ext
8785 cat >>conftest.$ac_ext <<_ACEOF
8786 /* end confdefs.h.  */
8787 #include <stdio.h>
8788                   #include <stdarg.h>
8789                   void foo(char* fmt, ...)
8790                   {va_list args; va_start(args, fmt);
8791                   vsnprintf(fmt, 0, "%i", args);}
8792 int
8793 main ()
8794 {
8795
8796   ;
8797   return 0;
8798 }
8799 _ACEOF
8800 rm -f conftest.$ac_objext
8801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8802   (eval $ac_compile) 2>conftest.er1
8803   ac_status=$?
8804   grep -v '^ *+' conftest.er1 >conftest.err
8805   rm -f conftest.er1
8806   cat conftest.err >&5
8807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8808   (exit $ac_status); } &&
8809          { ac_try='test -z "$ac_cxx_werror_flag"
8810                          || test ! -s conftest.err'
8811   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8812   (eval $ac_try) 2>&5
8813   ac_status=$?
8814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8815   (exit $ac_status); }; } &&
8816          { ac_try='test -s conftest.$ac_objext'
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   :
8823 else
8824   echo "$as_me: failed program was:" >&5
8825 sed 's/^/| /' conftest.$ac_ext >&5
8826
8827 ac_c99_stdio=no
8828 fi
8829 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8830   cat >conftest.$ac_ext <<_ACEOF
8831 /* confdefs.h.  */
8832 _ACEOF
8833 cat confdefs.h >>conftest.$ac_ext
8834 cat >>conftest.$ac_ext <<_ACEOF
8835 /* end confdefs.h.  */
8836 #include <stdio.h>
8837                   #include <stdarg.h>
8838                   void foo(char* fmt, ...)
8839                   {va_list args; va_start(args, fmt);
8840                   vsscanf(fmt, "%i", args);}
8841 int
8842 main ()
8843 {
8844
8845   ;
8846   return 0;
8847 }
8848 _ACEOF
8849 rm -f conftest.$ac_objext
8850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8851   (eval $ac_compile) 2>conftest.er1
8852   ac_status=$?
8853   grep -v '^ *+' conftest.er1 >conftest.err
8854   rm -f conftest.er1
8855   cat conftest.err >&5
8856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8857   (exit $ac_status); } &&
8858          { ac_try='test -z "$ac_cxx_werror_flag"
8859                          || test ! -s conftest.err'
8860   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8861   (eval $ac_try) 2>&5
8862   ac_status=$?
8863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8864   (exit $ac_status); }; } &&
8865          { ac_try='test -s conftest.$ac_objext'
8866   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8867   (eval $ac_try) 2>&5
8868   ac_status=$?
8869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8870   (exit $ac_status); }; }; then
8871   :
8872 else
8873   echo "$as_me: failed program was:" >&5
8874 sed 's/^/| /' conftest.$ac_ext >&5
8875
8876 ac_c99_stdio=no
8877 fi
8878 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8879   echo "$as_me:$LINENO: result: $ac_c99_stdio" >&5
8880 echo "${ECHO_T}$ac_c99_stdio" >&6
8881
8882   # Check for the existence in <stdlib.h> of lldiv_t, et. al.
8883   ac_c99_stdlib=yes;
8884   echo "$as_me:$LINENO: checking for lldiv_t declaration" >&5
8885 echo $ECHO_N "checking for lldiv_t declaration... $ECHO_C" >&6
8886   if test "${ac_c99_lldiv_t+set}" = set; then
8887   echo $ECHO_N "(cached) $ECHO_C" >&6
8888 else
8889
8890   cat >conftest.$ac_ext <<_ACEOF
8891 /* confdefs.h.  */
8892 _ACEOF
8893 cat confdefs.h >>conftest.$ac_ext
8894 cat >>conftest.$ac_ext <<_ACEOF
8895 /* end confdefs.h.  */
8896 #include <stdlib.h>
8897 int
8898 main ()
8899 {
8900  lldiv_t mydivt;
8901   ;
8902   return 0;
8903 }
8904 _ACEOF
8905 rm -f conftest.$ac_objext
8906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8907   (eval $ac_compile) 2>conftest.er1
8908   ac_status=$?
8909   grep -v '^ *+' conftest.er1 >conftest.err
8910   rm -f conftest.er1
8911   cat conftest.err >&5
8912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8913   (exit $ac_status); } &&
8914          { ac_try='test -z "$ac_cxx_werror_flag"
8915                          || test ! -s conftest.err'
8916   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8917   (eval $ac_try) 2>&5
8918   ac_status=$?
8919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8920   (exit $ac_status); }; } &&
8921          { ac_try='test -s conftest.$ac_objext'
8922   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8923   (eval $ac_try) 2>&5
8924   ac_status=$?
8925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8926   (exit $ac_status); }; }; then
8927   ac_c99_lldiv_t=yes
8928 else
8929   echo "$as_me: failed program was:" >&5
8930 sed 's/^/| /' conftest.$ac_ext >&5
8931
8932 ac_c99_lldiv_t=no
8933 fi
8934 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8935
8936 fi
8937
8938   echo "$as_me:$LINENO: result: $ac_c99_lldiv_t" >&5
8939 echo "${ECHO_T}$ac_c99_lldiv_t" >&6
8940
8941   echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
8942 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
8943   cat >conftest.$ac_ext <<_ACEOF
8944 /* confdefs.h.  */
8945 _ACEOF
8946 cat confdefs.h >>conftest.$ac_ext
8947 cat >>conftest.$ac_ext <<_ACEOF
8948 /* end confdefs.h.  */
8949 #include <stdlib.h>
8950 int
8951 main ()
8952 {
8953 char* tmp; strtof("gnu", &tmp);
8954   ;
8955   return 0;
8956 }
8957 _ACEOF
8958 rm -f conftest.$ac_objext
8959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8960   (eval $ac_compile) 2>conftest.er1
8961   ac_status=$?
8962   grep -v '^ *+' conftest.er1 >conftest.err
8963   rm -f conftest.er1
8964   cat conftest.err >&5
8965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8966   (exit $ac_status); } &&
8967          { ac_try='test -z "$ac_cxx_werror_flag"
8968                          || test ! -s conftest.err'
8969   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8970   (eval $ac_try) 2>&5
8971   ac_status=$?
8972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8973   (exit $ac_status); }; } &&
8974          { ac_try='test -s conftest.$ac_objext'
8975   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8976   (eval $ac_try) 2>&5
8977   ac_status=$?
8978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
8979   (exit $ac_status); }; }; then
8980   :
8981 else
8982   echo "$as_me: failed program was:" >&5
8983 sed 's/^/| /' conftest.$ac_ext >&5
8984
8985 ac_c99_stdlib=no
8986 fi
8987 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8988   cat >conftest.$ac_ext <<_ACEOF
8989 /* confdefs.h.  */
8990 _ACEOF
8991 cat confdefs.h >>conftest.$ac_ext
8992 cat >>conftest.$ac_ext <<_ACEOF
8993 /* end confdefs.h.  */
8994 #include <stdlib.h>
8995 int
8996 main ()
8997 {
8998 char* tmp; strtold("gnu", &tmp);
8999   ;
9000   return 0;
9001 }
9002 _ACEOF
9003 rm -f conftest.$ac_objext
9004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9005   (eval $ac_compile) 2>conftest.er1
9006   ac_status=$?
9007   grep -v '^ *+' conftest.er1 >conftest.err
9008   rm -f conftest.er1
9009   cat conftest.err >&5
9010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9011   (exit $ac_status); } &&
9012          { ac_try='test -z "$ac_cxx_werror_flag"
9013                          || test ! -s conftest.err'
9014   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9015   (eval $ac_try) 2>&5
9016   ac_status=$?
9017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9018   (exit $ac_status); }; } &&
9019          { ac_try='test -s conftest.$ac_objext'
9020   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9021   (eval $ac_try) 2>&5
9022   ac_status=$?
9023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9024   (exit $ac_status); }; }; then
9025   :
9026 else
9027   echo "$as_me: failed program was:" >&5
9028 sed 's/^/| /' conftest.$ac_ext >&5
9029
9030 ac_c99_stdlib=no
9031 fi
9032 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9033   cat >conftest.$ac_ext <<_ACEOF
9034 /* confdefs.h.  */
9035 _ACEOF
9036 cat confdefs.h >>conftest.$ac_ext
9037 cat >>conftest.$ac_ext <<_ACEOF
9038 /* end confdefs.h.  */
9039 #include <stdlib.h>
9040 int
9041 main ()
9042 {
9043 llabs(10);
9044   ;
9045   return 0;
9046 }
9047 _ACEOF
9048 rm -f conftest.$ac_objext
9049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9050   (eval $ac_compile) 2>conftest.er1
9051   ac_status=$?
9052   grep -v '^ *+' conftest.er1 >conftest.err
9053   rm -f conftest.er1
9054   cat conftest.err >&5
9055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9056   (exit $ac_status); } &&
9057          { ac_try='test -z "$ac_cxx_werror_flag"
9058                          || test ! -s conftest.err'
9059   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9060   (eval $ac_try) 2>&5
9061   ac_status=$?
9062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9063   (exit $ac_status); }; } &&
9064          { ac_try='test -s conftest.$ac_objext'
9065   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9066   (eval $ac_try) 2>&5
9067   ac_status=$?
9068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9069   (exit $ac_status); }; }; then
9070   :
9071 else
9072   echo "$as_me: failed program was:" >&5
9073 sed 's/^/| /' conftest.$ac_ext >&5
9074
9075 ac_c99_stdlib=no
9076 fi
9077 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9078   cat >conftest.$ac_ext <<_ACEOF
9079 /* confdefs.h.  */
9080 _ACEOF
9081 cat confdefs.h >>conftest.$ac_ext
9082 cat >>conftest.$ac_ext <<_ACEOF
9083 /* end confdefs.h.  */
9084 #include <stdlib.h>
9085 int
9086 main ()
9087 {
9088 lldiv(10,1);
9089   ;
9090   return 0;
9091 }
9092 _ACEOF
9093 rm -f conftest.$ac_objext
9094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9095   (eval $ac_compile) 2>conftest.er1
9096   ac_status=$?
9097   grep -v '^ *+' conftest.er1 >conftest.err
9098   rm -f conftest.er1
9099   cat conftest.err >&5
9100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9101   (exit $ac_status); } &&
9102          { ac_try='test -z "$ac_cxx_werror_flag"
9103                          || test ! -s conftest.err'
9104   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9105   (eval $ac_try) 2>&5
9106   ac_status=$?
9107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9108   (exit $ac_status); }; } &&
9109          { ac_try='test -s conftest.$ac_objext'
9110   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9111   (eval $ac_try) 2>&5
9112   ac_status=$?
9113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9114   (exit $ac_status); }; }; then
9115   :
9116 else
9117   echo "$as_me: failed program was:" >&5
9118 sed 's/^/| /' conftest.$ac_ext >&5
9119
9120 ac_c99_stdlib=no
9121 fi
9122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9123   cat >conftest.$ac_ext <<_ACEOF
9124 /* confdefs.h.  */
9125 _ACEOF
9126 cat confdefs.h >>conftest.$ac_ext
9127 cat >>conftest.$ac_ext <<_ACEOF
9128 /* end confdefs.h.  */
9129 #include <stdlib.h>
9130 int
9131 main ()
9132 {
9133 atoll("10");
9134   ;
9135   return 0;
9136 }
9137 _ACEOF
9138 rm -f conftest.$ac_objext
9139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9140   (eval $ac_compile) 2>conftest.er1
9141   ac_status=$?
9142   grep -v '^ *+' conftest.er1 >conftest.err
9143   rm -f conftest.er1
9144   cat conftest.err >&5
9145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9146   (exit $ac_status); } &&
9147          { ac_try='test -z "$ac_cxx_werror_flag"
9148                          || test ! -s conftest.err'
9149   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9150   (eval $ac_try) 2>&5
9151   ac_status=$?
9152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9153   (exit $ac_status); }; } &&
9154          { ac_try='test -s conftest.$ac_objext'
9155   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9156   (eval $ac_try) 2>&5
9157   ac_status=$?
9158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9159   (exit $ac_status); }; }; then
9160   :
9161 else
9162   echo "$as_me: failed program was:" >&5
9163 sed 's/^/| /' conftest.$ac_ext >&5
9164
9165 ac_c99_stdlib=no
9166 fi
9167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9168   cat >conftest.$ac_ext <<_ACEOF
9169 /* confdefs.h.  */
9170 _ACEOF
9171 cat confdefs.h >>conftest.$ac_ext
9172 cat >>conftest.$ac_ext <<_ACEOF
9173 /* end confdefs.h.  */
9174 #include <stdlib.h>
9175 int
9176 main ()
9177 {
9178 _Exit(0);
9179   ;
9180   return 0;
9181 }
9182 _ACEOF
9183 rm -f conftest.$ac_objext
9184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9185   (eval $ac_compile) 2>conftest.er1
9186   ac_status=$?
9187   grep -v '^ *+' conftest.er1 >conftest.err
9188   rm -f conftest.er1
9189   cat conftest.err >&5
9190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9191   (exit $ac_status); } &&
9192          { ac_try='test -z "$ac_cxx_werror_flag"
9193                          || test ! -s conftest.err'
9194   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9195   (eval $ac_try) 2>&5
9196   ac_status=$?
9197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9198   (exit $ac_status); }; } &&
9199          { ac_try='test -s conftest.$ac_objext'
9200   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9201   (eval $ac_try) 2>&5
9202   ac_status=$?
9203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9204   (exit $ac_status); }; }; then
9205   :
9206 else
9207   echo "$as_me: failed program was:" >&5
9208 sed 's/^/| /' conftest.$ac_ext >&5
9209
9210 ac_c99_stdlib=no
9211 fi
9212 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9213   if test x"$ac_c99_lldiv_t" = x"no"; then
9214     ac_c99_stdlib=no;
9215   fi;
9216   echo "$as_me:$LINENO: result: $ac_c99_stdlib" >&5
9217 echo "${ECHO_T}$ac_c99_stdlib" >&6
9218
9219   # Check for the existence of <wchar.h> functions used if C99 is enabled.
9220   # XXX the wchar.h checks should be rolled into the general C99 bits.
9221   ac_c99_wchar=yes;
9222   echo "$as_me:$LINENO: checking for additional ISO C99 support in <wchar.h>" >&5
9223 echo $ECHO_N "checking for additional ISO C99 support in <wchar.h>... $ECHO_C" >&6
9224   cat >conftest.$ac_ext <<_ACEOF
9225 /* confdefs.h.  */
9226 _ACEOF
9227 cat confdefs.h >>conftest.$ac_ext
9228 cat >>conftest.$ac_ext <<_ACEOF
9229 /* end confdefs.h.  */
9230 #include <wchar.h>
9231 int
9232 main ()
9233 {
9234 wcstold(L"10.0", NULL);
9235   ;
9236   return 0;
9237 }
9238 _ACEOF
9239 rm -f conftest.$ac_objext
9240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9241   (eval $ac_compile) 2>conftest.er1
9242   ac_status=$?
9243   grep -v '^ *+' conftest.er1 >conftest.err
9244   rm -f conftest.er1
9245   cat conftest.err >&5
9246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9247   (exit $ac_status); } &&
9248          { ac_try='test -z "$ac_cxx_werror_flag"
9249                          || test ! -s conftest.err'
9250   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9251   (eval $ac_try) 2>&5
9252   ac_status=$?
9253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9254   (exit $ac_status); }; } &&
9255          { ac_try='test -s conftest.$ac_objext'
9256   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9257   (eval $ac_try) 2>&5
9258   ac_status=$?
9259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9260   (exit $ac_status); }; }; then
9261   :
9262 else
9263   echo "$as_me: failed program was:" >&5
9264 sed 's/^/| /' conftest.$ac_ext >&5
9265
9266 ac_c99_wchar=no
9267 fi
9268 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9269   cat >conftest.$ac_ext <<_ACEOF
9270 /* confdefs.h.  */
9271 _ACEOF
9272 cat confdefs.h >>conftest.$ac_ext
9273 cat >>conftest.$ac_ext <<_ACEOF
9274 /* end confdefs.h.  */
9275 #include <wchar.h>
9276 int
9277 main ()
9278 {
9279 wcstoll(L"10", NULL, 10);
9280   ;
9281   return 0;
9282 }
9283 _ACEOF
9284 rm -f conftest.$ac_objext
9285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9286   (eval $ac_compile) 2>conftest.er1
9287   ac_status=$?
9288   grep -v '^ *+' conftest.er1 >conftest.err
9289   rm -f conftest.er1
9290   cat conftest.err >&5
9291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9292   (exit $ac_status); } &&
9293          { ac_try='test -z "$ac_cxx_werror_flag"
9294                          || test ! -s conftest.err'
9295   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9296   (eval $ac_try) 2>&5
9297   ac_status=$?
9298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9299   (exit $ac_status); }; } &&
9300          { ac_try='test -s conftest.$ac_objext'
9301   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9302   (eval $ac_try) 2>&5
9303   ac_status=$?
9304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9305   (exit $ac_status); }; }; then
9306   :
9307 else
9308   echo "$as_me: failed program was:" >&5
9309 sed 's/^/| /' conftest.$ac_ext >&5
9310
9311 ac_c99_wchar=no
9312 fi
9313 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9314   cat >conftest.$ac_ext <<_ACEOF
9315 /* confdefs.h.  */
9316 _ACEOF
9317 cat confdefs.h >>conftest.$ac_ext
9318 cat >>conftest.$ac_ext <<_ACEOF
9319 /* end confdefs.h.  */
9320 #include <wchar.h>
9321 int
9322 main ()
9323 {
9324 wcstoull(L"10", NULL, 10);
9325   ;
9326   return 0;
9327 }
9328 _ACEOF
9329 rm -f conftest.$ac_objext
9330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9331   (eval $ac_compile) 2>conftest.er1
9332   ac_status=$?
9333   grep -v '^ *+' conftest.er1 >conftest.err
9334   rm -f conftest.er1
9335   cat conftest.err >&5
9336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9337   (exit $ac_status); } &&
9338          { ac_try='test -z "$ac_cxx_werror_flag"
9339                          || test ! -s conftest.err'
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); }; } &&
9345          { ac_try='test -s conftest.$ac_objext'
9346   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9347   (eval $ac_try) 2>&5
9348   ac_status=$?
9349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9350   (exit $ac_status); }; }; then
9351   :
9352 else
9353   echo "$as_me: failed program was:" >&5
9354 sed 's/^/| /' conftest.$ac_ext >&5
9355
9356 ac_c99_wchar=no
9357 fi
9358 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9359   echo "$as_me:$LINENO: result: $ac_c99_wchar" >&5
9360 echo "${ECHO_T}$ac_c99_wchar" >&6
9361
9362   echo "$as_me:$LINENO: checking for enabled ISO C99 support" >&5
9363 echo $ECHO_N "checking for enabled ISO C99 support... $ECHO_C" >&6
9364   if test x"$ac_c99_math" = x"no" ||
9365      test x"$ac_c99_complex" = x"no" ||
9366      test x"$ac_c99_stdio" = x"no" ||
9367      test x"$ac_c99_stdlib" = x"no" ||
9368      test x"$ac_c99_wchar" = x"no"; then
9369     enable_c99=no;
9370   fi;
9371   echo "$as_me:$LINENO: result: $enable_c99" >&5
9372 echo "${ECHO_T}$enable_c99" >&6
9373
9374   # Option parsed, now set things appropriately
9375   if test x"$enable_c99" = x"yes"; then
9376     cat >>confdefs.h <<\_ACEOF
9377 #define _GLIBCXX_USE_C99 1
9378 _ACEOF
9379
9380   fi
9381
9382   ac_ext=c
9383 ac_cpp='$CPP $CPPFLAGS'
9384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9387
9388
9389
9390    # Check whether --enable-long-long or --disable-long-long was given.
9391 if test "${enable_long_long+set}" = set; then
9392   enableval="$enable_long_long"
9393
9394       case "$enableval" in
9395        yes|no) ;;
9396        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
9397 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
9398    { (exit 1); exit 1; }; } ;;
9399       esac
9400
9401 else
9402   enable_long_long=yes
9403 fi;
9404
9405   if test $enable_long_long = yes; then
9406     cat >>confdefs.h <<\_ACEOF
9407 #define _GLIBCXX_USE_LONG_LONG 1
9408 _ACEOF
9409
9410   fi
9411
9412
9413   echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
9414 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
9415   target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
9416   echo "$as_me:$LINENO: result: $target_thread_file" >&5
9417 echo "${ECHO_T}$target_thread_file" >&6
9418
9419   if test $target_thread_file != single; then
9420     cat >>confdefs.h <<\_ACEOF
9421 #define HAVE_GTHR_DEFAULT 1
9422 _ACEOF
9423
9424   fi
9425
9426   glibcxx_thread_h=gthr-$target_thread_file.h
9427
9428     gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
9429   if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
9430     enable_thread=yes
9431   else
9432    enable_thread=no
9433   fi
9434
9435
9436
9437
9438    # Check whether --enable-concept-checks or --disable-concept-checks was given.
9439 if test "${enable_concept_checks+set}" = set; then
9440   enableval="$enable_concept_checks"
9441
9442       case "$enableval" in
9443        yes|no) ;;
9444        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
9445 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
9446    { (exit 1); exit 1; }; } ;;
9447       esac
9448
9449 else
9450   enable_concept_checks=no
9451 fi;
9452
9453   if test $enable_concept_checks = yes; then
9454     cat >>confdefs.h <<\_ACEOF
9455 #define _GLIBCXX_CONCEPT_CHECKS 1
9456 _ACEOF
9457
9458   fi
9459
9460
9461    # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
9462 if test "${enable_libstdcxx_debug_flags+set}" = set; then
9463   enableval="$enable_libstdcxx_debug_flags"
9464   case "x$enable_libstdcxx_debug_flags" in
9465       xno | x)    enable_libstdcxx_debug_flags= ;;
9466       x-*)        ;;
9467       *)          { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
9468 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
9469    { (exit 1); exit 1; }; } ;;
9470      esac
9471 else
9472   enable_libstdcxx_debug_flags="-g3 -O0"
9473 fi;
9474
9475
9476   # Option parsed, now set things appropriately
9477   DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
9478
9479
9480   { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
9481 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
9482
9483
9484   echo "$as_me:$LINENO: checking for additional debug build" >&5
9485 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
9486    # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
9487 if test "${enable_libstdcxx_debug+set}" = set; then
9488   enableval="$enable_libstdcxx_debug"
9489
9490       case "$enableval" in
9491        yes|no) ;;
9492        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
9493 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
9494    { (exit 1); exit 1; }; } ;;
9495       esac
9496
9497 else
9498   enable_libstdcxx_debug=no
9499 fi;
9500
9501   echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
9502 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
9503
9504
9505   echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
9506 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
9507    # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
9508 if test "${enable_cxx_flags+set}" = set; then
9509   enableval="$enable_cxx_flags"
9510   case "x$enable_cxx_flags" in
9511       xno | x)   enable_cxx_flags= ;;
9512       x-*)       ;;
9513       *)         { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
9514 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
9515    { (exit 1); exit 1; }; } ;;
9516      esac
9517 else
9518   enable_cxx_flags=
9519 fi;
9520
9521
9522   # Run through flags (either default or command-line) and set anything
9523   # extra (e.g., #defines) that must accompany particular g++ options.
9524   if test -n "$enable_cxx_flags"; then
9525     for f in $enable_cxx_flags; do
9526       case "$f" in
9527         -fhonor-std)  ;;
9528         -*)  ;;
9529         *)   # and we're trying to pass /what/ exactly?
9530              { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
9531 echo "$as_me: error: compiler flags start with a -" >&2;}
9532    { (exit 1); exit 1; }; } ;;
9533       esac
9534     done
9535   fi
9536
9537   EXTRA_CXX_FLAGS="$enable_cxx_flags"
9538   echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
9539 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
9540
9541
9542
9543    # Check whether --enable-fully-dynamic-string or --disable-fully-dynamic-string was given.
9544 if test "${enable_fully_dynamic_string+set}" = set; then
9545   enableval="$enable_fully_dynamic_string"
9546
9547       case "$enableval" in
9548        yes|no) ;;
9549        *) { { echo "$as_me:$LINENO: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&5
9550 echo "$as_me: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&2;}
9551    { (exit 1); exit 1; }; } ;;
9552       esac
9553
9554 else
9555   enable_fully_dynamic_string=no
9556 fi;
9557
9558   if test $enable_fully_dynamic_string = yes; then
9559     cat >>confdefs.h <<\_ACEOF
9560 #define _GLIBCXX_FULLY_DYNAMIC_STRING 1
9561 _ACEOF
9562
9563   fi
9564
9565
9566 # No surprises, no surprises...
9567 if test $atomicity_dir = cpu/generic ; then
9568   { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
9569 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
9570   if test $target_thread_file = single; then
9571     { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
9572 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
9573     { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
9574 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
9575   else
9576     { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
9577 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
9578     { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
9579 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
9580   fi
9581 fi
9582
9583
9584 if $GLIBCXX_IS_NATIVE; then
9585
9586   # We can do more elaborate tests that assume a working linker.
9587   CANADIAN=no
9588
9589   # Check for available headers.
9590
9591
9592
9593
9594
9595
9596
9597
9598
9599
9600
9601
9602
9603
9604
9605 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
9606   machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
9607   sys/types.h sys/ipc.h sys/sem.h
9608 do
9609 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9610 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9611   echo "$as_me:$LINENO: checking for $ac_header" >&5
9612 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9613 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9614   echo $ECHO_N "(cached) $ECHO_C" >&6
9615 fi
9616 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9617 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9618 else
9619   # Is the header compilable?
9620 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9621 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9622 cat >conftest.$ac_ext <<_ACEOF
9623 /* confdefs.h.  */
9624 _ACEOF
9625 cat confdefs.h >>conftest.$ac_ext
9626 cat >>conftest.$ac_ext <<_ACEOF
9627 /* end confdefs.h.  */
9628 $ac_includes_default
9629 #include <$ac_header>
9630 _ACEOF
9631 rm -f conftest.$ac_objext
9632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9633   (eval $ac_compile) 2>conftest.er1
9634   ac_status=$?
9635   grep -v '^ *+' conftest.er1 >conftest.err
9636   rm -f conftest.er1
9637   cat conftest.err >&5
9638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9639   (exit $ac_status); } &&
9640          { ac_try='test -z "$ac_c_werror_flag"
9641                          || test ! -s conftest.err'
9642   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9643   (eval $ac_try) 2>&5
9644   ac_status=$?
9645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9646   (exit $ac_status); }; } &&
9647          { ac_try='test -s conftest.$ac_objext'
9648   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9649   (eval $ac_try) 2>&5
9650   ac_status=$?
9651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9652   (exit $ac_status); }; }; then
9653   ac_header_compiler=yes
9654 else
9655   echo "$as_me: failed program was:" >&5
9656 sed 's/^/| /' conftest.$ac_ext >&5
9657
9658 ac_header_compiler=no
9659 fi
9660 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9661 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9662 echo "${ECHO_T}$ac_header_compiler" >&6
9663
9664 # Is the header present?
9665 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9666 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9667 cat >conftest.$ac_ext <<_ACEOF
9668 /* confdefs.h.  */
9669 _ACEOF
9670 cat confdefs.h >>conftest.$ac_ext
9671 cat >>conftest.$ac_ext <<_ACEOF
9672 /* end confdefs.h.  */
9673 #include <$ac_header>
9674 _ACEOF
9675 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9676   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9677   ac_status=$?
9678   grep -v '^ *+' conftest.er1 >conftest.err
9679   rm -f conftest.er1
9680   cat conftest.err >&5
9681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9682   (exit $ac_status); } >/dev/null; then
9683   if test -s conftest.err; then
9684     ac_cpp_err=$ac_c_preproc_warn_flag
9685     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9686   else
9687     ac_cpp_err=
9688   fi
9689 else
9690   ac_cpp_err=yes
9691 fi
9692 if test -z "$ac_cpp_err"; then
9693   ac_header_preproc=yes
9694 else
9695   echo "$as_me: failed program was:" >&5
9696 sed 's/^/| /' conftest.$ac_ext >&5
9697
9698   ac_header_preproc=no
9699 fi
9700 rm -f conftest.err conftest.$ac_ext
9701 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9702 echo "${ECHO_T}$ac_header_preproc" >&6
9703
9704 # So?  What about this header?
9705 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9706   yes:no: )
9707     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9708 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9709     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9710 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9711     ac_header_preproc=yes
9712     ;;
9713   no:yes:* )
9714     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9715 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9716     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
9717 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
9718     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9719 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9720     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
9721 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
9722     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9723 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9724     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9725 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9726     (
9727       cat <<\_ASBOX
9728 ## ----------------------------------------- ##
9729 ## Report this to the package-unused lists.  ##
9730 ## ----------------------------------------- ##
9731 _ASBOX
9732     ) |
9733       sed "s/^/$as_me: WARNING:     /" >&2
9734     ;;
9735 esac
9736 echo "$as_me:$LINENO: checking for $ac_header" >&5
9737 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9738 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9739   echo $ECHO_N "(cached) $ECHO_C" >&6
9740 else
9741   eval "$as_ac_Header=\$ac_header_preproc"
9742 fi
9743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9744 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9745
9746 fi
9747 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9748   cat >>confdefs.h <<_ACEOF
9749 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9750 _ACEOF
9751
9752 fi
9753
9754 done
9755
9756
9757
9758   # All these tests are for C++; save the language and the compiler flags.
9759   # The CXXFLAGS thing is suspicious, but based on similar bits previously
9760   # found in GLIBCXX_CONFIGURE.
9761
9762
9763   ac_ext=cc
9764 ac_cpp='$CXXCPP $CPPFLAGS'
9765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9768
9769   ac_test_CXXFLAGS="${CXXFLAGS+set}"
9770   ac_save_CXXFLAGS="$CXXFLAGS"
9771
9772   # Check for maintainer-mode bits.
9773   if test x"$USE_MAINTAINER_MODE" = xno; then
9774     WERROR=''
9775   else
9776     WERROR='-Werror'
9777   fi
9778
9779   # Check for -ffunction-sections -fdata-sections
9780   echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
9781 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
9782   CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
9783   cat >conftest.$ac_ext <<_ACEOF
9784 /* confdefs.h.  */
9785 _ACEOF
9786 cat confdefs.h >>conftest.$ac_ext
9787 cat >>conftest.$ac_ext <<_ACEOF
9788 /* end confdefs.h.  */
9789
9790 int
9791 main ()
9792 {
9793 int foo;
9794   ;
9795   return 0;
9796 }
9797 _ACEOF
9798 rm -f conftest.$ac_objext
9799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9800   (eval $ac_compile) 2>conftest.er1
9801   ac_status=$?
9802   grep -v '^ *+' conftest.er1 >conftest.err
9803   rm -f conftest.er1
9804   cat conftest.err >&5
9805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9806   (exit $ac_status); } &&
9807          { ac_try='test -z "$ac_cxx_werror_flag"
9808                          || test ! -s conftest.err'
9809   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9810   (eval $ac_try) 2>&5
9811   ac_status=$?
9812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9813   (exit $ac_status); }; } &&
9814          { ac_try='test -s conftest.$ac_objext'
9815   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9816   (eval $ac_try) 2>&5
9817   ac_status=$?
9818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9819   (exit $ac_status); }; }; then
9820   ac_fdsections=yes
9821 else
9822   echo "$as_me: failed program was:" >&5
9823 sed 's/^/| /' conftest.$ac_ext >&5
9824
9825 ac_fdsections=no
9826 fi
9827 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9828   if test "$ac_test_CXXFLAGS" = set; then
9829     CXXFLAGS="$ac_save_CXXFLAGS"
9830   else
9831     # this is the suspicious part
9832     CXXFLAGS=''
9833   fi
9834   if test x"$ac_fdsections" = x"yes"; then
9835     SECTION_FLAGS='-ffunction-sections -fdata-sections'
9836   fi
9837   echo "$as_me:$LINENO: result: $ac_fdsections" >&5
9838 echo "${ECHO_T}$ac_fdsections" >&6
9839
9840   ac_ext=c
9841 ac_cpp='$CPP $CPPFLAGS'
9842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9845
9846
9847
9848
9849
9850   # If we're not using GNU ld, then there's no point in even trying these
9851   # tests.  Check for that first.  We should have already tested for gld
9852   # by now (in libtool), but require it now just to be safe...
9853   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
9854   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
9855
9856
9857
9858   # The name set by libtool depends on the version of libtool.  Shame on us
9859   # for depending on an impl detail, but c'est la vie.  Older versions used
9860   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
9861   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
9862   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
9863   # set (hence we're using an older libtool), then set it.
9864   if test x${with_gnu_ld+set} != xset; then
9865     if test x${ac_cv_prog_gnu_ld+set} != xset; then
9866       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
9867       with_gnu_ld=no
9868     else
9869       with_gnu_ld=$ac_cv_prog_gnu_ld
9870     fi
9871   fi
9872
9873   # Start by getting the version number.  I think the libtool test already
9874   # does some of this, but throws away the result.
9875
9876   ldver=`$LD --version 2>/dev/null | head -1 | \
9877          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
9878
9879   glibcxx_gnu_ld_version=`echo $ldver | \
9880          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
9881
9882   # Set --gc-sections.
9883   if test "$with_gnu_ld" = "notbroken"; then
9884     # GNU ld it is!  Joy and bunny rabbits!
9885
9886     # All these tests are for C++; save the language and the compiler flags.
9887     # Need to do this so that g++ won't try to link in libstdc++
9888     ac_test_CFLAGS="${CFLAGS+set}"
9889     ac_save_CFLAGS="$CFLAGS"
9890     CFLAGS='-x c++  -Wl,--gc-sections'
9891
9892     # Check for -Wl,--gc-sections
9893     # XXX This test is broken at the moment, as symbols required for linking
9894     # are now in libsupc++ (not built yet).  In addition, this test has
9895     # cored on solaris in the past.  In addition, --gc-sections doesn't
9896     # really work at the moment (keeps on discarding used sections, first
9897     # .eh_frame and now some of the glibc sections for iconv).
9898     # Bzzzzt.  Thanks for playing, maybe next time.
9899     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
9900 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
9901     if test "$cross_compiling" = yes; then
9902   ac_sectionLDflags=yes
9903 else
9904   cat >conftest.$ac_ext <<_ACEOF
9905 /* confdefs.h.  */
9906 _ACEOF
9907 cat confdefs.h >>conftest.$ac_ext
9908 cat >>conftest.$ac_ext <<_ACEOF
9909 /* end confdefs.h.  */
9910
9911      int main(void)
9912      {
9913        try { throw 1; }
9914        catch (...) { };
9915        return 0;
9916      }
9917
9918 _ACEOF
9919 rm -f conftest$ac_exeext
9920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9921   (eval $ac_link) 2>&5
9922   ac_status=$?
9923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9924   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9925   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9926   (eval $ac_try) 2>&5
9927   ac_status=$?
9928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
9929   (exit $ac_status); }; }; then
9930   ac_sectionLDflags=yes
9931 else
9932   echo "$as_me: program exited with status $ac_status" >&5
9933 echo "$as_me: failed program was:" >&5
9934 sed 's/^/| /' conftest.$ac_ext >&5
9935
9936 ( exit $ac_status )
9937 ac_sectionLDflags=no
9938 fi
9939 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9940 fi
9941     if test "$ac_test_CFLAGS" = set; then
9942       CFLAGS="$ac_save_CFLAGS"
9943     else
9944       # this is the suspicious part
9945       CFLAGS=''
9946     fi
9947     if test "$ac_sectionLDflags" = "yes"; then
9948       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
9949     fi
9950     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
9951 echo "${ECHO_T}$ac_sectionLDflags" >&6
9952   fi
9953
9954   # Set linker optimization flags.
9955   if test x"$with_gnu_ld" = x"yes"; then
9956     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
9957   fi
9958
9959
9960
9961
9962
9963   ac_test_CXXFLAGS="${CXXFLAGS+set}"
9964   ac_save_CXXFLAGS="$CXXFLAGS"
9965   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
9966
9967     echo "$as_me:$LINENO: checking for sin in -lm" >&5
9968 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
9969 if test "${ac_cv_lib_m_sin+set}" = set; then
9970   echo $ECHO_N "(cached) $ECHO_C" >&6
9971 else
9972   ac_check_lib_save_LIBS=$LIBS
9973 LIBS="-lm  $LIBS"
9974 if test x$gcc_no_link = xyes; then
9975   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9976 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9977    { (exit 1); exit 1; }; }
9978 fi
9979 cat >conftest.$ac_ext <<_ACEOF
9980 /* confdefs.h.  */
9981 _ACEOF
9982 cat confdefs.h >>conftest.$ac_ext
9983 cat >>conftest.$ac_ext <<_ACEOF
9984 /* end confdefs.h.  */
9985
9986 /* Override any gcc2 internal prototype to avoid an error.  */
9987 #ifdef __cplusplus
9988 extern "C"
9989 #endif
9990 /* We use char because int might match the return type of a gcc2
9991    builtin and then its argument prototype would still apply.  */
9992 char sin ();
9993 int
9994 main ()
9995 {
9996 sin ();
9997   ;
9998   return 0;
9999 }
10000 _ACEOF
10001 rm -f conftest.$ac_objext conftest$ac_exeext
10002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10003   (eval $ac_link) 2>conftest.er1
10004   ac_status=$?
10005   grep -v '^ *+' conftest.er1 >conftest.err
10006   rm -f conftest.er1
10007   cat conftest.err >&5
10008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10009   (exit $ac_status); } &&
10010          { ac_try='test -z "$ac_c_werror_flag"
10011                          || test ! -s conftest.err'
10012   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10013   (eval $ac_try) 2>&5
10014   ac_status=$?
10015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10016   (exit $ac_status); }; } &&
10017          { ac_try='test -s conftest$ac_exeext'
10018   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10019   (eval $ac_try) 2>&5
10020   ac_status=$?
10021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10022   (exit $ac_status); }; }; then
10023   ac_cv_lib_m_sin=yes
10024 else
10025   echo "$as_me: failed program was:" >&5
10026 sed 's/^/| /' conftest.$ac_ext >&5
10027
10028 ac_cv_lib_m_sin=no
10029 fi
10030 rm -f conftest.err conftest.$ac_objext \
10031       conftest$ac_exeext conftest.$ac_ext
10032 LIBS=$ac_check_lib_save_LIBS
10033 fi
10034 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
10035 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
10036 if test $ac_cv_lib_m_sin = yes; then
10037   libm="-lm"
10038 fi
10039
10040   ac_save_LIBS="$LIBS"
10041   LIBS="$LIBS $libm"
10042
10043
10044
10045   echo "$as_me:$LINENO: checking for isinf declaration" >&5
10046 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
10047   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
10048     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
10049   echo $ECHO_N "(cached) $ECHO_C" >&6
10050 else
10051
10052
10053
10054       ac_ext=cc
10055 ac_cpp='$CXXCPP $CPPFLAGS'
10056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10059
10060       cat >conftest.$ac_ext <<_ACEOF
10061 /* confdefs.h.  */
10062 _ACEOF
10063 cat confdefs.h >>conftest.$ac_ext
10064 cat >>conftest.$ac_ext <<_ACEOF
10065 /* end confdefs.h.  */
10066 #include <math.h>
10067                       #ifdef HAVE_IEEEFP_H
10068                       #include <ieeefp.h>
10069                       #endif
10070
10071 int
10072 main ()
10073 {
10074  isinf(0);
10075   ;
10076   return 0;
10077 }
10078 _ACEOF
10079 rm -f conftest.$ac_objext
10080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10081   (eval $ac_compile) 2>conftest.er1
10082   ac_status=$?
10083   grep -v '^ *+' conftest.er1 >conftest.err
10084   rm -f conftest.er1
10085   cat conftest.err >&5
10086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10087   (exit $ac_status); } &&
10088          { ac_try='test -z "$ac_cxx_werror_flag"
10089                          || test ! -s conftest.err'
10090   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10091   (eval $ac_try) 2>&5
10092   ac_status=$?
10093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10094   (exit $ac_status); }; } &&
10095          { ac_try='test -s conftest.$ac_objext'
10096   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10097   (eval $ac_try) 2>&5
10098   ac_status=$?
10099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10100   (exit $ac_status); }; }; then
10101   glibcxx_cv_func_isinf_use=yes
10102 else
10103   echo "$as_me: failed program was:" >&5
10104 sed 's/^/| /' conftest.$ac_ext >&5
10105
10106 glibcxx_cv_func_isinf_use=no
10107 fi
10108 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10109       ac_ext=c
10110 ac_cpp='$CPP $CPPFLAGS'
10111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10114
10115
10116 fi
10117
10118   fi
10119   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
10120 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
10121
10122   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
10123
10124 for ac_func in isinf
10125 do
10126 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10127 echo "$as_me:$LINENO: checking for $ac_func" >&5
10128 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10129 if eval "test \"\${$as_ac_var+set}\" = set"; then
10130   echo $ECHO_N "(cached) $ECHO_C" >&6
10131 else
10132   if test x$gcc_no_link = xyes; then
10133   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10134 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10135    { (exit 1); exit 1; }; }
10136 fi
10137 cat >conftest.$ac_ext <<_ACEOF
10138 /* confdefs.h.  */
10139 _ACEOF
10140 cat confdefs.h >>conftest.$ac_ext
10141 cat >>conftest.$ac_ext <<_ACEOF
10142 /* end confdefs.h.  */
10143 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10144    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10145 #define $ac_func innocuous_$ac_func
10146
10147 /* System header to define __stub macros and hopefully few prototypes,
10148     which can conflict with char $ac_func (); below.
10149     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10150     <limits.h> exists even on freestanding compilers.  */
10151
10152 #ifdef __STDC__
10153 # include <limits.h>
10154 #else
10155 # include <assert.h>
10156 #endif
10157
10158 #undef $ac_func
10159
10160 /* Override any gcc2 internal prototype to avoid an error.  */
10161 #ifdef __cplusplus
10162 extern "C"
10163 {
10164 #endif
10165 /* We use char because int might match the return type of a gcc2
10166    builtin and then its argument prototype would still apply.  */
10167 char $ac_func ();
10168 /* The GNU C library defines this for functions which it implements
10169     to always fail with ENOSYS.  Some functions are actually named
10170     something starting with __ and the normal name is an alias.  */
10171 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10172 choke me
10173 #else
10174 char (*f) () = $ac_func;
10175 #endif
10176 #ifdef __cplusplus
10177 }
10178 #endif
10179
10180 int
10181 main ()
10182 {
10183 return f != $ac_func;
10184   ;
10185   return 0;
10186 }
10187 _ACEOF
10188 rm -f conftest.$ac_objext conftest$ac_exeext
10189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10190   (eval $ac_link) 2>conftest.er1
10191   ac_status=$?
10192   grep -v '^ *+' conftest.er1 >conftest.err
10193   rm -f conftest.er1
10194   cat conftest.err >&5
10195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10196   (exit $ac_status); } &&
10197          { ac_try='test -z "$ac_c_werror_flag"
10198                          || test ! -s conftest.err'
10199   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10200   (eval $ac_try) 2>&5
10201   ac_status=$?
10202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10203   (exit $ac_status); }; } &&
10204          { ac_try='test -s conftest$ac_exeext'
10205   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10206   (eval $ac_try) 2>&5
10207   ac_status=$?
10208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10209   (exit $ac_status); }; }; then
10210   eval "$as_ac_var=yes"
10211 else
10212   echo "$as_me: failed program was:" >&5
10213 sed 's/^/| /' conftest.$ac_ext >&5
10214
10215 eval "$as_ac_var=no"
10216 fi
10217 rm -f conftest.err conftest.$ac_objext \
10218       conftest$ac_exeext conftest.$ac_ext
10219 fi
10220 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10221 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10222 if test `eval echo '${'$as_ac_var'}'` = yes; then
10223   cat >>confdefs.h <<_ACEOF
10224 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10225 _ACEOF
10226
10227 fi
10228 done
10229
10230   else
10231
10232   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
10233 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
10234   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
10235     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
10236   echo $ECHO_N "(cached) $ECHO_C" >&6
10237 else
10238
10239
10240
10241       ac_ext=cc
10242 ac_cpp='$CXXCPP $CPPFLAGS'
10243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10246
10247       cat >conftest.$ac_ext <<_ACEOF
10248 /* confdefs.h.  */
10249 _ACEOF
10250 cat confdefs.h >>conftest.$ac_ext
10251 cat >>conftest.$ac_ext <<_ACEOF
10252 /* end confdefs.h.  */
10253 #include <math.h>
10254                       #ifdef HAVE_IEEEFP_H
10255                       #include <ieeefp.h>
10256                       #endif
10257
10258 int
10259 main ()
10260 {
10261  _isinf(0);
10262   ;
10263   return 0;
10264 }
10265 _ACEOF
10266 rm -f conftest.$ac_objext
10267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10268   (eval $ac_compile) 2>conftest.er1
10269   ac_status=$?
10270   grep -v '^ *+' conftest.er1 >conftest.err
10271   rm -f conftest.er1
10272   cat conftest.err >&5
10273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10274   (exit $ac_status); } &&
10275          { ac_try='test -z "$ac_cxx_werror_flag"
10276                          || test ! -s conftest.err'
10277   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10278   (eval $ac_try) 2>&5
10279   ac_status=$?
10280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10281   (exit $ac_status); }; } &&
10282          { ac_try='test -s conftest.$ac_objext'
10283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10284   (eval $ac_try) 2>&5
10285   ac_status=$?
10286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10287   (exit $ac_status); }; }; then
10288   glibcxx_cv_func__isinf_use=yes
10289 else
10290   echo "$as_me: failed program was:" >&5
10291 sed 's/^/| /' conftest.$ac_ext >&5
10292
10293 glibcxx_cv_func__isinf_use=no
10294 fi
10295 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10296       ac_ext=c
10297 ac_cpp='$CPP $CPPFLAGS'
10298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10301
10302
10303 fi
10304
10305   fi
10306   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
10307 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
10308
10309     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
10310
10311 for ac_func in _isinf
10312 do
10313 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10314 echo "$as_me:$LINENO: checking for $ac_func" >&5
10315 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10316 if eval "test \"\${$as_ac_var+set}\" = set"; then
10317   echo $ECHO_N "(cached) $ECHO_C" >&6
10318 else
10319   if test x$gcc_no_link = xyes; then
10320   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10321 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10322    { (exit 1); exit 1; }; }
10323 fi
10324 cat >conftest.$ac_ext <<_ACEOF
10325 /* confdefs.h.  */
10326 _ACEOF
10327 cat confdefs.h >>conftest.$ac_ext
10328 cat >>conftest.$ac_ext <<_ACEOF
10329 /* end confdefs.h.  */
10330 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10331    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10332 #define $ac_func innocuous_$ac_func
10333
10334 /* System header to define __stub macros and hopefully few prototypes,
10335     which can conflict with char $ac_func (); below.
10336     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10337     <limits.h> exists even on freestanding compilers.  */
10338
10339 #ifdef __STDC__
10340 # include <limits.h>
10341 #else
10342 # include <assert.h>
10343 #endif
10344
10345 #undef $ac_func
10346
10347 /* Override any gcc2 internal prototype to avoid an error.  */
10348 #ifdef __cplusplus
10349 extern "C"
10350 {
10351 #endif
10352 /* We use char because int might match the return type of a gcc2
10353    builtin and then its argument prototype would still apply.  */
10354 char $ac_func ();
10355 /* The GNU C library defines this for functions which it implements
10356     to always fail with ENOSYS.  Some functions are actually named
10357     something starting with __ and the normal name is an alias.  */
10358 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10359 choke me
10360 #else
10361 char (*f) () = $ac_func;
10362 #endif
10363 #ifdef __cplusplus
10364 }
10365 #endif
10366
10367 int
10368 main ()
10369 {
10370 return f != $ac_func;
10371   ;
10372   return 0;
10373 }
10374 _ACEOF
10375 rm -f conftest.$ac_objext conftest$ac_exeext
10376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10377   (eval $ac_link) 2>conftest.er1
10378   ac_status=$?
10379   grep -v '^ *+' conftest.er1 >conftest.err
10380   rm -f conftest.er1
10381   cat conftest.err >&5
10382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10383   (exit $ac_status); } &&
10384          { ac_try='test -z "$ac_c_werror_flag"
10385                          || test ! -s conftest.err'
10386   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10387   (eval $ac_try) 2>&5
10388   ac_status=$?
10389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10390   (exit $ac_status); }; } &&
10391          { ac_try='test -s conftest$ac_exeext'
10392   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10393   (eval $ac_try) 2>&5
10394   ac_status=$?
10395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10396   (exit $ac_status); }; }; then
10397   eval "$as_ac_var=yes"
10398 else
10399   echo "$as_me: failed program was:" >&5
10400 sed 's/^/| /' conftest.$ac_ext >&5
10401
10402 eval "$as_ac_var=no"
10403 fi
10404 rm -f conftest.err conftest.$ac_objext \
10405       conftest$ac_exeext conftest.$ac_ext
10406 fi
10407 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10408 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10409 if test `eval echo '${'$as_ac_var'}'` = yes; then
10410   cat >>confdefs.h <<_ACEOF
10411 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10412 _ACEOF
10413
10414 fi
10415 done
10416
10417     fi
10418   fi
10419
10420
10421
10422   echo "$as_me:$LINENO: checking for isnan declaration" >&5
10423 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
10424   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
10425     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
10426   echo $ECHO_N "(cached) $ECHO_C" >&6
10427 else
10428
10429
10430
10431       ac_ext=cc
10432 ac_cpp='$CXXCPP $CPPFLAGS'
10433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10436
10437       cat >conftest.$ac_ext <<_ACEOF
10438 /* confdefs.h.  */
10439 _ACEOF
10440 cat confdefs.h >>conftest.$ac_ext
10441 cat >>conftest.$ac_ext <<_ACEOF
10442 /* end confdefs.h.  */
10443 #include <math.h>
10444                       #ifdef HAVE_IEEEFP_H
10445                       #include <ieeefp.h>
10446                       #endif
10447
10448 int
10449 main ()
10450 {
10451  isnan(0);
10452   ;
10453   return 0;
10454 }
10455 _ACEOF
10456 rm -f conftest.$ac_objext
10457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10458   (eval $ac_compile) 2>conftest.er1
10459   ac_status=$?
10460   grep -v '^ *+' conftest.er1 >conftest.err
10461   rm -f conftest.er1
10462   cat conftest.err >&5
10463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10464   (exit $ac_status); } &&
10465          { ac_try='test -z "$ac_cxx_werror_flag"
10466                          || test ! -s conftest.err'
10467   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10468   (eval $ac_try) 2>&5
10469   ac_status=$?
10470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10471   (exit $ac_status); }; } &&
10472          { ac_try='test -s conftest.$ac_objext'
10473   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10474   (eval $ac_try) 2>&5
10475   ac_status=$?
10476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10477   (exit $ac_status); }; }; then
10478   glibcxx_cv_func_isnan_use=yes
10479 else
10480   echo "$as_me: failed program was:" >&5
10481 sed 's/^/| /' conftest.$ac_ext >&5
10482
10483 glibcxx_cv_func_isnan_use=no
10484 fi
10485 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10486       ac_ext=c
10487 ac_cpp='$CPP $CPPFLAGS'
10488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10491
10492
10493 fi
10494
10495   fi
10496   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
10497 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
10498
10499   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
10500
10501 for ac_func in isnan
10502 do
10503 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10504 echo "$as_me:$LINENO: checking for $ac_func" >&5
10505 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10506 if eval "test \"\${$as_ac_var+set}\" = set"; then
10507   echo $ECHO_N "(cached) $ECHO_C" >&6
10508 else
10509   if test x$gcc_no_link = xyes; then
10510   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10511 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10512    { (exit 1); exit 1; }; }
10513 fi
10514 cat >conftest.$ac_ext <<_ACEOF
10515 /* confdefs.h.  */
10516 _ACEOF
10517 cat confdefs.h >>conftest.$ac_ext
10518 cat >>conftest.$ac_ext <<_ACEOF
10519 /* end confdefs.h.  */
10520 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10521    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10522 #define $ac_func innocuous_$ac_func
10523
10524 /* System header to define __stub macros and hopefully few prototypes,
10525     which can conflict with char $ac_func (); below.
10526     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10527     <limits.h> exists even on freestanding compilers.  */
10528
10529 #ifdef __STDC__
10530 # include <limits.h>
10531 #else
10532 # include <assert.h>
10533 #endif
10534
10535 #undef $ac_func
10536
10537 /* Override any gcc2 internal prototype to avoid an error.  */
10538 #ifdef __cplusplus
10539 extern "C"
10540 {
10541 #endif
10542 /* We use char because int might match the return type of a gcc2
10543    builtin and then its argument prototype would still apply.  */
10544 char $ac_func ();
10545 /* The GNU C library defines this for functions which it implements
10546     to always fail with ENOSYS.  Some functions are actually named
10547     something starting with __ and the normal name is an alias.  */
10548 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10549 choke me
10550 #else
10551 char (*f) () = $ac_func;
10552 #endif
10553 #ifdef __cplusplus
10554 }
10555 #endif
10556
10557 int
10558 main ()
10559 {
10560 return f != $ac_func;
10561   ;
10562   return 0;
10563 }
10564 _ACEOF
10565 rm -f conftest.$ac_objext conftest$ac_exeext
10566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10567   (eval $ac_link) 2>conftest.er1
10568   ac_status=$?
10569   grep -v '^ *+' conftest.er1 >conftest.err
10570   rm -f conftest.er1
10571   cat conftest.err >&5
10572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10573   (exit $ac_status); } &&
10574          { ac_try='test -z "$ac_c_werror_flag"
10575                          || test ! -s conftest.err'
10576   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10577   (eval $ac_try) 2>&5
10578   ac_status=$?
10579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10580   (exit $ac_status); }; } &&
10581          { ac_try='test -s conftest$ac_exeext'
10582   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10583   (eval $ac_try) 2>&5
10584   ac_status=$?
10585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10586   (exit $ac_status); }; }; then
10587   eval "$as_ac_var=yes"
10588 else
10589   echo "$as_me: failed program was:" >&5
10590 sed 's/^/| /' conftest.$ac_ext >&5
10591
10592 eval "$as_ac_var=no"
10593 fi
10594 rm -f conftest.err conftest.$ac_objext \
10595       conftest$ac_exeext conftest.$ac_ext
10596 fi
10597 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10598 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10599 if test `eval echo '${'$as_ac_var'}'` = yes; then
10600   cat >>confdefs.h <<_ACEOF
10601 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10602 _ACEOF
10603
10604 fi
10605 done
10606
10607   else
10608
10609   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
10610 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
10611   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
10612     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
10613   echo $ECHO_N "(cached) $ECHO_C" >&6
10614 else
10615
10616
10617
10618       ac_ext=cc
10619 ac_cpp='$CXXCPP $CPPFLAGS'
10620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10623
10624       cat >conftest.$ac_ext <<_ACEOF
10625 /* confdefs.h.  */
10626 _ACEOF
10627 cat confdefs.h >>conftest.$ac_ext
10628 cat >>conftest.$ac_ext <<_ACEOF
10629 /* end confdefs.h.  */
10630 #include <math.h>
10631                       #ifdef HAVE_IEEEFP_H
10632                       #include <ieeefp.h>
10633                       #endif
10634
10635 int
10636 main ()
10637 {
10638  _isnan(0);
10639   ;
10640   return 0;
10641 }
10642 _ACEOF
10643 rm -f conftest.$ac_objext
10644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10645   (eval $ac_compile) 2>conftest.er1
10646   ac_status=$?
10647   grep -v '^ *+' conftest.er1 >conftest.err
10648   rm -f conftest.er1
10649   cat conftest.err >&5
10650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10651   (exit $ac_status); } &&
10652          { ac_try='test -z "$ac_cxx_werror_flag"
10653                          || test ! -s conftest.err'
10654   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10655   (eval $ac_try) 2>&5
10656   ac_status=$?
10657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10658   (exit $ac_status); }; } &&
10659          { ac_try='test -s conftest.$ac_objext'
10660   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10661   (eval $ac_try) 2>&5
10662   ac_status=$?
10663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10664   (exit $ac_status); }; }; then
10665   glibcxx_cv_func__isnan_use=yes
10666 else
10667   echo "$as_me: failed program was:" >&5
10668 sed 's/^/| /' conftest.$ac_ext >&5
10669
10670 glibcxx_cv_func__isnan_use=no
10671 fi
10672 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10673       ac_ext=c
10674 ac_cpp='$CPP $CPPFLAGS'
10675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10678
10679
10680 fi
10681
10682   fi
10683   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
10684 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
10685
10686     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
10687
10688 for ac_func in _isnan
10689 do
10690 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10691 echo "$as_me:$LINENO: checking for $ac_func" >&5
10692 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10693 if eval "test \"\${$as_ac_var+set}\" = set"; then
10694   echo $ECHO_N "(cached) $ECHO_C" >&6
10695 else
10696   if test x$gcc_no_link = xyes; then
10697   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10698 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10699    { (exit 1); exit 1; }; }
10700 fi
10701 cat >conftest.$ac_ext <<_ACEOF
10702 /* confdefs.h.  */
10703 _ACEOF
10704 cat confdefs.h >>conftest.$ac_ext
10705 cat >>conftest.$ac_ext <<_ACEOF
10706 /* end confdefs.h.  */
10707 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10708    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10709 #define $ac_func innocuous_$ac_func
10710
10711 /* System header to define __stub macros and hopefully few prototypes,
10712     which can conflict with char $ac_func (); below.
10713     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10714     <limits.h> exists even on freestanding compilers.  */
10715
10716 #ifdef __STDC__
10717 # include <limits.h>
10718 #else
10719 # include <assert.h>
10720 #endif
10721
10722 #undef $ac_func
10723
10724 /* Override any gcc2 internal prototype to avoid an error.  */
10725 #ifdef __cplusplus
10726 extern "C"
10727 {
10728 #endif
10729 /* We use char because int might match the return type of a gcc2
10730    builtin and then its argument prototype would still apply.  */
10731 char $ac_func ();
10732 /* The GNU C library defines this for functions which it implements
10733     to always fail with ENOSYS.  Some functions are actually named
10734     something starting with __ and the normal name is an alias.  */
10735 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10736 choke me
10737 #else
10738 char (*f) () = $ac_func;
10739 #endif
10740 #ifdef __cplusplus
10741 }
10742 #endif
10743
10744 int
10745 main ()
10746 {
10747 return f != $ac_func;
10748   ;
10749   return 0;
10750 }
10751 _ACEOF
10752 rm -f conftest.$ac_objext conftest$ac_exeext
10753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10754   (eval $ac_link) 2>conftest.er1
10755   ac_status=$?
10756   grep -v '^ *+' conftest.er1 >conftest.err
10757   rm -f conftest.er1
10758   cat conftest.err >&5
10759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10760   (exit $ac_status); } &&
10761          { ac_try='test -z "$ac_c_werror_flag"
10762                          || test ! -s conftest.err'
10763   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10764   (eval $ac_try) 2>&5
10765   ac_status=$?
10766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10767   (exit $ac_status); }; } &&
10768          { ac_try='test -s conftest$ac_exeext'
10769   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10770   (eval $ac_try) 2>&5
10771   ac_status=$?
10772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10773   (exit $ac_status); }; }; then
10774   eval "$as_ac_var=yes"
10775 else
10776   echo "$as_me: failed program was:" >&5
10777 sed 's/^/| /' conftest.$ac_ext >&5
10778
10779 eval "$as_ac_var=no"
10780 fi
10781 rm -f conftest.err conftest.$ac_objext \
10782       conftest$ac_exeext conftest.$ac_ext
10783 fi
10784 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10785 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10786 if test `eval echo '${'$as_ac_var'}'` = yes; then
10787   cat >>confdefs.h <<_ACEOF
10788 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10789 _ACEOF
10790
10791 fi
10792 done
10793
10794     fi
10795   fi
10796
10797
10798
10799   echo "$as_me:$LINENO: checking for finite declaration" >&5
10800 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
10801   if test x${glibcxx_cv_func_finite_use+set} != xset; then
10802     if test "${glibcxx_cv_func_finite_use+set}" = set; then
10803   echo $ECHO_N "(cached) $ECHO_C" >&6
10804 else
10805
10806
10807
10808       ac_ext=cc
10809 ac_cpp='$CXXCPP $CPPFLAGS'
10810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10813
10814       cat >conftest.$ac_ext <<_ACEOF
10815 /* confdefs.h.  */
10816 _ACEOF
10817 cat confdefs.h >>conftest.$ac_ext
10818 cat >>conftest.$ac_ext <<_ACEOF
10819 /* end confdefs.h.  */
10820 #include <math.h>
10821                       #ifdef HAVE_IEEEFP_H
10822                       #include <ieeefp.h>
10823                       #endif
10824
10825 int
10826 main ()
10827 {
10828  finite(0);
10829   ;
10830   return 0;
10831 }
10832 _ACEOF
10833 rm -f conftest.$ac_objext
10834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10835   (eval $ac_compile) 2>conftest.er1
10836   ac_status=$?
10837   grep -v '^ *+' conftest.er1 >conftest.err
10838   rm -f conftest.er1
10839   cat conftest.err >&5
10840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10841   (exit $ac_status); } &&
10842          { ac_try='test -z "$ac_cxx_werror_flag"
10843                          || test ! -s conftest.err'
10844   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10845   (eval $ac_try) 2>&5
10846   ac_status=$?
10847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10848   (exit $ac_status); }; } &&
10849          { ac_try='test -s conftest.$ac_objext'
10850   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10851   (eval $ac_try) 2>&5
10852   ac_status=$?
10853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10854   (exit $ac_status); }; }; then
10855   glibcxx_cv_func_finite_use=yes
10856 else
10857   echo "$as_me: failed program was:" >&5
10858 sed 's/^/| /' conftest.$ac_ext >&5
10859
10860 glibcxx_cv_func_finite_use=no
10861 fi
10862 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10863       ac_ext=c
10864 ac_cpp='$CPP $CPPFLAGS'
10865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10868
10869
10870 fi
10871
10872   fi
10873   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
10874 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
10875
10876   if test x$glibcxx_cv_func_finite_use = x"yes"; then
10877
10878 for ac_func in finite
10879 do
10880 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10881 echo "$as_me:$LINENO: checking for $ac_func" >&5
10882 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10883 if eval "test \"\${$as_ac_var+set}\" = set"; then
10884   echo $ECHO_N "(cached) $ECHO_C" >&6
10885 else
10886   if test x$gcc_no_link = xyes; then
10887   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10888 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10889    { (exit 1); exit 1; }; }
10890 fi
10891 cat >conftest.$ac_ext <<_ACEOF
10892 /* confdefs.h.  */
10893 _ACEOF
10894 cat confdefs.h >>conftest.$ac_ext
10895 cat >>conftest.$ac_ext <<_ACEOF
10896 /* end confdefs.h.  */
10897 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10898    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
10899 #define $ac_func innocuous_$ac_func
10900
10901 /* System header to define __stub macros and hopefully few prototypes,
10902     which can conflict with char $ac_func (); below.
10903     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10904     <limits.h> exists even on freestanding compilers.  */
10905
10906 #ifdef __STDC__
10907 # include <limits.h>
10908 #else
10909 # include <assert.h>
10910 #endif
10911
10912 #undef $ac_func
10913
10914 /* Override any gcc2 internal prototype to avoid an error.  */
10915 #ifdef __cplusplus
10916 extern "C"
10917 {
10918 #endif
10919 /* We use char because int might match the return type of a gcc2
10920    builtin and then its argument prototype would still apply.  */
10921 char $ac_func ();
10922 /* The GNU C library defines this for functions which it implements
10923     to always fail with ENOSYS.  Some functions are actually named
10924     something starting with __ and the normal name is an alias.  */
10925 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10926 choke me
10927 #else
10928 char (*f) () = $ac_func;
10929 #endif
10930 #ifdef __cplusplus
10931 }
10932 #endif
10933
10934 int
10935 main ()
10936 {
10937 return f != $ac_func;
10938   ;
10939   return 0;
10940 }
10941 _ACEOF
10942 rm -f conftest.$ac_objext conftest$ac_exeext
10943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10944   (eval $ac_link) 2>conftest.er1
10945   ac_status=$?
10946   grep -v '^ *+' conftest.er1 >conftest.err
10947   rm -f conftest.er1
10948   cat conftest.err >&5
10949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10950   (exit $ac_status); } &&
10951          { ac_try='test -z "$ac_c_werror_flag"
10952                          || test ! -s conftest.err'
10953   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10954   (eval $ac_try) 2>&5
10955   ac_status=$?
10956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10957   (exit $ac_status); }; } &&
10958          { ac_try='test -s conftest$ac_exeext'
10959   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10960   (eval $ac_try) 2>&5
10961   ac_status=$?
10962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
10963   (exit $ac_status); }; }; then
10964   eval "$as_ac_var=yes"
10965 else
10966   echo "$as_me: failed program was:" >&5
10967 sed 's/^/| /' conftest.$ac_ext >&5
10968
10969 eval "$as_ac_var=no"
10970 fi
10971 rm -f conftest.err conftest.$ac_objext \
10972       conftest$ac_exeext conftest.$ac_ext
10973 fi
10974 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10975 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10976 if test `eval echo '${'$as_ac_var'}'` = yes; then
10977   cat >>confdefs.h <<_ACEOF
10978 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10979 _ACEOF
10980
10981 fi
10982 done
10983
10984   else
10985
10986   echo "$as_me:$LINENO: checking for _finite declaration" >&5
10987 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
10988   if test x${glibcxx_cv_func__finite_use+set} != xset; then
10989     if test "${glibcxx_cv_func__finite_use+set}" = set; then
10990   echo $ECHO_N "(cached) $ECHO_C" >&6
10991 else
10992
10993
10994
10995       ac_ext=cc
10996 ac_cpp='$CXXCPP $CPPFLAGS'
10997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11000
11001       cat >conftest.$ac_ext <<_ACEOF
11002 /* confdefs.h.  */
11003 _ACEOF
11004 cat confdefs.h >>conftest.$ac_ext
11005 cat >>conftest.$ac_ext <<_ACEOF
11006 /* end confdefs.h.  */
11007 #include <math.h>
11008                       #ifdef HAVE_IEEEFP_H
11009                       #include <ieeefp.h>
11010                       #endif
11011
11012 int
11013 main ()
11014 {
11015  _finite(0);
11016   ;
11017   return 0;
11018 }
11019 _ACEOF
11020 rm -f conftest.$ac_objext
11021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11022   (eval $ac_compile) 2>conftest.er1
11023   ac_status=$?
11024   grep -v '^ *+' conftest.er1 >conftest.err
11025   rm -f conftest.er1
11026   cat conftest.err >&5
11027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11028   (exit $ac_status); } &&
11029          { ac_try='test -z "$ac_cxx_werror_flag"
11030                          || test ! -s conftest.err'
11031   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11032   (eval $ac_try) 2>&5
11033   ac_status=$?
11034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11035   (exit $ac_status); }; } &&
11036          { ac_try='test -s conftest.$ac_objext'
11037   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11038   (eval $ac_try) 2>&5
11039   ac_status=$?
11040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11041   (exit $ac_status); }; }; then
11042   glibcxx_cv_func__finite_use=yes
11043 else
11044   echo "$as_me: failed program was:" >&5
11045 sed 's/^/| /' conftest.$ac_ext >&5
11046
11047 glibcxx_cv_func__finite_use=no
11048 fi
11049 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11050       ac_ext=c
11051 ac_cpp='$CPP $CPPFLAGS'
11052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11055
11056
11057 fi
11058
11059   fi
11060   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
11061 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
11062
11063     if test x$glibcxx_cv_func__finite_use = x"yes"; then
11064
11065 for ac_func in _finite
11066 do
11067 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11068 echo "$as_me:$LINENO: checking for $ac_func" >&5
11069 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11070 if eval "test \"\${$as_ac_var+set}\" = set"; then
11071   echo $ECHO_N "(cached) $ECHO_C" >&6
11072 else
11073   if test x$gcc_no_link = xyes; then
11074   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11075 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11076    { (exit 1); exit 1; }; }
11077 fi
11078 cat >conftest.$ac_ext <<_ACEOF
11079 /* confdefs.h.  */
11080 _ACEOF
11081 cat confdefs.h >>conftest.$ac_ext
11082 cat >>conftest.$ac_ext <<_ACEOF
11083 /* end confdefs.h.  */
11084 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11085    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11086 #define $ac_func innocuous_$ac_func
11087
11088 /* System header to define __stub macros and hopefully few prototypes,
11089     which can conflict with char $ac_func (); below.
11090     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11091     <limits.h> exists even on freestanding compilers.  */
11092
11093 #ifdef __STDC__
11094 # include <limits.h>
11095 #else
11096 # include <assert.h>
11097 #endif
11098
11099 #undef $ac_func
11100
11101 /* Override any gcc2 internal prototype to avoid an error.  */
11102 #ifdef __cplusplus
11103 extern "C"
11104 {
11105 #endif
11106 /* We use char because int might match the return type of a gcc2
11107    builtin and then its argument prototype would still apply.  */
11108 char $ac_func ();
11109 /* The GNU C library defines this for functions which it implements
11110     to always fail with ENOSYS.  Some functions are actually named
11111     something starting with __ and the normal name is an alias.  */
11112 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11113 choke me
11114 #else
11115 char (*f) () = $ac_func;
11116 #endif
11117 #ifdef __cplusplus
11118 }
11119 #endif
11120
11121 int
11122 main ()
11123 {
11124 return f != $ac_func;
11125   ;
11126   return 0;
11127 }
11128 _ACEOF
11129 rm -f conftest.$ac_objext conftest$ac_exeext
11130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11131   (eval $ac_link) 2>conftest.er1
11132   ac_status=$?
11133   grep -v '^ *+' conftest.er1 >conftest.err
11134   rm -f conftest.er1
11135   cat conftest.err >&5
11136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11137   (exit $ac_status); } &&
11138          { ac_try='test -z "$ac_c_werror_flag"
11139                          || test ! -s conftest.err'
11140   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11141   (eval $ac_try) 2>&5
11142   ac_status=$?
11143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11144   (exit $ac_status); }; } &&
11145          { ac_try='test -s conftest$ac_exeext'
11146   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11147   (eval $ac_try) 2>&5
11148   ac_status=$?
11149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11150   (exit $ac_status); }; }; then
11151   eval "$as_ac_var=yes"
11152 else
11153   echo "$as_me: failed program was:" >&5
11154 sed 's/^/| /' conftest.$ac_ext >&5
11155
11156 eval "$as_ac_var=no"
11157 fi
11158 rm -f conftest.err conftest.$ac_objext \
11159       conftest$ac_exeext conftest.$ac_ext
11160 fi
11161 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11162 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11163 if test `eval echo '${'$as_ac_var'}'` = yes; then
11164   cat >>confdefs.h <<_ACEOF
11165 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11166 _ACEOF
11167
11168 fi
11169 done
11170
11171     fi
11172   fi
11173
11174
11175
11176   echo "$as_me:$LINENO: checking for copysign declaration" >&5
11177 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
11178   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
11179     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
11180   echo $ECHO_N "(cached) $ECHO_C" >&6
11181 else
11182
11183
11184
11185       ac_ext=cc
11186 ac_cpp='$CXXCPP $CPPFLAGS'
11187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11190
11191       cat >conftest.$ac_ext <<_ACEOF
11192 /* confdefs.h.  */
11193 _ACEOF
11194 cat confdefs.h >>conftest.$ac_ext
11195 cat >>conftest.$ac_ext <<_ACEOF
11196 /* end confdefs.h.  */
11197 #include <math.h>
11198 int
11199 main ()
11200 {
11201  copysign(0, 0);
11202   ;
11203   return 0;
11204 }
11205 _ACEOF
11206 rm -f conftest.$ac_objext
11207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11208   (eval $ac_compile) 2>conftest.er1
11209   ac_status=$?
11210   grep -v '^ *+' conftest.er1 >conftest.err
11211   rm -f conftest.er1
11212   cat conftest.err >&5
11213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11214   (exit $ac_status); } &&
11215          { ac_try='test -z "$ac_cxx_werror_flag"
11216                          || test ! -s conftest.err'
11217   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11218   (eval $ac_try) 2>&5
11219   ac_status=$?
11220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11221   (exit $ac_status); }; } &&
11222          { ac_try='test -s conftest.$ac_objext'
11223   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11224   (eval $ac_try) 2>&5
11225   ac_status=$?
11226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11227   (exit $ac_status); }; }; then
11228   glibcxx_cv_func_copysign_use=yes
11229 else
11230   echo "$as_me: failed program was:" >&5
11231 sed 's/^/| /' conftest.$ac_ext >&5
11232
11233 glibcxx_cv_func_copysign_use=no
11234 fi
11235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11236       ac_ext=c
11237 ac_cpp='$CPP $CPPFLAGS'
11238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11241
11242
11243 fi
11244
11245   fi
11246   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
11247 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
11248
11249   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
11250
11251 for ac_func in copysign
11252 do
11253 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11254 echo "$as_me:$LINENO: checking for $ac_func" >&5
11255 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11256 if eval "test \"\${$as_ac_var+set}\" = set"; then
11257   echo $ECHO_N "(cached) $ECHO_C" >&6
11258 else
11259   if test x$gcc_no_link = xyes; then
11260   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11262    { (exit 1); exit 1; }; }
11263 fi
11264 cat >conftest.$ac_ext <<_ACEOF
11265 /* confdefs.h.  */
11266 _ACEOF
11267 cat confdefs.h >>conftest.$ac_ext
11268 cat >>conftest.$ac_ext <<_ACEOF
11269 /* end confdefs.h.  */
11270 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11271    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11272 #define $ac_func innocuous_$ac_func
11273
11274 /* System header to define __stub macros and hopefully few prototypes,
11275     which can conflict with char $ac_func (); below.
11276     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11277     <limits.h> exists even on freestanding compilers.  */
11278
11279 #ifdef __STDC__
11280 # include <limits.h>
11281 #else
11282 # include <assert.h>
11283 #endif
11284
11285 #undef $ac_func
11286
11287 /* Override any gcc2 internal prototype to avoid an error.  */
11288 #ifdef __cplusplus
11289 extern "C"
11290 {
11291 #endif
11292 /* We use char because int might match the return type of a gcc2
11293    builtin and then its argument prototype would still apply.  */
11294 char $ac_func ();
11295 /* The GNU C library defines this for functions which it implements
11296     to always fail with ENOSYS.  Some functions are actually named
11297     something starting with __ and the normal name is an alias.  */
11298 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11299 choke me
11300 #else
11301 char (*f) () = $ac_func;
11302 #endif
11303 #ifdef __cplusplus
11304 }
11305 #endif
11306
11307 int
11308 main ()
11309 {
11310 return f != $ac_func;
11311   ;
11312   return 0;
11313 }
11314 _ACEOF
11315 rm -f conftest.$ac_objext conftest$ac_exeext
11316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11317   (eval $ac_link) 2>conftest.er1
11318   ac_status=$?
11319   grep -v '^ *+' conftest.er1 >conftest.err
11320   rm -f conftest.er1
11321   cat conftest.err >&5
11322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11323   (exit $ac_status); } &&
11324          { ac_try='test -z "$ac_c_werror_flag"
11325                          || test ! -s conftest.err'
11326   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11327   (eval $ac_try) 2>&5
11328   ac_status=$?
11329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11330   (exit $ac_status); }; } &&
11331          { ac_try='test -s conftest$ac_exeext'
11332   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11333   (eval $ac_try) 2>&5
11334   ac_status=$?
11335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11336   (exit $ac_status); }; }; then
11337   eval "$as_ac_var=yes"
11338 else
11339   echo "$as_me: failed program was:" >&5
11340 sed 's/^/| /' conftest.$ac_ext >&5
11341
11342 eval "$as_ac_var=no"
11343 fi
11344 rm -f conftest.err conftest.$ac_objext \
11345       conftest$ac_exeext conftest.$ac_ext
11346 fi
11347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11348 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11349 if test `eval echo '${'$as_ac_var'}'` = yes; then
11350   cat >>confdefs.h <<_ACEOF
11351 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11352 _ACEOF
11353
11354 fi
11355 done
11356
11357   else
11358
11359   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
11360 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
11361   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
11362     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
11363   echo $ECHO_N "(cached) $ECHO_C" >&6
11364 else
11365
11366
11367
11368       ac_ext=cc
11369 ac_cpp='$CXXCPP $CPPFLAGS'
11370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11373
11374       cat >conftest.$ac_ext <<_ACEOF
11375 /* confdefs.h.  */
11376 _ACEOF
11377 cat confdefs.h >>conftest.$ac_ext
11378 cat >>conftest.$ac_ext <<_ACEOF
11379 /* end confdefs.h.  */
11380 #include <math.h>
11381 int
11382 main ()
11383 {
11384  _copysign(0, 0);
11385   ;
11386   return 0;
11387 }
11388 _ACEOF
11389 rm -f conftest.$ac_objext
11390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11391   (eval $ac_compile) 2>conftest.er1
11392   ac_status=$?
11393   grep -v '^ *+' conftest.er1 >conftest.err
11394   rm -f conftest.er1
11395   cat conftest.err >&5
11396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11397   (exit $ac_status); } &&
11398          { ac_try='test -z "$ac_cxx_werror_flag"
11399                          || test ! -s conftest.err'
11400   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11401   (eval $ac_try) 2>&5
11402   ac_status=$?
11403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11404   (exit $ac_status); }; } &&
11405          { ac_try='test -s conftest.$ac_objext'
11406   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11407   (eval $ac_try) 2>&5
11408   ac_status=$?
11409   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11410   (exit $ac_status); }; }; then
11411   glibcxx_cv_func__copysign_use=yes
11412 else
11413   echo "$as_me: failed program was:" >&5
11414 sed 's/^/| /' conftest.$ac_ext >&5
11415
11416 glibcxx_cv_func__copysign_use=no
11417 fi
11418 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11419       ac_ext=c
11420 ac_cpp='$CPP $CPPFLAGS'
11421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11424
11425
11426 fi
11427
11428   fi
11429   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
11430 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
11431
11432     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
11433
11434 for ac_func in _copysign
11435 do
11436 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11437 echo "$as_me:$LINENO: checking for $ac_func" >&5
11438 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11439 if eval "test \"\${$as_ac_var+set}\" = set"; then
11440   echo $ECHO_N "(cached) $ECHO_C" >&6
11441 else
11442   if test x$gcc_no_link = xyes; then
11443   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11444 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11445    { (exit 1); exit 1; }; }
11446 fi
11447 cat >conftest.$ac_ext <<_ACEOF
11448 /* confdefs.h.  */
11449 _ACEOF
11450 cat confdefs.h >>conftest.$ac_ext
11451 cat >>conftest.$ac_ext <<_ACEOF
11452 /* end confdefs.h.  */
11453 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11454    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11455 #define $ac_func innocuous_$ac_func
11456
11457 /* System header to define __stub macros and hopefully few prototypes,
11458     which can conflict with char $ac_func (); below.
11459     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11460     <limits.h> exists even on freestanding compilers.  */
11461
11462 #ifdef __STDC__
11463 # include <limits.h>
11464 #else
11465 # include <assert.h>
11466 #endif
11467
11468 #undef $ac_func
11469
11470 /* Override any gcc2 internal prototype to avoid an error.  */
11471 #ifdef __cplusplus
11472 extern "C"
11473 {
11474 #endif
11475 /* We use char because int might match the return type of a gcc2
11476    builtin and then its argument prototype would still apply.  */
11477 char $ac_func ();
11478 /* The GNU C library defines this for functions which it implements
11479     to always fail with ENOSYS.  Some functions are actually named
11480     something starting with __ and the normal name is an alias.  */
11481 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11482 choke me
11483 #else
11484 char (*f) () = $ac_func;
11485 #endif
11486 #ifdef __cplusplus
11487 }
11488 #endif
11489
11490 int
11491 main ()
11492 {
11493 return f != $ac_func;
11494   ;
11495   return 0;
11496 }
11497 _ACEOF
11498 rm -f conftest.$ac_objext conftest$ac_exeext
11499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11500   (eval $ac_link) 2>conftest.er1
11501   ac_status=$?
11502   grep -v '^ *+' conftest.er1 >conftest.err
11503   rm -f conftest.er1
11504   cat conftest.err >&5
11505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11506   (exit $ac_status); } &&
11507          { ac_try='test -z "$ac_c_werror_flag"
11508                          || test ! -s conftest.err'
11509   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11510   (eval $ac_try) 2>&5
11511   ac_status=$?
11512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11513   (exit $ac_status); }; } &&
11514          { ac_try='test -s conftest$ac_exeext'
11515   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11516   (eval $ac_try) 2>&5
11517   ac_status=$?
11518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11519   (exit $ac_status); }; }; then
11520   eval "$as_ac_var=yes"
11521 else
11522   echo "$as_me: failed program was:" >&5
11523 sed 's/^/| /' conftest.$ac_ext >&5
11524
11525 eval "$as_ac_var=no"
11526 fi
11527 rm -f conftest.err conftest.$ac_objext \
11528       conftest$ac_exeext conftest.$ac_ext
11529 fi
11530 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11531 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11532 if test `eval echo '${'$as_ac_var'}'` = yes; then
11533   cat >>confdefs.h <<_ACEOF
11534 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11535 _ACEOF
11536
11537 fi
11538 done
11539
11540     fi
11541   fi
11542
11543
11544
11545   echo "$as_me:$LINENO: checking for sincos declaration" >&5
11546 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
11547   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
11548     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
11549   echo $ECHO_N "(cached) $ECHO_C" >&6
11550 else
11551
11552
11553
11554       ac_ext=cc
11555 ac_cpp='$CXXCPP $CPPFLAGS'
11556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11559
11560       cat >conftest.$ac_ext <<_ACEOF
11561 /* confdefs.h.  */
11562 _ACEOF
11563 cat confdefs.h >>conftest.$ac_ext
11564 cat >>conftest.$ac_ext <<_ACEOF
11565 /* end confdefs.h.  */
11566 #include <math.h>
11567 int
11568 main ()
11569 {
11570  sincos(0, 0, 0);
11571   ;
11572   return 0;
11573 }
11574 _ACEOF
11575 rm -f conftest.$ac_objext
11576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11577   (eval $ac_compile) 2>conftest.er1
11578   ac_status=$?
11579   grep -v '^ *+' conftest.er1 >conftest.err
11580   rm -f conftest.er1
11581   cat conftest.err >&5
11582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11583   (exit $ac_status); } &&
11584          { ac_try='test -z "$ac_cxx_werror_flag"
11585                          || test ! -s conftest.err'
11586   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11587   (eval $ac_try) 2>&5
11588   ac_status=$?
11589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11590   (exit $ac_status); }; } &&
11591          { ac_try='test -s conftest.$ac_objext'
11592   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11593   (eval $ac_try) 2>&5
11594   ac_status=$?
11595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11596   (exit $ac_status); }; }; then
11597   glibcxx_cv_func_sincos_use=yes
11598 else
11599   echo "$as_me: failed program was:" >&5
11600 sed 's/^/| /' conftest.$ac_ext >&5
11601
11602 glibcxx_cv_func_sincos_use=no
11603 fi
11604 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11605       ac_ext=c
11606 ac_cpp='$CPP $CPPFLAGS'
11607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11610
11611
11612 fi
11613
11614   fi
11615   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
11616 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
11617
11618   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
11619
11620 for ac_func in sincos
11621 do
11622 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11623 echo "$as_me:$LINENO: checking for $ac_func" >&5
11624 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11625 if eval "test \"\${$as_ac_var+set}\" = set"; then
11626   echo $ECHO_N "(cached) $ECHO_C" >&6
11627 else
11628   if test x$gcc_no_link = xyes; then
11629   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11630 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11631    { (exit 1); exit 1; }; }
11632 fi
11633 cat >conftest.$ac_ext <<_ACEOF
11634 /* confdefs.h.  */
11635 _ACEOF
11636 cat confdefs.h >>conftest.$ac_ext
11637 cat >>conftest.$ac_ext <<_ACEOF
11638 /* end confdefs.h.  */
11639 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11640    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11641 #define $ac_func innocuous_$ac_func
11642
11643 /* System header to define __stub macros and hopefully few prototypes,
11644     which can conflict with char $ac_func (); below.
11645     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11646     <limits.h> exists even on freestanding compilers.  */
11647
11648 #ifdef __STDC__
11649 # include <limits.h>
11650 #else
11651 # include <assert.h>
11652 #endif
11653
11654 #undef $ac_func
11655
11656 /* Override any gcc2 internal prototype to avoid an error.  */
11657 #ifdef __cplusplus
11658 extern "C"
11659 {
11660 #endif
11661 /* We use char because int might match the return type of a gcc2
11662    builtin and then its argument prototype would still apply.  */
11663 char $ac_func ();
11664 /* The GNU C library defines this for functions which it implements
11665     to always fail with ENOSYS.  Some functions are actually named
11666     something starting with __ and the normal name is an alias.  */
11667 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11668 choke me
11669 #else
11670 char (*f) () = $ac_func;
11671 #endif
11672 #ifdef __cplusplus
11673 }
11674 #endif
11675
11676 int
11677 main ()
11678 {
11679 return f != $ac_func;
11680   ;
11681   return 0;
11682 }
11683 _ACEOF
11684 rm -f conftest.$ac_objext conftest$ac_exeext
11685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11686   (eval $ac_link) 2>conftest.er1
11687   ac_status=$?
11688   grep -v '^ *+' conftest.er1 >conftest.err
11689   rm -f conftest.er1
11690   cat conftest.err >&5
11691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11692   (exit $ac_status); } &&
11693          { ac_try='test -z "$ac_c_werror_flag"
11694                          || test ! -s conftest.err'
11695   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11696   (eval $ac_try) 2>&5
11697   ac_status=$?
11698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11699   (exit $ac_status); }; } &&
11700          { ac_try='test -s conftest$ac_exeext'
11701   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11702   (eval $ac_try) 2>&5
11703   ac_status=$?
11704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11705   (exit $ac_status); }; }; then
11706   eval "$as_ac_var=yes"
11707 else
11708   echo "$as_me: failed program was:" >&5
11709 sed 's/^/| /' conftest.$ac_ext >&5
11710
11711 eval "$as_ac_var=no"
11712 fi
11713 rm -f conftest.err conftest.$ac_objext \
11714       conftest$ac_exeext conftest.$ac_ext
11715 fi
11716 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11717 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11718 if test `eval echo '${'$as_ac_var'}'` = yes; then
11719   cat >>confdefs.h <<_ACEOF
11720 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11721 _ACEOF
11722
11723 fi
11724 done
11725
11726   else
11727
11728   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
11729 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
11730   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
11731     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
11732   echo $ECHO_N "(cached) $ECHO_C" >&6
11733 else
11734
11735
11736
11737       ac_ext=cc
11738 ac_cpp='$CXXCPP $CPPFLAGS'
11739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11742
11743       cat >conftest.$ac_ext <<_ACEOF
11744 /* confdefs.h.  */
11745 _ACEOF
11746 cat confdefs.h >>conftest.$ac_ext
11747 cat >>conftest.$ac_ext <<_ACEOF
11748 /* end confdefs.h.  */
11749 #include <math.h>
11750 int
11751 main ()
11752 {
11753  _sincos(0, 0, 0);
11754   ;
11755   return 0;
11756 }
11757 _ACEOF
11758 rm -f conftest.$ac_objext
11759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11760   (eval $ac_compile) 2>conftest.er1
11761   ac_status=$?
11762   grep -v '^ *+' conftest.er1 >conftest.err
11763   rm -f conftest.er1
11764   cat conftest.err >&5
11765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11766   (exit $ac_status); } &&
11767          { ac_try='test -z "$ac_cxx_werror_flag"
11768                          || test ! -s conftest.err'
11769   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11770   (eval $ac_try) 2>&5
11771   ac_status=$?
11772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11773   (exit $ac_status); }; } &&
11774          { ac_try='test -s conftest.$ac_objext'
11775   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11776   (eval $ac_try) 2>&5
11777   ac_status=$?
11778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11779   (exit $ac_status); }; }; then
11780   glibcxx_cv_func__sincos_use=yes
11781 else
11782   echo "$as_me: failed program was:" >&5
11783 sed 's/^/| /' conftest.$ac_ext >&5
11784
11785 glibcxx_cv_func__sincos_use=no
11786 fi
11787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11788       ac_ext=c
11789 ac_cpp='$CPP $CPPFLAGS'
11790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11793
11794
11795 fi
11796
11797   fi
11798   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
11799 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
11800
11801     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
11802
11803 for ac_func in _sincos
11804 do
11805 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11806 echo "$as_me:$LINENO: checking for $ac_func" >&5
11807 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11808 if eval "test \"\${$as_ac_var+set}\" = set"; then
11809   echo $ECHO_N "(cached) $ECHO_C" >&6
11810 else
11811   if test x$gcc_no_link = xyes; then
11812   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11813 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11814    { (exit 1); exit 1; }; }
11815 fi
11816 cat >conftest.$ac_ext <<_ACEOF
11817 /* confdefs.h.  */
11818 _ACEOF
11819 cat confdefs.h >>conftest.$ac_ext
11820 cat >>conftest.$ac_ext <<_ACEOF
11821 /* end confdefs.h.  */
11822 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11823    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11824 #define $ac_func innocuous_$ac_func
11825
11826 /* System header to define __stub macros and hopefully few prototypes,
11827     which can conflict with char $ac_func (); below.
11828     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11829     <limits.h> exists even on freestanding compilers.  */
11830
11831 #ifdef __STDC__
11832 # include <limits.h>
11833 #else
11834 # include <assert.h>
11835 #endif
11836
11837 #undef $ac_func
11838
11839 /* Override any gcc2 internal prototype to avoid an error.  */
11840 #ifdef __cplusplus
11841 extern "C"
11842 {
11843 #endif
11844 /* We use char because int might match the return type of a gcc2
11845    builtin and then its argument prototype would still apply.  */
11846 char $ac_func ();
11847 /* The GNU C library defines this for functions which it implements
11848     to always fail with ENOSYS.  Some functions are actually named
11849     something starting with __ and the normal name is an alias.  */
11850 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11851 choke me
11852 #else
11853 char (*f) () = $ac_func;
11854 #endif
11855 #ifdef __cplusplus
11856 }
11857 #endif
11858
11859 int
11860 main ()
11861 {
11862 return f != $ac_func;
11863   ;
11864   return 0;
11865 }
11866 _ACEOF
11867 rm -f conftest.$ac_objext conftest$ac_exeext
11868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11869   (eval $ac_link) 2>conftest.er1
11870   ac_status=$?
11871   grep -v '^ *+' conftest.er1 >conftest.err
11872   rm -f conftest.er1
11873   cat conftest.err >&5
11874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11875   (exit $ac_status); } &&
11876          { ac_try='test -z "$ac_c_werror_flag"
11877                          || test ! -s conftest.err'
11878   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11879   (eval $ac_try) 2>&5
11880   ac_status=$?
11881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11882   (exit $ac_status); }; } &&
11883          { ac_try='test -s conftest$ac_exeext'
11884   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11885   (eval $ac_try) 2>&5
11886   ac_status=$?
11887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11888   (exit $ac_status); }; }; then
11889   eval "$as_ac_var=yes"
11890 else
11891   echo "$as_me: failed program was:" >&5
11892 sed 's/^/| /' conftest.$ac_ext >&5
11893
11894 eval "$as_ac_var=no"
11895 fi
11896 rm -f conftest.err conftest.$ac_objext \
11897       conftest$ac_exeext conftest.$ac_ext
11898 fi
11899 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11900 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11901 if test `eval echo '${'$as_ac_var'}'` = yes; then
11902   cat >>confdefs.h <<_ACEOF
11903 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11904 _ACEOF
11905
11906 fi
11907 done
11908
11909     fi
11910   fi
11911
11912
11913
11914   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
11915 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
11916   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
11917     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
11918   echo $ECHO_N "(cached) $ECHO_C" >&6
11919 else
11920
11921
11922
11923       ac_ext=cc
11924 ac_cpp='$CXXCPP $CPPFLAGS'
11925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11928
11929       cat >conftest.$ac_ext <<_ACEOF
11930 /* confdefs.h.  */
11931 _ACEOF
11932 cat confdefs.h >>conftest.$ac_ext
11933 cat >>conftest.$ac_ext <<_ACEOF
11934 /* end confdefs.h.  */
11935 #include <math.h>
11936                       #ifdef HAVE_IEEEFP_H
11937                       #include <ieeefp.h>
11938                       #endif
11939
11940 int
11941 main ()
11942 {
11943  fpclass(0);
11944   ;
11945   return 0;
11946 }
11947 _ACEOF
11948 rm -f conftest.$ac_objext
11949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11950   (eval $ac_compile) 2>conftest.er1
11951   ac_status=$?
11952   grep -v '^ *+' conftest.er1 >conftest.err
11953   rm -f conftest.er1
11954   cat conftest.err >&5
11955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11956   (exit $ac_status); } &&
11957          { ac_try='test -z "$ac_cxx_werror_flag"
11958                          || test ! -s conftest.err'
11959   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11960   (eval $ac_try) 2>&5
11961   ac_status=$?
11962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11963   (exit $ac_status); }; } &&
11964          { ac_try='test -s conftest.$ac_objext'
11965   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11966   (eval $ac_try) 2>&5
11967   ac_status=$?
11968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
11969   (exit $ac_status); }; }; then
11970   glibcxx_cv_func_fpclass_use=yes
11971 else
11972   echo "$as_me: failed program was:" >&5
11973 sed 's/^/| /' conftest.$ac_ext >&5
11974
11975 glibcxx_cv_func_fpclass_use=no
11976 fi
11977 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11978       ac_ext=c
11979 ac_cpp='$CPP $CPPFLAGS'
11980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11983
11984
11985 fi
11986
11987   fi
11988   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
11989 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
11990
11991   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
11992
11993 for ac_func in fpclass
11994 do
11995 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11996 echo "$as_me:$LINENO: checking for $ac_func" >&5
11997 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11998 if eval "test \"\${$as_ac_var+set}\" = set"; then
11999   echo $ECHO_N "(cached) $ECHO_C" >&6
12000 else
12001   if test x$gcc_no_link = xyes; then
12002   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12003 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12004    { (exit 1); exit 1; }; }
12005 fi
12006 cat >conftest.$ac_ext <<_ACEOF
12007 /* confdefs.h.  */
12008 _ACEOF
12009 cat confdefs.h >>conftest.$ac_ext
12010 cat >>conftest.$ac_ext <<_ACEOF
12011 /* end confdefs.h.  */
12012 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12013    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12014 #define $ac_func innocuous_$ac_func
12015
12016 /* System header to define __stub macros and hopefully few prototypes,
12017     which can conflict with char $ac_func (); below.
12018     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12019     <limits.h> exists even on freestanding compilers.  */
12020
12021 #ifdef __STDC__
12022 # include <limits.h>
12023 #else
12024 # include <assert.h>
12025 #endif
12026
12027 #undef $ac_func
12028
12029 /* Override any gcc2 internal prototype to avoid an error.  */
12030 #ifdef __cplusplus
12031 extern "C"
12032 {
12033 #endif
12034 /* We use char because int might match the return type of a gcc2
12035    builtin and then its argument prototype would still apply.  */
12036 char $ac_func ();
12037 /* The GNU C library defines this for functions which it implements
12038     to always fail with ENOSYS.  Some functions are actually named
12039     something starting with __ and the normal name is an alias.  */
12040 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12041 choke me
12042 #else
12043 char (*f) () = $ac_func;
12044 #endif
12045 #ifdef __cplusplus
12046 }
12047 #endif
12048
12049 int
12050 main ()
12051 {
12052 return f != $ac_func;
12053   ;
12054   return 0;
12055 }
12056 _ACEOF
12057 rm -f conftest.$ac_objext conftest$ac_exeext
12058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12059   (eval $ac_link) 2>conftest.er1
12060   ac_status=$?
12061   grep -v '^ *+' conftest.er1 >conftest.err
12062   rm -f conftest.er1
12063   cat conftest.err >&5
12064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12065   (exit $ac_status); } &&
12066          { ac_try='test -z "$ac_c_werror_flag"
12067                          || test ! -s conftest.err'
12068   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12069   (eval $ac_try) 2>&5
12070   ac_status=$?
12071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12072   (exit $ac_status); }; } &&
12073          { ac_try='test -s conftest$ac_exeext'
12074   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12075   (eval $ac_try) 2>&5
12076   ac_status=$?
12077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12078   (exit $ac_status); }; }; then
12079   eval "$as_ac_var=yes"
12080 else
12081   echo "$as_me: failed program was:" >&5
12082 sed 's/^/| /' conftest.$ac_ext >&5
12083
12084 eval "$as_ac_var=no"
12085 fi
12086 rm -f conftest.err conftest.$ac_objext \
12087       conftest$ac_exeext conftest.$ac_ext
12088 fi
12089 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12090 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12091 if test `eval echo '${'$as_ac_var'}'` = yes; then
12092   cat >>confdefs.h <<_ACEOF
12093 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12094 _ACEOF
12095
12096 fi
12097 done
12098
12099   else
12100
12101   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
12102 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
12103   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
12104     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
12105   echo $ECHO_N "(cached) $ECHO_C" >&6
12106 else
12107
12108
12109
12110       ac_ext=cc
12111 ac_cpp='$CXXCPP $CPPFLAGS'
12112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12115
12116       cat >conftest.$ac_ext <<_ACEOF
12117 /* confdefs.h.  */
12118 _ACEOF
12119 cat confdefs.h >>conftest.$ac_ext
12120 cat >>conftest.$ac_ext <<_ACEOF
12121 /* end confdefs.h.  */
12122 #include <math.h>
12123                       #ifdef HAVE_IEEEFP_H
12124                       #include <ieeefp.h>
12125                       #endif
12126
12127 int
12128 main ()
12129 {
12130  _fpclass(0);
12131   ;
12132   return 0;
12133 }
12134 _ACEOF
12135 rm -f conftest.$ac_objext
12136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12137   (eval $ac_compile) 2>conftest.er1
12138   ac_status=$?
12139   grep -v '^ *+' conftest.er1 >conftest.err
12140   rm -f conftest.er1
12141   cat conftest.err >&5
12142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12143   (exit $ac_status); } &&
12144          { ac_try='test -z "$ac_cxx_werror_flag"
12145                          || test ! -s conftest.err'
12146   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12147   (eval $ac_try) 2>&5
12148   ac_status=$?
12149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12150   (exit $ac_status); }; } &&
12151          { ac_try='test -s conftest.$ac_objext'
12152   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12153   (eval $ac_try) 2>&5
12154   ac_status=$?
12155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12156   (exit $ac_status); }; }; then
12157   glibcxx_cv_func__fpclass_use=yes
12158 else
12159   echo "$as_me: failed program was:" >&5
12160 sed 's/^/| /' conftest.$ac_ext >&5
12161
12162 glibcxx_cv_func__fpclass_use=no
12163 fi
12164 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12165       ac_ext=c
12166 ac_cpp='$CPP $CPPFLAGS'
12167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12170
12171
12172 fi
12173
12174   fi
12175   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
12176 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
12177
12178     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
12179
12180 for ac_func in _fpclass
12181 do
12182 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12183 echo "$as_me:$LINENO: checking for $ac_func" >&5
12184 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12185 if eval "test \"\${$as_ac_var+set}\" = set"; then
12186   echo $ECHO_N "(cached) $ECHO_C" >&6
12187 else
12188   if test x$gcc_no_link = xyes; then
12189   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12190 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12191    { (exit 1); exit 1; }; }
12192 fi
12193 cat >conftest.$ac_ext <<_ACEOF
12194 /* confdefs.h.  */
12195 _ACEOF
12196 cat confdefs.h >>conftest.$ac_ext
12197 cat >>conftest.$ac_ext <<_ACEOF
12198 /* end confdefs.h.  */
12199 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12200    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12201 #define $ac_func innocuous_$ac_func
12202
12203 /* System header to define __stub macros and hopefully few prototypes,
12204     which can conflict with char $ac_func (); below.
12205     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12206     <limits.h> exists even on freestanding compilers.  */
12207
12208 #ifdef __STDC__
12209 # include <limits.h>
12210 #else
12211 # include <assert.h>
12212 #endif
12213
12214 #undef $ac_func
12215
12216 /* Override any gcc2 internal prototype to avoid an error.  */
12217 #ifdef __cplusplus
12218 extern "C"
12219 {
12220 #endif
12221 /* We use char because int might match the return type of a gcc2
12222    builtin and then its argument prototype would still apply.  */
12223 char $ac_func ();
12224 /* The GNU C library defines this for functions which it implements
12225     to always fail with ENOSYS.  Some functions are actually named
12226     something starting with __ and the normal name is an alias.  */
12227 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12228 choke me
12229 #else
12230 char (*f) () = $ac_func;
12231 #endif
12232 #ifdef __cplusplus
12233 }
12234 #endif
12235
12236 int
12237 main ()
12238 {
12239 return f != $ac_func;
12240   ;
12241   return 0;
12242 }
12243 _ACEOF
12244 rm -f conftest.$ac_objext conftest$ac_exeext
12245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12246   (eval $ac_link) 2>conftest.er1
12247   ac_status=$?
12248   grep -v '^ *+' conftest.er1 >conftest.err
12249   rm -f conftest.er1
12250   cat conftest.err >&5
12251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12252   (exit $ac_status); } &&
12253          { ac_try='test -z "$ac_c_werror_flag"
12254                          || test ! -s conftest.err'
12255   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12256   (eval $ac_try) 2>&5
12257   ac_status=$?
12258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12259   (exit $ac_status); }; } &&
12260          { ac_try='test -s conftest$ac_exeext'
12261   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12262   (eval $ac_try) 2>&5
12263   ac_status=$?
12264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12265   (exit $ac_status); }; }; then
12266   eval "$as_ac_var=yes"
12267 else
12268   echo "$as_me: failed program was:" >&5
12269 sed 's/^/| /' conftest.$ac_ext >&5
12270
12271 eval "$as_ac_var=no"
12272 fi
12273 rm -f conftest.err conftest.$ac_objext \
12274       conftest$ac_exeext conftest.$ac_ext
12275 fi
12276 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12277 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12278 if test `eval echo '${'$as_ac_var'}'` = yes; then
12279   cat >>confdefs.h <<_ACEOF
12280 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12281 _ACEOF
12282
12283 fi
12284 done
12285
12286     fi
12287   fi
12288
12289
12290
12291   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
12292 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
12293   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
12294     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
12295   echo $ECHO_N "(cached) $ECHO_C" >&6
12296 else
12297
12298
12299
12300       ac_ext=cc
12301 ac_cpp='$CXXCPP $CPPFLAGS'
12302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12305
12306       cat >conftest.$ac_ext <<_ACEOF
12307 /* confdefs.h.  */
12308 _ACEOF
12309 cat confdefs.h >>conftest.$ac_ext
12310 cat >>conftest.$ac_ext <<_ACEOF
12311 /* end confdefs.h.  */
12312 #include <math.h>
12313                       #ifdef HAVE_IEEEFP_H
12314                       #include <ieeefp.h>
12315                       #endif
12316
12317 int
12318 main ()
12319 {
12320  qfpclass(0);
12321   ;
12322   return 0;
12323 }
12324 _ACEOF
12325 rm -f conftest.$ac_objext
12326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12327   (eval $ac_compile) 2>conftest.er1
12328   ac_status=$?
12329   grep -v '^ *+' conftest.er1 >conftest.err
12330   rm -f conftest.er1
12331   cat conftest.err >&5
12332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12333   (exit $ac_status); } &&
12334          { ac_try='test -z "$ac_cxx_werror_flag"
12335                          || test ! -s conftest.err'
12336   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12337   (eval $ac_try) 2>&5
12338   ac_status=$?
12339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12340   (exit $ac_status); }; } &&
12341          { ac_try='test -s conftest.$ac_objext'
12342   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12343   (eval $ac_try) 2>&5
12344   ac_status=$?
12345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12346   (exit $ac_status); }; }; then
12347   glibcxx_cv_func_qfpclass_use=yes
12348 else
12349   echo "$as_me: failed program was:" >&5
12350 sed 's/^/| /' conftest.$ac_ext >&5
12351
12352 glibcxx_cv_func_qfpclass_use=no
12353 fi
12354 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12355       ac_ext=c
12356 ac_cpp='$CPP $CPPFLAGS'
12357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12360
12361
12362 fi
12363
12364   fi
12365   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
12366 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
12367
12368   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
12369
12370 for ac_func in qfpclass
12371 do
12372 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12373 echo "$as_me:$LINENO: checking for $ac_func" >&5
12374 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12375 if eval "test \"\${$as_ac_var+set}\" = set"; then
12376   echo $ECHO_N "(cached) $ECHO_C" >&6
12377 else
12378   if test x$gcc_no_link = xyes; then
12379   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12380 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12381    { (exit 1); exit 1; }; }
12382 fi
12383 cat >conftest.$ac_ext <<_ACEOF
12384 /* confdefs.h.  */
12385 _ACEOF
12386 cat confdefs.h >>conftest.$ac_ext
12387 cat >>conftest.$ac_ext <<_ACEOF
12388 /* end confdefs.h.  */
12389 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12390    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12391 #define $ac_func innocuous_$ac_func
12392
12393 /* System header to define __stub macros and hopefully few prototypes,
12394     which can conflict with char $ac_func (); below.
12395     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12396     <limits.h> exists even on freestanding compilers.  */
12397
12398 #ifdef __STDC__
12399 # include <limits.h>
12400 #else
12401 # include <assert.h>
12402 #endif
12403
12404 #undef $ac_func
12405
12406 /* Override any gcc2 internal prototype to avoid an error.  */
12407 #ifdef __cplusplus
12408 extern "C"
12409 {
12410 #endif
12411 /* We use char because int might match the return type of a gcc2
12412    builtin and then its argument prototype would still apply.  */
12413 char $ac_func ();
12414 /* The GNU C library defines this for functions which it implements
12415     to always fail with ENOSYS.  Some functions are actually named
12416     something starting with __ and the normal name is an alias.  */
12417 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12418 choke me
12419 #else
12420 char (*f) () = $ac_func;
12421 #endif
12422 #ifdef __cplusplus
12423 }
12424 #endif
12425
12426 int
12427 main ()
12428 {
12429 return f != $ac_func;
12430   ;
12431   return 0;
12432 }
12433 _ACEOF
12434 rm -f conftest.$ac_objext conftest$ac_exeext
12435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12436   (eval $ac_link) 2>conftest.er1
12437   ac_status=$?
12438   grep -v '^ *+' conftest.er1 >conftest.err
12439   rm -f conftest.er1
12440   cat conftest.err >&5
12441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12442   (exit $ac_status); } &&
12443          { ac_try='test -z "$ac_c_werror_flag"
12444                          || test ! -s conftest.err'
12445   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12446   (eval $ac_try) 2>&5
12447   ac_status=$?
12448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12449   (exit $ac_status); }; } &&
12450          { ac_try='test -s conftest$ac_exeext'
12451   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12452   (eval $ac_try) 2>&5
12453   ac_status=$?
12454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12455   (exit $ac_status); }; }; then
12456   eval "$as_ac_var=yes"
12457 else
12458   echo "$as_me: failed program was:" >&5
12459 sed 's/^/| /' conftest.$ac_ext >&5
12460
12461 eval "$as_ac_var=no"
12462 fi
12463 rm -f conftest.err conftest.$ac_objext \
12464       conftest$ac_exeext conftest.$ac_ext
12465 fi
12466 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12467 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12468 if test `eval echo '${'$as_ac_var'}'` = yes; then
12469   cat >>confdefs.h <<_ACEOF
12470 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12471 _ACEOF
12472
12473 fi
12474 done
12475
12476   else
12477
12478   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
12479 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
12480   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
12481     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
12482   echo $ECHO_N "(cached) $ECHO_C" >&6
12483 else
12484
12485
12486
12487       ac_ext=cc
12488 ac_cpp='$CXXCPP $CPPFLAGS'
12489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12492
12493       cat >conftest.$ac_ext <<_ACEOF
12494 /* confdefs.h.  */
12495 _ACEOF
12496 cat confdefs.h >>conftest.$ac_ext
12497 cat >>conftest.$ac_ext <<_ACEOF
12498 /* end confdefs.h.  */
12499 #include <math.h>
12500                       #ifdef HAVE_IEEEFP_H
12501                       #include <ieeefp.h>
12502                       #endif
12503
12504 int
12505 main ()
12506 {
12507  _qfpclass(0);
12508   ;
12509   return 0;
12510 }
12511 _ACEOF
12512 rm -f conftest.$ac_objext
12513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12514   (eval $ac_compile) 2>conftest.er1
12515   ac_status=$?
12516   grep -v '^ *+' conftest.er1 >conftest.err
12517   rm -f conftest.er1
12518   cat conftest.err >&5
12519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12520   (exit $ac_status); } &&
12521          { ac_try='test -z "$ac_cxx_werror_flag"
12522                          || test ! -s conftest.err'
12523   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12524   (eval $ac_try) 2>&5
12525   ac_status=$?
12526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12527   (exit $ac_status); }; } &&
12528          { ac_try='test -s conftest.$ac_objext'
12529   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12530   (eval $ac_try) 2>&5
12531   ac_status=$?
12532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12533   (exit $ac_status); }; }; then
12534   glibcxx_cv_func__qfpclass_use=yes
12535 else
12536   echo "$as_me: failed program was:" >&5
12537 sed 's/^/| /' conftest.$ac_ext >&5
12538
12539 glibcxx_cv_func__qfpclass_use=no
12540 fi
12541 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12542       ac_ext=c
12543 ac_cpp='$CPP $CPPFLAGS'
12544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12547
12548
12549 fi
12550
12551   fi
12552   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
12553 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
12554
12555     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
12556
12557 for ac_func in _qfpclass
12558 do
12559 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12560 echo "$as_me:$LINENO: checking for $ac_func" >&5
12561 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12562 if eval "test \"\${$as_ac_var+set}\" = set"; then
12563   echo $ECHO_N "(cached) $ECHO_C" >&6
12564 else
12565   if test x$gcc_no_link = xyes; then
12566   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12567 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12568    { (exit 1); exit 1; }; }
12569 fi
12570 cat >conftest.$ac_ext <<_ACEOF
12571 /* confdefs.h.  */
12572 _ACEOF
12573 cat confdefs.h >>conftest.$ac_ext
12574 cat >>conftest.$ac_ext <<_ACEOF
12575 /* end confdefs.h.  */
12576 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12577    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12578 #define $ac_func innocuous_$ac_func
12579
12580 /* System header to define __stub macros and hopefully few prototypes,
12581     which can conflict with char $ac_func (); below.
12582     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12583     <limits.h> exists even on freestanding compilers.  */
12584
12585 #ifdef __STDC__
12586 # include <limits.h>
12587 #else
12588 # include <assert.h>
12589 #endif
12590
12591 #undef $ac_func
12592
12593 /* Override any gcc2 internal prototype to avoid an error.  */
12594 #ifdef __cplusplus
12595 extern "C"
12596 {
12597 #endif
12598 /* We use char because int might match the return type of a gcc2
12599    builtin and then its argument prototype would still apply.  */
12600 char $ac_func ();
12601 /* The GNU C library defines this for functions which it implements
12602     to always fail with ENOSYS.  Some functions are actually named
12603     something starting with __ and the normal name is an alias.  */
12604 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12605 choke me
12606 #else
12607 char (*f) () = $ac_func;
12608 #endif
12609 #ifdef __cplusplus
12610 }
12611 #endif
12612
12613 int
12614 main ()
12615 {
12616 return f != $ac_func;
12617   ;
12618   return 0;
12619 }
12620 _ACEOF
12621 rm -f conftest.$ac_objext conftest$ac_exeext
12622 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12623   (eval $ac_link) 2>conftest.er1
12624   ac_status=$?
12625   grep -v '^ *+' conftest.er1 >conftest.err
12626   rm -f conftest.er1
12627   cat conftest.err >&5
12628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12629   (exit $ac_status); } &&
12630          { ac_try='test -z "$ac_c_werror_flag"
12631                          || test ! -s conftest.err'
12632   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12633   (eval $ac_try) 2>&5
12634   ac_status=$?
12635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12636   (exit $ac_status); }; } &&
12637          { ac_try='test -s conftest$ac_exeext'
12638   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12639   (eval $ac_try) 2>&5
12640   ac_status=$?
12641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12642   (exit $ac_status); }; }; then
12643   eval "$as_ac_var=yes"
12644 else
12645   echo "$as_me: failed program was:" >&5
12646 sed 's/^/| /' conftest.$ac_ext >&5
12647
12648 eval "$as_ac_var=no"
12649 fi
12650 rm -f conftest.err conftest.$ac_objext \
12651       conftest$ac_exeext conftest.$ac_ext
12652 fi
12653 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12654 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12655 if test `eval echo '${'$as_ac_var'}'` = yes; then
12656   cat >>confdefs.h <<_ACEOF
12657 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12658 _ACEOF
12659
12660 fi
12661 done
12662
12663     fi
12664   fi
12665
12666
12667
12668   echo "$as_me:$LINENO: checking for hypot declaration" >&5
12669 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
12670   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
12671     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
12672   echo $ECHO_N "(cached) $ECHO_C" >&6
12673 else
12674
12675
12676
12677       ac_ext=cc
12678 ac_cpp='$CXXCPP $CPPFLAGS'
12679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12682
12683       cat >conftest.$ac_ext <<_ACEOF
12684 /* confdefs.h.  */
12685 _ACEOF
12686 cat confdefs.h >>conftest.$ac_ext
12687 cat >>conftest.$ac_ext <<_ACEOF
12688 /* end confdefs.h.  */
12689 #include <math.h>
12690 int
12691 main ()
12692 {
12693  hypot(0, 0);
12694   ;
12695   return 0;
12696 }
12697 _ACEOF
12698 rm -f conftest.$ac_objext
12699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12700   (eval $ac_compile) 2>conftest.er1
12701   ac_status=$?
12702   grep -v '^ *+' conftest.er1 >conftest.err
12703   rm -f conftest.er1
12704   cat conftest.err >&5
12705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12706   (exit $ac_status); } &&
12707          { ac_try='test -z "$ac_cxx_werror_flag"
12708                          || test ! -s conftest.err'
12709   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12710   (eval $ac_try) 2>&5
12711   ac_status=$?
12712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12713   (exit $ac_status); }; } &&
12714          { ac_try='test -s conftest.$ac_objext'
12715   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12716   (eval $ac_try) 2>&5
12717   ac_status=$?
12718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12719   (exit $ac_status); }; }; then
12720   glibcxx_cv_func_hypot_use=yes
12721 else
12722   echo "$as_me: failed program was:" >&5
12723 sed 's/^/| /' conftest.$ac_ext >&5
12724
12725 glibcxx_cv_func_hypot_use=no
12726 fi
12727 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12728       ac_ext=c
12729 ac_cpp='$CPP $CPPFLAGS'
12730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12733
12734
12735 fi
12736
12737   fi
12738   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
12739 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
12740
12741   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
12742
12743 for ac_func in hypot
12744 do
12745 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12746 echo "$as_me:$LINENO: checking for $ac_func" >&5
12747 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12748 if eval "test \"\${$as_ac_var+set}\" = set"; then
12749   echo $ECHO_N "(cached) $ECHO_C" >&6
12750 else
12751   if test x$gcc_no_link = xyes; then
12752   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12753 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12754    { (exit 1); exit 1; }; }
12755 fi
12756 cat >conftest.$ac_ext <<_ACEOF
12757 /* confdefs.h.  */
12758 _ACEOF
12759 cat confdefs.h >>conftest.$ac_ext
12760 cat >>conftest.$ac_ext <<_ACEOF
12761 /* end confdefs.h.  */
12762 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12763    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12764 #define $ac_func innocuous_$ac_func
12765
12766 /* System header to define __stub macros and hopefully few prototypes,
12767     which can conflict with char $ac_func (); below.
12768     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12769     <limits.h> exists even on freestanding compilers.  */
12770
12771 #ifdef __STDC__
12772 # include <limits.h>
12773 #else
12774 # include <assert.h>
12775 #endif
12776
12777 #undef $ac_func
12778
12779 /* Override any gcc2 internal prototype to avoid an error.  */
12780 #ifdef __cplusplus
12781 extern "C"
12782 {
12783 #endif
12784 /* We use char because int might match the return type of a gcc2
12785    builtin and then its argument prototype would still apply.  */
12786 char $ac_func ();
12787 /* The GNU C library defines this for functions which it implements
12788     to always fail with ENOSYS.  Some functions are actually named
12789     something starting with __ and the normal name is an alias.  */
12790 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12791 choke me
12792 #else
12793 char (*f) () = $ac_func;
12794 #endif
12795 #ifdef __cplusplus
12796 }
12797 #endif
12798
12799 int
12800 main ()
12801 {
12802 return f != $ac_func;
12803   ;
12804   return 0;
12805 }
12806 _ACEOF
12807 rm -f conftest.$ac_objext conftest$ac_exeext
12808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12809   (eval $ac_link) 2>conftest.er1
12810   ac_status=$?
12811   grep -v '^ *+' conftest.er1 >conftest.err
12812   rm -f conftest.er1
12813   cat conftest.err >&5
12814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12815   (exit $ac_status); } &&
12816          { ac_try='test -z "$ac_c_werror_flag"
12817                          || test ! -s conftest.err'
12818   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12819   (eval $ac_try) 2>&5
12820   ac_status=$?
12821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12822   (exit $ac_status); }; } &&
12823          { ac_try='test -s conftest$ac_exeext'
12824   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12825   (eval $ac_try) 2>&5
12826   ac_status=$?
12827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12828   (exit $ac_status); }; }; then
12829   eval "$as_ac_var=yes"
12830 else
12831   echo "$as_me: failed program was:" >&5
12832 sed 's/^/| /' conftest.$ac_ext >&5
12833
12834 eval "$as_ac_var=no"
12835 fi
12836 rm -f conftest.err conftest.$ac_objext \
12837       conftest$ac_exeext conftest.$ac_ext
12838 fi
12839 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12840 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12841 if test `eval echo '${'$as_ac_var'}'` = yes; then
12842   cat >>confdefs.h <<_ACEOF
12843 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12844 _ACEOF
12845
12846 fi
12847 done
12848
12849   else
12850
12851   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
12852 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
12853   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
12854     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
12855   echo $ECHO_N "(cached) $ECHO_C" >&6
12856 else
12857
12858
12859
12860       ac_ext=cc
12861 ac_cpp='$CXXCPP $CPPFLAGS'
12862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12865
12866       cat >conftest.$ac_ext <<_ACEOF
12867 /* confdefs.h.  */
12868 _ACEOF
12869 cat confdefs.h >>conftest.$ac_ext
12870 cat >>conftest.$ac_ext <<_ACEOF
12871 /* end confdefs.h.  */
12872 #include <math.h>
12873 int
12874 main ()
12875 {
12876  _hypot(0, 0);
12877   ;
12878   return 0;
12879 }
12880 _ACEOF
12881 rm -f conftest.$ac_objext
12882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12883   (eval $ac_compile) 2>conftest.er1
12884   ac_status=$?
12885   grep -v '^ *+' conftest.er1 >conftest.err
12886   rm -f conftest.er1
12887   cat conftest.err >&5
12888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12889   (exit $ac_status); } &&
12890          { ac_try='test -z "$ac_cxx_werror_flag"
12891                          || test ! -s conftest.err'
12892   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12893   (eval $ac_try) 2>&5
12894   ac_status=$?
12895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12896   (exit $ac_status); }; } &&
12897          { ac_try='test -s conftest.$ac_objext'
12898   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12899   (eval $ac_try) 2>&5
12900   ac_status=$?
12901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12902   (exit $ac_status); }; }; then
12903   glibcxx_cv_func__hypot_use=yes
12904 else
12905   echo "$as_me: failed program was:" >&5
12906 sed 's/^/| /' conftest.$ac_ext >&5
12907
12908 glibcxx_cv_func__hypot_use=no
12909 fi
12910 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12911       ac_ext=c
12912 ac_cpp='$CPP $CPPFLAGS'
12913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12916
12917
12918 fi
12919
12920   fi
12921   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
12922 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
12923
12924     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
12925
12926 for ac_func in _hypot
12927 do
12928 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12929 echo "$as_me:$LINENO: checking for $ac_func" >&5
12930 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12931 if eval "test \"\${$as_ac_var+set}\" = set"; then
12932   echo $ECHO_N "(cached) $ECHO_C" >&6
12933 else
12934   if test x$gcc_no_link = xyes; then
12935   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12936 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12937    { (exit 1); exit 1; }; }
12938 fi
12939 cat >conftest.$ac_ext <<_ACEOF
12940 /* confdefs.h.  */
12941 _ACEOF
12942 cat confdefs.h >>conftest.$ac_ext
12943 cat >>conftest.$ac_ext <<_ACEOF
12944 /* end confdefs.h.  */
12945 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12946    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
12947 #define $ac_func innocuous_$ac_func
12948
12949 /* System header to define __stub macros and hopefully few prototypes,
12950     which can conflict with char $ac_func (); below.
12951     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12952     <limits.h> exists even on freestanding compilers.  */
12953
12954 #ifdef __STDC__
12955 # include <limits.h>
12956 #else
12957 # include <assert.h>
12958 #endif
12959
12960 #undef $ac_func
12961
12962 /* Override any gcc2 internal prototype to avoid an error.  */
12963 #ifdef __cplusplus
12964 extern "C"
12965 {
12966 #endif
12967 /* We use char because int might match the return type of a gcc2
12968    builtin and then its argument prototype would still apply.  */
12969 char $ac_func ();
12970 /* The GNU C library defines this for functions which it implements
12971     to always fail with ENOSYS.  Some functions are actually named
12972     something starting with __ and the normal name is an alias.  */
12973 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12974 choke me
12975 #else
12976 char (*f) () = $ac_func;
12977 #endif
12978 #ifdef __cplusplus
12979 }
12980 #endif
12981
12982 int
12983 main ()
12984 {
12985 return f != $ac_func;
12986   ;
12987   return 0;
12988 }
12989 _ACEOF
12990 rm -f conftest.$ac_objext conftest$ac_exeext
12991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12992   (eval $ac_link) 2>conftest.er1
12993   ac_status=$?
12994   grep -v '^ *+' conftest.er1 >conftest.err
12995   rm -f conftest.er1
12996   cat conftest.err >&5
12997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
12998   (exit $ac_status); } &&
12999          { ac_try='test -z "$ac_c_werror_flag"
13000                          || test ! -s conftest.err'
13001   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13002   (eval $ac_try) 2>&5
13003   ac_status=$?
13004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13005   (exit $ac_status); }; } &&
13006          { ac_try='test -s conftest$ac_exeext'
13007   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13008   (eval $ac_try) 2>&5
13009   ac_status=$?
13010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13011   (exit $ac_status); }; }; then
13012   eval "$as_ac_var=yes"
13013 else
13014   echo "$as_me: failed program was:" >&5
13015 sed 's/^/| /' conftest.$ac_ext >&5
13016
13017 eval "$as_ac_var=no"
13018 fi
13019 rm -f conftest.err conftest.$ac_objext \
13020       conftest$ac_exeext conftest.$ac_ext
13021 fi
13022 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13023 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13024 if test `eval echo '${'$as_ac_var'}'` = yes; then
13025   cat >>confdefs.h <<_ACEOF
13026 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13027 _ACEOF
13028
13029 fi
13030 done
13031
13032     fi
13033   fi
13034
13035
13036
13037   echo "$as_me:$LINENO: checking for float trig functions" >&5
13038 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
13039   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
13040   echo $ECHO_N "(cached) $ECHO_C" >&6
13041 else
13042
13043
13044
13045     ac_ext=cc
13046 ac_cpp='$CXXCPP $CPPFLAGS'
13047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13050
13051     cat >conftest.$ac_ext <<_ACEOF
13052 /* confdefs.h.  */
13053 _ACEOF
13054 cat confdefs.h >>conftest.$ac_ext
13055 cat >>conftest.$ac_ext <<_ACEOF
13056 /* end confdefs.h.  */
13057 #include <math.h>
13058 int
13059 main ()
13060 {
13061  `for x in acosf asinf atanf \
13062                                           cosf sinf tanf \
13063                                           coshf sinhf tanhf; do echo "$x (0);"; done`
13064   ;
13065   return 0;
13066 }
13067 _ACEOF
13068 rm -f conftest.$ac_objext
13069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13070   (eval $ac_compile) 2>conftest.er1
13071   ac_status=$?
13072   grep -v '^ *+' conftest.er1 >conftest.err
13073   rm -f conftest.er1
13074   cat conftest.err >&5
13075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13076   (exit $ac_status); } &&
13077          { ac_try='test -z "$ac_cxx_werror_flag"
13078                          || test ! -s conftest.err'
13079   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13080   (eval $ac_try) 2>&5
13081   ac_status=$?
13082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13083   (exit $ac_status); }; } &&
13084          { ac_try='test -s conftest.$ac_objext'
13085   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13086   (eval $ac_try) 2>&5
13087   ac_status=$?
13088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13089   (exit $ac_status); }; }; then
13090   glibcxx_cv_func_float_trig_use=yes
13091 else
13092   echo "$as_me: failed program was:" >&5
13093 sed 's/^/| /' conftest.$ac_ext >&5
13094
13095 glibcxx_cv_func_float_trig_use=no
13096 fi
13097 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13098     ac_ext=c
13099 ac_cpp='$CPP $CPPFLAGS'
13100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13103
13104 fi
13105
13106   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
13107 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
13108   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
13109
13110
13111
13112
13113
13114
13115
13116
13117
13118 for ac_func in acosf asinf atanf \
13119                                           cosf sinf tanf \
13120                                           coshf sinhf tanhf
13121 do
13122 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13123 echo "$as_me:$LINENO: checking for $ac_func" >&5
13124 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13125 if eval "test \"\${$as_ac_var+set}\" = set"; then
13126   echo $ECHO_N "(cached) $ECHO_C" >&6
13127 else
13128   if test x$gcc_no_link = xyes; then
13129   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13130 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13131    { (exit 1); exit 1; }; }
13132 fi
13133 cat >conftest.$ac_ext <<_ACEOF
13134 /* confdefs.h.  */
13135 _ACEOF
13136 cat confdefs.h >>conftest.$ac_ext
13137 cat >>conftest.$ac_ext <<_ACEOF
13138 /* end confdefs.h.  */
13139 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13140    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13141 #define $ac_func innocuous_$ac_func
13142
13143 /* System header to define __stub macros and hopefully few prototypes,
13144     which can conflict with char $ac_func (); below.
13145     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13146     <limits.h> exists even on freestanding compilers.  */
13147
13148 #ifdef __STDC__
13149 # include <limits.h>
13150 #else
13151 # include <assert.h>
13152 #endif
13153
13154 #undef $ac_func
13155
13156 /* Override any gcc2 internal prototype to avoid an error.  */
13157 #ifdef __cplusplus
13158 extern "C"
13159 {
13160 #endif
13161 /* We use char because int might match the return type of a gcc2
13162    builtin and then its argument prototype would still apply.  */
13163 char $ac_func ();
13164 /* The GNU C library defines this for functions which it implements
13165     to always fail with ENOSYS.  Some functions are actually named
13166     something starting with __ and the normal name is an alias.  */
13167 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13168 choke me
13169 #else
13170 char (*f) () = $ac_func;
13171 #endif
13172 #ifdef __cplusplus
13173 }
13174 #endif
13175
13176 int
13177 main ()
13178 {
13179 return f != $ac_func;
13180   ;
13181   return 0;
13182 }
13183 _ACEOF
13184 rm -f conftest.$ac_objext conftest$ac_exeext
13185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13186   (eval $ac_link) 2>conftest.er1
13187   ac_status=$?
13188   grep -v '^ *+' conftest.er1 >conftest.err
13189   rm -f conftest.er1
13190   cat conftest.err >&5
13191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13192   (exit $ac_status); } &&
13193          { ac_try='test -z "$ac_c_werror_flag"
13194                          || test ! -s conftest.err'
13195   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13196   (eval $ac_try) 2>&5
13197   ac_status=$?
13198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13199   (exit $ac_status); }; } &&
13200          { ac_try='test -s conftest$ac_exeext'
13201   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13202   (eval $ac_try) 2>&5
13203   ac_status=$?
13204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13205   (exit $ac_status); }; }; then
13206   eval "$as_ac_var=yes"
13207 else
13208   echo "$as_me: failed program was:" >&5
13209 sed 's/^/| /' conftest.$ac_ext >&5
13210
13211 eval "$as_ac_var=no"
13212 fi
13213 rm -f conftest.err conftest.$ac_objext \
13214       conftest$ac_exeext conftest.$ac_ext
13215 fi
13216 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13217 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13218 if test `eval echo '${'$as_ac_var'}'` = yes; then
13219   cat >>confdefs.h <<_ACEOF
13220 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13221 _ACEOF
13222
13223 fi
13224 done
13225
13226   fi
13227
13228
13229   echo "$as_me:$LINENO: checking for float round functions" >&5
13230 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
13231   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
13232   echo $ECHO_N "(cached) $ECHO_C" >&6
13233 else
13234
13235
13236
13237     ac_ext=cc
13238 ac_cpp='$CXXCPP $CPPFLAGS'
13239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13242
13243     cat >conftest.$ac_ext <<_ACEOF
13244 /* confdefs.h.  */
13245 _ACEOF
13246 cat confdefs.h >>conftest.$ac_ext
13247 cat >>conftest.$ac_ext <<_ACEOF
13248 /* end confdefs.h.  */
13249 #include <math.h>
13250 int
13251 main ()
13252 {
13253  `for x in ceilf floorf; do echo "$x (0);"; done`
13254   ;
13255   return 0;
13256 }
13257 _ACEOF
13258 rm -f conftest.$ac_objext
13259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13260   (eval $ac_compile) 2>conftest.er1
13261   ac_status=$?
13262   grep -v '^ *+' conftest.er1 >conftest.err
13263   rm -f conftest.er1
13264   cat conftest.err >&5
13265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13266   (exit $ac_status); } &&
13267          { ac_try='test -z "$ac_cxx_werror_flag"
13268                          || test ! -s conftest.err'
13269   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13270   (eval $ac_try) 2>&5
13271   ac_status=$?
13272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13273   (exit $ac_status); }; } &&
13274          { ac_try='test -s conftest.$ac_objext'
13275   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13276   (eval $ac_try) 2>&5
13277   ac_status=$?
13278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13279   (exit $ac_status); }; }; then
13280   glibcxx_cv_func_float_round_use=yes
13281 else
13282   echo "$as_me: failed program was:" >&5
13283 sed 's/^/| /' conftest.$ac_ext >&5
13284
13285 glibcxx_cv_func_float_round_use=no
13286 fi
13287 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13288     ac_ext=c
13289 ac_cpp='$CPP $CPPFLAGS'
13290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13293
13294 fi
13295
13296   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
13297 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
13298   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
13299
13300
13301 for ac_func in ceilf floorf
13302 do
13303 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13304 echo "$as_me:$LINENO: checking for $ac_func" >&5
13305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13306 if eval "test \"\${$as_ac_var+set}\" = set"; then
13307   echo $ECHO_N "(cached) $ECHO_C" >&6
13308 else
13309   if test x$gcc_no_link = xyes; then
13310   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13311 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13312    { (exit 1); exit 1; }; }
13313 fi
13314 cat >conftest.$ac_ext <<_ACEOF
13315 /* confdefs.h.  */
13316 _ACEOF
13317 cat confdefs.h >>conftest.$ac_ext
13318 cat >>conftest.$ac_ext <<_ACEOF
13319 /* end confdefs.h.  */
13320 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13321    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13322 #define $ac_func innocuous_$ac_func
13323
13324 /* System header to define __stub macros and hopefully few prototypes,
13325     which can conflict with char $ac_func (); below.
13326     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13327     <limits.h> exists even on freestanding compilers.  */
13328
13329 #ifdef __STDC__
13330 # include <limits.h>
13331 #else
13332 # include <assert.h>
13333 #endif
13334
13335 #undef $ac_func
13336
13337 /* Override any gcc2 internal prototype to avoid an error.  */
13338 #ifdef __cplusplus
13339 extern "C"
13340 {
13341 #endif
13342 /* We use char because int might match the return type of a gcc2
13343    builtin and then its argument prototype would still apply.  */
13344 char $ac_func ();
13345 /* The GNU C library defines this for functions which it implements
13346     to always fail with ENOSYS.  Some functions are actually named
13347     something starting with __ and the normal name is an alias.  */
13348 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13349 choke me
13350 #else
13351 char (*f) () = $ac_func;
13352 #endif
13353 #ifdef __cplusplus
13354 }
13355 #endif
13356
13357 int
13358 main ()
13359 {
13360 return f != $ac_func;
13361   ;
13362   return 0;
13363 }
13364 _ACEOF
13365 rm -f conftest.$ac_objext conftest$ac_exeext
13366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13367   (eval $ac_link) 2>conftest.er1
13368   ac_status=$?
13369   grep -v '^ *+' conftest.er1 >conftest.err
13370   rm -f conftest.er1
13371   cat conftest.err >&5
13372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13373   (exit $ac_status); } &&
13374          { ac_try='test -z "$ac_c_werror_flag"
13375                          || test ! -s conftest.err'
13376   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13377   (eval $ac_try) 2>&5
13378   ac_status=$?
13379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13380   (exit $ac_status); }; } &&
13381          { ac_try='test -s conftest$ac_exeext'
13382   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13383   (eval $ac_try) 2>&5
13384   ac_status=$?
13385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13386   (exit $ac_status); }; }; then
13387   eval "$as_ac_var=yes"
13388 else
13389   echo "$as_me: failed program was:" >&5
13390 sed 's/^/| /' conftest.$ac_ext >&5
13391
13392 eval "$as_ac_var=no"
13393 fi
13394 rm -f conftest.err conftest.$ac_objext \
13395       conftest$ac_exeext conftest.$ac_ext
13396 fi
13397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13398 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13399 if test `eval echo '${'$as_ac_var'}'` = yes; then
13400   cat >>confdefs.h <<_ACEOF
13401 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13402 _ACEOF
13403
13404 fi
13405 done
13406
13407   fi
13408
13409
13410
13411   echo "$as_me:$LINENO: checking for expf declaration" >&5
13412 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
13413   if test x${glibcxx_cv_func_expf_use+set} != xset; then
13414     if test "${glibcxx_cv_func_expf_use+set}" = set; then
13415   echo $ECHO_N "(cached) $ECHO_C" >&6
13416 else
13417
13418
13419
13420       ac_ext=cc
13421 ac_cpp='$CXXCPP $CPPFLAGS'
13422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13425
13426       cat >conftest.$ac_ext <<_ACEOF
13427 /* confdefs.h.  */
13428 _ACEOF
13429 cat confdefs.h >>conftest.$ac_ext
13430 cat >>conftest.$ac_ext <<_ACEOF
13431 /* end confdefs.h.  */
13432 #include <math.h>
13433                       #ifdef HAVE_IEEEFP_H
13434                       #include <ieeefp.h>
13435                       #endif
13436
13437 int
13438 main ()
13439 {
13440  expf(0);
13441   ;
13442   return 0;
13443 }
13444 _ACEOF
13445 rm -f conftest.$ac_objext
13446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13447   (eval $ac_compile) 2>conftest.er1
13448   ac_status=$?
13449   grep -v '^ *+' conftest.er1 >conftest.err
13450   rm -f conftest.er1
13451   cat conftest.err >&5
13452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13453   (exit $ac_status); } &&
13454          { ac_try='test -z "$ac_cxx_werror_flag"
13455                          || test ! -s conftest.err'
13456   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13457   (eval $ac_try) 2>&5
13458   ac_status=$?
13459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13460   (exit $ac_status); }; } &&
13461          { ac_try='test -s conftest.$ac_objext'
13462   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13463   (eval $ac_try) 2>&5
13464   ac_status=$?
13465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13466   (exit $ac_status); }; }; then
13467   glibcxx_cv_func_expf_use=yes
13468 else
13469   echo "$as_me: failed program was:" >&5
13470 sed 's/^/| /' conftest.$ac_ext >&5
13471
13472 glibcxx_cv_func_expf_use=no
13473 fi
13474 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13475       ac_ext=c
13476 ac_cpp='$CPP $CPPFLAGS'
13477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13480
13481
13482 fi
13483
13484   fi
13485   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
13486 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
13487
13488   if test x$glibcxx_cv_func_expf_use = x"yes"; then
13489
13490 for ac_func in expf
13491 do
13492 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13493 echo "$as_me:$LINENO: checking for $ac_func" >&5
13494 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13495 if eval "test \"\${$as_ac_var+set}\" = set"; then
13496   echo $ECHO_N "(cached) $ECHO_C" >&6
13497 else
13498   if test x$gcc_no_link = xyes; then
13499   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13500 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13501    { (exit 1); exit 1; }; }
13502 fi
13503 cat >conftest.$ac_ext <<_ACEOF
13504 /* confdefs.h.  */
13505 _ACEOF
13506 cat confdefs.h >>conftest.$ac_ext
13507 cat >>conftest.$ac_ext <<_ACEOF
13508 /* end confdefs.h.  */
13509 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13510    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13511 #define $ac_func innocuous_$ac_func
13512
13513 /* System header to define __stub macros and hopefully few prototypes,
13514     which can conflict with char $ac_func (); below.
13515     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13516     <limits.h> exists even on freestanding compilers.  */
13517
13518 #ifdef __STDC__
13519 # include <limits.h>
13520 #else
13521 # include <assert.h>
13522 #endif
13523
13524 #undef $ac_func
13525
13526 /* Override any gcc2 internal prototype to avoid an error.  */
13527 #ifdef __cplusplus
13528 extern "C"
13529 {
13530 #endif
13531 /* We use char because int might match the return type of a gcc2
13532    builtin and then its argument prototype would still apply.  */
13533 char $ac_func ();
13534 /* The GNU C library defines this for functions which it implements
13535     to always fail with ENOSYS.  Some functions are actually named
13536     something starting with __ and the normal name is an alias.  */
13537 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13538 choke me
13539 #else
13540 char (*f) () = $ac_func;
13541 #endif
13542 #ifdef __cplusplus
13543 }
13544 #endif
13545
13546 int
13547 main ()
13548 {
13549 return f != $ac_func;
13550   ;
13551   return 0;
13552 }
13553 _ACEOF
13554 rm -f conftest.$ac_objext conftest$ac_exeext
13555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13556   (eval $ac_link) 2>conftest.er1
13557   ac_status=$?
13558   grep -v '^ *+' conftest.er1 >conftest.err
13559   rm -f conftest.er1
13560   cat conftest.err >&5
13561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13562   (exit $ac_status); } &&
13563          { ac_try='test -z "$ac_c_werror_flag"
13564                          || test ! -s conftest.err'
13565   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13566   (eval $ac_try) 2>&5
13567   ac_status=$?
13568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13569   (exit $ac_status); }; } &&
13570          { ac_try='test -s conftest$ac_exeext'
13571   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13572   (eval $ac_try) 2>&5
13573   ac_status=$?
13574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13575   (exit $ac_status); }; }; then
13576   eval "$as_ac_var=yes"
13577 else
13578   echo "$as_me: failed program was:" >&5
13579 sed 's/^/| /' conftest.$ac_ext >&5
13580
13581 eval "$as_ac_var=no"
13582 fi
13583 rm -f conftest.err conftest.$ac_objext \
13584       conftest$ac_exeext conftest.$ac_ext
13585 fi
13586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13587 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13588 if test `eval echo '${'$as_ac_var'}'` = yes; then
13589   cat >>confdefs.h <<_ACEOF
13590 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13591 _ACEOF
13592
13593 fi
13594 done
13595
13596   else
13597
13598   echo "$as_me:$LINENO: checking for _expf declaration" >&5
13599 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
13600   if test x${glibcxx_cv_func__expf_use+set} != xset; then
13601     if test "${glibcxx_cv_func__expf_use+set}" = set; then
13602   echo $ECHO_N "(cached) $ECHO_C" >&6
13603 else
13604
13605
13606
13607       ac_ext=cc
13608 ac_cpp='$CXXCPP $CPPFLAGS'
13609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13612
13613       cat >conftest.$ac_ext <<_ACEOF
13614 /* confdefs.h.  */
13615 _ACEOF
13616 cat confdefs.h >>conftest.$ac_ext
13617 cat >>conftest.$ac_ext <<_ACEOF
13618 /* end confdefs.h.  */
13619 #include <math.h>
13620                       #ifdef HAVE_IEEEFP_H
13621                       #include <ieeefp.h>
13622                       #endif
13623
13624 int
13625 main ()
13626 {
13627  _expf(0);
13628   ;
13629   return 0;
13630 }
13631 _ACEOF
13632 rm -f conftest.$ac_objext
13633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13634   (eval $ac_compile) 2>conftest.er1
13635   ac_status=$?
13636   grep -v '^ *+' conftest.er1 >conftest.err
13637   rm -f conftest.er1
13638   cat conftest.err >&5
13639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13640   (exit $ac_status); } &&
13641          { ac_try='test -z "$ac_cxx_werror_flag"
13642                          || test ! -s conftest.err'
13643   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13644   (eval $ac_try) 2>&5
13645   ac_status=$?
13646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13647   (exit $ac_status); }; } &&
13648          { ac_try='test -s conftest.$ac_objext'
13649   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13650   (eval $ac_try) 2>&5
13651   ac_status=$?
13652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13653   (exit $ac_status); }; }; then
13654   glibcxx_cv_func__expf_use=yes
13655 else
13656   echo "$as_me: failed program was:" >&5
13657 sed 's/^/| /' conftest.$ac_ext >&5
13658
13659 glibcxx_cv_func__expf_use=no
13660 fi
13661 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13662       ac_ext=c
13663 ac_cpp='$CPP $CPPFLAGS'
13664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13667
13668
13669 fi
13670
13671   fi
13672   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
13673 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
13674
13675     if test x$glibcxx_cv_func__expf_use = x"yes"; then
13676
13677 for ac_func in _expf
13678 do
13679 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13680 echo "$as_me:$LINENO: checking for $ac_func" >&5
13681 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13682 if eval "test \"\${$as_ac_var+set}\" = set"; then
13683   echo $ECHO_N "(cached) $ECHO_C" >&6
13684 else
13685   if test x$gcc_no_link = xyes; then
13686   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13687 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13688    { (exit 1); exit 1; }; }
13689 fi
13690 cat >conftest.$ac_ext <<_ACEOF
13691 /* confdefs.h.  */
13692 _ACEOF
13693 cat confdefs.h >>conftest.$ac_ext
13694 cat >>conftest.$ac_ext <<_ACEOF
13695 /* end confdefs.h.  */
13696 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13697    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13698 #define $ac_func innocuous_$ac_func
13699
13700 /* System header to define __stub macros and hopefully few prototypes,
13701     which can conflict with char $ac_func (); below.
13702     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13703     <limits.h> exists even on freestanding compilers.  */
13704
13705 #ifdef __STDC__
13706 # include <limits.h>
13707 #else
13708 # include <assert.h>
13709 #endif
13710
13711 #undef $ac_func
13712
13713 /* Override any gcc2 internal prototype to avoid an error.  */
13714 #ifdef __cplusplus
13715 extern "C"
13716 {
13717 #endif
13718 /* We use char because int might match the return type of a gcc2
13719    builtin and then its argument prototype would still apply.  */
13720 char $ac_func ();
13721 /* The GNU C library defines this for functions which it implements
13722     to always fail with ENOSYS.  Some functions are actually named
13723     something starting with __ and the normal name is an alias.  */
13724 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13725 choke me
13726 #else
13727 char (*f) () = $ac_func;
13728 #endif
13729 #ifdef __cplusplus
13730 }
13731 #endif
13732
13733 int
13734 main ()
13735 {
13736 return f != $ac_func;
13737   ;
13738   return 0;
13739 }
13740 _ACEOF
13741 rm -f conftest.$ac_objext conftest$ac_exeext
13742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13743   (eval $ac_link) 2>conftest.er1
13744   ac_status=$?
13745   grep -v '^ *+' conftest.er1 >conftest.err
13746   rm -f conftest.er1
13747   cat conftest.err >&5
13748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13749   (exit $ac_status); } &&
13750          { ac_try='test -z "$ac_c_werror_flag"
13751                          || test ! -s conftest.err'
13752   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13753   (eval $ac_try) 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.err conftest.$ac_objext \
13771       conftest$ac_exeext conftest.$ac_ext
13772 fi
13773 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13774 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13775 if test `eval echo '${'$as_ac_var'}'` = yes; then
13776   cat >>confdefs.h <<_ACEOF
13777 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13778 _ACEOF
13779
13780 fi
13781 done
13782
13783     fi
13784   fi
13785
13786
13787
13788   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
13789 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
13790   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
13791     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
13792   echo $ECHO_N "(cached) $ECHO_C" >&6
13793 else
13794
13795
13796
13797       ac_ext=cc
13798 ac_cpp='$CXXCPP $CPPFLAGS'
13799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13802
13803       cat >conftest.$ac_ext <<_ACEOF
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  isnanf(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>conftest.er1
13825   ac_status=$?
13826   grep -v '^ *+' conftest.er1 >conftest.err
13827   rm -f conftest.er1
13828   cat conftest.err >&5
13829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13830   (exit $ac_status); } &&
13831          { ac_try='test -z "$ac_cxx_werror_flag"
13832                          || test ! -s conftest.err'
13833   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13834   (eval $ac_try) 2>&5
13835   ac_status=$?
13836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13837   (exit $ac_status); }; } &&
13838          { ac_try='test -s conftest.$ac_objext'
13839   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13840   (eval $ac_try) 2>&5
13841   ac_status=$?
13842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13843   (exit $ac_status); }; }; then
13844   glibcxx_cv_func_isnanf_use=yes
13845 else
13846   echo "$as_me: failed program was:" >&5
13847 sed 's/^/| /' conftest.$ac_ext >&5
13848
13849 glibcxx_cv_func_isnanf_use=no
13850 fi
13851 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13852       ac_ext=c
13853 ac_cpp='$CPP $CPPFLAGS'
13854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13857
13858
13859 fi
13860
13861   fi
13862   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
13863 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
13864
13865   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
13866
13867 for ac_func in isnanf
13868 do
13869 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13870 echo "$as_me:$LINENO: checking for $ac_func" >&5
13871 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13872 if eval "test \"\${$as_ac_var+set}\" = set"; then
13873   echo $ECHO_N "(cached) $ECHO_C" >&6
13874 else
13875   if test x$gcc_no_link = xyes; then
13876   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13877 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13878    { (exit 1); exit 1; }; }
13879 fi
13880 cat >conftest.$ac_ext <<_ACEOF
13881 /* confdefs.h.  */
13882 _ACEOF
13883 cat confdefs.h >>conftest.$ac_ext
13884 cat >>conftest.$ac_ext <<_ACEOF
13885 /* end confdefs.h.  */
13886 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13887    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
13888 #define $ac_func innocuous_$ac_func
13889
13890 /* System header to define __stub macros and hopefully few prototypes,
13891     which can conflict with char $ac_func (); below.
13892     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13893     <limits.h> exists even on freestanding compilers.  */
13894
13895 #ifdef __STDC__
13896 # include <limits.h>
13897 #else
13898 # include <assert.h>
13899 #endif
13900
13901 #undef $ac_func
13902
13903 /* Override any gcc2 internal prototype to avoid an error.  */
13904 #ifdef __cplusplus
13905 extern "C"
13906 {
13907 #endif
13908 /* We use char because int might match the return type of a gcc2
13909    builtin and then its argument prototype would still apply.  */
13910 char $ac_func ();
13911 /* The GNU C library defines this for functions which it implements
13912     to always fail with ENOSYS.  Some functions are actually named
13913     something starting with __ and the normal name is an alias.  */
13914 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13915 choke me
13916 #else
13917 char (*f) () = $ac_func;
13918 #endif
13919 #ifdef __cplusplus
13920 }
13921 #endif
13922
13923 int
13924 main ()
13925 {
13926 return f != $ac_func;
13927   ;
13928   return 0;
13929 }
13930 _ACEOF
13931 rm -f conftest.$ac_objext conftest$ac_exeext
13932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13933   (eval $ac_link) 2>conftest.er1
13934   ac_status=$?
13935   grep -v '^ *+' conftest.er1 >conftest.err
13936   rm -f conftest.er1
13937   cat conftest.err >&5
13938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13939   (exit $ac_status); } &&
13940          { ac_try='test -z "$ac_c_werror_flag"
13941                          || test ! -s conftest.err'
13942   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13943   (eval $ac_try) 2>&5
13944   ac_status=$?
13945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13946   (exit $ac_status); }; } &&
13947          { ac_try='test -s conftest$ac_exeext'
13948   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13949   (eval $ac_try) 2>&5
13950   ac_status=$?
13951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
13952   (exit $ac_status); }; }; then
13953   eval "$as_ac_var=yes"
13954 else
13955   echo "$as_me: failed program was:" >&5
13956 sed 's/^/| /' conftest.$ac_ext >&5
13957
13958 eval "$as_ac_var=no"
13959 fi
13960 rm -f conftest.err conftest.$ac_objext \
13961       conftest$ac_exeext conftest.$ac_ext
13962 fi
13963 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13964 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13965 if test `eval echo '${'$as_ac_var'}'` = yes; then
13966   cat >>confdefs.h <<_ACEOF
13967 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13968 _ACEOF
13969
13970 fi
13971 done
13972
13973   else
13974
13975   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
13976 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
13977   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
13978     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
13979   echo $ECHO_N "(cached) $ECHO_C" >&6
13980 else
13981
13982
13983
13984       ac_ext=cc
13985 ac_cpp='$CXXCPP $CPPFLAGS'
13986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13989
13990       cat >conftest.$ac_ext <<_ACEOF
13991 /* confdefs.h.  */
13992 _ACEOF
13993 cat confdefs.h >>conftest.$ac_ext
13994 cat >>conftest.$ac_ext <<_ACEOF
13995 /* end confdefs.h.  */
13996 #include <math.h>
13997                       #ifdef HAVE_IEEEFP_H
13998                       #include <ieeefp.h>
13999                       #endif
14000
14001 int
14002 main ()
14003 {
14004  _isnanf(0);
14005   ;
14006   return 0;
14007 }
14008 _ACEOF
14009 rm -f conftest.$ac_objext
14010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14011   (eval $ac_compile) 2>conftest.er1
14012   ac_status=$?
14013   grep -v '^ *+' conftest.er1 >conftest.err
14014   rm -f conftest.er1
14015   cat conftest.err >&5
14016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14017   (exit $ac_status); } &&
14018          { ac_try='test -z "$ac_cxx_werror_flag"
14019                          || test ! -s conftest.err'
14020   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14021   (eval $ac_try) 2>&5
14022   ac_status=$?
14023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14024   (exit $ac_status); }; } &&
14025          { ac_try='test -s conftest.$ac_objext'
14026   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14027   (eval $ac_try) 2>&5
14028   ac_status=$?
14029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14030   (exit $ac_status); }; }; then
14031   glibcxx_cv_func__isnanf_use=yes
14032 else
14033   echo "$as_me: failed program was:" >&5
14034 sed 's/^/| /' conftest.$ac_ext >&5
14035
14036 glibcxx_cv_func__isnanf_use=no
14037 fi
14038 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14039       ac_ext=c
14040 ac_cpp='$CPP $CPPFLAGS'
14041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14044
14045
14046 fi
14047
14048   fi
14049   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
14050 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
14051
14052     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
14053
14054 for ac_func in _isnanf
14055 do
14056 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14057 echo "$as_me:$LINENO: checking for $ac_func" >&5
14058 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14059 if eval "test \"\${$as_ac_var+set}\" = set"; then
14060   echo $ECHO_N "(cached) $ECHO_C" >&6
14061 else
14062   if test x$gcc_no_link = xyes; then
14063   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14064 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14065    { (exit 1); exit 1; }; }
14066 fi
14067 cat >conftest.$ac_ext <<_ACEOF
14068 /* confdefs.h.  */
14069 _ACEOF
14070 cat confdefs.h >>conftest.$ac_ext
14071 cat >>conftest.$ac_ext <<_ACEOF
14072 /* end confdefs.h.  */
14073 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14074    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14075 #define $ac_func innocuous_$ac_func
14076
14077 /* System header to define __stub macros and hopefully few prototypes,
14078     which can conflict with char $ac_func (); below.
14079     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14080     <limits.h> exists even on freestanding compilers.  */
14081
14082 #ifdef __STDC__
14083 # include <limits.h>
14084 #else
14085 # include <assert.h>
14086 #endif
14087
14088 #undef $ac_func
14089
14090 /* Override any gcc2 internal prototype to avoid an error.  */
14091 #ifdef __cplusplus
14092 extern "C"
14093 {
14094 #endif
14095 /* We use char because int might match the return type of a gcc2
14096    builtin and then its argument prototype would still apply.  */
14097 char $ac_func ();
14098 /* The GNU C library defines this for functions which it implements
14099     to always fail with ENOSYS.  Some functions are actually named
14100     something starting with __ and the normal name is an alias.  */
14101 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14102 choke me
14103 #else
14104 char (*f) () = $ac_func;
14105 #endif
14106 #ifdef __cplusplus
14107 }
14108 #endif
14109
14110 int
14111 main ()
14112 {
14113 return f != $ac_func;
14114   ;
14115   return 0;
14116 }
14117 _ACEOF
14118 rm -f conftest.$ac_objext conftest$ac_exeext
14119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14120   (eval $ac_link) 2>conftest.er1
14121   ac_status=$?
14122   grep -v '^ *+' conftest.er1 >conftest.err
14123   rm -f conftest.er1
14124   cat conftest.err >&5
14125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14126   (exit $ac_status); } &&
14127          { ac_try='test -z "$ac_c_werror_flag"
14128                          || test ! -s conftest.err'
14129   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14130   (eval $ac_try) 2>&5
14131   ac_status=$?
14132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14133   (exit $ac_status); }; } &&
14134          { ac_try='test -s conftest$ac_exeext'
14135   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14136   (eval $ac_try) 2>&5
14137   ac_status=$?
14138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14139   (exit $ac_status); }; }; then
14140   eval "$as_ac_var=yes"
14141 else
14142   echo "$as_me: failed program was:" >&5
14143 sed 's/^/| /' conftest.$ac_ext >&5
14144
14145 eval "$as_ac_var=no"
14146 fi
14147 rm -f conftest.err conftest.$ac_objext \
14148       conftest$ac_exeext conftest.$ac_ext
14149 fi
14150 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14151 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14152 if test `eval echo '${'$as_ac_var'}'` = yes; then
14153   cat >>confdefs.h <<_ACEOF
14154 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14155 _ACEOF
14156
14157 fi
14158 done
14159
14160     fi
14161   fi
14162
14163
14164
14165   echo "$as_me:$LINENO: checking for isinff declaration" >&5
14166 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
14167   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
14168     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
14169   echo $ECHO_N "(cached) $ECHO_C" >&6
14170 else
14171
14172
14173
14174       ac_ext=cc
14175 ac_cpp='$CXXCPP $CPPFLAGS'
14176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14179
14180       cat >conftest.$ac_ext <<_ACEOF
14181 /* confdefs.h.  */
14182 _ACEOF
14183 cat confdefs.h >>conftest.$ac_ext
14184 cat >>conftest.$ac_ext <<_ACEOF
14185 /* end confdefs.h.  */
14186 #include <math.h>
14187                       #ifdef HAVE_IEEEFP_H
14188                       #include <ieeefp.h>
14189                       #endif
14190
14191 int
14192 main ()
14193 {
14194  isinff(0);
14195   ;
14196   return 0;
14197 }
14198 _ACEOF
14199 rm -f conftest.$ac_objext
14200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14201   (eval $ac_compile) 2>conftest.er1
14202   ac_status=$?
14203   grep -v '^ *+' conftest.er1 >conftest.err
14204   rm -f conftest.er1
14205   cat conftest.err >&5
14206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14207   (exit $ac_status); } &&
14208          { ac_try='test -z "$ac_cxx_werror_flag"
14209                          || test ! -s conftest.err'
14210   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14211   (eval $ac_try) 2>&5
14212   ac_status=$?
14213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14214   (exit $ac_status); }; } &&
14215          { ac_try='test -s conftest.$ac_objext'
14216   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14217   (eval $ac_try) 2>&5
14218   ac_status=$?
14219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14220   (exit $ac_status); }; }; then
14221   glibcxx_cv_func_isinff_use=yes
14222 else
14223   echo "$as_me: failed program was:" >&5
14224 sed 's/^/| /' conftest.$ac_ext >&5
14225
14226 glibcxx_cv_func_isinff_use=no
14227 fi
14228 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14229       ac_ext=c
14230 ac_cpp='$CPP $CPPFLAGS'
14231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14234
14235
14236 fi
14237
14238   fi
14239   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
14240 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
14241
14242   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
14243
14244 for ac_func in isinff
14245 do
14246 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14247 echo "$as_me:$LINENO: checking for $ac_func" >&5
14248 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14249 if eval "test \"\${$as_ac_var+set}\" = set"; then
14250   echo $ECHO_N "(cached) $ECHO_C" >&6
14251 else
14252   if test x$gcc_no_link = xyes; then
14253   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14254 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14255    { (exit 1); exit 1; }; }
14256 fi
14257 cat >conftest.$ac_ext <<_ACEOF
14258 /* confdefs.h.  */
14259 _ACEOF
14260 cat confdefs.h >>conftest.$ac_ext
14261 cat >>conftest.$ac_ext <<_ACEOF
14262 /* end confdefs.h.  */
14263 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14264    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14265 #define $ac_func innocuous_$ac_func
14266
14267 /* System header to define __stub macros and hopefully few prototypes,
14268     which can conflict with char $ac_func (); below.
14269     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14270     <limits.h> exists even on freestanding compilers.  */
14271
14272 #ifdef __STDC__
14273 # include <limits.h>
14274 #else
14275 # include <assert.h>
14276 #endif
14277
14278 #undef $ac_func
14279
14280 /* Override any gcc2 internal prototype to avoid an error.  */
14281 #ifdef __cplusplus
14282 extern "C"
14283 {
14284 #endif
14285 /* We use char because int might match the return type of a gcc2
14286    builtin and then its argument prototype would still apply.  */
14287 char $ac_func ();
14288 /* The GNU C library defines this for functions which it implements
14289     to always fail with ENOSYS.  Some functions are actually named
14290     something starting with __ and the normal name is an alias.  */
14291 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14292 choke me
14293 #else
14294 char (*f) () = $ac_func;
14295 #endif
14296 #ifdef __cplusplus
14297 }
14298 #endif
14299
14300 int
14301 main ()
14302 {
14303 return f != $ac_func;
14304   ;
14305   return 0;
14306 }
14307 _ACEOF
14308 rm -f conftest.$ac_objext conftest$ac_exeext
14309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14310   (eval $ac_link) 2>conftest.er1
14311   ac_status=$?
14312   grep -v '^ *+' conftest.er1 >conftest.err
14313   rm -f conftest.er1
14314   cat conftest.err >&5
14315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14316   (exit $ac_status); } &&
14317          { ac_try='test -z "$ac_c_werror_flag"
14318                          || test ! -s conftest.err'
14319   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14320   (eval $ac_try) 2>&5
14321   ac_status=$?
14322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14323   (exit $ac_status); }; } &&
14324          { ac_try='test -s conftest$ac_exeext'
14325   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14326   (eval $ac_try) 2>&5
14327   ac_status=$?
14328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14329   (exit $ac_status); }; }; then
14330   eval "$as_ac_var=yes"
14331 else
14332   echo "$as_me: failed program was:" >&5
14333 sed 's/^/| /' conftest.$ac_ext >&5
14334
14335 eval "$as_ac_var=no"
14336 fi
14337 rm -f conftest.err conftest.$ac_objext \
14338       conftest$ac_exeext conftest.$ac_ext
14339 fi
14340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14341 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14342 if test `eval echo '${'$as_ac_var'}'` = yes; then
14343   cat >>confdefs.h <<_ACEOF
14344 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14345 _ACEOF
14346
14347 fi
14348 done
14349
14350   else
14351
14352   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
14353 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
14354   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
14355     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
14356   echo $ECHO_N "(cached) $ECHO_C" >&6
14357 else
14358
14359
14360
14361       ac_ext=cc
14362 ac_cpp='$CXXCPP $CPPFLAGS'
14363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14366
14367       cat >conftest.$ac_ext <<_ACEOF
14368 /* confdefs.h.  */
14369 _ACEOF
14370 cat confdefs.h >>conftest.$ac_ext
14371 cat >>conftest.$ac_ext <<_ACEOF
14372 /* end confdefs.h.  */
14373 #include <math.h>
14374                       #ifdef HAVE_IEEEFP_H
14375                       #include <ieeefp.h>
14376                       #endif
14377
14378 int
14379 main ()
14380 {
14381  _isinff(0);
14382   ;
14383   return 0;
14384 }
14385 _ACEOF
14386 rm -f conftest.$ac_objext
14387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14388   (eval $ac_compile) 2>conftest.er1
14389   ac_status=$?
14390   grep -v '^ *+' conftest.er1 >conftest.err
14391   rm -f conftest.er1
14392   cat conftest.err >&5
14393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14394   (exit $ac_status); } &&
14395          { ac_try='test -z "$ac_cxx_werror_flag"
14396                          || test ! -s conftest.err'
14397   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14398   (eval $ac_try) 2>&5
14399   ac_status=$?
14400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14401   (exit $ac_status); }; } &&
14402          { ac_try='test -s conftest.$ac_objext'
14403   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14404   (eval $ac_try) 2>&5
14405   ac_status=$?
14406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14407   (exit $ac_status); }; }; then
14408   glibcxx_cv_func__isinff_use=yes
14409 else
14410   echo "$as_me: failed program was:" >&5
14411 sed 's/^/| /' conftest.$ac_ext >&5
14412
14413 glibcxx_cv_func__isinff_use=no
14414 fi
14415 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14416       ac_ext=c
14417 ac_cpp='$CPP $CPPFLAGS'
14418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14421
14422
14423 fi
14424
14425   fi
14426   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
14427 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
14428
14429     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
14430
14431 for ac_func in _isinff
14432 do
14433 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14434 echo "$as_me:$LINENO: checking for $ac_func" >&5
14435 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14436 if eval "test \"\${$as_ac_var+set}\" = set"; then
14437   echo $ECHO_N "(cached) $ECHO_C" >&6
14438 else
14439   if test x$gcc_no_link = xyes; then
14440   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14441 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14442    { (exit 1); exit 1; }; }
14443 fi
14444 cat >conftest.$ac_ext <<_ACEOF
14445 /* confdefs.h.  */
14446 _ACEOF
14447 cat confdefs.h >>conftest.$ac_ext
14448 cat >>conftest.$ac_ext <<_ACEOF
14449 /* end confdefs.h.  */
14450 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14451    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14452 #define $ac_func innocuous_$ac_func
14453
14454 /* System header to define __stub macros and hopefully few prototypes,
14455     which can conflict with char $ac_func (); below.
14456     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14457     <limits.h> exists even on freestanding compilers.  */
14458
14459 #ifdef __STDC__
14460 # include <limits.h>
14461 #else
14462 # include <assert.h>
14463 #endif
14464
14465 #undef $ac_func
14466
14467 /* Override any gcc2 internal prototype to avoid an error.  */
14468 #ifdef __cplusplus
14469 extern "C"
14470 {
14471 #endif
14472 /* We use char because int might match the return type of a gcc2
14473    builtin and then its argument prototype would still apply.  */
14474 char $ac_func ();
14475 /* The GNU C library defines this for functions which it implements
14476     to always fail with ENOSYS.  Some functions are actually named
14477     something starting with __ and the normal name is an alias.  */
14478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14479 choke me
14480 #else
14481 char (*f) () = $ac_func;
14482 #endif
14483 #ifdef __cplusplus
14484 }
14485 #endif
14486
14487 int
14488 main ()
14489 {
14490 return f != $ac_func;
14491   ;
14492   return 0;
14493 }
14494 _ACEOF
14495 rm -f conftest.$ac_objext conftest$ac_exeext
14496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14497   (eval $ac_link) 2>conftest.er1
14498   ac_status=$?
14499   grep -v '^ *+' conftest.er1 >conftest.err
14500   rm -f conftest.er1
14501   cat conftest.err >&5
14502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14503   (exit $ac_status); } &&
14504          { ac_try='test -z "$ac_c_werror_flag"
14505                          || test ! -s conftest.err'
14506   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14507   (eval $ac_try) 2>&5
14508   ac_status=$?
14509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14510   (exit $ac_status); }; } &&
14511          { ac_try='test -s conftest$ac_exeext'
14512   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14513   (eval $ac_try) 2>&5
14514   ac_status=$?
14515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14516   (exit $ac_status); }; }; then
14517   eval "$as_ac_var=yes"
14518 else
14519   echo "$as_me: failed program was:" >&5
14520 sed 's/^/| /' conftest.$ac_ext >&5
14521
14522 eval "$as_ac_var=no"
14523 fi
14524 rm -f conftest.err conftest.$ac_objext \
14525       conftest$ac_exeext conftest.$ac_ext
14526 fi
14527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14528 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14529 if test `eval echo '${'$as_ac_var'}'` = yes; then
14530   cat >>confdefs.h <<_ACEOF
14531 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14532 _ACEOF
14533
14534 fi
14535 done
14536
14537     fi
14538   fi
14539
14540
14541
14542   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
14543 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
14544   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
14545     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
14546   echo $ECHO_N "(cached) $ECHO_C" >&6
14547 else
14548
14549
14550
14551       ac_ext=cc
14552 ac_cpp='$CXXCPP $CPPFLAGS'
14553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14556
14557       cat >conftest.$ac_ext <<_ACEOF
14558 /* confdefs.h.  */
14559 _ACEOF
14560 cat confdefs.h >>conftest.$ac_ext
14561 cat >>conftest.$ac_ext <<_ACEOF
14562 /* end confdefs.h.  */
14563 #include <math.h>
14564 int
14565 main ()
14566 {
14567  atan2f(0, 0);
14568   ;
14569   return 0;
14570 }
14571 _ACEOF
14572 rm -f conftest.$ac_objext
14573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14574   (eval $ac_compile) 2>conftest.er1
14575   ac_status=$?
14576   grep -v '^ *+' conftest.er1 >conftest.err
14577   rm -f conftest.er1
14578   cat conftest.err >&5
14579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14580   (exit $ac_status); } &&
14581          { ac_try='test -z "$ac_cxx_werror_flag"
14582                          || test ! -s conftest.err'
14583   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14584   (eval $ac_try) 2>&5
14585   ac_status=$?
14586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14587   (exit $ac_status); }; } &&
14588          { ac_try='test -s conftest.$ac_objext'
14589   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14590   (eval $ac_try) 2>&5
14591   ac_status=$?
14592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14593   (exit $ac_status); }; }; then
14594   glibcxx_cv_func_atan2f_use=yes
14595 else
14596   echo "$as_me: failed program was:" >&5
14597 sed 's/^/| /' conftest.$ac_ext >&5
14598
14599 glibcxx_cv_func_atan2f_use=no
14600 fi
14601 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14602       ac_ext=c
14603 ac_cpp='$CPP $CPPFLAGS'
14604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14607
14608
14609 fi
14610
14611   fi
14612   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
14613 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
14614
14615   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
14616
14617 for ac_func in atan2f
14618 do
14619 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14620 echo "$as_me:$LINENO: checking for $ac_func" >&5
14621 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14622 if eval "test \"\${$as_ac_var+set}\" = set"; then
14623   echo $ECHO_N "(cached) $ECHO_C" >&6
14624 else
14625   if test x$gcc_no_link = xyes; then
14626   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14627 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14628    { (exit 1); exit 1; }; }
14629 fi
14630 cat >conftest.$ac_ext <<_ACEOF
14631 /* confdefs.h.  */
14632 _ACEOF
14633 cat confdefs.h >>conftest.$ac_ext
14634 cat >>conftest.$ac_ext <<_ACEOF
14635 /* end confdefs.h.  */
14636 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14637    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14638 #define $ac_func innocuous_$ac_func
14639
14640 /* System header to define __stub macros and hopefully few prototypes,
14641     which can conflict with char $ac_func (); below.
14642     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14643     <limits.h> exists even on freestanding compilers.  */
14644
14645 #ifdef __STDC__
14646 # include <limits.h>
14647 #else
14648 # include <assert.h>
14649 #endif
14650
14651 #undef $ac_func
14652
14653 /* Override any gcc2 internal prototype to avoid an error.  */
14654 #ifdef __cplusplus
14655 extern "C"
14656 {
14657 #endif
14658 /* We use char because int might match the return type of a gcc2
14659    builtin and then its argument prototype would still apply.  */
14660 char $ac_func ();
14661 /* The GNU C library defines this for functions which it implements
14662     to always fail with ENOSYS.  Some functions are actually named
14663     something starting with __ and the normal name is an alias.  */
14664 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14665 choke me
14666 #else
14667 char (*f) () = $ac_func;
14668 #endif
14669 #ifdef __cplusplus
14670 }
14671 #endif
14672
14673 int
14674 main ()
14675 {
14676 return f != $ac_func;
14677   ;
14678   return 0;
14679 }
14680 _ACEOF
14681 rm -f conftest.$ac_objext conftest$ac_exeext
14682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14683   (eval $ac_link) 2>conftest.er1
14684   ac_status=$?
14685   grep -v '^ *+' conftest.er1 >conftest.err
14686   rm -f conftest.er1
14687   cat conftest.err >&5
14688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14689   (exit $ac_status); } &&
14690          { ac_try='test -z "$ac_c_werror_flag"
14691                          || test ! -s conftest.err'
14692   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14693   (eval $ac_try) 2>&5
14694   ac_status=$?
14695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14696   (exit $ac_status); }; } &&
14697          { ac_try='test -s conftest$ac_exeext'
14698   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14699   (eval $ac_try) 2>&5
14700   ac_status=$?
14701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14702   (exit $ac_status); }; }; then
14703   eval "$as_ac_var=yes"
14704 else
14705   echo "$as_me: failed program was:" >&5
14706 sed 's/^/| /' conftest.$ac_ext >&5
14707
14708 eval "$as_ac_var=no"
14709 fi
14710 rm -f conftest.err conftest.$ac_objext \
14711       conftest$ac_exeext conftest.$ac_ext
14712 fi
14713 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14714 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14715 if test `eval echo '${'$as_ac_var'}'` = yes; then
14716   cat >>confdefs.h <<_ACEOF
14717 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14718 _ACEOF
14719
14720 fi
14721 done
14722
14723   else
14724
14725   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
14726 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
14727   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
14728     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
14729   echo $ECHO_N "(cached) $ECHO_C" >&6
14730 else
14731
14732
14733
14734       ac_ext=cc
14735 ac_cpp='$CXXCPP $CPPFLAGS'
14736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14739
14740       cat >conftest.$ac_ext <<_ACEOF
14741 /* confdefs.h.  */
14742 _ACEOF
14743 cat confdefs.h >>conftest.$ac_ext
14744 cat >>conftest.$ac_ext <<_ACEOF
14745 /* end confdefs.h.  */
14746 #include <math.h>
14747 int
14748 main ()
14749 {
14750  _atan2f(0, 0);
14751   ;
14752   return 0;
14753 }
14754 _ACEOF
14755 rm -f conftest.$ac_objext
14756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14757   (eval $ac_compile) 2>conftest.er1
14758   ac_status=$?
14759   grep -v '^ *+' conftest.er1 >conftest.err
14760   rm -f conftest.er1
14761   cat conftest.err >&5
14762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14763   (exit $ac_status); } &&
14764          { ac_try='test -z "$ac_cxx_werror_flag"
14765                          || test ! -s conftest.err'
14766   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14767   (eval $ac_try) 2>&5
14768   ac_status=$?
14769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14770   (exit $ac_status); }; } &&
14771          { ac_try='test -s conftest.$ac_objext'
14772   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14773   (eval $ac_try) 2>&5
14774   ac_status=$?
14775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14776   (exit $ac_status); }; }; then
14777   glibcxx_cv_func__atan2f_use=yes
14778 else
14779   echo "$as_me: failed program was:" >&5
14780 sed 's/^/| /' conftest.$ac_ext >&5
14781
14782 glibcxx_cv_func__atan2f_use=no
14783 fi
14784 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14785       ac_ext=c
14786 ac_cpp='$CPP $CPPFLAGS'
14787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14790
14791
14792 fi
14793
14794   fi
14795   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
14796 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
14797
14798     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
14799
14800 for ac_func in _atan2f
14801 do
14802 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14803 echo "$as_me:$LINENO: checking for $ac_func" >&5
14804 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14805 if eval "test \"\${$as_ac_var+set}\" = set"; then
14806   echo $ECHO_N "(cached) $ECHO_C" >&6
14807 else
14808   if test x$gcc_no_link = xyes; then
14809   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14810 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14811    { (exit 1); exit 1; }; }
14812 fi
14813 cat >conftest.$ac_ext <<_ACEOF
14814 /* confdefs.h.  */
14815 _ACEOF
14816 cat confdefs.h >>conftest.$ac_ext
14817 cat >>conftest.$ac_ext <<_ACEOF
14818 /* end confdefs.h.  */
14819 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14820    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
14821 #define $ac_func innocuous_$ac_func
14822
14823 /* System header to define __stub macros and hopefully few prototypes,
14824     which can conflict with char $ac_func (); below.
14825     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14826     <limits.h> exists even on freestanding compilers.  */
14827
14828 #ifdef __STDC__
14829 # include <limits.h>
14830 #else
14831 # include <assert.h>
14832 #endif
14833
14834 #undef $ac_func
14835
14836 /* Override any gcc2 internal prototype to avoid an error.  */
14837 #ifdef __cplusplus
14838 extern "C"
14839 {
14840 #endif
14841 /* We use char because int might match the return type of a gcc2
14842    builtin and then its argument prototype would still apply.  */
14843 char $ac_func ();
14844 /* The GNU C library defines this for functions which it implements
14845     to always fail with ENOSYS.  Some functions are actually named
14846     something starting with __ and the normal name is an alias.  */
14847 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14848 choke me
14849 #else
14850 char (*f) () = $ac_func;
14851 #endif
14852 #ifdef __cplusplus
14853 }
14854 #endif
14855
14856 int
14857 main ()
14858 {
14859 return f != $ac_func;
14860   ;
14861   return 0;
14862 }
14863 _ACEOF
14864 rm -f conftest.$ac_objext conftest$ac_exeext
14865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14866   (eval $ac_link) 2>conftest.er1
14867   ac_status=$?
14868   grep -v '^ *+' conftest.er1 >conftest.err
14869   rm -f conftest.er1
14870   cat conftest.err >&5
14871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14872   (exit $ac_status); } &&
14873          { ac_try='test -z "$ac_c_werror_flag"
14874                          || test ! -s conftest.err'
14875   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14876   (eval $ac_try) 2>&5
14877   ac_status=$?
14878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14879   (exit $ac_status); }; } &&
14880          { ac_try='test -s conftest$ac_exeext'
14881   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14882   (eval $ac_try) 2>&5
14883   ac_status=$?
14884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14885   (exit $ac_status); }; }; then
14886   eval "$as_ac_var=yes"
14887 else
14888   echo "$as_me: failed program was:" >&5
14889 sed 's/^/| /' conftest.$ac_ext >&5
14890
14891 eval "$as_ac_var=no"
14892 fi
14893 rm -f conftest.err conftest.$ac_objext \
14894       conftest$ac_exeext conftest.$ac_ext
14895 fi
14896 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14897 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14898 if test `eval echo '${'$as_ac_var'}'` = yes; then
14899   cat >>confdefs.h <<_ACEOF
14900 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14901 _ACEOF
14902
14903 fi
14904 done
14905
14906     fi
14907   fi
14908
14909
14910
14911   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
14912 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
14913   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
14914     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
14915   echo $ECHO_N "(cached) $ECHO_C" >&6
14916 else
14917
14918
14919
14920       ac_ext=cc
14921 ac_cpp='$CXXCPP $CPPFLAGS'
14922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14925
14926       cat >conftest.$ac_ext <<_ACEOF
14927 /* confdefs.h.  */
14928 _ACEOF
14929 cat confdefs.h >>conftest.$ac_ext
14930 cat >>conftest.$ac_ext <<_ACEOF
14931 /* end confdefs.h.  */
14932 #include <math.h>
14933                       #ifdef HAVE_IEEEFP_H
14934                       #include <ieeefp.h>
14935                       #endif
14936
14937 int
14938 main ()
14939 {
14940  fabsf(0);
14941   ;
14942   return 0;
14943 }
14944 _ACEOF
14945 rm -f conftest.$ac_objext
14946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14947   (eval $ac_compile) 2>conftest.er1
14948   ac_status=$?
14949   grep -v '^ *+' conftest.er1 >conftest.err
14950   rm -f conftest.er1
14951   cat conftest.err >&5
14952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14953   (exit $ac_status); } &&
14954          { ac_try='test -z "$ac_cxx_werror_flag"
14955                          || test ! -s conftest.err'
14956   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14957   (eval $ac_try) 2>&5
14958   ac_status=$?
14959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14960   (exit $ac_status); }; } &&
14961          { ac_try='test -s conftest.$ac_objext'
14962   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14963   (eval $ac_try) 2>&5
14964   ac_status=$?
14965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
14966   (exit $ac_status); }; }; then
14967   glibcxx_cv_func_fabsf_use=yes
14968 else
14969   echo "$as_me: failed program was:" >&5
14970 sed 's/^/| /' conftest.$ac_ext >&5
14971
14972 glibcxx_cv_func_fabsf_use=no
14973 fi
14974 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14975       ac_ext=c
14976 ac_cpp='$CPP $CPPFLAGS'
14977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14980
14981
14982 fi
14983
14984   fi
14985   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
14986 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
14987
14988   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
14989
14990 for ac_func in fabsf
14991 do
14992 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14993 echo "$as_me:$LINENO: checking for $ac_func" >&5
14994 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14995 if eval "test \"\${$as_ac_var+set}\" = set"; then
14996   echo $ECHO_N "(cached) $ECHO_C" >&6
14997 else
14998   if test x$gcc_no_link = xyes; then
14999   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15000 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15001    { (exit 1); exit 1; }; }
15002 fi
15003 cat >conftest.$ac_ext <<_ACEOF
15004 /* confdefs.h.  */
15005 _ACEOF
15006 cat confdefs.h >>conftest.$ac_ext
15007 cat >>conftest.$ac_ext <<_ACEOF
15008 /* end confdefs.h.  */
15009 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15010    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15011 #define $ac_func innocuous_$ac_func
15012
15013 /* System header to define __stub macros and hopefully few prototypes,
15014     which can conflict with char $ac_func (); below.
15015     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15016     <limits.h> exists even on freestanding compilers.  */
15017
15018 #ifdef __STDC__
15019 # include <limits.h>
15020 #else
15021 # include <assert.h>
15022 #endif
15023
15024 #undef $ac_func
15025
15026 /* Override any gcc2 internal prototype to avoid an error.  */
15027 #ifdef __cplusplus
15028 extern "C"
15029 {
15030 #endif
15031 /* We use char because int might match the return type of a gcc2
15032    builtin and then its argument prototype would still apply.  */
15033 char $ac_func ();
15034 /* The GNU C library defines this for functions which it implements
15035     to always fail with ENOSYS.  Some functions are actually named
15036     something starting with __ and the normal name is an alias.  */
15037 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15038 choke me
15039 #else
15040 char (*f) () = $ac_func;
15041 #endif
15042 #ifdef __cplusplus
15043 }
15044 #endif
15045
15046 int
15047 main ()
15048 {
15049 return f != $ac_func;
15050   ;
15051   return 0;
15052 }
15053 _ACEOF
15054 rm -f conftest.$ac_objext conftest$ac_exeext
15055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15056   (eval $ac_link) 2>conftest.er1
15057   ac_status=$?
15058   grep -v '^ *+' conftest.er1 >conftest.err
15059   rm -f conftest.er1
15060   cat conftest.err >&5
15061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15062   (exit $ac_status); } &&
15063          { ac_try='test -z "$ac_c_werror_flag"
15064                          || test ! -s conftest.err'
15065   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15066   (eval $ac_try) 2>&5
15067   ac_status=$?
15068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15069   (exit $ac_status); }; } &&
15070          { ac_try='test -s conftest$ac_exeext'
15071   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15072   (eval $ac_try) 2>&5
15073   ac_status=$?
15074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15075   (exit $ac_status); }; }; then
15076   eval "$as_ac_var=yes"
15077 else
15078   echo "$as_me: failed program was:" >&5
15079 sed 's/^/| /' conftest.$ac_ext >&5
15080
15081 eval "$as_ac_var=no"
15082 fi
15083 rm -f conftest.err conftest.$ac_objext \
15084       conftest$ac_exeext conftest.$ac_ext
15085 fi
15086 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15087 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15088 if test `eval echo '${'$as_ac_var'}'` = yes; then
15089   cat >>confdefs.h <<_ACEOF
15090 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15091 _ACEOF
15092
15093 fi
15094 done
15095
15096   else
15097
15098   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
15099 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
15100   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
15101     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
15102   echo $ECHO_N "(cached) $ECHO_C" >&6
15103 else
15104
15105
15106
15107       ac_ext=cc
15108 ac_cpp='$CXXCPP $CPPFLAGS'
15109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15112
15113       cat >conftest.$ac_ext <<_ACEOF
15114 /* confdefs.h.  */
15115 _ACEOF
15116 cat confdefs.h >>conftest.$ac_ext
15117 cat >>conftest.$ac_ext <<_ACEOF
15118 /* end confdefs.h.  */
15119 #include <math.h>
15120                       #ifdef HAVE_IEEEFP_H
15121                       #include <ieeefp.h>
15122                       #endif
15123
15124 int
15125 main ()
15126 {
15127  _fabsf(0);
15128   ;
15129   return 0;
15130 }
15131 _ACEOF
15132 rm -f conftest.$ac_objext
15133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15134   (eval $ac_compile) 2>conftest.er1
15135   ac_status=$?
15136   grep -v '^ *+' conftest.er1 >conftest.err
15137   rm -f conftest.er1
15138   cat conftest.err >&5
15139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15140   (exit $ac_status); } &&
15141          { ac_try='test -z "$ac_cxx_werror_flag"
15142                          || test ! -s conftest.err'
15143   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15144   (eval $ac_try) 2>&5
15145   ac_status=$?
15146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15147   (exit $ac_status); }; } &&
15148          { ac_try='test -s conftest.$ac_objext'
15149   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15150   (eval $ac_try) 2>&5
15151   ac_status=$?
15152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15153   (exit $ac_status); }; }; then
15154   glibcxx_cv_func__fabsf_use=yes
15155 else
15156   echo "$as_me: failed program was:" >&5
15157 sed 's/^/| /' conftest.$ac_ext >&5
15158
15159 glibcxx_cv_func__fabsf_use=no
15160 fi
15161 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15162       ac_ext=c
15163 ac_cpp='$CPP $CPPFLAGS'
15164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15167
15168
15169 fi
15170
15171   fi
15172   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
15173 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
15174
15175     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
15176
15177 for ac_func in _fabsf
15178 do
15179 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15180 echo "$as_me:$LINENO: checking for $ac_func" >&5
15181 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15182 if eval "test \"\${$as_ac_var+set}\" = set"; then
15183   echo $ECHO_N "(cached) $ECHO_C" >&6
15184 else
15185   if test x$gcc_no_link = xyes; then
15186   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15187 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15188    { (exit 1); exit 1; }; }
15189 fi
15190 cat >conftest.$ac_ext <<_ACEOF
15191 /* confdefs.h.  */
15192 _ACEOF
15193 cat confdefs.h >>conftest.$ac_ext
15194 cat >>conftest.$ac_ext <<_ACEOF
15195 /* end confdefs.h.  */
15196 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15197    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15198 #define $ac_func innocuous_$ac_func
15199
15200 /* System header to define __stub macros and hopefully few prototypes,
15201     which can conflict with char $ac_func (); below.
15202     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15203     <limits.h> exists even on freestanding compilers.  */
15204
15205 #ifdef __STDC__
15206 # include <limits.h>
15207 #else
15208 # include <assert.h>
15209 #endif
15210
15211 #undef $ac_func
15212
15213 /* Override any gcc2 internal prototype to avoid an error.  */
15214 #ifdef __cplusplus
15215 extern "C"
15216 {
15217 #endif
15218 /* We use char because int might match the return type of a gcc2
15219    builtin and then its argument prototype would still apply.  */
15220 char $ac_func ();
15221 /* The GNU C library defines this for functions which it implements
15222     to always fail with ENOSYS.  Some functions are actually named
15223     something starting with __ and the normal name is an alias.  */
15224 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15225 choke me
15226 #else
15227 char (*f) () = $ac_func;
15228 #endif
15229 #ifdef __cplusplus
15230 }
15231 #endif
15232
15233 int
15234 main ()
15235 {
15236 return f != $ac_func;
15237   ;
15238   return 0;
15239 }
15240 _ACEOF
15241 rm -f conftest.$ac_objext conftest$ac_exeext
15242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15243   (eval $ac_link) 2>conftest.er1
15244   ac_status=$?
15245   grep -v '^ *+' conftest.er1 >conftest.err
15246   rm -f conftest.er1
15247   cat conftest.err >&5
15248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15249   (exit $ac_status); } &&
15250          { ac_try='test -z "$ac_c_werror_flag"
15251                          || test ! -s conftest.err'
15252   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15253   (eval $ac_try) 2>&5
15254   ac_status=$?
15255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15256   (exit $ac_status); }; } &&
15257          { ac_try='test -s conftest$ac_exeext'
15258   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15259   (eval $ac_try) 2>&5
15260   ac_status=$?
15261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15262   (exit $ac_status); }; }; then
15263   eval "$as_ac_var=yes"
15264 else
15265   echo "$as_me: failed program was:" >&5
15266 sed 's/^/| /' conftest.$ac_ext >&5
15267
15268 eval "$as_ac_var=no"
15269 fi
15270 rm -f conftest.err conftest.$ac_objext \
15271       conftest$ac_exeext conftest.$ac_ext
15272 fi
15273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15274 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15275 if test `eval echo '${'$as_ac_var'}'` = yes; then
15276   cat >>confdefs.h <<_ACEOF
15277 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15278 _ACEOF
15279
15280 fi
15281 done
15282
15283     fi
15284   fi
15285
15286
15287
15288   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
15289 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
15290   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
15291     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
15292   echo $ECHO_N "(cached) $ECHO_C" >&6
15293 else
15294
15295
15296
15297       ac_ext=cc
15298 ac_cpp='$CXXCPP $CPPFLAGS'
15299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15302
15303       cat >conftest.$ac_ext <<_ACEOF
15304 /* confdefs.h.  */
15305 _ACEOF
15306 cat confdefs.h >>conftest.$ac_ext
15307 cat >>conftest.$ac_ext <<_ACEOF
15308 /* end confdefs.h.  */
15309 #include <math.h>
15310 int
15311 main ()
15312 {
15313  fmodf(0, 0);
15314   ;
15315   return 0;
15316 }
15317 _ACEOF
15318 rm -f conftest.$ac_objext
15319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15320   (eval $ac_compile) 2>conftest.er1
15321   ac_status=$?
15322   grep -v '^ *+' conftest.er1 >conftest.err
15323   rm -f conftest.er1
15324   cat conftest.err >&5
15325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15326   (exit $ac_status); } &&
15327          { ac_try='test -z "$ac_cxx_werror_flag"
15328                          || test ! -s conftest.err'
15329   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15330   (eval $ac_try) 2>&5
15331   ac_status=$?
15332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15333   (exit $ac_status); }; } &&
15334          { ac_try='test -s conftest.$ac_objext'
15335   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15336   (eval $ac_try) 2>&5
15337   ac_status=$?
15338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15339   (exit $ac_status); }; }; then
15340   glibcxx_cv_func_fmodf_use=yes
15341 else
15342   echo "$as_me: failed program was:" >&5
15343 sed 's/^/| /' conftest.$ac_ext >&5
15344
15345 glibcxx_cv_func_fmodf_use=no
15346 fi
15347 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15348       ac_ext=c
15349 ac_cpp='$CPP $CPPFLAGS'
15350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15353
15354
15355 fi
15356
15357   fi
15358   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
15359 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
15360
15361   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
15362
15363 for ac_func in fmodf
15364 do
15365 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15366 echo "$as_me:$LINENO: checking for $ac_func" >&5
15367 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15368 if eval "test \"\${$as_ac_var+set}\" = set"; then
15369   echo $ECHO_N "(cached) $ECHO_C" >&6
15370 else
15371   if test x$gcc_no_link = xyes; then
15372   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15373 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15374    { (exit 1); exit 1; }; }
15375 fi
15376 cat >conftest.$ac_ext <<_ACEOF
15377 /* confdefs.h.  */
15378 _ACEOF
15379 cat confdefs.h >>conftest.$ac_ext
15380 cat >>conftest.$ac_ext <<_ACEOF
15381 /* end confdefs.h.  */
15382 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15383    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15384 #define $ac_func innocuous_$ac_func
15385
15386 /* System header to define __stub macros and hopefully few prototypes,
15387     which can conflict with char $ac_func (); below.
15388     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15389     <limits.h> exists even on freestanding compilers.  */
15390
15391 #ifdef __STDC__
15392 # include <limits.h>
15393 #else
15394 # include <assert.h>
15395 #endif
15396
15397 #undef $ac_func
15398
15399 /* Override any gcc2 internal prototype to avoid an error.  */
15400 #ifdef __cplusplus
15401 extern "C"
15402 {
15403 #endif
15404 /* We use char because int might match the return type of a gcc2
15405    builtin and then its argument prototype would still apply.  */
15406 char $ac_func ();
15407 /* The GNU C library defines this for functions which it implements
15408     to always fail with ENOSYS.  Some functions are actually named
15409     something starting with __ and the normal name is an alias.  */
15410 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15411 choke me
15412 #else
15413 char (*f) () = $ac_func;
15414 #endif
15415 #ifdef __cplusplus
15416 }
15417 #endif
15418
15419 int
15420 main ()
15421 {
15422 return f != $ac_func;
15423   ;
15424   return 0;
15425 }
15426 _ACEOF
15427 rm -f conftest.$ac_objext conftest$ac_exeext
15428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15429   (eval $ac_link) 2>conftest.er1
15430   ac_status=$?
15431   grep -v '^ *+' conftest.er1 >conftest.err
15432   rm -f conftest.er1
15433   cat conftest.err >&5
15434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15435   (exit $ac_status); } &&
15436          { ac_try='test -z "$ac_c_werror_flag"
15437                          || test ! -s conftest.err'
15438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15439   (eval $ac_try) 2>&5
15440   ac_status=$?
15441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15442   (exit $ac_status); }; } &&
15443          { ac_try='test -s conftest$ac_exeext'
15444   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15445   (eval $ac_try) 2>&5
15446   ac_status=$?
15447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15448   (exit $ac_status); }; }; then
15449   eval "$as_ac_var=yes"
15450 else
15451   echo "$as_me: failed program was:" >&5
15452 sed 's/^/| /' conftest.$ac_ext >&5
15453
15454 eval "$as_ac_var=no"
15455 fi
15456 rm -f conftest.err conftest.$ac_objext \
15457       conftest$ac_exeext conftest.$ac_ext
15458 fi
15459 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15460 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15461 if test `eval echo '${'$as_ac_var'}'` = yes; then
15462   cat >>confdefs.h <<_ACEOF
15463 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15464 _ACEOF
15465
15466 fi
15467 done
15468
15469   else
15470
15471   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
15472 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
15473   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
15474     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
15475   echo $ECHO_N "(cached) $ECHO_C" >&6
15476 else
15477
15478
15479
15480       ac_ext=cc
15481 ac_cpp='$CXXCPP $CPPFLAGS'
15482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15485
15486       cat >conftest.$ac_ext <<_ACEOF
15487 /* confdefs.h.  */
15488 _ACEOF
15489 cat confdefs.h >>conftest.$ac_ext
15490 cat >>conftest.$ac_ext <<_ACEOF
15491 /* end confdefs.h.  */
15492 #include <math.h>
15493 int
15494 main ()
15495 {
15496  _fmodf(0, 0);
15497   ;
15498   return 0;
15499 }
15500 _ACEOF
15501 rm -f conftest.$ac_objext
15502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15503   (eval $ac_compile) 2>conftest.er1
15504   ac_status=$?
15505   grep -v '^ *+' conftest.er1 >conftest.err
15506   rm -f conftest.er1
15507   cat conftest.err >&5
15508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15509   (exit $ac_status); } &&
15510          { ac_try='test -z "$ac_cxx_werror_flag"
15511                          || test ! -s conftest.err'
15512   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15513   (eval $ac_try) 2>&5
15514   ac_status=$?
15515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15516   (exit $ac_status); }; } &&
15517          { ac_try='test -s conftest.$ac_objext'
15518   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15519   (eval $ac_try) 2>&5
15520   ac_status=$?
15521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15522   (exit $ac_status); }; }; then
15523   glibcxx_cv_func__fmodf_use=yes
15524 else
15525   echo "$as_me: failed program was:" >&5
15526 sed 's/^/| /' conftest.$ac_ext >&5
15527
15528 glibcxx_cv_func__fmodf_use=no
15529 fi
15530 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15531       ac_ext=c
15532 ac_cpp='$CPP $CPPFLAGS'
15533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15536
15537
15538 fi
15539
15540   fi
15541   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
15542 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
15543
15544     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
15545
15546 for ac_func in _fmodf
15547 do
15548 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15549 echo "$as_me:$LINENO: checking for $ac_func" >&5
15550 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15551 if eval "test \"\${$as_ac_var+set}\" = set"; then
15552   echo $ECHO_N "(cached) $ECHO_C" >&6
15553 else
15554   if test x$gcc_no_link = xyes; then
15555   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15556 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15557    { (exit 1); exit 1; }; }
15558 fi
15559 cat >conftest.$ac_ext <<_ACEOF
15560 /* confdefs.h.  */
15561 _ACEOF
15562 cat confdefs.h >>conftest.$ac_ext
15563 cat >>conftest.$ac_ext <<_ACEOF
15564 /* end confdefs.h.  */
15565 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15566    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15567 #define $ac_func innocuous_$ac_func
15568
15569 /* System header to define __stub macros and hopefully few prototypes,
15570     which can conflict with char $ac_func (); below.
15571     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15572     <limits.h> exists even on freestanding compilers.  */
15573
15574 #ifdef __STDC__
15575 # include <limits.h>
15576 #else
15577 # include <assert.h>
15578 #endif
15579
15580 #undef $ac_func
15581
15582 /* Override any gcc2 internal prototype to avoid an error.  */
15583 #ifdef __cplusplus
15584 extern "C"
15585 {
15586 #endif
15587 /* We use char because int might match the return type of a gcc2
15588    builtin and then its argument prototype would still apply.  */
15589 char $ac_func ();
15590 /* The GNU C library defines this for functions which it implements
15591     to always fail with ENOSYS.  Some functions are actually named
15592     something starting with __ and the normal name is an alias.  */
15593 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15594 choke me
15595 #else
15596 char (*f) () = $ac_func;
15597 #endif
15598 #ifdef __cplusplus
15599 }
15600 #endif
15601
15602 int
15603 main ()
15604 {
15605 return f != $ac_func;
15606   ;
15607   return 0;
15608 }
15609 _ACEOF
15610 rm -f conftest.$ac_objext conftest$ac_exeext
15611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15612   (eval $ac_link) 2>conftest.er1
15613   ac_status=$?
15614   grep -v '^ *+' conftest.er1 >conftest.err
15615   rm -f conftest.er1
15616   cat conftest.err >&5
15617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15618   (exit $ac_status); } &&
15619          { ac_try='test -z "$ac_c_werror_flag"
15620                          || test ! -s conftest.err'
15621   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15622   (eval $ac_try) 2>&5
15623   ac_status=$?
15624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15625   (exit $ac_status); }; } &&
15626          { ac_try='test -s conftest$ac_exeext'
15627   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15628   (eval $ac_try) 2>&5
15629   ac_status=$?
15630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15631   (exit $ac_status); }; }; then
15632   eval "$as_ac_var=yes"
15633 else
15634   echo "$as_me: failed program was:" >&5
15635 sed 's/^/| /' conftest.$ac_ext >&5
15636
15637 eval "$as_ac_var=no"
15638 fi
15639 rm -f conftest.err conftest.$ac_objext \
15640       conftest$ac_exeext conftest.$ac_ext
15641 fi
15642 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15643 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15644 if test `eval echo '${'$as_ac_var'}'` = yes; then
15645   cat >>confdefs.h <<_ACEOF
15646 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15647 _ACEOF
15648
15649 fi
15650 done
15651
15652     fi
15653   fi
15654
15655
15656
15657   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
15658 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
15659   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
15660     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
15661   echo $ECHO_N "(cached) $ECHO_C" >&6
15662 else
15663
15664
15665
15666       ac_ext=cc
15667 ac_cpp='$CXXCPP $CPPFLAGS'
15668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15671
15672       cat >conftest.$ac_ext <<_ACEOF
15673 /* confdefs.h.  */
15674 _ACEOF
15675 cat confdefs.h >>conftest.$ac_ext
15676 cat >>conftest.$ac_ext <<_ACEOF
15677 /* end confdefs.h.  */
15678 #include <math.h>
15679 int
15680 main ()
15681 {
15682  frexpf(0, 0);
15683   ;
15684   return 0;
15685 }
15686 _ACEOF
15687 rm -f conftest.$ac_objext
15688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15689   (eval $ac_compile) 2>conftest.er1
15690   ac_status=$?
15691   grep -v '^ *+' conftest.er1 >conftest.err
15692   rm -f conftest.er1
15693   cat conftest.err >&5
15694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15695   (exit $ac_status); } &&
15696          { ac_try='test -z "$ac_cxx_werror_flag"
15697                          || test ! -s conftest.err'
15698   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15699   (eval $ac_try) 2>&5
15700   ac_status=$?
15701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15702   (exit $ac_status); }; } &&
15703          { ac_try='test -s conftest.$ac_objext'
15704   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15705   (eval $ac_try) 2>&5
15706   ac_status=$?
15707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15708   (exit $ac_status); }; }; then
15709   glibcxx_cv_func_frexpf_use=yes
15710 else
15711   echo "$as_me: failed program was:" >&5
15712 sed 's/^/| /' conftest.$ac_ext >&5
15713
15714 glibcxx_cv_func_frexpf_use=no
15715 fi
15716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15717       ac_ext=c
15718 ac_cpp='$CPP $CPPFLAGS'
15719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15722
15723
15724 fi
15725
15726   fi
15727   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
15728 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
15729
15730   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
15731
15732 for ac_func in frexpf
15733 do
15734 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15735 echo "$as_me:$LINENO: checking for $ac_func" >&5
15736 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15737 if eval "test \"\${$as_ac_var+set}\" = set"; then
15738   echo $ECHO_N "(cached) $ECHO_C" >&6
15739 else
15740   if test x$gcc_no_link = xyes; then
15741   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15742 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15743    { (exit 1); exit 1; }; }
15744 fi
15745 cat >conftest.$ac_ext <<_ACEOF
15746 /* confdefs.h.  */
15747 _ACEOF
15748 cat confdefs.h >>conftest.$ac_ext
15749 cat >>conftest.$ac_ext <<_ACEOF
15750 /* end confdefs.h.  */
15751 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15752    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15753 #define $ac_func innocuous_$ac_func
15754
15755 /* System header to define __stub macros and hopefully few prototypes,
15756     which can conflict with char $ac_func (); below.
15757     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15758     <limits.h> exists even on freestanding compilers.  */
15759
15760 #ifdef __STDC__
15761 # include <limits.h>
15762 #else
15763 # include <assert.h>
15764 #endif
15765
15766 #undef $ac_func
15767
15768 /* Override any gcc2 internal prototype to avoid an error.  */
15769 #ifdef __cplusplus
15770 extern "C"
15771 {
15772 #endif
15773 /* We use char because int might match the return type of a gcc2
15774    builtin and then its argument prototype would still apply.  */
15775 char $ac_func ();
15776 /* The GNU C library defines this for functions which it implements
15777     to always fail with ENOSYS.  Some functions are actually named
15778     something starting with __ and the normal name is an alias.  */
15779 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15780 choke me
15781 #else
15782 char (*f) () = $ac_func;
15783 #endif
15784 #ifdef __cplusplus
15785 }
15786 #endif
15787
15788 int
15789 main ()
15790 {
15791 return f != $ac_func;
15792   ;
15793   return 0;
15794 }
15795 _ACEOF
15796 rm -f conftest.$ac_objext conftest$ac_exeext
15797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15798   (eval $ac_link) 2>conftest.er1
15799   ac_status=$?
15800   grep -v '^ *+' conftest.er1 >conftest.err
15801   rm -f conftest.er1
15802   cat conftest.err >&5
15803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15804   (exit $ac_status); } &&
15805          { ac_try='test -z "$ac_c_werror_flag"
15806                          || test ! -s conftest.err'
15807   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15808   (eval $ac_try) 2>&5
15809   ac_status=$?
15810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15811   (exit $ac_status); }; } &&
15812          { ac_try='test -s conftest$ac_exeext'
15813   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15814   (eval $ac_try) 2>&5
15815   ac_status=$?
15816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15817   (exit $ac_status); }; }; then
15818   eval "$as_ac_var=yes"
15819 else
15820   echo "$as_me: failed program was:" >&5
15821 sed 's/^/| /' conftest.$ac_ext >&5
15822
15823 eval "$as_ac_var=no"
15824 fi
15825 rm -f conftest.err conftest.$ac_objext \
15826       conftest$ac_exeext conftest.$ac_ext
15827 fi
15828 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15829 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15830 if test `eval echo '${'$as_ac_var'}'` = yes; then
15831   cat >>confdefs.h <<_ACEOF
15832 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15833 _ACEOF
15834
15835 fi
15836 done
15837
15838   else
15839
15840   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
15841 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
15842   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
15843     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
15844   echo $ECHO_N "(cached) $ECHO_C" >&6
15845 else
15846
15847
15848
15849       ac_ext=cc
15850 ac_cpp='$CXXCPP $CPPFLAGS'
15851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15854
15855       cat >conftest.$ac_ext <<_ACEOF
15856 /* confdefs.h.  */
15857 _ACEOF
15858 cat confdefs.h >>conftest.$ac_ext
15859 cat >>conftest.$ac_ext <<_ACEOF
15860 /* end confdefs.h.  */
15861 #include <math.h>
15862 int
15863 main ()
15864 {
15865  _frexpf(0, 0);
15866   ;
15867   return 0;
15868 }
15869 _ACEOF
15870 rm -f conftest.$ac_objext
15871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15872   (eval $ac_compile) 2>conftest.er1
15873   ac_status=$?
15874   grep -v '^ *+' conftest.er1 >conftest.err
15875   rm -f conftest.er1
15876   cat conftest.err >&5
15877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15878   (exit $ac_status); } &&
15879          { ac_try='test -z "$ac_cxx_werror_flag"
15880                          || test ! -s conftest.err'
15881   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15882   (eval $ac_try) 2>&5
15883   ac_status=$?
15884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15885   (exit $ac_status); }; } &&
15886          { ac_try='test -s conftest.$ac_objext'
15887   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15888   (eval $ac_try) 2>&5
15889   ac_status=$?
15890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15891   (exit $ac_status); }; }; then
15892   glibcxx_cv_func__frexpf_use=yes
15893 else
15894   echo "$as_me: failed program was:" >&5
15895 sed 's/^/| /' conftest.$ac_ext >&5
15896
15897 glibcxx_cv_func__frexpf_use=no
15898 fi
15899 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15900       ac_ext=c
15901 ac_cpp='$CPP $CPPFLAGS'
15902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15905
15906
15907 fi
15908
15909   fi
15910   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
15911 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
15912
15913     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
15914
15915 for ac_func in _frexpf
15916 do
15917 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15918 echo "$as_me:$LINENO: checking for $ac_func" >&5
15919 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15920 if eval "test \"\${$as_ac_var+set}\" = set"; then
15921   echo $ECHO_N "(cached) $ECHO_C" >&6
15922 else
15923   if test x$gcc_no_link = xyes; then
15924   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15925 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15926    { (exit 1); exit 1; }; }
15927 fi
15928 cat >conftest.$ac_ext <<_ACEOF
15929 /* confdefs.h.  */
15930 _ACEOF
15931 cat confdefs.h >>conftest.$ac_ext
15932 cat >>conftest.$ac_ext <<_ACEOF
15933 /* end confdefs.h.  */
15934 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15935    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
15936 #define $ac_func innocuous_$ac_func
15937
15938 /* System header to define __stub macros and hopefully few prototypes,
15939     which can conflict with char $ac_func (); below.
15940     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15941     <limits.h> exists even on freestanding compilers.  */
15942
15943 #ifdef __STDC__
15944 # include <limits.h>
15945 #else
15946 # include <assert.h>
15947 #endif
15948
15949 #undef $ac_func
15950
15951 /* Override any gcc2 internal prototype to avoid an error.  */
15952 #ifdef __cplusplus
15953 extern "C"
15954 {
15955 #endif
15956 /* We use char because int might match the return type of a gcc2
15957    builtin and then its argument prototype would still apply.  */
15958 char $ac_func ();
15959 /* The GNU C library defines this for functions which it implements
15960     to always fail with ENOSYS.  Some functions are actually named
15961     something starting with __ and the normal name is an alias.  */
15962 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15963 choke me
15964 #else
15965 char (*f) () = $ac_func;
15966 #endif
15967 #ifdef __cplusplus
15968 }
15969 #endif
15970
15971 int
15972 main ()
15973 {
15974 return f != $ac_func;
15975   ;
15976   return 0;
15977 }
15978 _ACEOF
15979 rm -f conftest.$ac_objext conftest$ac_exeext
15980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15981   (eval $ac_link) 2>conftest.er1
15982   ac_status=$?
15983   grep -v '^ *+' conftest.er1 >conftest.err
15984   rm -f conftest.er1
15985   cat conftest.err >&5
15986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15987   (exit $ac_status); } &&
15988          { ac_try='test -z "$ac_c_werror_flag"
15989                          || test ! -s conftest.err'
15990   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15991   (eval $ac_try) 2>&5
15992   ac_status=$?
15993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
15994   (exit $ac_status); }; } &&
15995          { ac_try='test -s conftest$ac_exeext'
15996   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15997   (eval $ac_try) 2>&5
15998   ac_status=$?
15999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16000   (exit $ac_status); }; }; then
16001   eval "$as_ac_var=yes"
16002 else
16003   echo "$as_me: failed program was:" >&5
16004 sed 's/^/| /' conftest.$ac_ext >&5
16005
16006 eval "$as_ac_var=no"
16007 fi
16008 rm -f conftest.err conftest.$ac_objext \
16009       conftest$ac_exeext conftest.$ac_ext
16010 fi
16011 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16012 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16013 if test `eval echo '${'$as_ac_var'}'` = yes; then
16014   cat >>confdefs.h <<_ACEOF
16015 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16016 _ACEOF
16017
16018 fi
16019 done
16020
16021     fi
16022   fi
16023
16024
16025
16026   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
16027 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
16028   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
16029     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
16030   echo $ECHO_N "(cached) $ECHO_C" >&6
16031 else
16032
16033
16034
16035       ac_ext=cc
16036 ac_cpp='$CXXCPP $CPPFLAGS'
16037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16040
16041       cat >conftest.$ac_ext <<_ACEOF
16042 /* confdefs.h.  */
16043 _ACEOF
16044 cat confdefs.h >>conftest.$ac_ext
16045 cat >>conftest.$ac_ext <<_ACEOF
16046 /* end confdefs.h.  */
16047 #include <math.h>
16048 int
16049 main ()
16050 {
16051  hypotf(0, 0);
16052   ;
16053   return 0;
16054 }
16055 _ACEOF
16056 rm -f conftest.$ac_objext
16057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16058   (eval $ac_compile) 2>conftest.er1
16059   ac_status=$?
16060   grep -v '^ *+' conftest.er1 >conftest.err
16061   rm -f conftest.er1
16062   cat conftest.err >&5
16063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16064   (exit $ac_status); } &&
16065          { ac_try='test -z "$ac_cxx_werror_flag"
16066                          || test ! -s conftest.err'
16067   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16068   (eval $ac_try) 2>&5
16069   ac_status=$?
16070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16071   (exit $ac_status); }; } &&
16072          { ac_try='test -s conftest.$ac_objext'
16073   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16074   (eval $ac_try) 2>&5
16075   ac_status=$?
16076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16077   (exit $ac_status); }; }; then
16078   glibcxx_cv_func_hypotf_use=yes
16079 else
16080   echo "$as_me: failed program was:" >&5
16081 sed 's/^/| /' conftest.$ac_ext >&5
16082
16083 glibcxx_cv_func_hypotf_use=no
16084 fi
16085 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16086       ac_ext=c
16087 ac_cpp='$CPP $CPPFLAGS'
16088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16091
16092
16093 fi
16094
16095   fi
16096   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
16097 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
16098
16099   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
16100
16101 for ac_func in hypotf
16102 do
16103 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16104 echo "$as_me:$LINENO: checking for $ac_func" >&5
16105 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16106 if eval "test \"\${$as_ac_var+set}\" = set"; then
16107   echo $ECHO_N "(cached) $ECHO_C" >&6
16108 else
16109   if test x$gcc_no_link = xyes; then
16110   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16111 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16112    { (exit 1); exit 1; }; }
16113 fi
16114 cat >conftest.$ac_ext <<_ACEOF
16115 /* confdefs.h.  */
16116 _ACEOF
16117 cat confdefs.h >>conftest.$ac_ext
16118 cat >>conftest.$ac_ext <<_ACEOF
16119 /* end confdefs.h.  */
16120 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16121    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16122 #define $ac_func innocuous_$ac_func
16123
16124 /* System header to define __stub macros and hopefully few prototypes,
16125     which can conflict with char $ac_func (); below.
16126     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16127     <limits.h> exists even on freestanding compilers.  */
16128
16129 #ifdef __STDC__
16130 # include <limits.h>
16131 #else
16132 # include <assert.h>
16133 #endif
16134
16135 #undef $ac_func
16136
16137 /* Override any gcc2 internal prototype to avoid an error.  */
16138 #ifdef __cplusplus
16139 extern "C"
16140 {
16141 #endif
16142 /* We use char because int might match the return type of a gcc2
16143    builtin and then its argument prototype would still apply.  */
16144 char $ac_func ();
16145 /* The GNU C library defines this for functions which it implements
16146     to always fail with ENOSYS.  Some functions are actually named
16147     something starting with __ and the normal name is an alias.  */
16148 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16149 choke me
16150 #else
16151 char (*f) () = $ac_func;
16152 #endif
16153 #ifdef __cplusplus
16154 }
16155 #endif
16156
16157 int
16158 main ()
16159 {
16160 return f != $ac_func;
16161   ;
16162   return 0;
16163 }
16164 _ACEOF
16165 rm -f conftest.$ac_objext conftest$ac_exeext
16166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16167   (eval $ac_link) 2>conftest.er1
16168   ac_status=$?
16169   grep -v '^ *+' conftest.er1 >conftest.err
16170   rm -f conftest.er1
16171   cat conftest.err >&5
16172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16173   (exit $ac_status); } &&
16174          { ac_try='test -z "$ac_c_werror_flag"
16175                          || test ! -s conftest.err'
16176   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16177   (eval $ac_try) 2>&5
16178   ac_status=$?
16179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16180   (exit $ac_status); }; } &&
16181          { ac_try='test -s conftest$ac_exeext'
16182   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16183   (eval $ac_try) 2>&5
16184   ac_status=$?
16185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16186   (exit $ac_status); }; }; then
16187   eval "$as_ac_var=yes"
16188 else
16189   echo "$as_me: failed program was:" >&5
16190 sed 's/^/| /' conftest.$ac_ext >&5
16191
16192 eval "$as_ac_var=no"
16193 fi
16194 rm -f conftest.err conftest.$ac_objext \
16195       conftest$ac_exeext conftest.$ac_ext
16196 fi
16197 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16198 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16199 if test `eval echo '${'$as_ac_var'}'` = yes; then
16200   cat >>confdefs.h <<_ACEOF
16201 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16202 _ACEOF
16203
16204 fi
16205 done
16206
16207   else
16208
16209   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
16210 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
16211   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
16212     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
16213   echo $ECHO_N "(cached) $ECHO_C" >&6
16214 else
16215
16216
16217
16218       ac_ext=cc
16219 ac_cpp='$CXXCPP $CPPFLAGS'
16220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16223
16224       cat >conftest.$ac_ext <<_ACEOF
16225 /* confdefs.h.  */
16226 _ACEOF
16227 cat confdefs.h >>conftest.$ac_ext
16228 cat >>conftest.$ac_ext <<_ACEOF
16229 /* end confdefs.h.  */
16230 #include <math.h>
16231 int
16232 main ()
16233 {
16234  _hypotf(0, 0);
16235   ;
16236   return 0;
16237 }
16238 _ACEOF
16239 rm -f conftest.$ac_objext
16240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16241   (eval $ac_compile) 2>conftest.er1
16242   ac_status=$?
16243   grep -v '^ *+' conftest.er1 >conftest.err
16244   rm -f conftest.er1
16245   cat conftest.err >&5
16246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16247   (exit $ac_status); } &&
16248          { ac_try='test -z "$ac_cxx_werror_flag"
16249                          || test ! -s conftest.err'
16250   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16251   (eval $ac_try) 2>&5
16252   ac_status=$?
16253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16254   (exit $ac_status); }; } &&
16255          { ac_try='test -s conftest.$ac_objext'
16256   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16257   (eval $ac_try) 2>&5
16258   ac_status=$?
16259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16260   (exit $ac_status); }; }; then
16261   glibcxx_cv_func__hypotf_use=yes
16262 else
16263   echo "$as_me: failed program was:" >&5
16264 sed 's/^/| /' conftest.$ac_ext >&5
16265
16266 glibcxx_cv_func__hypotf_use=no
16267 fi
16268 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16269       ac_ext=c
16270 ac_cpp='$CPP $CPPFLAGS'
16271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16274
16275
16276 fi
16277
16278   fi
16279   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
16280 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
16281
16282     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
16283
16284 for ac_func in _hypotf
16285 do
16286 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16287 echo "$as_me:$LINENO: checking for $ac_func" >&5
16288 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16289 if eval "test \"\${$as_ac_var+set}\" = set"; then
16290   echo $ECHO_N "(cached) $ECHO_C" >&6
16291 else
16292   if test x$gcc_no_link = xyes; then
16293   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16294 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16295    { (exit 1); exit 1; }; }
16296 fi
16297 cat >conftest.$ac_ext <<_ACEOF
16298 /* confdefs.h.  */
16299 _ACEOF
16300 cat confdefs.h >>conftest.$ac_ext
16301 cat >>conftest.$ac_ext <<_ACEOF
16302 /* end confdefs.h.  */
16303 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16304    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16305 #define $ac_func innocuous_$ac_func
16306
16307 /* System header to define __stub macros and hopefully few prototypes,
16308     which can conflict with char $ac_func (); below.
16309     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16310     <limits.h> exists even on freestanding compilers.  */
16311
16312 #ifdef __STDC__
16313 # include <limits.h>
16314 #else
16315 # include <assert.h>
16316 #endif
16317
16318 #undef $ac_func
16319
16320 /* Override any gcc2 internal prototype to avoid an error.  */
16321 #ifdef __cplusplus
16322 extern "C"
16323 {
16324 #endif
16325 /* We use char because int might match the return type of a gcc2
16326    builtin and then its argument prototype would still apply.  */
16327 char $ac_func ();
16328 /* The GNU C library defines this for functions which it implements
16329     to always fail with ENOSYS.  Some functions are actually named
16330     something starting with __ and the normal name is an alias.  */
16331 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16332 choke me
16333 #else
16334 char (*f) () = $ac_func;
16335 #endif
16336 #ifdef __cplusplus
16337 }
16338 #endif
16339
16340 int
16341 main ()
16342 {
16343 return f != $ac_func;
16344   ;
16345   return 0;
16346 }
16347 _ACEOF
16348 rm -f conftest.$ac_objext conftest$ac_exeext
16349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16350   (eval $ac_link) 2>conftest.er1
16351   ac_status=$?
16352   grep -v '^ *+' conftest.er1 >conftest.err
16353   rm -f conftest.er1
16354   cat conftest.err >&5
16355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16356   (exit $ac_status); } &&
16357          { ac_try='test -z "$ac_c_werror_flag"
16358                          || test ! -s conftest.err'
16359   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16360   (eval $ac_try) 2>&5
16361   ac_status=$?
16362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16363   (exit $ac_status); }; } &&
16364          { ac_try='test -s conftest$ac_exeext'
16365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16366   (eval $ac_try) 2>&5
16367   ac_status=$?
16368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16369   (exit $ac_status); }; }; then
16370   eval "$as_ac_var=yes"
16371 else
16372   echo "$as_me: failed program was:" >&5
16373 sed 's/^/| /' conftest.$ac_ext >&5
16374
16375 eval "$as_ac_var=no"
16376 fi
16377 rm -f conftest.err conftest.$ac_objext \
16378       conftest$ac_exeext conftest.$ac_ext
16379 fi
16380 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16381 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16382 if test `eval echo '${'$as_ac_var'}'` = yes; then
16383   cat >>confdefs.h <<_ACEOF
16384 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16385 _ACEOF
16386
16387 fi
16388 done
16389
16390     fi
16391   fi
16392
16393
16394
16395   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
16396 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
16397   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
16398     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
16399   echo $ECHO_N "(cached) $ECHO_C" >&6
16400 else
16401
16402
16403
16404       ac_ext=cc
16405 ac_cpp='$CXXCPP $CPPFLAGS'
16406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16409
16410       cat >conftest.$ac_ext <<_ACEOF
16411 /* confdefs.h.  */
16412 _ACEOF
16413 cat confdefs.h >>conftest.$ac_ext
16414 cat >>conftest.$ac_ext <<_ACEOF
16415 /* end confdefs.h.  */
16416 #include <math.h>
16417 int
16418 main ()
16419 {
16420  ldexpf(0, 0);
16421   ;
16422   return 0;
16423 }
16424 _ACEOF
16425 rm -f conftest.$ac_objext
16426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16427   (eval $ac_compile) 2>conftest.er1
16428   ac_status=$?
16429   grep -v '^ *+' conftest.er1 >conftest.err
16430   rm -f conftest.er1
16431   cat conftest.err >&5
16432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16433   (exit $ac_status); } &&
16434          { ac_try='test -z "$ac_cxx_werror_flag"
16435                          || test ! -s conftest.err'
16436   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16437   (eval $ac_try) 2>&5
16438   ac_status=$?
16439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16440   (exit $ac_status); }; } &&
16441          { ac_try='test -s conftest.$ac_objext'
16442   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16443   (eval $ac_try) 2>&5
16444   ac_status=$?
16445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16446   (exit $ac_status); }; }; then
16447   glibcxx_cv_func_ldexpf_use=yes
16448 else
16449   echo "$as_me: failed program was:" >&5
16450 sed 's/^/| /' conftest.$ac_ext >&5
16451
16452 glibcxx_cv_func_ldexpf_use=no
16453 fi
16454 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16455       ac_ext=c
16456 ac_cpp='$CPP $CPPFLAGS'
16457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16460
16461
16462 fi
16463
16464   fi
16465   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
16466 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
16467
16468   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
16469
16470 for ac_func in ldexpf
16471 do
16472 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16473 echo "$as_me:$LINENO: checking for $ac_func" >&5
16474 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16475 if eval "test \"\${$as_ac_var+set}\" = set"; then
16476   echo $ECHO_N "(cached) $ECHO_C" >&6
16477 else
16478   if test x$gcc_no_link = xyes; then
16479   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16480 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16481    { (exit 1); exit 1; }; }
16482 fi
16483 cat >conftest.$ac_ext <<_ACEOF
16484 /* confdefs.h.  */
16485 _ACEOF
16486 cat confdefs.h >>conftest.$ac_ext
16487 cat >>conftest.$ac_ext <<_ACEOF
16488 /* end confdefs.h.  */
16489 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16490    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16491 #define $ac_func innocuous_$ac_func
16492
16493 /* System header to define __stub macros and hopefully few prototypes,
16494     which can conflict with char $ac_func (); below.
16495     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16496     <limits.h> exists even on freestanding compilers.  */
16497
16498 #ifdef __STDC__
16499 # include <limits.h>
16500 #else
16501 # include <assert.h>
16502 #endif
16503
16504 #undef $ac_func
16505
16506 /* Override any gcc2 internal prototype to avoid an error.  */
16507 #ifdef __cplusplus
16508 extern "C"
16509 {
16510 #endif
16511 /* We use char because int might match the return type of a gcc2
16512    builtin and then its argument prototype would still apply.  */
16513 char $ac_func ();
16514 /* The GNU C library defines this for functions which it implements
16515     to always fail with ENOSYS.  Some functions are actually named
16516     something starting with __ and the normal name is an alias.  */
16517 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16518 choke me
16519 #else
16520 char (*f) () = $ac_func;
16521 #endif
16522 #ifdef __cplusplus
16523 }
16524 #endif
16525
16526 int
16527 main ()
16528 {
16529 return f != $ac_func;
16530   ;
16531   return 0;
16532 }
16533 _ACEOF
16534 rm -f conftest.$ac_objext conftest$ac_exeext
16535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16536   (eval $ac_link) 2>conftest.er1
16537   ac_status=$?
16538   grep -v '^ *+' conftest.er1 >conftest.err
16539   rm -f conftest.er1
16540   cat conftest.err >&5
16541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16542   (exit $ac_status); } &&
16543          { ac_try='test -z "$ac_c_werror_flag"
16544                          || test ! -s conftest.err'
16545   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16546   (eval $ac_try) 2>&5
16547   ac_status=$?
16548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16549   (exit $ac_status); }; } &&
16550          { ac_try='test -s conftest$ac_exeext'
16551   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16552   (eval $ac_try) 2>&5
16553   ac_status=$?
16554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16555   (exit $ac_status); }; }; then
16556   eval "$as_ac_var=yes"
16557 else
16558   echo "$as_me: failed program was:" >&5
16559 sed 's/^/| /' conftest.$ac_ext >&5
16560
16561 eval "$as_ac_var=no"
16562 fi
16563 rm -f conftest.err conftest.$ac_objext \
16564       conftest$ac_exeext conftest.$ac_ext
16565 fi
16566 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16567 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16568 if test `eval echo '${'$as_ac_var'}'` = yes; then
16569   cat >>confdefs.h <<_ACEOF
16570 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16571 _ACEOF
16572
16573 fi
16574 done
16575
16576   else
16577
16578   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
16579 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
16580   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
16581     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
16582   echo $ECHO_N "(cached) $ECHO_C" >&6
16583 else
16584
16585
16586
16587       ac_ext=cc
16588 ac_cpp='$CXXCPP $CPPFLAGS'
16589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16592
16593       cat >conftest.$ac_ext <<_ACEOF
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  _ldexpf(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>conftest.er1
16611   ac_status=$?
16612   grep -v '^ *+' conftest.er1 >conftest.err
16613   rm -f conftest.er1
16614   cat conftest.err >&5
16615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16616   (exit $ac_status); } &&
16617          { ac_try='test -z "$ac_cxx_werror_flag"
16618                          || test ! -s conftest.err'
16619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16620   (eval $ac_try) 2>&5
16621   ac_status=$?
16622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16623   (exit $ac_status); }; } &&
16624          { ac_try='test -s conftest.$ac_objext'
16625   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16626   (eval $ac_try) 2>&5
16627   ac_status=$?
16628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16629   (exit $ac_status); }; }; then
16630   glibcxx_cv_func__ldexpf_use=yes
16631 else
16632   echo "$as_me: failed program was:" >&5
16633 sed 's/^/| /' conftest.$ac_ext >&5
16634
16635 glibcxx_cv_func__ldexpf_use=no
16636 fi
16637 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16638       ac_ext=c
16639 ac_cpp='$CPP $CPPFLAGS'
16640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16643
16644
16645 fi
16646
16647   fi
16648   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
16649 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
16650
16651     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
16652
16653 for ac_func in _ldexpf
16654 do
16655 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16656 echo "$as_me:$LINENO: checking for $ac_func" >&5
16657 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16658 if eval "test \"\${$as_ac_var+set}\" = set"; then
16659   echo $ECHO_N "(cached) $ECHO_C" >&6
16660 else
16661   if test x$gcc_no_link = xyes; then
16662   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16663 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16664    { (exit 1); exit 1; }; }
16665 fi
16666 cat >conftest.$ac_ext <<_ACEOF
16667 /* confdefs.h.  */
16668 _ACEOF
16669 cat confdefs.h >>conftest.$ac_ext
16670 cat >>conftest.$ac_ext <<_ACEOF
16671 /* end confdefs.h.  */
16672 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16673    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16674 #define $ac_func innocuous_$ac_func
16675
16676 /* System header to define __stub macros and hopefully few prototypes,
16677     which can conflict with char $ac_func (); below.
16678     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16679     <limits.h> exists even on freestanding compilers.  */
16680
16681 #ifdef __STDC__
16682 # include <limits.h>
16683 #else
16684 # include <assert.h>
16685 #endif
16686
16687 #undef $ac_func
16688
16689 /* Override any gcc2 internal prototype to avoid an error.  */
16690 #ifdef __cplusplus
16691 extern "C"
16692 {
16693 #endif
16694 /* We use char because int might match the return type of a gcc2
16695    builtin and then its argument prototype would still apply.  */
16696 char $ac_func ();
16697 /* The GNU C library defines this for functions which it implements
16698     to always fail with ENOSYS.  Some functions are actually named
16699     something starting with __ and the normal name is an alias.  */
16700 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16701 choke me
16702 #else
16703 char (*f) () = $ac_func;
16704 #endif
16705 #ifdef __cplusplus
16706 }
16707 #endif
16708
16709 int
16710 main ()
16711 {
16712 return f != $ac_func;
16713   ;
16714   return 0;
16715 }
16716 _ACEOF
16717 rm -f conftest.$ac_objext conftest$ac_exeext
16718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16719   (eval $ac_link) 2>conftest.er1
16720   ac_status=$?
16721   grep -v '^ *+' conftest.er1 >conftest.err
16722   rm -f conftest.er1
16723   cat conftest.err >&5
16724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16725   (exit $ac_status); } &&
16726          { ac_try='test -z "$ac_c_werror_flag"
16727                          || test ! -s conftest.err'
16728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16729   (eval $ac_try) 2>&5
16730   ac_status=$?
16731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16732   (exit $ac_status); }; } &&
16733          { ac_try='test -s conftest$ac_exeext'
16734   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16735   (eval $ac_try) 2>&5
16736   ac_status=$?
16737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16738   (exit $ac_status); }; }; then
16739   eval "$as_ac_var=yes"
16740 else
16741   echo "$as_me: failed program was:" >&5
16742 sed 's/^/| /' conftest.$ac_ext >&5
16743
16744 eval "$as_ac_var=no"
16745 fi
16746 rm -f conftest.err conftest.$ac_objext \
16747       conftest$ac_exeext conftest.$ac_ext
16748 fi
16749 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16750 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16751 if test `eval echo '${'$as_ac_var'}'` = yes; then
16752   cat >>confdefs.h <<_ACEOF
16753 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16754 _ACEOF
16755
16756 fi
16757 done
16758
16759     fi
16760   fi
16761
16762
16763
16764   echo "$as_me:$LINENO: checking for logf declaration" >&5
16765 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
16766   if test x${glibcxx_cv_func_logf_use+set} != xset; then
16767     if test "${glibcxx_cv_func_logf_use+set}" = set; then
16768   echo $ECHO_N "(cached) $ECHO_C" >&6
16769 else
16770
16771
16772
16773       ac_ext=cc
16774 ac_cpp='$CXXCPP $CPPFLAGS'
16775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16778
16779       cat >conftest.$ac_ext <<_ACEOF
16780 /* confdefs.h.  */
16781 _ACEOF
16782 cat confdefs.h >>conftest.$ac_ext
16783 cat >>conftest.$ac_ext <<_ACEOF
16784 /* end confdefs.h.  */
16785 #include <math.h>
16786                       #ifdef HAVE_IEEEFP_H
16787                       #include <ieeefp.h>
16788                       #endif
16789
16790 int
16791 main ()
16792 {
16793  logf(0);
16794   ;
16795   return 0;
16796 }
16797 _ACEOF
16798 rm -f conftest.$ac_objext
16799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16800   (eval $ac_compile) 2>conftest.er1
16801   ac_status=$?
16802   grep -v '^ *+' conftest.er1 >conftest.err
16803   rm -f conftest.er1
16804   cat conftest.err >&5
16805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16806   (exit $ac_status); } &&
16807          { ac_try='test -z "$ac_cxx_werror_flag"
16808                          || test ! -s conftest.err'
16809   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16810   (eval $ac_try) 2>&5
16811   ac_status=$?
16812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16813   (exit $ac_status); }; } &&
16814          { ac_try='test -s conftest.$ac_objext'
16815   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16816   (eval $ac_try) 2>&5
16817   ac_status=$?
16818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16819   (exit $ac_status); }; }; then
16820   glibcxx_cv_func_logf_use=yes
16821 else
16822   echo "$as_me: failed program was:" >&5
16823 sed 's/^/| /' conftest.$ac_ext >&5
16824
16825 glibcxx_cv_func_logf_use=no
16826 fi
16827 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16828       ac_ext=c
16829 ac_cpp='$CPP $CPPFLAGS'
16830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16833
16834
16835 fi
16836
16837   fi
16838   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
16839 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
16840
16841   if test x$glibcxx_cv_func_logf_use = x"yes"; then
16842
16843 for ac_func in logf
16844 do
16845 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16846 echo "$as_me:$LINENO: checking for $ac_func" >&5
16847 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16848 if eval "test \"\${$as_ac_var+set}\" = set"; then
16849   echo $ECHO_N "(cached) $ECHO_C" >&6
16850 else
16851   if test x$gcc_no_link = xyes; then
16852   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16853 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16854    { (exit 1); exit 1; }; }
16855 fi
16856 cat >conftest.$ac_ext <<_ACEOF
16857 /* confdefs.h.  */
16858 _ACEOF
16859 cat confdefs.h >>conftest.$ac_ext
16860 cat >>conftest.$ac_ext <<_ACEOF
16861 /* end confdefs.h.  */
16862 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16863    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
16864 #define $ac_func innocuous_$ac_func
16865
16866 /* System header to define __stub macros and hopefully few prototypes,
16867     which can conflict with char $ac_func (); below.
16868     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16869     <limits.h> exists even on freestanding compilers.  */
16870
16871 #ifdef __STDC__
16872 # include <limits.h>
16873 #else
16874 # include <assert.h>
16875 #endif
16876
16877 #undef $ac_func
16878
16879 /* Override any gcc2 internal prototype to avoid an error.  */
16880 #ifdef __cplusplus
16881 extern "C"
16882 {
16883 #endif
16884 /* We use char because int might match the return type of a gcc2
16885    builtin and then its argument prototype would still apply.  */
16886 char $ac_func ();
16887 /* The GNU C library defines this for functions which it implements
16888     to always fail with ENOSYS.  Some functions are actually named
16889     something starting with __ and the normal name is an alias.  */
16890 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16891 choke me
16892 #else
16893 char (*f) () = $ac_func;
16894 #endif
16895 #ifdef __cplusplus
16896 }
16897 #endif
16898
16899 int
16900 main ()
16901 {
16902 return f != $ac_func;
16903   ;
16904   return 0;
16905 }
16906 _ACEOF
16907 rm -f conftest.$ac_objext conftest$ac_exeext
16908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16909   (eval $ac_link) 2>conftest.er1
16910   ac_status=$?
16911   grep -v '^ *+' conftest.er1 >conftest.err
16912   rm -f conftest.er1
16913   cat conftest.err >&5
16914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16915   (exit $ac_status); } &&
16916          { ac_try='test -z "$ac_c_werror_flag"
16917                          || test ! -s conftest.err'
16918   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16919   (eval $ac_try) 2>&5
16920   ac_status=$?
16921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16922   (exit $ac_status); }; } &&
16923          { ac_try='test -s conftest$ac_exeext'
16924   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16925   (eval $ac_try) 2>&5
16926   ac_status=$?
16927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16928   (exit $ac_status); }; }; then
16929   eval "$as_ac_var=yes"
16930 else
16931   echo "$as_me: failed program was:" >&5
16932 sed 's/^/| /' conftest.$ac_ext >&5
16933
16934 eval "$as_ac_var=no"
16935 fi
16936 rm -f conftest.err conftest.$ac_objext \
16937       conftest$ac_exeext conftest.$ac_ext
16938 fi
16939 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16940 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16941 if test `eval echo '${'$as_ac_var'}'` = yes; then
16942   cat >>confdefs.h <<_ACEOF
16943 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16944 _ACEOF
16945
16946 fi
16947 done
16948
16949   else
16950
16951   echo "$as_me:$LINENO: checking for _logf declaration" >&5
16952 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
16953   if test x${glibcxx_cv_func__logf_use+set} != xset; then
16954     if test "${glibcxx_cv_func__logf_use+set}" = set; then
16955   echo $ECHO_N "(cached) $ECHO_C" >&6
16956 else
16957
16958
16959
16960       ac_ext=cc
16961 ac_cpp='$CXXCPP $CPPFLAGS'
16962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16965
16966       cat >conftest.$ac_ext <<_ACEOF
16967 /* confdefs.h.  */
16968 _ACEOF
16969 cat confdefs.h >>conftest.$ac_ext
16970 cat >>conftest.$ac_ext <<_ACEOF
16971 /* end confdefs.h.  */
16972 #include <math.h>
16973                       #ifdef HAVE_IEEEFP_H
16974                       #include <ieeefp.h>
16975                       #endif
16976
16977 int
16978 main ()
16979 {
16980  _logf(0);
16981   ;
16982   return 0;
16983 }
16984 _ACEOF
16985 rm -f conftest.$ac_objext
16986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16987   (eval $ac_compile) 2>conftest.er1
16988   ac_status=$?
16989   grep -v '^ *+' conftest.er1 >conftest.err
16990   rm -f conftest.er1
16991   cat conftest.err >&5
16992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
16993   (exit $ac_status); } &&
16994          { ac_try='test -z "$ac_cxx_werror_flag"
16995                          || test ! -s conftest.err'
16996   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16997   (eval $ac_try) 2>&5
16998   ac_status=$?
16999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17000   (exit $ac_status); }; } &&
17001          { ac_try='test -s conftest.$ac_objext'
17002   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17003   (eval $ac_try) 2>&5
17004   ac_status=$?
17005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17006   (exit $ac_status); }; }; then
17007   glibcxx_cv_func__logf_use=yes
17008 else
17009   echo "$as_me: failed program was:" >&5
17010 sed 's/^/| /' conftest.$ac_ext >&5
17011
17012 glibcxx_cv_func__logf_use=no
17013 fi
17014 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17015       ac_ext=c
17016 ac_cpp='$CPP $CPPFLAGS'
17017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17020
17021
17022 fi
17023
17024   fi
17025   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
17026 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
17027
17028     if test x$glibcxx_cv_func__logf_use = x"yes"; then
17029
17030 for ac_func in _logf
17031 do
17032 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17033 echo "$as_me:$LINENO: checking for $ac_func" >&5
17034 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17035 if eval "test \"\${$as_ac_var+set}\" = set"; then
17036   echo $ECHO_N "(cached) $ECHO_C" >&6
17037 else
17038   if test x$gcc_no_link = xyes; then
17039   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17040 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17041    { (exit 1); exit 1; }; }
17042 fi
17043 cat >conftest.$ac_ext <<_ACEOF
17044 /* confdefs.h.  */
17045 _ACEOF
17046 cat confdefs.h >>conftest.$ac_ext
17047 cat >>conftest.$ac_ext <<_ACEOF
17048 /* end confdefs.h.  */
17049 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17050    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17051 #define $ac_func innocuous_$ac_func
17052
17053 /* System header to define __stub macros and hopefully few prototypes,
17054     which can conflict with char $ac_func (); below.
17055     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17056     <limits.h> exists even on freestanding compilers.  */
17057
17058 #ifdef __STDC__
17059 # include <limits.h>
17060 #else
17061 # include <assert.h>
17062 #endif
17063
17064 #undef $ac_func
17065
17066 /* Override any gcc2 internal prototype to avoid an error.  */
17067 #ifdef __cplusplus
17068 extern "C"
17069 {
17070 #endif
17071 /* We use char because int might match the return type of a gcc2
17072    builtin and then its argument prototype would still apply.  */
17073 char $ac_func ();
17074 /* The GNU C library defines this for functions which it implements
17075     to always fail with ENOSYS.  Some functions are actually named
17076     something starting with __ and the normal name is an alias.  */
17077 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17078 choke me
17079 #else
17080 char (*f) () = $ac_func;
17081 #endif
17082 #ifdef __cplusplus
17083 }
17084 #endif
17085
17086 int
17087 main ()
17088 {
17089 return f != $ac_func;
17090   ;
17091   return 0;
17092 }
17093 _ACEOF
17094 rm -f conftest.$ac_objext conftest$ac_exeext
17095 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17096   (eval $ac_link) 2>conftest.er1
17097   ac_status=$?
17098   grep -v '^ *+' conftest.er1 >conftest.err
17099   rm -f conftest.er1
17100   cat conftest.err >&5
17101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17102   (exit $ac_status); } &&
17103          { ac_try='test -z "$ac_c_werror_flag"
17104                          || test ! -s conftest.err'
17105   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17106   (eval $ac_try) 2>&5
17107   ac_status=$?
17108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17109   (exit $ac_status); }; } &&
17110          { ac_try='test -s conftest$ac_exeext'
17111   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17112   (eval $ac_try) 2>&5
17113   ac_status=$?
17114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17115   (exit $ac_status); }; }; then
17116   eval "$as_ac_var=yes"
17117 else
17118   echo "$as_me: failed program was:" >&5
17119 sed 's/^/| /' conftest.$ac_ext >&5
17120
17121 eval "$as_ac_var=no"
17122 fi
17123 rm -f conftest.err conftest.$ac_objext \
17124       conftest$ac_exeext conftest.$ac_ext
17125 fi
17126 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17127 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17128 if test `eval echo '${'$as_ac_var'}'` = yes; then
17129   cat >>confdefs.h <<_ACEOF
17130 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17131 _ACEOF
17132
17133 fi
17134 done
17135
17136     fi
17137   fi
17138
17139
17140
17141   echo "$as_me:$LINENO: checking for log10f declaration" >&5
17142 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
17143   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
17144     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
17145   echo $ECHO_N "(cached) $ECHO_C" >&6
17146 else
17147
17148
17149
17150       ac_ext=cc
17151 ac_cpp='$CXXCPP $CPPFLAGS'
17152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17155
17156       cat >conftest.$ac_ext <<_ACEOF
17157 /* confdefs.h.  */
17158 _ACEOF
17159 cat confdefs.h >>conftest.$ac_ext
17160 cat >>conftest.$ac_ext <<_ACEOF
17161 /* end confdefs.h.  */
17162 #include <math.h>
17163                       #ifdef HAVE_IEEEFP_H
17164                       #include <ieeefp.h>
17165                       #endif
17166
17167 int
17168 main ()
17169 {
17170  log10f(0);
17171   ;
17172   return 0;
17173 }
17174 _ACEOF
17175 rm -f conftest.$ac_objext
17176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17177   (eval $ac_compile) 2>conftest.er1
17178   ac_status=$?
17179   grep -v '^ *+' conftest.er1 >conftest.err
17180   rm -f conftest.er1
17181   cat conftest.err >&5
17182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17183   (exit $ac_status); } &&
17184          { ac_try='test -z "$ac_cxx_werror_flag"
17185                          || test ! -s conftest.err'
17186   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17187   (eval $ac_try) 2>&5
17188   ac_status=$?
17189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17190   (exit $ac_status); }; } &&
17191          { ac_try='test -s conftest.$ac_objext'
17192   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17193   (eval $ac_try) 2>&5
17194   ac_status=$?
17195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17196   (exit $ac_status); }; }; then
17197   glibcxx_cv_func_log10f_use=yes
17198 else
17199   echo "$as_me: failed program was:" >&5
17200 sed 's/^/| /' conftest.$ac_ext >&5
17201
17202 glibcxx_cv_func_log10f_use=no
17203 fi
17204 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17205       ac_ext=c
17206 ac_cpp='$CPP $CPPFLAGS'
17207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17210
17211
17212 fi
17213
17214   fi
17215   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
17216 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
17217
17218   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
17219
17220 for ac_func in log10f
17221 do
17222 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17223 echo "$as_me:$LINENO: checking for $ac_func" >&5
17224 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17225 if eval "test \"\${$as_ac_var+set}\" = set"; then
17226   echo $ECHO_N "(cached) $ECHO_C" >&6
17227 else
17228   if test x$gcc_no_link = xyes; then
17229   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17230 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17231    { (exit 1); exit 1; }; }
17232 fi
17233 cat >conftest.$ac_ext <<_ACEOF
17234 /* confdefs.h.  */
17235 _ACEOF
17236 cat confdefs.h >>conftest.$ac_ext
17237 cat >>conftest.$ac_ext <<_ACEOF
17238 /* end confdefs.h.  */
17239 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17240    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17241 #define $ac_func innocuous_$ac_func
17242
17243 /* System header to define __stub macros and hopefully few prototypes,
17244     which can conflict with char $ac_func (); below.
17245     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17246     <limits.h> exists even on freestanding compilers.  */
17247
17248 #ifdef __STDC__
17249 # include <limits.h>
17250 #else
17251 # include <assert.h>
17252 #endif
17253
17254 #undef $ac_func
17255
17256 /* Override any gcc2 internal prototype to avoid an error.  */
17257 #ifdef __cplusplus
17258 extern "C"
17259 {
17260 #endif
17261 /* We use char because int might match the return type of a gcc2
17262    builtin and then its argument prototype would still apply.  */
17263 char $ac_func ();
17264 /* The GNU C library defines this for functions which it implements
17265     to always fail with ENOSYS.  Some functions are actually named
17266     something starting with __ and the normal name is an alias.  */
17267 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17268 choke me
17269 #else
17270 char (*f) () = $ac_func;
17271 #endif
17272 #ifdef __cplusplus
17273 }
17274 #endif
17275
17276 int
17277 main ()
17278 {
17279 return f != $ac_func;
17280   ;
17281   return 0;
17282 }
17283 _ACEOF
17284 rm -f conftest.$ac_objext conftest$ac_exeext
17285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17286   (eval $ac_link) 2>conftest.er1
17287   ac_status=$?
17288   grep -v '^ *+' conftest.er1 >conftest.err
17289   rm -f conftest.er1
17290   cat conftest.err >&5
17291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17292   (exit $ac_status); } &&
17293          { ac_try='test -z "$ac_c_werror_flag"
17294                          || test ! -s conftest.err'
17295   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17296   (eval $ac_try) 2>&5
17297   ac_status=$?
17298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17299   (exit $ac_status); }; } &&
17300          { ac_try='test -s conftest$ac_exeext'
17301   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17302   (eval $ac_try) 2>&5
17303   ac_status=$?
17304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17305   (exit $ac_status); }; }; then
17306   eval "$as_ac_var=yes"
17307 else
17308   echo "$as_me: failed program was:" >&5
17309 sed 's/^/| /' conftest.$ac_ext >&5
17310
17311 eval "$as_ac_var=no"
17312 fi
17313 rm -f conftest.err conftest.$ac_objext \
17314       conftest$ac_exeext conftest.$ac_ext
17315 fi
17316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17317 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17318 if test `eval echo '${'$as_ac_var'}'` = yes; then
17319   cat >>confdefs.h <<_ACEOF
17320 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17321 _ACEOF
17322
17323 fi
17324 done
17325
17326   else
17327
17328   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
17329 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
17330   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
17331     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
17332   echo $ECHO_N "(cached) $ECHO_C" >&6
17333 else
17334
17335
17336
17337       ac_ext=cc
17338 ac_cpp='$CXXCPP $CPPFLAGS'
17339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17342
17343       cat >conftest.$ac_ext <<_ACEOF
17344 /* confdefs.h.  */
17345 _ACEOF
17346 cat confdefs.h >>conftest.$ac_ext
17347 cat >>conftest.$ac_ext <<_ACEOF
17348 /* end confdefs.h.  */
17349 #include <math.h>
17350                       #ifdef HAVE_IEEEFP_H
17351                       #include <ieeefp.h>
17352                       #endif
17353
17354 int
17355 main ()
17356 {
17357  _log10f(0);
17358   ;
17359   return 0;
17360 }
17361 _ACEOF
17362 rm -f conftest.$ac_objext
17363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17364   (eval $ac_compile) 2>conftest.er1
17365   ac_status=$?
17366   grep -v '^ *+' conftest.er1 >conftest.err
17367   rm -f conftest.er1
17368   cat conftest.err >&5
17369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17370   (exit $ac_status); } &&
17371          { ac_try='test -z "$ac_cxx_werror_flag"
17372                          || test ! -s conftest.err'
17373   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17374   (eval $ac_try) 2>&5
17375   ac_status=$?
17376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17377   (exit $ac_status); }; } &&
17378          { ac_try='test -s conftest.$ac_objext'
17379   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17380   (eval $ac_try) 2>&5
17381   ac_status=$?
17382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17383   (exit $ac_status); }; }; then
17384   glibcxx_cv_func__log10f_use=yes
17385 else
17386   echo "$as_me: failed program was:" >&5
17387 sed 's/^/| /' conftest.$ac_ext >&5
17388
17389 glibcxx_cv_func__log10f_use=no
17390 fi
17391 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17392       ac_ext=c
17393 ac_cpp='$CPP $CPPFLAGS'
17394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17397
17398
17399 fi
17400
17401   fi
17402   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
17403 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
17404
17405     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
17406
17407 for ac_func in _log10f
17408 do
17409 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17410 echo "$as_me:$LINENO: checking for $ac_func" >&5
17411 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17412 if eval "test \"\${$as_ac_var+set}\" = set"; then
17413   echo $ECHO_N "(cached) $ECHO_C" >&6
17414 else
17415   if test x$gcc_no_link = xyes; then
17416   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17417 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17418    { (exit 1); exit 1; }; }
17419 fi
17420 cat >conftest.$ac_ext <<_ACEOF
17421 /* confdefs.h.  */
17422 _ACEOF
17423 cat confdefs.h >>conftest.$ac_ext
17424 cat >>conftest.$ac_ext <<_ACEOF
17425 /* end confdefs.h.  */
17426 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17427    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17428 #define $ac_func innocuous_$ac_func
17429
17430 /* System header to define __stub macros and hopefully few prototypes,
17431     which can conflict with char $ac_func (); below.
17432     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17433     <limits.h> exists even on freestanding compilers.  */
17434
17435 #ifdef __STDC__
17436 # include <limits.h>
17437 #else
17438 # include <assert.h>
17439 #endif
17440
17441 #undef $ac_func
17442
17443 /* Override any gcc2 internal prototype to avoid an error.  */
17444 #ifdef __cplusplus
17445 extern "C"
17446 {
17447 #endif
17448 /* We use char because int might match the return type of a gcc2
17449    builtin and then its argument prototype would still apply.  */
17450 char $ac_func ();
17451 /* The GNU C library defines this for functions which it implements
17452     to always fail with ENOSYS.  Some functions are actually named
17453     something starting with __ and the normal name is an alias.  */
17454 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17455 choke me
17456 #else
17457 char (*f) () = $ac_func;
17458 #endif
17459 #ifdef __cplusplus
17460 }
17461 #endif
17462
17463 int
17464 main ()
17465 {
17466 return f != $ac_func;
17467   ;
17468   return 0;
17469 }
17470 _ACEOF
17471 rm -f conftest.$ac_objext conftest$ac_exeext
17472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17473   (eval $ac_link) 2>conftest.er1
17474   ac_status=$?
17475   grep -v '^ *+' conftest.er1 >conftest.err
17476   rm -f conftest.er1
17477   cat conftest.err >&5
17478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17479   (exit $ac_status); } &&
17480          { ac_try='test -z "$ac_c_werror_flag"
17481                          || test ! -s conftest.err'
17482   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17483   (eval $ac_try) 2>&5
17484   ac_status=$?
17485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17486   (exit $ac_status); }; } &&
17487          { ac_try='test -s conftest$ac_exeext'
17488   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17489   (eval $ac_try) 2>&5
17490   ac_status=$?
17491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17492   (exit $ac_status); }; }; then
17493   eval "$as_ac_var=yes"
17494 else
17495   echo "$as_me: failed program was:" >&5
17496 sed 's/^/| /' conftest.$ac_ext >&5
17497
17498 eval "$as_ac_var=no"
17499 fi
17500 rm -f conftest.err conftest.$ac_objext \
17501       conftest$ac_exeext conftest.$ac_ext
17502 fi
17503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17504 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17505 if test `eval echo '${'$as_ac_var'}'` = yes; then
17506   cat >>confdefs.h <<_ACEOF
17507 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17508 _ACEOF
17509
17510 fi
17511 done
17512
17513     fi
17514   fi
17515
17516
17517
17518   echo "$as_me:$LINENO: checking for modff declaration" >&5
17519 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
17520   if test x${glibcxx_cv_func_modff_use+set} != xset; then
17521     if test "${glibcxx_cv_func_modff_use+set}" = set; then
17522   echo $ECHO_N "(cached) $ECHO_C" >&6
17523 else
17524
17525
17526
17527       ac_ext=cc
17528 ac_cpp='$CXXCPP $CPPFLAGS'
17529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17532
17533       cat >conftest.$ac_ext <<_ACEOF
17534 /* confdefs.h.  */
17535 _ACEOF
17536 cat confdefs.h >>conftest.$ac_ext
17537 cat >>conftest.$ac_ext <<_ACEOF
17538 /* end confdefs.h.  */
17539 #include <math.h>
17540 int
17541 main ()
17542 {
17543  modff(0, 0);
17544   ;
17545   return 0;
17546 }
17547 _ACEOF
17548 rm -f conftest.$ac_objext
17549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17550   (eval $ac_compile) 2>conftest.er1
17551   ac_status=$?
17552   grep -v '^ *+' conftest.er1 >conftest.err
17553   rm -f conftest.er1
17554   cat conftest.err >&5
17555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17556   (exit $ac_status); } &&
17557          { ac_try='test -z "$ac_cxx_werror_flag"
17558                          || test ! -s conftest.err'
17559   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17560   (eval $ac_try) 2>&5
17561   ac_status=$?
17562   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17563   (exit $ac_status); }; } &&
17564          { ac_try='test -s conftest.$ac_objext'
17565   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17566   (eval $ac_try) 2>&5
17567   ac_status=$?
17568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17569   (exit $ac_status); }; }; then
17570   glibcxx_cv_func_modff_use=yes
17571 else
17572   echo "$as_me: failed program was:" >&5
17573 sed 's/^/| /' conftest.$ac_ext >&5
17574
17575 glibcxx_cv_func_modff_use=no
17576 fi
17577 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17578       ac_ext=c
17579 ac_cpp='$CPP $CPPFLAGS'
17580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17583
17584
17585 fi
17586
17587   fi
17588   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
17589 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
17590
17591   if test x$glibcxx_cv_func_modff_use = x"yes"; then
17592
17593 for ac_func in modff
17594 do
17595 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17596 echo "$as_me:$LINENO: checking for $ac_func" >&5
17597 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17598 if eval "test \"\${$as_ac_var+set}\" = set"; then
17599   echo $ECHO_N "(cached) $ECHO_C" >&6
17600 else
17601   if test x$gcc_no_link = xyes; then
17602   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17603 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17604    { (exit 1); exit 1; }; }
17605 fi
17606 cat >conftest.$ac_ext <<_ACEOF
17607 /* confdefs.h.  */
17608 _ACEOF
17609 cat confdefs.h >>conftest.$ac_ext
17610 cat >>conftest.$ac_ext <<_ACEOF
17611 /* end confdefs.h.  */
17612 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17613    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17614 #define $ac_func innocuous_$ac_func
17615
17616 /* System header to define __stub macros and hopefully few prototypes,
17617     which can conflict with char $ac_func (); below.
17618     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17619     <limits.h> exists even on freestanding compilers.  */
17620
17621 #ifdef __STDC__
17622 # include <limits.h>
17623 #else
17624 # include <assert.h>
17625 #endif
17626
17627 #undef $ac_func
17628
17629 /* Override any gcc2 internal prototype to avoid an error.  */
17630 #ifdef __cplusplus
17631 extern "C"
17632 {
17633 #endif
17634 /* We use char because int might match the return type of a gcc2
17635    builtin and then its argument prototype would still apply.  */
17636 char $ac_func ();
17637 /* The GNU C library defines this for functions which it implements
17638     to always fail with ENOSYS.  Some functions are actually named
17639     something starting with __ and the normal name is an alias.  */
17640 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17641 choke me
17642 #else
17643 char (*f) () = $ac_func;
17644 #endif
17645 #ifdef __cplusplus
17646 }
17647 #endif
17648
17649 int
17650 main ()
17651 {
17652 return f != $ac_func;
17653   ;
17654   return 0;
17655 }
17656 _ACEOF
17657 rm -f conftest.$ac_objext conftest$ac_exeext
17658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17659   (eval $ac_link) 2>conftest.er1
17660   ac_status=$?
17661   grep -v '^ *+' conftest.er1 >conftest.err
17662   rm -f conftest.er1
17663   cat conftest.err >&5
17664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17665   (exit $ac_status); } &&
17666          { ac_try='test -z "$ac_c_werror_flag"
17667                          || test ! -s conftest.err'
17668   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17669   (eval $ac_try) 2>&5
17670   ac_status=$?
17671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17672   (exit $ac_status); }; } &&
17673          { ac_try='test -s conftest$ac_exeext'
17674   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17675   (eval $ac_try) 2>&5
17676   ac_status=$?
17677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17678   (exit $ac_status); }; }; then
17679   eval "$as_ac_var=yes"
17680 else
17681   echo "$as_me: failed program was:" >&5
17682 sed 's/^/| /' conftest.$ac_ext >&5
17683
17684 eval "$as_ac_var=no"
17685 fi
17686 rm -f conftest.err conftest.$ac_objext \
17687       conftest$ac_exeext conftest.$ac_ext
17688 fi
17689 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17690 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17691 if test `eval echo '${'$as_ac_var'}'` = yes; then
17692   cat >>confdefs.h <<_ACEOF
17693 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17694 _ACEOF
17695
17696 fi
17697 done
17698
17699   else
17700
17701   echo "$as_me:$LINENO: checking for _modff declaration" >&5
17702 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
17703   if test x${glibcxx_cv_func__modff_use+set} != xset; then
17704     if test "${glibcxx_cv_func__modff_use+set}" = set; then
17705   echo $ECHO_N "(cached) $ECHO_C" >&6
17706 else
17707
17708
17709
17710       ac_ext=cc
17711 ac_cpp='$CXXCPP $CPPFLAGS'
17712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17715
17716       cat >conftest.$ac_ext <<_ACEOF
17717 /* confdefs.h.  */
17718 _ACEOF
17719 cat confdefs.h >>conftest.$ac_ext
17720 cat >>conftest.$ac_ext <<_ACEOF
17721 /* end confdefs.h.  */
17722 #include <math.h>
17723 int
17724 main ()
17725 {
17726  _modff(0, 0);
17727   ;
17728   return 0;
17729 }
17730 _ACEOF
17731 rm -f conftest.$ac_objext
17732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17733   (eval $ac_compile) 2>conftest.er1
17734   ac_status=$?
17735   grep -v '^ *+' conftest.er1 >conftest.err
17736   rm -f conftest.er1
17737   cat conftest.err >&5
17738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17739   (exit $ac_status); } &&
17740          { ac_try='test -z "$ac_cxx_werror_flag"
17741                          || test ! -s conftest.err'
17742   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17743   (eval $ac_try) 2>&5
17744   ac_status=$?
17745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17746   (exit $ac_status); }; } &&
17747          { ac_try='test -s conftest.$ac_objext'
17748   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17749   (eval $ac_try) 2>&5
17750   ac_status=$?
17751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17752   (exit $ac_status); }; }; then
17753   glibcxx_cv_func__modff_use=yes
17754 else
17755   echo "$as_me: failed program was:" >&5
17756 sed 's/^/| /' conftest.$ac_ext >&5
17757
17758 glibcxx_cv_func__modff_use=no
17759 fi
17760 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17761       ac_ext=c
17762 ac_cpp='$CPP $CPPFLAGS'
17763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17766
17767
17768 fi
17769
17770   fi
17771   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
17772 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
17773
17774     if test x$glibcxx_cv_func__modff_use = x"yes"; then
17775
17776 for ac_func in _modff
17777 do
17778 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17779 echo "$as_me:$LINENO: checking for $ac_func" >&5
17780 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17781 if eval "test \"\${$as_ac_var+set}\" = set"; then
17782   echo $ECHO_N "(cached) $ECHO_C" >&6
17783 else
17784   if test x$gcc_no_link = xyes; then
17785   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17786 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17787    { (exit 1); exit 1; }; }
17788 fi
17789 cat >conftest.$ac_ext <<_ACEOF
17790 /* confdefs.h.  */
17791 _ACEOF
17792 cat confdefs.h >>conftest.$ac_ext
17793 cat >>conftest.$ac_ext <<_ACEOF
17794 /* end confdefs.h.  */
17795 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17796    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17797 #define $ac_func innocuous_$ac_func
17798
17799 /* System header to define __stub macros and hopefully few prototypes,
17800     which can conflict with char $ac_func (); below.
17801     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17802     <limits.h> exists even on freestanding compilers.  */
17803
17804 #ifdef __STDC__
17805 # include <limits.h>
17806 #else
17807 # include <assert.h>
17808 #endif
17809
17810 #undef $ac_func
17811
17812 /* Override any gcc2 internal prototype to avoid an error.  */
17813 #ifdef __cplusplus
17814 extern "C"
17815 {
17816 #endif
17817 /* We use char because int might match the return type of a gcc2
17818    builtin and then its argument prototype would still apply.  */
17819 char $ac_func ();
17820 /* The GNU C library defines this for functions which it implements
17821     to always fail with ENOSYS.  Some functions are actually named
17822     something starting with __ and the normal name is an alias.  */
17823 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17824 choke me
17825 #else
17826 char (*f) () = $ac_func;
17827 #endif
17828 #ifdef __cplusplus
17829 }
17830 #endif
17831
17832 int
17833 main ()
17834 {
17835 return f != $ac_func;
17836   ;
17837   return 0;
17838 }
17839 _ACEOF
17840 rm -f conftest.$ac_objext conftest$ac_exeext
17841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17842   (eval $ac_link) 2>conftest.er1
17843   ac_status=$?
17844   grep -v '^ *+' conftest.er1 >conftest.err
17845   rm -f conftest.er1
17846   cat conftest.err >&5
17847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17848   (exit $ac_status); } &&
17849          { ac_try='test -z "$ac_c_werror_flag"
17850                          || test ! -s conftest.err'
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); }; } &&
17856          { ac_try='test -s conftest$ac_exeext'
17857   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17858   (eval $ac_try) 2>&5
17859   ac_status=$?
17860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17861   (exit $ac_status); }; }; then
17862   eval "$as_ac_var=yes"
17863 else
17864   echo "$as_me: failed program was:" >&5
17865 sed 's/^/| /' conftest.$ac_ext >&5
17866
17867 eval "$as_ac_var=no"
17868 fi
17869 rm -f conftest.err conftest.$ac_objext \
17870       conftest$ac_exeext conftest.$ac_ext
17871 fi
17872 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17873 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17874 if test `eval echo '${'$as_ac_var'}'` = yes; then
17875   cat >>confdefs.h <<_ACEOF
17876 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17877 _ACEOF
17878
17879 fi
17880 done
17881
17882     fi
17883   fi
17884
17885
17886
17887   echo "$as_me:$LINENO: checking for powf declaration" >&5
17888 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
17889   if test x${glibcxx_cv_func_powf_use+set} != xset; then
17890     if test "${glibcxx_cv_func_powf_use+set}" = set; then
17891   echo $ECHO_N "(cached) $ECHO_C" >&6
17892 else
17893
17894
17895
17896       ac_ext=cc
17897 ac_cpp='$CXXCPP $CPPFLAGS'
17898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17901
17902       cat >conftest.$ac_ext <<_ACEOF
17903 /* confdefs.h.  */
17904 _ACEOF
17905 cat confdefs.h >>conftest.$ac_ext
17906 cat >>conftest.$ac_ext <<_ACEOF
17907 /* end confdefs.h.  */
17908 #include <math.h>
17909 int
17910 main ()
17911 {
17912  powf(0, 0);
17913   ;
17914   return 0;
17915 }
17916 _ACEOF
17917 rm -f conftest.$ac_objext
17918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17919   (eval $ac_compile) 2>conftest.er1
17920   ac_status=$?
17921   grep -v '^ *+' conftest.er1 >conftest.err
17922   rm -f conftest.er1
17923   cat conftest.err >&5
17924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17925   (exit $ac_status); } &&
17926          { ac_try='test -z "$ac_cxx_werror_flag"
17927                          || test ! -s conftest.err'
17928   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17929   (eval $ac_try) 2>&5
17930   ac_status=$?
17931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17932   (exit $ac_status); }; } &&
17933          { ac_try='test -s conftest.$ac_objext'
17934   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17935   (eval $ac_try) 2>&5
17936   ac_status=$?
17937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
17938   (exit $ac_status); }; }; then
17939   glibcxx_cv_func_powf_use=yes
17940 else
17941   echo "$as_me: failed program was:" >&5
17942 sed 's/^/| /' conftest.$ac_ext >&5
17943
17944 glibcxx_cv_func_powf_use=no
17945 fi
17946 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17947       ac_ext=c
17948 ac_cpp='$CPP $CPPFLAGS'
17949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17952
17953
17954 fi
17955
17956   fi
17957   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
17958 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
17959
17960   if test x$glibcxx_cv_func_powf_use = x"yes"; then
17961
17962 for ac_func in powf
17963 do
17964 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17965 echo "$as_me:$LINENO: checking for $ac_func" >&5
17966 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17967 if eval "test \"\${$as_ac_var+set}\" = set"; then
17968   echo $ECHO_N "(cached) $ECHO_C" >&6
17969 else
17970   if test x$gcc_no_link = xyes; then
17971   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17972 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17973    { (exit 1); exit 1; }; }
17974 fi
17975 cat >conftest.$ac_ext <<_ACEOF
17976 /* confdefs.h.  */
17977 _ACEOF
17978 cat confdefs.h >>conftest.$ac_ext
17979 cat >>conftest.$ac_ext <<_ACEOF
17980 /* end confdefs.h.  */
17981 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17982    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
17983 #define $ac_func innocuous_$ac_func
17984
17985 /* System header to define __stub macros and hopefully few prototypes,
17986     which can conflict with char $ac_func (); below.
17987     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17988     <limits.h> exists even on freestanding compilers.  */
17989
17990 #ifdef __STDC__
17991 # include <limits.h>
17992 #else
17993 # include <assert.h>
17994 #endif
17995
17996 #undef $ac_func
17997
17998 /* Override any gcc2 internal prototype to avoid an error.  */
17999 #ifdef __cplusplus
18000 extern "C"
18001 {
18002 #endif
18003 /* We use char because int might match the return type of a gcc2
18004    builtin and then its argument prototype would still apply.  */
18005 char $ac_func ();
18006 /* The GNU C library defines this for functions which it implements
18007     to always fail with ENOSYS.  Some functions are actually named
18008     something starting with __ and the normal name is an alias.  */
18009 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18010 choke me
18011 #else
18012 char (*f) () = $ac_func;
18013 #endif
18014 #ifdef __cplusplus
18015 }
18016 #endif
18017
18018 int
18019 main ()
18020 {
18021 return f != $ac_func;
18022   ;
18023   return 0;
18024 }
18025 _ACEOF
18026 rm -f conftest.$ac_objext conftest$ac_exeext
18027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18028   (eval $ac_link) 2>conftest.er1
18029   ac_status=$?
18030   grep -v '^ *+' conftest.er1 >conftest.err
18031   rm -f conftest.er1
18032   cat conftest.err >&5
18033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18034   (exit $ac_status); } &&
18035          { ac_try='test -z "$ac_c_werror_flag"
18036                          || test ! -s conftest.err'
18037   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18038   (eval $ac_try) 2>&5
18039   ac_status=$?
18040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18041   (exit $ac_status); }; } &&
18042          { ac_try='test -s conftest$ac_exeext'
18043   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18044   (eval $ac_try) 2>&5
18045   ac_status=$?
18046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18047   (exit $ac_status); }; }; then
18048   eval "$as_ac_var=yes"
18049 else
18050   echo "$as_me: failed program was:" >&5
18051 sed 's/^/| /' conftest.$ac_ext >&5
18052
18053 eval "$as_ac_var=no"
18054 fi
18055 rm -f conftest.err conftest.$ac_objext \
18056       conftest$ac_exeext conftest.$ac_ext
18057 fi
18058 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18059 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18060 if test `eval echo '${'$as_ac_var'}'` = yes; then
18061   cat >>confdefs.h <<_ACEOF
18062 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18063 _ACEOF
18064
18065 fi
18066 done
18067
18068   else
18069
18070   echo "$as_me:$LINENO: checking for _powf declaration" >&5
18071 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
18072   if test x${glibcxx_cv_func__powf_use+set} != xset; then
18073     if test "${glibcxx_cv_func__powf_use+set}" = set; then
18074   echo $ECHO_N "(cached) $ECHO_C" >&6
18075 else
18076
18077
18078
18079       ac_ext=cc
18080 ac_cpp='$CXXCPP $CPPFLAGS'
18081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18084
18085       cat >conftest.$ac_ext <<_ACEOF
18086 /* confdefs.h.  */
18087 _ACEOF
18088 cat confdefs.h >>conftest.$ac_ext
18089 cat >>conftest.$ac_ext <<_ACEOF
18090 /* end confdefs.h.  */
18091 #include <math.h>
18092 int
18093 main ()
18094 {
18095  _powf(0, 0);
18096   ;
18097   return 0;
18098 }
18099 _ACEOF
18100 rm -f conftest.$ac_objext
18101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18102   (eval $ac_compile) 2>conftest.er1
18103   ac_status=$?
18104   grep -v '^ *+' conftest.er1 >conftest.err
18105   rm -f conftest.er1
18106   cat conftest.err >&5
18107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18108   (exit $ac_status); } &&
18109          { ac_try='test -z "$ac_cxx_werror_flag"
18110                          || test ! -s conftest.err'
18111   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18112   (eval $ac_try) 2>&5
18113   ac_status=$?
18114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18115   (exit $ac_status); }; } &&
18116          { ac_try='test -s conftest.$ac_objext'
18117   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18118   (eval $ac_try) 2>&5
18119   ac_status=$?
18120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18121   (exit $ac_status); }; }; then
18122   glibcxx_cv_func__powf_use=yes
18123 else
18124   echo "$as_me: failed program was:" >&5
18125 sed 's/^/| /' conftest.$ac_ext >&5
18126
18127 glibcxx_cv_func__powf_use=no
18128 fi
18129 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18130       ac_ext=c
18131 ac_cpp='$CPP $CPPFLAGS'
18132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18135
18136
18137 fi
18138
18139   fi
18140   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
18141 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
18142
18143     if test x$glibcxx_cv_func__powf_use = x"yes"; then
18144
18145 for ac_func in _powf
18146 do
18147 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18148 echo "$as_me:$LINENO: checking for $ac_func" >&5
18149 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18150 if eval "test \"\${$as_ac_var+set}\" = set"; then
18151   echo $ECHO_N "(cached) $ECHO_C" >&6
18152 else
18153   if test x$gcc_no_link = xyes; then
18154   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18155 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18156    { (exit 1); exit 1; }; }
18157 fi
18158 cat >conftest.$ac_ext <<_ACEOF
18159 /* confdefs.h.  */
18160 _ACEOF
18161 cat confdefs.h >>conftest.$ac_ext
18162 cat >>conftest.$ac_ext <<_ACEOF
18163 /* end confdefs.h.  */
18164 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18165    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18166 #define $ac_func innocuous_$ac_func
18167
18168 /* System header to define __stub macros and hopefully few prototypes,
18169     which can conflict with char $ac_func (); below.
18170     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18171     <limits.h> exists even on freestanding compilers.  */
18172
18173 #ifdef __STDC__
18174 # include <limits.h>
18175 #else
18176 # include <assert.h>
18177 #endif
18178
18179 #undef $ac_func
18180
18181 /* Override any gcc2 internal prototype to avoid an error.  */
18182 #ifdef __cplusplus
18183 extern "C"
18184 {
18185 #endif
18186 /* We use char because int might match the return type of a gcc2
18187    builtin and then its argument prototype would still apply.  */
18188 char $ac_func ();
18189 /* The GNU C library defines this for functions which it implements
18190     to always fail with ENOSYS.  Some functions are actually named
18191     something starting with __ and the normal name is an alias.  */
18192 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18193 choke me
18194 #else
18195 char (*f) () = $ac_func;
18196 #endif
18197 #ifdef __cplusplus
18198 }
18199 #endif
18200
18201 int
18202 main ()
18203 {
18204 return f != $ac_func;
18205   ;
18206   return 0;
18207 }
18208 _ACEOF
18209 rm -f conftest.$ac_objext conftest$ac_exeext
18210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18211   (eval $ac_link) 2>conftest.er1
18212   ac_status=$?
18213   grep -v '^ *+' conftest.er1 >conftest.err
18214   rm -f conftest.er1
18215   cat conftest.err >&5
18216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18217   (exit $ac_status); } &&
18218          { ac_try='test -z "$ac_c_werror_flag"
18219                          || test ! -s conftest.err'
18220   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18221   (eval $ac_try) 2>&5
18222   ac_status=$?
18223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18224   (exit $ac_status); }; } &&
18225          { ac_try='test -s conftest$ac_exeext'
18226   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18227   (eval $ac_try) 2>&5
18228   ac_status=$?
18229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18230   (exit $ac_status); }; }; then
18231   eval "$as_ac_var=yes"
18232 else
18233   echo "$as_me: failed program was:" >&5
18234 sed 's/^/| /' conftest.$ac_ext >&5
18235
18236 eval "$as_ac_var=no"
18237 fi
18238 rm -f conftest.err conftest.$ac_objext \
18239       conftest$ac_exeext conftest.$ac_ext
18240 fi
18241 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18242 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18243 if test `eval echo '${'$as_ac_var'}'` = yes; then
18244   cat >>confdefs.h <<_ACEOF
18245 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18246 _ACEOF
18247
18248 fi
18249 done
18250
18251     fi
18252   fi
18253
18254
18255
18256   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
18257 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
18258   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
18259     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
18260   echo $ECHO_N "(cached) $ECHO_C" >&6
18261 else
18262
18263
18264
18265       ac_ext=cc
18266 ac_cpp='$CXXCPP $CPPFLAGS'
18267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18270
18271       cat >conftest.$ac_ext <<_ACEOF
18272 /* confdefs.h.  */
18273 _ACEOF
18274 cat confdefs.h >>conftest.$ac_ext
18275 cat >>conftest.$ac_ext <<_ACEOF
18276 /* end confdefs.h.  */
18277 #include <math.h>
18278                       #ifdef HAVE_IEEEFP_H
18279                       #include <ieeefp.h>
18280                       #endif
18281
18282 int
18283 main ()
18284 {
18285  sqrtf(0);
18286   ;
18287   return 0;
18288 }
18289 _ACEOF
18290 rm -f conftest.$ac_objext
18291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18292   (eval $ac_compile) 2>conftest.er1
18293   ac_status=$?
18294   grep -v '^ *+' conftest.er1 >conftest.err
18295   rm -f conftest.er1
18296   cat conftest.err >&5
18297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18298   (exit $ac_status); } &&
18299          { ac_try='test -z "$ac_cxx_werror_flag"
18300                          || test ! -s conftest.err'
18301   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18302   (eval $ac_try) 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_sqrtf_use=yes
18313 else
18314   echo "$as_me: failed program was:" >&5
18315 sed 's/^/| /' conftest.$ac_ext >&5
18316
18317 glibcxx_cv_func_sqrtf_use=no
18318 fi
18319 rm -f conftest.err 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_sqrtf_use" >&5
18331 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
18332
18333   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
18334
18335 for ac_func in sqrtf
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   if test x$gcc_no_link = xyes; then
18344   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18345 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18346    { (exit 1); exit 1; }; }
18347 fi
18348 cat >conftest.$ac_ext <<_ACEOF
18349 /* confdefs.h.  */
18350 _ACEOF
18351 cat confdefs.h >>conftest.$ac_ext
18352 cat >>conftest.$ac_ext <<_ACEOF
18353 /* end confdefs.h.  */
18354 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18355    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18356 #define $ac_func innocuous_$ac_func
18357
18358 /* System header to define __stub macros and hopefully few prototypes,
18359     which can conflict with char $ac_func (); below.
18360     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18361     <limits.h> exists even on freestanding compilers.  */
18362
18363 #ifdef __STDC__
18364 # include <limits.h>
18365 #else
18366 # include <assert.h>
18367 #endif
18368
18369 #undef $ac_func
18370
18371 /* Override any gcc2 internal prototype to avoid an error.  */
18372 #ifdef __cplusplus
18373 extern "C"
18374 {
18375 #endif
18376 /* We use char because int might match the return type of a gcc2
18377    builtin and then its argument prototype would still apply.  */
18378 char $ac_func ();
18379 /* The GNU C library defines this for functions which it implements
18380     to always fail with ENOSYS.  Some functions are actually named
18381     something starting with __ and the normal name is an alias.  */
18382 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18383 choke me
18384 #else
18385 char (*f) () = $ac_func;
18386 #endif
18387 #ifdef __cplusplus
18388 }
18389 #endif
18390
18391 int
18392 main ()
18393 {
18394 return f != $ac_func;
18395   ;
18396   return 0;
18397 }
18398 _ACEOF
18399 rm -f conftest.$ac_objext conftest$ac_exeext
18400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18401   (eval $ac_link) 2>conftest.er1
18402   ac_status=$?
18403   grep -v '^ *+' conftest.er1 >conftest.err
18404   rm -f conftest.er1
18405   cat conftest.err >&5
18406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18407   (exit $ac_status); } &&
18408          { ac_try='test -z "$ac_c_werror_flag"
18409                          || test ! -s conftest.err'
18410   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18411   (eval $ac_try) 2>&5
18412   ac_status=$?
18413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18414   (exit $ac_status); }; } &&
18415          { ac_try='test -s conftest$ac_exeext'
18416   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18417   (eval $ac_try) 2>&5
18418   ac_status=$?
18419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18420   (exit $ac_status); }; }; then
18421   eval "$as_ac_var=yes"
18422 else
18423   echo "$as_me: failed program was:" >&5
18424 sed 's/^/| /' conftest.$ac_ext >&5
18425
18426 eval "$as_ac_var=no"
18427 fi
18428 rm -f conftest.err conftest.$ac_objext \
18429       conftest$ac_exeext conftest.$ac_ext
18430 fi
18431 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18432 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18433 if test `eval echo '${'$as_ac_var'}'` = yes; then
18434   cat >>confdefs.h <<_ACEOF
18435 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18436 _ACEOF
18437
18438 fi
18439 done
18440
18441   else
18442
18443   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
18444 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
18445   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
18446     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
18447   echo $ECHO_N "(cached) $ECHO_C" >&6
18448 else
18449
18450
18451
18452       ac_ext=cc
18453 ac_cpp='$CXXCPP $CPPFLAGS'
18454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18457
18458       cat >conftest.$ac_ext <<_ACEOF
18459 /* confdefs.h.  */
18460 _ACEOF
18461 cat confdefs.h >>conftest.$ac_ext
18462 cat >>conftest.$ac_ext <<_ACEOF
18463 /* end confdefs.h.  */
18464 #include <math.h>
18465                       #ifdef HAVE_IEEEFP_H
18466                       #include <ieeefp.h>
18467                       #endif
18468
18469 int
18470 main ()
18471 {
18472  _sqrtf(0);
18473   ;
18474   return 0;
18475 }
18476 _ACEOF
18477 rm -f conftest.$ac_objext
18478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18479   (eval $ac_compile) 2>conftest.er1
18480   ac_status=$?
18481   grep -v '^ *+' conftest.er1 >conftest.err
18482   rm -f conftest.er1
18483   cat conftest.err >&5
18484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18485   (exit $ac_status); } &&
18486          { ac_try='test -z "$ac_cxx_werror_flag"
18487                          || test ! -s conftest.err'
18488   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18489   (eval $ac_try) 2>&5
18490   ac_status=$?
18491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18492   (exit $ac_status); }; } &&
18493          { ac_try='test -s conftest.$ac_objext'
18494   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18495   (eval $ac_try) 2>&5
18496   ac_status=$?
18497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18498   (exit $ac_status); }; }; then
18499   glibcxx_cv_func__sqrtf_use=yes
18500 else
18501   echo "$as_me: failed program was:" >&5
18502 sed 's/^/| /' conftest.$ac_ext >&5
18503
18504 glibcxx_cv_func__sqrtf_use=no
18505 fi
18506 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18507       ac_ext=c
18508 ac_cpp='$CPP $CPPFLAGS'
18509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18512
18513
18514 fi
18515
18516   fi
18517   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
18518 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
18519
18520     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
18521
18522 for ac_func in _sqrtf
18523 do
18524 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18525 echo "$as_me:$LINENO: checking for $ac_func" >&5
18526 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18527 if eval "test \"\${$as_ac_var+set}\" = set"; then
18528   echo $ECHO_N "(cached) $ECHO_C" >&6
18529 else
18530   if test x$gcc_no_link = xyes; then
18531   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18532 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18533    { (exit 1); exit 1; }; }
18534 fi
18535 cat >conftest.$ac_ext <<_ACEOF
18536 /* confdefs.h.  */
18537 _ACEOF
18538 cat confdefs.h >>conftest.$ac_ext
18539 cat >>conftest.$ac_ext <<_ACEOF
18540 /* end confdefs.h.  */
18541 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18542    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18543 #define $ac_func innocuous_$ac_func
18544
18545 /* System header to define __stub macros and hopefully few prototypes,
18546     which can conflict with char $ac_func (); below.
18547     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18548     <limits.h> exists even on freestanding compilers.  */
18549
18550 #ifdef __STDC__
18551 # include <limits.h>
18552 #else
18553 # include <assert.h>
18554 #endif
18555
18556 #undef $ac_func
18557
18558 /* Override any gcc2 internal prototype to avoid an error.  */
18559 #ifdef __cplusplus
18560 extern "C"
18561 {
18562 #endif
18563 /* We use char because int might match the return type of a gcc2
18564    builtin and then its argument prototype would still apply.  */
18565 char $ac_func ();
18566 /* The GNU C library defines this for functions which it implements
18567     to always fail with ENOSYS.  Some functions are actually named
18568     something starting with __ and the normal name is an alias.  */
18569 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18570 choke me
18571 #else
18572 char (*f) () = $ac_func;
18573 #endif
18574 #ifdef __cplusplus
18575 }
18576 #endif
18577
18578 int
18579 main ()
18580 {
18581 return f != $ac_func;
18582   ;
18583   return 0;
18584 }
18585 _ACEOF
18586 rm -f conftest.$ac_objext conftest$ac_exeext
18587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18588   (eval $ac_link) 2>conftest.er1
18589   ac_status=$?
18590   grep -v '^ *+' conftest.er1 >conftest.err
18591   rm -f conftest.er1
18592   cat conftest.err >&5
18593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18594   (exit $ac_status); } &&
18595          { ac_try='test -z "$ac_c_werror_flag"
18596                          || test ! -s conftest.err'
18597   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18598   (eval $ac_try) 2>&5
18599   ac_status=$?
18600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18601   (exit $ac_status); }; } &&
18602          { ac_try='test -s conftest$ac_exeext'
18603   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18604   (eval $ac_try) 2>&5
18605   ac_status=$?
18606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18607   (exit $ac_status); }; }; then
18608   eval "$as_ac_var=yes"
18609 else
18610   echo "$as_me: failed program was:" >&5
18611 sed 's/^/| /' conftest.$ac_ext >&5
18612
18613 eval "$as_ac_var=no"
18614 fi
18615 rm -f conftest.err conftest.$ac_objext \
18616       conftest$ac_exeext conftest.$ac_ext
18617 fi
18618 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18619 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18620 if test `eval echo '${'$as_ac_var'}'` = yes; then
18621   cat >>confdefs.h <<_ACEOF
18622 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18623 _ACEOF
18624
18625 fi
18626 done
18627
18628     fi
18629   fi
18630
18631
18632
18633   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
18634 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
18635   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
18636     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
18637   echo $ECHO_N "(cached) $ECHO_C" >&6
18638 else
18639
18640
18641
18642       ac_ext=cc
18643 ac_cpp='$CXXCPP $CPPFLAGS'
18644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18647
18648       cat >conftest.$ac_ext <<_ACEOF
18649 /* confdefs.h.  */
18650 _ACEOF
18651 cat confdefs.h >>conftest.$ac_ext
18652 cat >>conftest.$ac_ext <<_ACEOF
18653 /* end confdefs.h.  */
18654 #include <math.h>
18655 int
18656 main ()
18657 {
18658  sincosf(0, 0, 0);
18659   ;
18660   return 0;
18661 }
18662 _ACEOF
18663 rm -f conftest.$ac_objext
18664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18665   (eval $ac_compile) 2>conftest.er1
18666   ac_status=$?
18667   grep -v '^ *+' conftest.er1 >conftest.err
18668   rm -f conftest.er1
18669   cat conftest.err >&5
18670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18671   (exit $ac_status); } &&
18672          { ac_try='test -z "$ac_cxx_werror_flag"
18673                          || test ! -s conftest.err'
18674   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18675   (eval $ac_try) 2>&5
18676   ac_status=$?
18677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18678   (exit $ac_status); }; } &&
18679          { ac_try='test -s conftest.$ac_objext'
18680   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18681   (eval $ac_try) 2>&5
18682   ac_status=$?
18683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18684   (exit $ac_status); }; }; then
18685   glibcxx_cv_func_sincosf_use=yes
18686 else
18687   echo "$as_me: failed program was:" >&5
18688 sed 's/^/| /' conftest.$ac_ext >&5
18689
18690 glibcxx_cv_func_sincosf_use=no
18691 fi
18692 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18693       ac_ext=c
18694 ac_cpp='$CPP $CPPFLAGS'
18695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18698
18699
18700 fi
18701
18702   fi
18703   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
18704 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
18705
18706   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
18707
18708 for ac_func in sincosf
18709 do
18710 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18711 echo "$as_me:$LINENO: checking for $ac_func" >&5
18712 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18713 if eval "test \"\${$as_ac_var+set}\" = set"; then
18714   echo $ECHO_N "(cached) $ECHO_C" >&6
18715 else
18716   if test x$gcc_no_link = xyes; then
18717   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18718 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18719    { (exit 1); exit 1; }; }
18720 fi
18721 cat >conftest.$ac_ext <<_ACEOF
18722 /* confdefs.h.  */
18723 _ACEOF
18724 cat confdefs.h >>conftest.$ac_ext
18725 cat >>conftest.$ac_ext <<_ACEOF
18726 /* end confdefs.h.  */
18727 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18728    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18729 #define $ac_func innocuous_$ac_func
18730
18731 /* System header to define __stub macros and hopefully few prototypes,
18732     which can conflict with char $ac_func (); below.
18733     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18734     <limits.h> exists even on freestanding compilers.  */
18735
18736 #ifdef __STDC__
18737 # include <limits.h>
18738 #else
18739 # include <assert.h>
18740 #endif
18741
18742 #undef $ac_func
18743
18744 /* Override any gcc2 internal prototype to avoid an error.  */
18745 #ifdef __cplusplus
18746 extern "C"
18747 {
18748 #endif
18749 /* We use char because int might match the return type of a gcc2
18750    builtin and then its argument prototype would still apply.  */
18751 char $ac_func ();
18752 /* The GNU C library defines this for functions which it implements
18753     to always fail with ENOSYS.  Some functions are actually named
18754     something starting with __ and the normal name is an alias.  */
18755 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18756 choke me
18757 #else
18758 char (*f) () = $ac_func;
18759 #endif
18760 #ifdef __cplusplus
18761 }
18762 #endif
18763
18764 int
18765 main ()
18766 {
18767 return f != $ac_func;
18768   ;
18769   return 0;
18770 }
18771 _ACEOF
18772 rm -f conftest.$ac_objext conftest$ac_exeext
18773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18774   (eval $ac_link) 2>conftest.er1
18775   ac_status=$?
18776   grep -v '^ *+' conftest.er1 >conftest.err
18777   rm -f conftest.er1
18778   cat conftest.err >&5
18779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18780   (exit $ac_status); } &&
18781          { ac_try='test -z "$ac_c_werror_flag"
18782                          || test ! -s conftest.err'
18783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18784   (eval $ac_try) 2>&5
18785   ac_status=$?
18786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18787   (exit $ac_status); }; } &&
18788          { ac_try='test -s conftest$ac_exeext'
18789   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18790   (eval $ac_try) 2>&5
18791   ac_status=$?
18792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18793   (exit $ac_status); }; }; then
18794   eval "$as_ac_var=yes"
18795 else
18796   echo "$as_me: failed program was:" >&5
18797 sed 's/^/| /' conftest.$ac_ext >&5
18798
18799 eval "$as_ac_var=no"
18800 fi
18801 rm -f conftest.err conftest.$ac_objext \
18802       conftest$ac_exeext conftest.$ac_ext
18803 fi
18804 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18805 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18806 if test `eval echo '${'$as_ac_var'}'` = yes; then
18807   cat >>confdefs.h <<_ACEOF
18808 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18809 _ACEOF
18810
18811 fi
18812 done
18813
18814   else
18815
18816   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
18817 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
18818   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
18819     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
18820   echo $ECHO_N "(cached) $ECHO_C" >&6
18821 else
18822
18823
18824
18825       ac_ext=cc
18826 ac_cpp='$CXXCPP $CPPFLAGS'
18827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18830
18831       cat >conftest.$ac_ext <<_ACEOF
18832 /* confdefs.h.  */
18833 _ACEOF
18834 cat confdefs.h >>conftest.$ac_ext
18835 cat >>conftest.$ac_ext <<_ACEOF
18836 /* end confdefs.h.  */
18837 #include <math.h>
18838 int
18839 main ()
18840 {
18841  _sincosf(0, 0, 0);
18842   ;
18843   return 0;
18844 }
18845 _ACEOF
18846 rm -f conftest.$ac_objext
18847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18848   (eval $ac_compile) 2>conftest.er1
18849   ac_status=$?
18850   grep -v '^ *+' conftest.er1 >conftest.err
18851   rm -f conftest.er1
18852   cat conftest.err >&5
18853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18854   (exit $ac_status); } &&
18855          { ac_try='test -z "$ac_cxx_werror_flag"
18856                          || test ! -s conftest.err'
18857   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18858   (eval $ac_try) 2>&5
18859   ac_status=$?
18860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18861   (exit $ac_status); }; } &&
18862          { ac_try='test -s conftest.$ac_objext'
18863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18864   (eval $ac_try) 2>&5
18865   ac_status=$?
18866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18867   (exit $ac_status); }; }; then
18868   glibcxx_cv_func__sincosf_use=yes
18869 else
18870   echo "$as_me: failed program was:" >&5
18871 sed 's/^/| /' conftest.$ac_ext >&5
18872
18873 glibcxx_cv_func__sincosf_use=no
18874 fi
18875 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18876       ac_ext=c
18877 ac_cpp='$CPP $CPPFLAGS'
18878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18881
18882
18883 fi
18884
18885   fi
18886   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
18887 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
18888
18889     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
18890
18891 for ac_func in _sincosf
18892 do
18893 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18894 echo "$as_me:$LINENO: checking for $ac_func" >&5
18895 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18896 if eval "test \"\${$as_ac_var+set}\" = set"; then
18897   echo $ECHO_N "(cached) $ECHO_C" >&6
18898 else
18899   if test x$gcc_no_link = xyes; then
18900   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18901 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18902    { (exit 1); exit 1; }; }
18903 fi
18904 cat >conftest.$ac_ext <<_ACEOF
18905 /* confdefs.h.  */
18906 _ACEOF
18907 cat confdefs.h >>conftest.$ac_ext
18908 cat >>conftest.$ac_ext <<_ACEOF
18909 /* end confdefs.h.  */
18910 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18911    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
18912 #define $ac_func innocuous_$ac_func
18913
18914 /* System header to define __stub macros and hopefully few prototypes,
18915     which can conflict with char $ac_func (); below.
18916     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18917     <limits.h> exists even on freestanding compilers.  */
18918
18919 #ifdef __STDC__
18920 # include <limits.h>
18921 #else
18922 # include <assert.h>
18923 #endif
18924
18925 #undef $ac_func
18926
18927 /* Override any gcc2 internal prototype to avoid an error.  */
18928 #ifdef __cplusplus
18929 extern "C"
18930 {
18931 #endif
18932 /* We use char because int might match the return type of a gcc2
18933    builtin and then its argument prototype would still apply.  */
18934 char $ac_func ();
18935 /* The GNU C library defines this for functions which it implements
18936     to always fail with ENOSYS.  Some functions are actually named
18937     something starting with __ and the normal name is an alias.  */
18938 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18939 choke me
18940 #else
18941 char (*f) () = $ac_func;
18942 #endif
18943 #ifdef __cplusplus
18944 }
18945 #endif
18946
18947 int
18948 main ()
18949 {
18950 return f != $ac_func;
18951   ;
18952   return 0;
18953 }
18954 _ACEOF
18955 rm -f conftest.$ac_objext conftest$ac_exeext
18956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18957   (eval $ac_link) 2>conftest.er1
18958   ac_status=$?
18959   grep -v '^ *+' conftest.er1 >conftest.err
18960   rm -f conftest.er1
18961   cat conftest.err >&5
18962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18963   (exit $ac_status); } &&
18964          { ac_try='test -z "$ac_c_werror_flag"
18965                          || test ! -s conftest.err'
18966   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18967   (eval $ac_try) 2>&5
18968   ac_status=$?
18969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18970   (exit $ac_status); }; } &&
18971          { ac_try='test -s conftest$ac_exeext'
18972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18973   (eval $ac_try) 2>&5
18974   ac_status=$?
18975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
18976   (exit $ac_status); }; }; then
18977   eval "$as_ac_var=yes"
18978 else
18979   echo "$as_me: failed program was:" >&5
18980 sed 's/^/| /' conftest.$ac_ext >&5
18981
18982 eval "$as_ac_var=no"
18983 fi
18984 rm -f conftest.err conftest.$ac_objext \
18985       conftest$ac_exeext conftest.$ac_ext
18986 fi
18987 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18988 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18989 if test `eval echo '${'$as_ac_var'}'` = yes; then
18990   cat >>confdefs.h <<_ACEOF
18991 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18992 _ACEOF
18993
18994 fi
18995 done
18996
18997     fi
18998   fi
18999
19000
19001
19002   echo "$as_me:$LINENO: checking for finitef declaration" >&5
19003 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
19004   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
19005     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
19006   echo $ECHO_N "(cached) $ECHO_C" >&6
19007 else
19008
19009
19010
19011       ac_ext=cc
19012 ac_cpp='$CXXCPP $CPPFLAGS'
19013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19016
19017       cat >conftest.$ac_ext <<_ACEOF
19018 /* confdefs.h.  */
19019 _ACEOF
19020 cat confdefs.h >>conftest.$ac_ext
19021 cat >>conftest.$ac_ext <<_ACEOF
19022 /* end confdefs.h.  */
19023 #include <math.h>
19024                       #ifdef HAVE_IEEEFP_H
19025                       #include <ieeefp.h>
19026                       #endif
19027
19028 int
19029 main ()
19030 {
19031  finitef(0);
19032   ;
19033   return 0;
19034 }
19035 _ACEOF
19036 rm -f conftest.$ac_objext
19037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19038   (eval $ac_compile) 2>conftest.er1
19039   ac_status=$?
19040   grep -v '^ *+' conftest.er1 >conftest.err
19041   rm -f conftest.er1
19042   cat conftest.err >&5
19043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19044   (exit $ac_status); } &&
19045          { ac_try='test -z "$ac_cxx_werror_flag"
19046                          || test ! -s conftest.err'
19047   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19048   (eval $ac_try) 2>&5
19049   ac_status=$?
19050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19051   (exit $ac_status); }; } &&
19052          { ac_try='test -s conftest.$ac_objext'
19053   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19054   (eval $ac_try) 2>&5
19055   ac_status=$?
19056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19057   (exit $ac_status); }; }; then
19058   glibcxx_cv_func_finitef_use=yes
19059 else
19060   echo "$as_me: failed program was:" >&5
19061 sed 's/^/| /' conftest.$ac_ext >&5
19062
19063 glibcxx_cv_func_finitef_use=no
19064 fi
19065 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19066       ac_ext=c
19067 ac_cpp='$CPP $CPPFLAGS'
19068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19071
19072
19073 fi
19074
19075   fi
19076   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
19077 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
19078
19079   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
19080
19081 for ac_func in finitef
19082 do
19083 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19084 echo "$as_me:$LINENO: checking for $ac_func" >&5
19085 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19086 if eval "test \"\${$as_ac_var+set}\" = set"; then
19087   echo $ECHO_N "(cached) $ECHO_C" >&6
19088 else
19089   if test x$gcc_no_link = xyes; then
19090   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19091 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19092    { (exit 1); exit 1; }; }
19093 fi
19094 cat >conftest.$ac_ext <<_ACEOF
19095 /* confdefs.h.  */
19096 _ACEOF
19097 cat confdefs.h >>conftest.$ac_ext
19098 cat >>conftest.$ac_ext <<_ACEOF
19099 /* end confdefs.h.  */
19100 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19101    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19102 #define $ac_func innocuous_$ac_func
19103
19104 /* System header to define __stub macros and hopefully few prototypes,
19105     which can conflict with char $ac_func (); below.
19106     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19107     <limits.h> exists even on freestanding compilers.  */
19108
19109 #ifdef __STDC__
19110 # include <limits.h>
19111 #else
19112 # include <assert.h>
19113 #endif
19114
19115 #undef $ac_func
19116
19117 /* Override any gcc2 internal prototype to avoid an error.  */
19118 #ifdef __cplusplus
19119 extern "C"
19120 {
19121 #endif
19122 /* We use char because int might match the return type of a gcc2
19123    builtin and then its argument prototype would still apply.  */
19124 char $ac_func ();
19125 /* The GNU C library defines this for functions which it implements
19126     to always fail with ENOSYS.  Some functions are actually named
19127     something starting with __ and the normal name is an alias.  */
19128 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19129 choke me
19130 #else
19131 char (*f) () = $ac_func;
19132 #endif
19133 #ifdef __cplusplus
19134 }
19135 #endif
19136
19137 int
19138 main ()
19139 {
19140 return f != $ac_func;
19141   ;
19142   return 0;
19143 }
19144 _ACEOF
19145 rm -f conftest.$ac_objext conftest$ac_exeext
19146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19147   (eval $ac_link) 2>conftest.er1
19148   ac_status=$?
19149   grep -v '^ *+' conftest.er1 >conftest.err
19150   rm -f conftest.er1
19151   cat conftest.err >&5
19152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19153   (exit $ac_status); } &&
19154          { ac_try='test -z "$ac_c_werror_flag"
19155                          || test ! -s conftest.err'
19156   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19157   (eval $ac_try) 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.err conftest.$ac_objext \
19175       conftest$ac_exeext conftest.$ac_ext
19176 fi
19177 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19178 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19179 if test `eval echo '${'$as_ac_var'}'` = yes; then
19180   cat >>confdefs.h <<_ACEOF
19181 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19182 _ACEOF
19183
19184 fi
19185 done
19186
19187   else
19188
19189   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
19190 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
19191   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
19192     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
19193   echo $ECHO_N "(cached) $ECHO_C" >&6
19194 else
19195
19196
19197
19198       ac_ext=cc
19199 ac_cpp='$CXXCPP $CPPFLAGS'
19200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19203
19204       cat >conftest.$ac_ext <<_ACEOF
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  _finitef(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>conftest.er1
19226   ac_status=$?
19227   grep -v '^ *+' conftest.er1 >conftest.err
19228   rm -f conftest.er1
19229   cat conftest.err >&5
19230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19231   (exit $ac_status); } &&
19232          { ac_try='test -z "$ac_cxx_werror_flag"
19233                          || test ! -s conftest.err'
19234   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19235   (eval $ac_try) 2>&5
19236   ac_status=$?
19237   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19238   (exit $ac_status); }; } &&
19239          { ac_try='test -s conftest.$ac_objext'
19240   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19241   (eval $ac_try) 2>&5
19242   ac_status=$?
19243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19244   (exit $ac_status); }; }; then
19245   glibcxx_cv_func__finitef_use=yes
19246 else
19247   echo "$as_me: failed program was:" >&5
19248 sed 's/^/| /' conftest.$ac_ext >&5
19249
19250 glibcxx_cv_func__finitef_use=no
19251 fi
19252 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19253       ac_ext=c
19254 ac_cpp='$CPP $CPPFLAGS'
19255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19258
19259
19260 fi
19261
19262   fi
19263   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
19264 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
19265
19266     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
19267
19268 for ac_func in _finitef
19269 do
19270 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19271 echo "$as_me:$LINENO: checking for $ac_func" >&5
19272 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19273 if eval "test \"\${$as_ac_var+set}\" = set"; then
19274   echo $ECHO_N "(cached) $ECHO_C" >&6
19275 else
19276   if test x$gcc_no_link = xyes; then
19277   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19278 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19279    { (exit 1); exit 1; }; }
19280 fi
19281 cat >conftest.$ac_ext <<_ACEOF
19282 /* confdefs.h.  */
19283 _ACEOF
19284 cat confdefs.h >>conftest.$ac_ext
19285 cat >>conftest.$ac_ext <<_ACEOF
19286 /* end confdefs.h.  */
19287 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19288    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19289 #define $ac_func innocuous_$ac_func
19290
19291 /* System header to define __stub macros and hopefully few prototypes,
19292     which can conflict with char $ac_func (); below.
19293     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19294     <limits.h> exists even on freestanding compilers.  */
19295
19296 #ifdef __STDC__
19297 # include <limits.h>
19298 #else
19299 # include <assert.h>
19300 #endif
19301
19302 #undef $ac_func
19303
19304 /* Override any gcc2 internal prototype to avoid an error.  */
19305 #ifdef __cplusplus
19306 extern "C"
19307 {
19308 #endif
19309 /* We use char because int might match the return type of a gcc2
19310    builtin and then its argument prototype would still apply.  */
19311 char $ac_func ();
19312 /* The GNU C library defines this for functions which it implements
19313     to always fail with ENOSYS.  Some functions are actually named
19314     something starting with __ and the normal name is an alias.  */
19315 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19316 choke me
19317 #else
19318 char (*f) () = $ac_func;
19319 #endif
19320 #ifdef __cplusplus
19321 }
19322 #endif
19323
19324 int
19325 main ()
19326 {
19327 return f != $ac_func;
19328   ;
19329   return 0;
19330 }
19331 _ACEOF
19332 rm -f conftest.$ac_objext conftest$ac_exeext
19333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19334   (eval $ac_link) 2>conftest.er1
19335   ac_status=$?
19336   grep -v '^ *+' conftest.er1 >conftest.err
19337   rm -f conftest.er1
19338   cat conftest.err >&5
19339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19340   (exit $ac_status); } &&
19341          { ac_try='test -z "$ac_c_werror_flag"
19342                          || test ! -s conftest.err'
19343   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19344   (eval $ac_try) 2>&5
19345   ac_status=$?
19346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19347   (exit $ac_status); }; } &&
19348          { ac_try='test -s conftest$ac_exeext'
19349   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19350   (eval $ac_try) 2>&5
19351   ac_status=$?
19352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19353   (exit $ac_status); }; }; then
19354   eval "$as_ac_var=yes"
19355 else
19356   echo "$as_me: failed program was:" >&5
19357 sed 's/^/| /' conftest.$ac_ext >&5
19358
19359 eval "$as_ac_var=no"
19360 fi
19361 rm -f conftest.err conftest.$ac_objext \
19362       conftest$ac_exeext conftest.$ac_ext
19363 fi
19364 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19365 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19366 if test `eval echo '${'$as_ac_var'}'` = yes; then
19367   cat >>confdefs.h <<_ACEOF
19368 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19369 _ACEOF
19370
19371 fi
19372 done
19373
19374     fi
19375   fi
19376
19377
19378
19379   echo "$as_me:$LINENO: checking for long double trig functions" >&5
19380 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
19381   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
19382   echo $ECHO_N "(cached) $ECHO_C" >&6
19383 else
19384
19385
19386
19387     ac_ext=cc
19388 ac_cpp='$CXXCPP $CPPFLAGS'
19389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19392
19393     cat >conftest.$ac_ext <<_ACEOF
19394 /* confdefs.h.  */
19395 _ACEOF
19396 cat confdefs.h >>conftest.$ac_ext
19397 cat >>conftest.$ac_ext <<_ACEOF
19398 /* end confdefs.h.  */
19399 #include <math.h>
19400 int
19401 main ()
19402 {
19403  `for x in acosl asinl atanl \
19404                                           cosl sinl tanl \
19405                                           coshl sinhl tanhl; do echo "$x (0);"; done`
19406   ;
19407   return 0;
19408 }
19409 _ACEOF
19410 rm -f conftest.$ac_objext
19411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19412   (eval $ac_compile) 2>conftest.er1
19413   ac_status=$?
19414   grep -v '^ *+' conftest.er1 >conftest.err
19415   rm -f conftest.er1
19416   cat conftest.err >&5
19417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19418   (exit $ac_status); } &&
19419          { ac_try='test -z "$ac_cxx_werror_flag"
19420                          || test ! -s conftest.err'
19421   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19422   (eval $ac_try) 2>&5
19423   ac_status=$?
19424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19425   (exit $ac_status); }; } &&
19426          { ac_try='test -s conftest.$ac_objext'
19427   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19428   (eval $ac_try) 2>&5
19429   ac_status=$?
19430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19431   (exit $ac_status); }; }; then
19432   glibcxx_cv_func_long_double_trig_use=yes
19433 else
19434   echo "$as_me: failed program was:" >&5
19435 sed 's/^/| /' conftest.$ac_ext >&5
19436
19437 glibcxx_cv_func_long_double_trig_use=no
19438 fi
19439 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19440     ac_ext=c
19441 ac_cpp='$CPP $CPPFLAGS'
19442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19445
19446 fi
19447
19448   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
19449 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
19450   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
19451
19452
19453
19454
19455
19456
19457
19458
19459
19460 for ac_func in acosl asinl atanl \
19461                                           cosl sinl tanl \
19462                                           coshl sinhl tanhl
19463 do
19464 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19465 echo "$as_me:$LINENO: checking for $ac_func" >&5
19466 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19467 if eval "test \"\${$as_ac_var+set}\" = set"; then
19468   echo $ECHO_N "(cached) $ECHO_C" >&6
19469 else
19470   if test x$gcc_no_link = xyes; then
19471   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19472 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19473    { (exit 1); exit 1; }; }
19474 fi
19475 cat >conftest.$ac_ext <<_ACEOF
19476 /* confdefs.h.  */
19477 _ACEOF
19478 cat confdefs.h >>conftest.$ac_ext
19479 cat >>conftest.$ac_ext <<_ACEOF
19480 /* end confdefs.h.  */
19481 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19482    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19483 #define $ac_func innocuous_$ac_func
19484
19485 /* System header to define __stub macros and hopefully few prototypes,
19486     which can conflict with char $ac_func (); below.
19487     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19488     <limits.h> exists even on freestanding compilers.  */
19489
19490 #ifdef __STDC__
19491 # include <limits.h>
19492 #else
19493 # include <assert.h>
19494 #endif
19495
19496 #undef $ac_func
19497
19498 /* Override any gcc2 internal prototype to avoid an error.  */
19499 #ifdef __cplusplus
19500 extern "C"
19501 {
19502 #endif
19503 /* We use char because int might match the return type of a gcc2
19504    builtin and then its argument prototype would still apply.  */
19505 char $ac_func ();
19506 /* The GNU C library defines this for functions which it implements
19507     to always fail with ENOSYS.  Some functions are actually named
19508     something starting with __ and the normal name is an alias.  */
19509 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19510 choke me
19511 #else
19512 char (*f) () = $ac_func;
19513 #endif
19514 #ifdef __cplusplus
19515 }
19516 #endif
19517
19518 int
19519 main ()
19520 {
19521 return f != $ac_func;
19522   ;
19523   return 0;
19524 }
19525 _ACEOF
19526 rm -f conftest.$ac_objext conftest$ac_exeext
19527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19528   (eval $ac_link) 2>conftest.er1
19529   ac_status=$?
19530   grep -v '^ *+' conftest.er1 >conftest.err
19531   rm -f conftest.er1
19532   cat conftest.err >&5
19533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19534   (exit $ac_status); } &&
19535          { ac_try='test -z "$ac_c_werror_flag"
19536                          || test ! -s conftest.err'
19537   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19538   (eval $ac_try) 2>&5
19539   ac_status=$?
19540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19541   (exit $ac_status); }; } &&
19542          { ac_try='test -s conftest$ac_exeext'
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   eval "$as_ac_var=yes"
19549 else
19550   echo "$as_me: failed program was:" >&5
19551 sed 's/^/| /' conftest.$ac_ext >&5
19552
19553 eval "$as_ac_var=no"
19554 fi
19555 rm -f conftest.err conftest.$ac_objext \
19556       conftest$ac_exeext conftest.$ac_ext
19557 fi
19558 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19559 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19560 if test `eval echo '${'$as_ac_var'}'` = yes; then
19561   cat >>confdefs.h <<_ACEOF
19562 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19563 _ACEOF
19564
19565 fi
19566 done
19567
19568   fi
19569
19570
19571   echo "$as_me:$LINENO: checking for long double round functions" >&5
19572 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
19573   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
19574   echo $ECHO_N "(cached) $ECHO_C" >&6
19575 else
19576
19577
19578
19579     ac_ext=cc
19580 ac_cpp='$CXXCPP $CPPFLAGS'
19581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19584
19585     cat >conftest.$ac_ext <<_ACEOF
19586 /* confdefs.h.  */
19587 _ACEOF
19588 cat confdefs.h >>conftest.$ac_ext
19589 cat >>conftest.$ac_ext <<_ACEOF
19590 /* end confdefs.h.  */
19591 #include <math.h>
19592 int
19593 main ()
19594 {
19595  `for x in ceill floorl; do echo "$x (0);"; done`
19596   ;
19597   return 0;
19598 }
19599 _ACEOF
19600 rm -f conftest.$ac_objext
19601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19602   (eval $ac_compile) 2>conftest.er1
19603   ac_status=$?
19604   grep -v '^ *+' conftest.er1 >conftest.err
19605   rm -f conftest.er1
19606   cat conftest.err >&5
19607   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19608   (exit $ac_status); } &&
19609          { ac_try='test -z "$ac_cxx_werror_flag"
19610                          || test ! -s conftest.err'
19611   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19612   (eval $ac_try) 2>&5
19613   ac_status=$?
19614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19615   (exit $ac_status); }; } &&
19616          { ac_try='test -s conftest.$ac_objext'
19617   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19618   (eval $ac_try) 2>&5
19619   ac_status=$?
19620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19621   (exit $ac_status); }; }; then
19622   glibcxx_cv_func_long_double_round_use=yes
19623 else
19624   echo "$as_me: failed program was:" >&5
19625 sed 's/^/| /' conftest.$ac_ext >&5
19626
19627 glibcxx_cv_func_long_double_round_use=no
19628 fi
19629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19630     ac_ext=c
19631 ac_cpp='$CPP $CPPFLAGS'
19632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19635
19636 fi
19637
19638   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
19639 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
19640   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
19641
19642
19643 for ac_func in ceill floorl
19644 do
19645 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19646 echo "$as_me:$LINENO: checking for $ac_func" >&5
19647 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19648 if eval "test \"\${$as_ac_var+set}\" = set"; then
19649   echo $ECHO_N "(cached) $ECHO_C" >&6
19650 else
19651   if test x$gcc_no_link = xyes; then
19652   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19653 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19654    { (exit 1); exit 1; }; }
19655 fi
19656 cat >conftest.$ac_ext <<_ACEOF
19657 /* confdefs.h.  */
19658 _ACEOF
19659 cat confdefs.h >>conftest.$ac_ext
19660 cat >>conftest.$ac_ext <<_ACEOF
19661 /* end confdefs.h.  */
19662 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19663    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19664 #define $ac_func innocuous_$ac_func
19665
19666 /* System header to define __stub macros and hopefully few prototypes,
19667     which can conflict with char $ac_func (); below.
19668     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19669     <limits.h> exists even on freestanding compilers.  */
19670
19671 #ifdef __STDC__
19672 # include <limits.h>
19673 #else
19674 # include <assert.h>
19675 #endif
19676
19677 #undef $ac_func
19678
19679 /* Override any gcc2 internal prototype to avoid an error.  */
19680 #ifdef __cplusplus
19681 extern "C"
19682 {
19683 #endif
19684 /* We use char because int might match the return type of a gcc2
19685    builtin and then its argument prototype would still apply.  */
19686 char $ac_func ();
19687 /* The GNU C library defines this for functions which it implements
19688     to always fail with ENOSYS.  Some functions are actually named
19689     something starting with __ and the normal name is an alias.  */
19690 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19691 choke me
19692 #else
19693 char (*f) () = $ac_func;
19694 #endif
19695 #ifdef __cplusplus
19696 }
19697 #endif
19698
19699 int
19700 main ()
19701 {
19702 return f != $ac_func;
19703   ;
19704   return 0;
19705 }
19706 _ACEOF
19707 rm -f conftest.$ac_objext conftest$ac_exeext
19708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19709   (eval $ac_link) 2>conftest.er1
19710   ac_status=$?
19711   grep -v '^ *+' conftest.er1 >conftest.err
19712   rm -f conftest.er1
19713   cat conftest.err >&5
19714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19715   (exit $ac_status); } &&
19716          { ac_try='test -z "$ac_c_werror_flag"
19717                          || test ! -s conftest.err'
19718   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19719   (eval $ac_try) 2>&5
19720   ac_status=$?
19721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19722   (exit $ac_status); }; } &&
19723          { ac_try='test -s conftest$ac_exeext'
19724   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19725   (eval $ac_try) 2>&5
19726   ac_status=$?
19727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19728   (exit $ac_status); }; }; then
19729   eval "$as_ac_var=yes"
19730 else
19731   echo "$as_me: failed program was:" >&5
19732 sed 's/^/| /' conftest.$ac_ext >&5
19733
19734 eval "$as_ac_var=no"
19735 fi
19736 rm -f conftest.err conftest.$ac_objext \
19737       conftest$ac_exeext conftest.$ac_ext
19738 fi
19739 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19740 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19741 if test `eval echo '${'$as_ac_var'}'` = yes; then
19742   cat >>confdefs.h <<_ACEOF
19743 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19744 _ACEOF
19745
19746 fi
19747 done
19748
19749   fi
19750
19751
19752
19753   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
19754 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
19755   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
19756     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
19757   echo $ECHO_N "(cached) $ECHO_C" >&6
19758 else
19759
19760
19761
19762       ac_ext=cc
19763 ac_cpp='$CXXCPP $CPPFLAGS'
19764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19767
19768       cat >conftest.$ac_ext <<_ACEOF
19769 /* confdefs.h.  */
19770 _ACEOF
19771 cat confdefs.h >>conftest.$ac_ext
19772 cat >>conftest.$ac_ext <<_ACEOF
19773 /* end confdefs.h.  */
19774 #include <math.h>
19775                       #ifdef HAVE_IEEEFP_H
19776                       #include <ieeefp.h>
19777                       #endif
19778
19779 int
19780 main ()
19781 {
19782  isnanl(0);
19783   ;
19784   return 0;
19785 }
19786 _ACEOF
19787 rm -f conftest.$ac_objext
19788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19789   (eval $ac_compile) 2>conftest.er1
19790   ac_status=$?
19791   grep -v '^ *+' conftest.er1 >conftest.err
19792   rm -f conftest.er1
19793   cat conftest.err >&5
19794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19795   (exit $ac_status); } &&
19796          { ac_try='test -z "$ac_cxx_werror_flag"
19797                          || test ! -s conftest.err'
19798   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19799   (eval $ac_try) 2>&5
19800   ac_status=$?
19801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19802   (exit $ac_status); }; } &&
19803          { ac_try='test -s conftest.$ac_objext'
19804   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19805   (eval $ac_try) 2>&5
19806   ac_status=$?
19807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19808   (exit $ac_status); }; }; then
19809   glibcxx_cv_func_isnanl_use=yes
19810 else
19811   echo "$as_me: failed program was:" >&5
19812 sed 's/^/| /' conftest.$ac_ext >&5
19813
19814 glibcxx_cv_func_isnanl_use=no
19815 fi
19816 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19817       ac_ext=c
19818 ac_cpp='$CPP $CPPFLAGS'
19819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19822
19823
19824 fi
19825
19826   fi
19827   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
19828 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
19829
19830   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
19831
19832 for ac_func in isnanl
19833 do
19834 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19835 echo "$as_me:$LINENO: checking for $ac_func" >&5
19836 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19837 if eval "test \"\${$as_ac_var+set}\" = set"; then
19838   echo $ECHO_N "(cached) $ECHO_C" >&6
19839 else
19840   if test x$gcc_no_link = xyes; then
19841   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19842 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19843    { (exit 1); exit 1; }; }
19844 fi
19845 cat >conftest.$ac_ext <<_ACEOF
19846 /* confdefs.h.  */
19847 _ACEOF
19848 cat confdefs.h >>conftest.$ac_ext
19849 cat >>conftest.$ac_ext <<_ACEOF
19850 /* end confdefs.h.  */
19851 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19852    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
19853 #define $ac_func innocuous_$ac_func
19854
19855 /* System header to define __stub macros and hopefully few prototypes,
19856     which can conflict with char $ac_func (); below.
19857     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19858     <limits.h> exists even on freestanding compilers.  */
19859
19860 #ifdef __STDC__
19861 # include <limits.h>
19862 #else
19863 # include <assert.h>
19864 #endif
19865
19866 #undef $ac_func
19867
19868 /* Override any gcc2 internal prototype to avoid an error.  */
19869 #ifdef __cplusplus
19870 extern "C"
19871 {
19872 #endif
19873 /* We use char because int might match the return type of a gcc2
19874    builtin and then its argument prototype would still apply.  */
19875 char $ac_func ();
19876 /* The GNU C library defines this for functions which it implements
19877     to always fail with ENOSYS.  Some functions are actually named
19878     something starting with __ and the normal name is an alias.  */
19879 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19880 choke me
19881 #else
19882 char (*f) () = $ac_func;
19883 #endif
19884 #ifdef __cplusplus
19885 }
19886 #endif
19887
19888 int
19889 main ()
19890 {
19891 return f != $ac_func;
19892   ;
19893   return 0;
19894 }
19895 _ACEOF
19896 rm -f conftest.$ac_objext conftest$ac_exeext
19897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19898   (eval $ac_link) 2>conftest.er1
19899   ac_status=$?
19900   grep -v '^ *+' conftest.er1 >conftest.err
19901   rm -f conftest.er1
19902   cat conftest.err >&5
19903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19904   (exit $ac_status); } &&
19905          { ac_try='test -z "$ac_c_werror_flag"
19906                          || test ! -s conftest.err'
19907   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19908   (eval $ac_try) 2>&5
19909   ac_status=$?
19910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19911   (exit $ac_status); }; } &&
19912          { ac_try='test -s conftest$ac_exeext'
19913   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19914   (eval $ac_try) 2>&5
19915   ac_status=$?
19916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19917   (exit $ac_status); }; }; then
19918   eval "$as_ac_var=yes"
19919 else
19920   echo "$as_me: failed program was:" >&5
19921 sed 's/^/| /' conftest.$ac_ext >&5
19922
19923 eval "$as_ac_var=no"
19924 fi
19925 rm -f conftest.err conftest.$ac_objext \
19926       conftest$ac_exeext conftest.$ac_ext
19927 fi
19928 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19929 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19930 if test `eval echo '${'$as_ac_var'}'` = yes; then
19931   cat >>confdefs.h <<_ACEOF
19932 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19933 _ACEOF
19934
19935 fi
19936 done
19937
19938   else
19939
19940   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
19941 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
19942   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
19943     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
19944   echo $ECHO_N "(cached) $ECHO_C" >&6
19945 else
19946
19947
19948
19949       ac_ext=cc
19950 ac_cpp='$CXXCPP $CPPFLAGS'
19951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19954
19955       cat >conftest.$ac_ext <<_ACEOF
19956 /* confdefs.h.  */
19957 _ACEOF
19958 cat confdefs.h >>conftest.$ac_ext
19959 cat >>conftest.$ac_ext <<_ACEOF
19960 /* end confdefs.h.  */
19961 #include <math.h>
19962                       #ifdef HAVE_IEEEFP_H
19963                       #include <ieeefp.h>
19964                       #endif
19965
19966 int
19967 main ()
19968 {
19969  _isnanl(0);
19970   ;
19971   return 0;
19972 }
19973 _ACEOF
19974 rm -f conftest.$ac_objext
19975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19976   (eval $ac_compile) 2>conftest.er1
19977   ac_status=$?
19978   grep -v '^ *+' conftest.er1 >conftest.err
19979   rm -f conftest.er1
19980   cat conftest.err >&5
19981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19982   (exit $ac_status); } &&
19983          { ac_try='test -z "$ac_cxx_werror_flag"
19984                          || test ! -s conftest.err'
19985   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19986   (eval $ac_try) 2>&5
19987   ac_status=$?
19988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19989   (exit $ac_status); }; } &&
19990          { ac_try='test -s conftest.$ac_objext'
19991   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19992   (eval $ac_try) 2>&5
19993   ac_status=$?
19994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
19995   (exit $ac_status); }; }; then
19996   glibcxx_cv_func__isnanl_use=yes
19997 else
19998   echo "$as_me: failed program was:" >&5
19999 sed 's/^/| /' conftest.$ac_ext >&5
20000
20001 glibcxx_cv_func__isnanl_use=no
20002 fi
20003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20004       ac_ext=c
20005 ac_cpp='$CPP $CPPFLAGS'
20006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20009
20010
20011 fi
20012
20013   fi
20014   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
20015 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
20016
20017     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
20018
20019 for ac_func in _isnanl
20020 do
20021 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20022 echo "$as_me:$LINENO: checking for $ac_func" >&5
20023 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20024 if eval "test \"\${$as_ac_var+set}\" = set"; then
20025   echo $ECHO_N "(cached) $ECHO_C" >&6
20026 else
20027   if test x$gcc_no_link = xyes; then
20028   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20029 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20030    { (exit 1); exit 1; }; }
20031 fi
20032 cat >conftest.$ac_ext <<_ACEOF
20033 /* confdefs.h.  */
20034 _ACEOF
20035 cat confdefs.h >>conftest.$ac_ext
20036 cat >>conftest.$ac_ext <<_ACEOF
20037 /* end confdefs.h.  */
20038 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20039    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20040 #define $ac_func innocuous_$ac_func
20041
20042 /* System header to define __stub macros and hopefully few prototypes,
20043     which can conflict with char $ac_func (); below.
20044     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20045     <limits.h> exists even on freestanding compilers.  */
20046
20047 #ifdef __STDC__
20048 # include <limits.h>
20049 #else
20050 # include <assert.h>
20051 #endif
20052
20053 #undef $ac_func
20054
20055 /* Override any gcc2 internal prototype to avoid an error.  */
20056 #ifdef __cplusplus
20057 extern "C"
20058 {
20059 #endif
20060 /* We use char because int might match the return type of a gcc2
20061    builtin and then its argument prototype would still apply.  */
20062 char $ac_func ();
20063 /* The GNU C library defines this for functions which it implements
20064     to always fail with ENOSYS.  Some functions are actually named
20065     something starting with __ and the normal name is an alias.  */
20066 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20067 choke me
20068 #else
20069 char (*f) () = $ac_func;
20070 #endif
20071 #ifdef __cplusplus
20072 }
20073 #endif
20074
20075 int
20076 main ()
20077 {
20078 return f != $ac_func;
20079   ;
20080   return 0;
20081 }
20082 _ACEOF
20083 rm -f conftest.$ac_objext conftest$ac_exeext
20084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20085   (eval $ac_link) 2>conftest.er1
20086   ac_status=$?
20087   grep -v '^ *+' conftest.er1 >conftest.err
20088   rm -f conftest.er1
20089   cat conftest.err >&5
20090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20091   (exit $ac_status); } &&
20092          { ac_try='test -z "$ac_c_werror_flag"
20093                          || test ! -s conftest.err'
20094   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20095   (eval $ac_try) 2>&5
20096   ac_status=$?
20097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20098   (exit $ac_status); }; } &&
20099          { ac_try='test -s conftest$ac_exeext'
20100   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20101   (eval $ac_try) 2>&5
20102   ac_status=$?
20103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20104   (exit $ac_status); }; }; then
20105   eval "$as_ac_var=yes"
20106 else
20107   echo "$as_me: failed program was:" >&5
20108 sed 's/^/| /' conftest.$ac_ext >&5
20109
20110 eval "$as_ac_var=no"
20111 fi
20112 rm -f conftest.err conftest.$ac_objext \
20113       conftest$ac_exeext conftest.$ac_ext
20114 fi
20115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20116 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20117 if test `eval echo '${'$as_ac_var'}'` = yes; then
20118   cat >>confdefs.h <<_ACEOF
20119 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20120 _ACEOF
20121
20122 fi
20123 done
20124
20125     fi
20126   fi
20127
20128
20129
20130   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
20131 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
20132   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
20133     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
20134   echo $ECHO_N "(cached) $ECHO_C" >&6
20135 else
20136
20137
20138
20139       ac_ext=cc
20140 ac_cpp='$CXXCPP $CPPFLAGS'
20141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20144
20145       cat >conftest.$ac_ext <<_ACEOF
20146 /* confdefs.h.  */
20147 _ACEOF
20148 cat confdefs.h >>conftest.$ac_ext
20149 cat >>conftest.$ac_ext <<_ACEOF
20150 /* end confdefs.h.  */
20151 #include <math.h>
20152                       #ifdef HAVE_IEEEFP_H
20153                       #include <ieeefp.h>
20154                       #endif
20155
20156 int
20157 main ()
20158 {
20159  isinfl(0);
20160   ;
20161   return 0;
20162 }
20163 _ACEOF
20164 rm -f conftest.$ac_objext
20165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20166   (eval $ac_compile) 2>conftest.er1
20167   ac_status=$?
20168   grep -v '^ *+' conftest.er1 >conftest.err
20169   rm -f conftest.er1
20170   cat conftest.err >&5
20171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20172   (exit $ac_status); } &&
20173          { ac_try='test -z "$ac_cxx_werror_flag"
20174                          || test ! -s conftest.err'
20175   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20176   (eval $ac_try) 2>&5
20177   ac_status=$?
20178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20179   (exit $ac_status); }; } &&
20180          { ac_try='test -s conftest.$ac_objext'
20181   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20182   (eval $ac_try) 2>&5
20183   ac_status=$?
20184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20185   (exit $ac_status); }; }; then
20186   glibcxx_cv_func_isinfl_use=yes
20187 else
20188   echo "$as_me: failed program was:" >&5
20189 sed 's/^/| /' conftest.$ac_ext >&5
20190
20191 glibcxx_cv_func_isinfl_use=no
20192 fi
20193 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20194       ac_ext=c
20195 ac_cpp='$CPP $CPPFLAGS'
20196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20199
20200
20201 fi
20202
20203   fi
20204   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
20205 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
20206
20207   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
20208
20209 for ac_func in isinfl
20210 do
20211 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20212 echo "$as_me:$LINENO: checking for $ac_func" >&5
20213 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20214 if eval "test \"\${$as_ac_var+set}\" = set"; then
20215   echo $ECHO_N "(cached) $ECHO_C" >&6
20216 else
20217   if test x$gcc_no_link = xyes; then
20218   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20219 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20220    { (exit 1); exit 1; }; }
20221 fi
20222 cat >conftest.$ac_ext <<_ACEOF
20223 /* confdefs.h.  */
20224 _ACEOF
20225 cat confdefs.h >>conftest.$ac_ext
20226 cat >>conftest.$ac_ext <<_ACEOF
20227 /* end confdefs.h.  */
20228 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20229    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20230 #define $ac_func innocuous_$ac_func
20231
20232 /* System header to define __stub macros and hopefully few prototypes,
20233     which can conflict with char $ac_func (); below.
20234     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20235     <limits.h> exists even on freestanding compilers.  */
20236
20237 #ifdef __STDC__
20238 # include <limits.h>
20239 #else
20240 # include <assert.h>
20241 #endif
20242
20243 #undef $ac_func
20244
20245 /* Override any gcc2 internal prototype to avoid an error.  */
20246 #ifdef __cplusplus
20247 extern "C"
20248 {
20249 #endif
20250 /* We use char because int might match the return type of a gcc2
20251    builtin and then its argument prototype would still apply.  */
20252 char $ac_func ();
20253 /* The GNU C library defines this for functions which it implements
20254     to always fail with ENOSYS.  Some functions are actually named
20255     something starting with __ and the normal name is an alias.  */
20256 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20257 choke me
20258 #else
20259 char (*f) () = $ac_func;
20260 #endif
20261 #ifdef __cplusplus
20262 }
20263 #endif
20264
20265 int
20266 main ()
20267 {
20268 return f != $ac_func;
20269   ;
20270   return 0;
20271 }
20272 _ACEOF
20273 rm -f conftest.$ac_objext conftest$ac_exeext
20274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20275   (eval $ac_link) 2>conftest.er1
20276   ac_status=$?
20277   grep -v '^ *+' conftest.er1 >conftest.err
20278   rm -f conftest.er1
20279   cat conftest.err >&5
20280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20281   (exit $ac_status); } &&
20282          { ac_try='test -z "$ac_c_werror_flag"
20283                          || test ! -s conftest.err'
20284   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20285   (eval $ac_try) 2>&5
20286   ac_status=$?
20287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20288   (exit $ac_status); }; } &&
20289          { ac_try='test -s conftest$ac_exeext'
20290   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20291   (eval $ac_try) 2>&5
20292   ac_status=$?
20293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20294   (exit $ac_status); }; }; then
20295   eval "$as_ac_var=yes"
20296 else
20297   echo "$as_me: failed program was:" >&5
20298 sed 's/^/| /' conftest.$ac_ext >&5
20299
20300 eval "$as_ac_var=no"
20301 fi
20302 rm -f conftest.err conftest.$ac_objext \
20303       conftest$ac_exeext conftest.$ac_ext
20304 fi
20305 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20306 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20307 if test `eval echo '${'$as_ac_var'}'` = yes; then
20308   cat >>confdefs.h <<_ACEOF
20309 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20310 _ACEOF
20311
20312 fi
20313 done
20314
20315   else
20316
20317   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
20318 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
20319   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
20320     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
20321   echo $ECHO_N "(cached) $ECHO_C" >&6
20322 else
20323
20324
20325
20326       ac_ext=cc
20327 ac_cpp='$CXXCPP $CPPFLAGS'
20328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20331
20332       cat >conftest.$ac_ext <<_ACEOF
20333 /* confdefs.h.  */
20334 _ACEOF
20335 cat confdefs.h >>conftest.$ac_ext
20336 cat >>conftest.$ac_ext <<_ACEOF
20337 /* end confdefs.h.  */
20338 #include <math.h>
20339                       #ifdef HAVE_IEEEFP_H
20340                       #include <ieeefp.h>
20341                       #endif
20342
20343 int
20344 main ()
20345 {
20346  _isinfl(0);
20347   ;
20348   return 0;
20349 }
20350 _ACEOF
20351 rm -f conftest.$ac_objext
20352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20353   (eval $ac_compile) 2>conftest.er1
20354   ac_status=$?
20355   grep -v '^ *+' conftest.er1 >conftest.err
20356   rm -f conftest.er1
20357   cat conftest.err >&5
20358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20359   (exit $ac_status); } &&
20360          { ac_try='test -z "$ac_cxx_werror_flag"
20361                          || test ! -s conftest.err'
20362   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20363   (eval $ac_try) 2>&5
20364   ac_status=$?
20365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20366   (exit $ac_status); }; } &&
20367          { ac_try='test -s conftest.$ac_objext'
20368   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20369   (eval $ac_try) 2>&5
20370   ac_status=$?
20371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20372   (exit $ac_status); }; }; then
20373   glibcxx_cv_func__isinfl_use=yes
20374 else
20375   echo "$as_me: failed program was:" >&5
20376 sed 's/^/| /' conftest.$ac_ext >&5
20377
20378 glibcxx_cv_func__isinfl_use=no
20379 fi
20380 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20381       ac_ext=c
20382 ac_cpp='$CPP $CPPFLAGS'
20383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20386
20387
20388 fi
20389
20390   fi
20391   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
20392 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
20393
20394     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
20395
20396 for ac_func in _isinfl
20397 do
20398 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20399 echo "$as_me:$LINENO: checking for $ac_func" >&5
20400 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20401 if eval "test \"\${$as_ac_var+set}\" = set"; then
20402   echo $ECHO_N "(cached) $ECHO_C" >&6
20403 else
20404   if test x$gcc_no_link = xyes; then
20405   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20406 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20407    { (exit 1); exit 1; }; }
20408 fi
20409 cat >conftest.$ac_ext <<_ACEOF
20410 /* confdefs.h.  */
20411 _ACEOF
20412 cat confdefs.h >>conftest.$ac_ext
20413 cat >>conftest.$ac_ext <<_ACEOF
20414 /* end confdefs.h.  */
20415 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20416    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20417 #define $ac_func innocuous_$ac_func
20418
20419 /* System header to define __stub macros and hopefully few prototypes,
20420     which can conflict with char $ac_func (); below.
20421     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20422     <limits.h> exists even on freestanding compilers.  */
20423
20424 #ifdef __STDC__
20425 # include <limits.h>
20426 #else
20427 # include <assert.h>
20428 #endif
20429
20430 #undef $ac_func
20431
20432 /* Override any gcc2 internal prototype to avoid an error.  */
20433 #ifdef __cplusplus
20434 extern "C"
20435 {
20436 #endif
20437 /* We use char because int might match the return type of a gcc2
20438    builtin and then its argument prototype would still apply.  */
20439 char $ac_func ();
20440 /* The GNU C library defines this for functions which it implements
20441     to always fail with ENOSYS.  Some functions are actually named
20442     something starting with __ and the normal name is an alias.  */
20443 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20444 choke me
20445 #else
20446 char (*f) () = $ac_func;
20447 #endif
20448 #ifdef __cplusplus
20449 }
20450 #endif
20451
20452 int
20453 main ()
20454 {
20455 return f != $ac_func;
20456   ;
20457   return 0;
20458 }
20459 _ACEOF
20460 rm -f conftest.$ac_objext conftest$ac_exeext
20461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20462   (eval $ac_link) 2>conftest.er1
20463   ac_status=$?
20464   grep -v '^ *+' conftest.er1 >conftest.err
20465   rm -f conftest.er1
20466   cat conftest.err >&5
20467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20468   (exit $ac_status); } &&
20469          { ac_try='test -z "$ac_c_werror_flag"
20470                          || test ! -s conftest.err'
20471   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20472   (eval $ac_try) 2>&5
20473   ac_status=$?
20474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20475   (exit $ac_status); }; } &&
20476          { ac_try='test -s conftest$ac_exeext'
20477   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20478   (eval $ac_try) 2>&5
20479   ac_status=$?
20480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20481   (exit $ac_status); }; }; then
20482   eval "$as_ac_var=yes"
20483 else
20484   echo "$as_me: failed program was:" >&5
20485 sed 's/^/| /' conftest.$ac_ext >&5
20486
20487 eval "$as_ac_var=no"
20488 fi
20489 rm -f conftest.err conftest.$ac_objext \
20490       conftest$ac_exeext conftest.$ac_ext
20491 fi
20492 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20493 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20494 if test `eval echo '${'$as_ac_var'}'` = yes; then
20495   cat >>confdefs.h <<_ACEOF
20496 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20497 _ACEOF
20498
20499 fi
20500 done
20501
20502     fi
20503   fi
20504
20505
20506
20507   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
20508 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
20509   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
20510     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
20511   echo $ECHO_N "(cached) $ECHO_C" >&6
20512 else
20513
20514
20515
20516       ac_ext=cc
20517 ac_cpp='$CXXCPP $CPPFLAGS'
20518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20521
20522       cat >conftest.$ac_ext <<_ACEOF
20523 /* confdefs.h.  */
20524 _ACEOF
20525 cat confdefs.h >>conftest.$ac_ext
20526 cat >>conftest.$ac_ext <<_ACEOF
20527 /* end confdefs.h.  */
20528 #include <math.h>
20529 int
20530 main ()
20531 {
20532  copysignl(0, 0);
20533   ;
20534   return 0;
20535 }
20536 _ACEOF
20537 rm -f conftest.$ac_objext
20538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20539   (eval $ac_compile) 2>conftest.er1
20540   ac_status=$?
20541   grep -v '^ *+' conftest.er1 >conftest.err
20542   rm -f conftest.er1
20543   cat conftest.err >&5
20544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20545   (exit $ac_status); } &&
20546          { ac_try='test -z "$ac_cxx_werror_flag"
20547                          || test ! -s conftest.err'
20548   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20549   (eval $ac_try) 2>&5
20550   ac_status=$?
20551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20552   (exit $ac_status); }; } &&
20553          { ac_try='test -s conftest.$ac_objext'
20554   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20555   (eval $ac_try) 2>&5
20556   ac_status=$?
20557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20558   (exit $ac_status); }; }; then
20559   glibcxx_cv_func_copysignl_use=yes
20560 else
20561   echo "$as_me: failed program was:" >&5
20562 sed 's/^/| /' conftest.$ac_ext >&5
20563
20564 glibcxx_cv_func_copysignl_use=no
20565 fi
20566 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20567       ac_ext=c
20568 ac_cpp='$CPP $CPPFLAGS'
20569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20572
20573
20574 fi
20575
20576   fi
20577   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
20578 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
20579
20580   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
20581
20582 for ac_func in copysignl
20583 do
20584 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20585 echo "$as_me:$LINENO: checking for $ac_func" >&5
20586 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20587 if eval "test \"\${$as_ac_var+set}\" = set"; then
20588   echo $ECHO_N "(cached) $ECHO_C" >&6
20589 else
20590   if test x$gcc_no_link = xyes; then
20591   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20592 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20593    { (exit 1); exit 1; }; }
20594 fi
20595 cat >conftest.$ac_ext <<_ACEOF
20596 /* confdefs.h.  */
20597 _ACEOF
20598 cat confdefs.h >>conftest.$ac_ext
20599 cat >>conftest.$ac_ext <<_ACEOF
20600 /* end confdefs.h.  */
20601 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20602    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20603 #define $ac_func innocuous_$ac_func
20604
20605 /* System header to define __stub macros and hopefully few prototypes,
20606     which can conflict with char $ac_func (); below.
20607     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20608     <limits.h> exists even on freestanding compilers.  */
20609
20610 #ifdef __STDC__
20611 # include <limits.h>
20612 #else
20613 # include <assert.h>
20614 #endif
20615
20616 #undef $ac_func
20617
20618 /* Override any gcc2 internal prototype to avoid an error.  */
20619 #ifdef __cplusplus
20620 extern "C"
20621 {
20622 #endif
20623 /* We use char because int might match the return type of a gcc2
20624    builtin and then its argument prototype would still apply.  */
20625 char $ac_func ();
20626 /* The GNU C library defines this for functions which it implements
20627     to always fail with ENOSYS.  Some functions are actually named
20628     something starting with __ and the normal name is an alias.  */
20629 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20630 choke me
20631 #else
20632 char (*f) () = $ac_func;
20633 #endif
20634 #ifdef __cplusplus
20635 }
20636 #endif
20637
20638 int
20639 main ()
20640 {
20641 return f != $ac_func;
20642   ;
20643   return 0;
20644 }
20645 _ACEOF
20646 rm -f conftest.$ac_objext conftest$ac_exeext
20647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20648   (eval $ac_link) 2>conftest.er1
20649   ac_status=$?
20650   grep -v '^ *+' conftest.er1 >conftest.err
20651   rm -f conftest.er1
20652   cat conftest.err >&5
20653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20654   (exit $ac_status); } &&
20655          { ac_try='test -z "$ac_c_werror_flag"
20656                          || test ! -s conftest.err'
20657   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20658   (eval $ac_try) 2>&5
20659   ac_status=$?
20660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20661   (exit $ac_status); }; } &&
20662          { ac_try='test -s conftest$ac_exeext'
20663   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20664   (eval $ac_try) 2>&5
20665   ac_status=$?
20666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20667   (exit $ac_status); }; }; then
20668   eval "$as_ac_var=yes"
20669 else
20670   echo "$as_me: failed program was:" >&5
20671 sed 's/^/| /' conftest.$ac_ext >&5
20672
20673 eval "$as_ac_var=no"
20674 fi
20675 rm -f conftest.err conftest.$ac_objext \
20676       conftest$ac_exeext conftest.$ac_ext
20677 fi
20678 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20679 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20680 if test `eval echo '${'$as_ac_var'}'` = yes; then
20681   cat >>confdefs.h <<_ACEOF
20682 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20683 _ACEOF
20684
20685 fi
20686 done
20687
20688   else
20689
20690   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
20691 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
20692   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
20693     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
20694   echo $ECHO_N "(cached) $ECHO_C" >&6
20695 else
20696
20697
20698
20699       ac_ext=cc
20700 ac_cpp='$CXXCPP $CPPFLAGS'
20701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20704
20705       cat >conftest.$ac_ext <<_ACEOF
20706 /* confdefs.h.  */
20707 _ACEOF
20708 cat confdefs.h >>conftest.$ac_ext
20709 cat >>conftest.$ac_ext <<_ACEOF
20710 /* end confdefs.h.  */
20711 #include <math.h>
20712 int
20713 main ()
20714 {
20715  _copysignl(0, 0);
20716   ;
20717   return 0;
20718 }
20719 _ACEOF
20720 rm -f conftest.$ac_objext
20721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20722   (eval $ac_compile) 2>conftest.er1
20723   ac_status=$?
20724   grep -v '^ *+' conftest.er1 >conftest.err
20725   rm -f conftest.er1
20726   cat conftest.err >&5
20727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20728   (exit $ac_status); } &&
20729          { ac_try='test -z "$ac_cxx_werror_flag"
20730                          || test ! -s conftest.err'
20731   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20732   (eval $ac_try) 2>&5
20733   ac_status=$?
20734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20735   (exit $ac_status); }; } &&
20736          { ac_try='test -s conftest.$ac_objext'
20737   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20738   (eval $ac_try) 2>&5
20739   ac_status=$?
20740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20741   (exit $ac_status); }; }; then
20742   glibcxx_cv_func__copysignl_use=yes
20743 else
20744   echo "$as_me: failed program was:" >&5
20745 sed 's/^/| /' conftest.$ac_ext >&5
20746
20747 glibcxx_cv_func__copysignl_use=no
20748 fi
20749 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20750       ac_ext=c
20751 ac_cpp='$CPP $CPPFLAGS'
20752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20755
20756
20757 fi
20758
20759   fi
20760   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
20761 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
20762
20763     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
20764
20765 for ac_func in _copysignl
20766 do
20767 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20768 echo "$as_me:$LINENO: checking for $ac_func" >&5
20769 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20770 if eval "test \"\${$as_ac_var+set}\" = set"; then
20771   echo $ECHO_N "(cached) $ECHO_C" >&6
20772 else
20773   if test x$gcc_no_link = xyes; then
20774   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20775 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20776    { (exit 1); exit 1; }; }
20777 fi
20778 cat >conftest.$ac_ext <<_ACEOF
20779 /* confdefs.h.  */
20780 _ACEOF
20781 cat confdefs.h >>conftest.$ac_ext
20782 cat >>conftest.$ac_ext <<_ACEOF
20783 /* end confdefs.h.  */
20784 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20785    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20786 #define $ac_func innocuous_$ac_func
20787
20788 /* System header to define __stub macros and hopefully few prototypes,
20789     which can conflict with char $ac_func (); below.
20790     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20791     <limits.h> exists even on freestanding compilers.  */
20792
20793 #ifdef __STDC__
20794 # include <limits.h>
20795 #else
20796 # include <assert.h>
20797 #endif
20798
20799 #undef $ac_func
20800
20801 /* Override any gcc2 internal prototype to avoid an error.  */
20802 #ifdef __cplusplus
20803 extern "C"
20804 {
20805 #endif
20806 /* We use char because int might match the return type of a gcc2
20807    builtin and then its argument prototype would still apply.  */
20808 char $ac_func ();
20809 /* The GNU C library defines this for functions which it implements
20810     to always fail with ENOSYS.  Some functions are actually named
20811     something starting with __ and the normal name is an alias.  */
20812 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20813 choke me
20814 #else
20815 char (*f) () = $ac_func;
20816 #endif
20817 #ifdef __cplusplus
20818 }
20819 #endif
20820
20821 int
20822 main ()
20823 {
20824 return f != $ac_func;
20825   ;
20826   return 0;
20827 }
20828 _ACEOF
20829 rm -f conftest.$ac_objext conftest$ac_exeext
20830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20831   (eval $ac_link) 2>conftest.er1
20832   ac_status=$?
20833   grep -v '^ *+' conftest.er1 >conftest.err
20834   rm -f conftest.er1
20835   cat conftest.err >&5
20836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20837   (exit $ac_status); } &&
20838          { ac_try='test -z "$ac_c_werror_flag"
20839                          || test ! -s conftest.err'
20840   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20841   (eval $ac_try) 2>&5
20842   ac_status=$?
20843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20844   (exit $ac_status); }; } &&
20845          { ac_try='test -s conftest$ac_exeext'
20846   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20847   (eval $ac_try) 2>&5
20848   ac_status=$?
20849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20850   (exit $ac_status); }; }; then
20851   eval "$as_ac_var=yes"
20852 else
20853   echo "$as_me: failed program was:" >&5
20854 sed 's/^/| /' conftest.$ac_ext >&5
20855
20856 eval "$as_ac_var=no"
20857 fi
20858 rm -f conftest.err conftest.$ac_objext \
20859       conftest$ac_exeext conftest.$ac_ext
20860 fi
20861 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20862 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20863 if test `eval echo '${'$as_ac_var'}'` = yes; then
20864   cat >>confdefs.h <<_ACEOF
20865 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20866 _ACEOF
20867
20868 fi
20869 done
20870
20871     fi
20872   fi
20873
20874
20875
20876   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
20877 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
20878   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
20879     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
20880   echo $ECHO_N "(cached) $ECHO_C" >&6
20881 else
20882
20883
20884
20885       ac_ext=cc
20886 ac_cpp='$CXXCPP $CPPFLAGS'
20887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20890
20891       cat >conftest.$ac_ext <<_ACEOF
20892 /* confdefs.h.  */
20893 _ACEOF
20894 cat confdefs.h >>conftest.$ac_ext
20895 cat >>conftest.$ac_ext <<_ACEOF
20896 /* end confdefs.h.  */
20897 #include <math.h>
20898 int
20899 main ()
20900 {
20901  atan2l(0, 0);
20902   ;
20903   return 0;
20904 }
20905 _ACEOF
20906 rm -f conftest.$ac_objext
20907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20908   (eval $ac_compile) 2>conftest.er1
20909   ac_status=$?
20910   grep -v '^ *+' conftest.er1 >conftest.err
20911   rm -f conftest.er1
20912   cat conftest.err >&5
20913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20914   (exit $ac_status); } &&
20915          { ac_try='test -z "$ac_cxx_werror_flag"
20916                          || test ! -s conftest.err'
20917   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20918   (eval $ac_try) 2>&5
20919   ac_status=$?
20920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20921   (exit $ac_status); }; } &&
20922          { ac_try='test -s conftest.$ac_objext'
20923   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20924   (eval $ac_try) 2>&5
20925   ac_status=$?
20926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
20927   (exit $ac_status); }; }; then
20928   glibcxx_cv_func_atan2l_use=yes
20929 else
20930   echo "$as_me: failed program was:" >&5
20931 sed 's/^/| /' conftest.$ac_ext >&5
20932
20933 glibcxx_cv_func_atan2l_use=no
20934 fi
20935 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20936       ac_ext=c
20937 ac_cpp='$CPP $CPPFLAGS'
20938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20941
20942
20943 fi
20944
20945   fi
20946   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
20947 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
20948
20949   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
20950
20951 for ac_func in atan2l
20952 do
20953 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20954 echo "$as_me:$LINENO: checking for $ac_func" >&5
20955 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20956 if eval "test \"\${$as_ac_var+set}\" = set"; then
20957   echo $ECHO_N "(cached) $ECHO_C" >&6
20958 else
20959   if test x$gcc_no_link = xyes; then
20960   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20961 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20962    { (exit 1); exit 1; }; }
20963 fi
20964 cat >conftest.$ac_ext <<_ACEOF
20965 /* confdefs.h.  */
20966 _ACEOF
20967 cat confdefs.h >>conftest.$ac_ext
20968 cat >>conftest.$ac_ext <<_ACEOF
20969 /* end confdefs.h.  */
20970 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20971    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
20972 #define $ac_func innocuous_$ac_func
20973
20974 /* System header to define __stub macros and hopefully few prototypes,
20975     which can conflict with char $ac_func (); below.
20976     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20977     <limits.h> exists even on freestanding compilers.  */
20978
20979 #ifdef __STDC__
20980 # include <limits.h>
20981 #else
20982 # include <assert.h>
20983 #endif
20984
20985 #undef $ac_func
20986
20987 /* Override any gcc2 internal prototype to avoid an error.  */
20988 #ifdef __cplusplus
20989 extern "C"
20990 {
20991 #endif
20992 /* We use char because int might match the return type of a gcc2
20993    builtin and then its argument prototype would still apply.  */
20994 char $ac_func ();
20995 /* The GNU C library defines this for functions which it implements
20996     to always fail with ENOSYS.  Some functions are actually named
20997     something starting with __ and the normal name is an alias.  */
20998 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20999 choke me
21000 #else
21001 char (*f) () = $ac_func;
21002 #endif
21003 #ifdef __cplusplus
21004 }
21005 #endif
21006
21007 int
21008 main ()
21009 {
21010 return f != $ac_func;
21011   ;
21012   return 0;
21013 }
21014 _ACEOF
21015 rm -f conftest.$ac_objext conftest$ac_exeext
21016 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21017   (eval $ac_link) 2>conftest.er1
21018   ac_status=$?
21019   grep -v '^ *+' conftest.er1 >conftest.err
21020   rm -f conftest.er1
21021   cat conftest.err >&5
21022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21023   (exit $ac_status); } &&
21024          { ac_try='test -z "$ac_c_werror_flag"
21025                          || test ! -s conftest.err'
21026   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21027   (eval $ac_try) 2>&5
21028   ac_status=$?
21029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21030   (exit $ac_status); }; } &&
21031          { ac_try='test -s conftest$ac_exeext'
21032   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21033   (eval $ac_try) 2>&5
21034   ac_status=$?
21035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21036   (exit $ac_status); }; }; then
21037   eval "$as_ac_var=yes"
21038 else
21039   echo "$as_me: failed program was:" >&5
21040 sed 's/^/| /' conftest.$ac_ext >&5
21041
21042 eval "$as_ac_var=no"
21043 fi
21044 rm -f conftest.err conftest.$ac_objext \
21045       conftest$ac_exeext conftest.$ac_ext
21046 fi
21047 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21048 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21049 if test `eval echo '${'$as_ac_var'}'` = yes; then
21050   cat >>confdefs.h <<_ACEOF
21051 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21052 _ACEOF
21053
21054 fi
21055 done
21056
21057   else
21058
21059   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
21060 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
21061   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
21062     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
21063   echo $ECHO_N "(cached) $ECHO_C" >&6
21064 else
21065
21066
21067
21068       ac_ext=cc
21069 ac_cpp='$CXXCPP $CPPFLAGS'
21070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21073
21074       cat >conftest.$ac_ext <<_ACEOF
21075 /* confdefs.h.  */
21076 _ACEOF
21077 cat confdefs.h >>conftest.$ac_ext
21078 cat >>conftest.$ac_ext <<_ACEOF
21079 /* end confdefs.h.  */
21080 #include <math.h>
21081 int
21082 main ()
21083 {
21084  _atan2l(0, 0);
21085   ;
21086   return 0;
21087 }
21088 _ACEOF
21089 rm -f conftest.$ac_objext
21090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21091   (eval $ac_compile) 2>conftest.er1
21092   ac_status=$?
21093   grep -v '^ *+' conftest.er1 >conftest.err
21094   rm -f conftest.er1
21095   cat conftest.err >&5
21096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21097   (exit $ac_status); } &&
21098          { ac_try='test -z "$ac_cxx_werror_flag"
21099                          || test ! -s conftest.err'
21100   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21101   (eval $ac_try) 2>&5
21102   ac_status=$?
21103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21104   (exit $ac_status); }; } &&
21105          { ac_try='test -s conftest.$ac_objext'
21106   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21107   (eval $ac_try) 2>&5
21108   ac_status=$?
21109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21110   (exit $ac_status); }; }; then
21111   glibcxx_cv_func__atan2l_use=yes
21112 else
21113   echo "$as_me: failed program was:" >&5
21114 sed 's/^/| /' conftest.$ac_ext >&5
21115
21116 glibcxx_cv_func__atan2l_use=no
21117 fi
21118 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21119       ac_ext=c
21120 ac_cpp='$CPP $CPPFLAGS'
21121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21124
21125
21126 fi
21127
21128   fi
21129   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
21130 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
21131
21132     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
21133
21134 for ac_func in _atan2l
21135 do
21136 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21137 echo "$as_me:$LINENO: checking for $ac_func" >&5
21138 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21139 if eval "test \"\${$as_ac_var+set}\" = set"; then
21140   echo $ECHO_N "(cached) $ECHO_C" >&6
21141 else
21142   if test x$gcc_no_link = xyes; then
21143   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21144 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21145    { (exit 1); exit 1; }; }
21146 fi
21147 cat >conftest.$ac_ext <<_ACEOF
21148 /* confdefs.h.  */
21149 _ACEOF
21150 cat confdefs.h >>conftest.$ac_ext
21151 cat >>conftest.$ac_ext <<_ACEOF
21152 /* end confdefs.h.  */
21153 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21154    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21155 #define $ac_func innocuous_$ac_func
21156
21157 /* System header to define __stub macros and hopefully few prototypes,
21158     which can conflict with char $ac_func (); below.
21159     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21160     <limits.h> exists even on freestanding compilers.  */
21161
21162 #ifdef __STDC__
21163 # include <limits.h>
21164 #else
21165 # include <assert.h>
21166 #endif
21167
21168 #undef $ac_func
21169
21170 /* Override any gcc2 internal prototype to avoid an error.  */
21171 #ifdef __cplusplus
21172 extern "C"
21173 {
21174 #endif
21175 /* We use char because int might match the return type of a gcc2
21176    builtin and then its argument prototype would still apply.  */
21177 char $ac_func ();
21178 /* The GNU C library defines this for functions which it implements
21179     to always fail with ENOSYS.  Some functions are actually named
21180     something starting with __ and the normal name is an alias.  */
21181 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21182 choke me
21183 #else
21184 char (*f) () = $ac_func;
21185 #endif
21186 #ifdef __cplusplus
21187 }
21188 #endif
21189
21190 int
21191 main ()
21192 {
21193 return f != $ac_func;
21194   ;
21195   return 0;
21196 }
21197 _ACEOF
21198 rm -f conftest.$ac_objext conftest$ac_exeext
21199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21200   (eval $ac_link) 2>conftest.er1
21201   ac_status=$?
21202   grep -v '^ *+' conftest.er1 >conftest.err
21203   rm -f conftest.er1
21204   cat conftest.err >&5
21205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21206   (exit $ac_status); } &&
21207          { ac_try='test -z "$ac_c_werror_flag"
21208                          || test ! -s conftest.err'
21209   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21210   (eval $ac_try) 2>&5
21211   ac_status=$?
21212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21213   (exit $ac_status); }; } &&
21214          { ac_try='test -s conftest$ac_exeext'
21215   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21216   (eval $ac_try) 2>&5
21217   ac_status=$?
21218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21219   (exit $ac_status); }; }; then
21220   eval "$as_ac_var=yes"
21221 else
21222   echo "$as_me: failed program was:" >&5
21223 sed 's/^/| /' conftest.$ac_ext >&5
21224
21225 eval "$as_ac_var=no"
21226 fi
21227 rm -f conftest.err conftest.$ac_objext \
21228       conftest$ac_exeext conftest.$ac_ext
21229 fi
21230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21231 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21232 if test `eval echo '${'$as_ac_var'}'` = yes; then
21233   cat >>confdefs.h <<_ACEOF
21234 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21235 _ACEOF
21236
21237 fi
21238 done
21239
21240     fi
21241   fi
21242
21243
21244
21245   echo "$as_me:$LINENO: checking for expl declaration" >&5
21246 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
21247   if test x${glibcxx_cv_func_expl_use+set} != xset; then
21248     if test "${glibcxx_cv_func_expl_use+set}" = set; then
21249   echo $ECHO_N "(cached) $ECHO_C" >&6
21250 else
21251
21252
21253
21254       ac_ext=cc
21255 ac_cpp='$CXXCPP $CPPFLAGS'
21256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21259
21260       cat >conftest.$ac_ext <<_ACEOF
21261 /* confdefs.h.  */
21262 _ACEOF
21263 cat confdefs.h >>conftest.$ac_ext
21264 cat >>conftest.$ac_ext <<_ACEOF
21265 /* end confdefs.h.  */
21266 #include <math.h>
21267                       #ifdef HAVE_IEEEFP_H
21268                       #include <ieeefp.h>
21269                       #endif
21270
21271 int
21272 main ()
21273 {
21274  expl(0);
21275   ;
21276   return 0;
21277 }
21278 _ACEOF
21279 rm -f conftest.$ac_objext
21280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21281   (eval $ac_compile) 2>conftest.er1
21282   ac_status=$?
21283   grep -v '^ *+' conftest.er1 >conftest.err
21284   rm -f conftest.er1
21285   cat conftest.err >&5
21286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21287   (exit $ac_status); } &&
21288          { ac_try='test -z "$ac_cxx_werror_flag"
21289                          || test ! -s conftest.err'
21290   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21291   (eval $ac_try) 2>&5
21292   ac_status=$?
21293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21294   (exit $ac_status); }; } &&
21295          { ac_try='test -s conftest.$ac_objext'
21296   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21297   (eval $ac_try) 2>&5
21298   ac_status=$?
21299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21300   (exit $ac_status); }; }; then
21301   glibcxx_cv_func_expl_use=yes
21302 else
21303   echo "$as_me: failed program was:" >&5
21304 sed 's/^/| /' conftest.$ac_ext >&5
21305
21306 glibcxx_cv_func_expl_use=no
21307 fi
21308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21309       ac_ext=c
21310 ac_cpp='$CPP $CPPFLAGS'
21311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21314
21315
21316 fi
21317
21318   fi
21319   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
21320 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
21321
21322   if test x$glibcxx_cv_func_expl_use = x"yes"; then
21323
21324 for ac_func in expl
21325 do
21326 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21327 echo "$as_me:$LINENO: checking for $ac_func" >&5
21328 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21329 if eval "test \"\${$as_ac_var+set}\" = set"; then
21330   echo $ECHO_N "(cached) $ECHO_C" >&6
21331 else
21332   if test x$gcc_no_link = xyes; then
21333   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21334 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21335    { (exit 1); exit 1; }; }
21336 fi
21337 cat >conftest.$ac_ext <<_ACEOF
21338 /* confdefs.h.  */
21339 _ACEOF
21340 cat confdefs.h >>conftest.$ac_ext
21341 cat >>conftest.$ac_ext <<_ACEOF
21342 /* end confdefs.h.  */
21343 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21344    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21345 #define $ac_func innocuous_$ac_func
21346
21347 /* System header to define __stub macros and hopefully few prototypes,
21348     which can conflict with char $ac_func (); below.
21349     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21350     <limits.h> exists even on freestanding compilers.  */
21351
21352 #ifdef __STDC__
21353 # include <limits.h>
21354 #else
21355 # include <assert.h>
21356 #endif
21357
21358 #undef $ac_func
21359
21360 /* Override any gcc2 internal prototype to avoid an error.  */
21361 #ifdef __cplusplus
21362 extern "C"
21363 {
21364 #endif
21365 /* We use char because int might match the return type of a gcc2
21366    builtin and then its argument prototype would still apply.  */
21367 char $ac_func ();
21368 /* The GNU C library defines this for functions which it implements
21369     to always fail with ENOSYS.  Some functions are actually named
21370     something starting with __ and the normal name is an alias.  */
21371 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21372 choke me
21373 #else
21374 char (*f) () = $ac_func;
21375 #endif
21376 #ifdef __cplusplus
21377 }
21378 #endif
21379
21380 int
21381 main ()
21382 {
21383 return f != $ac_func;
21384   ;
21385   return 0;
21386 }
21387 _ACEOF
21388 rm -f conftest.$ac_objext conftest$ac_exeext
21389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21390   (eval $ac_link) 2>conftest.er1
21391   ac_status=$?
21392   grep -v '^ *+' conftest.er1 >conftest.err
21393   rm -f conftest.er1
21394   cat conftest.err >&5
21395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21396   (exit $ac_status); } &&
21397          { ac_try='test -z "$ac_c_werror_flag"
21398                          || test ! -s conftest.err'
21399   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21400   (eval $ac_try) 2>&5
21401   ac_status=$?
21402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21403   (exit $ac_status); }; } &&
21404          { ac_try='test -s conftest$ac_exeext'
21405   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21406   (eval $ac_try) 2>&5
21407   ac_status=$?
21408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21409   (exit $ac_status); }; }; then
21410   eval "$as_ac_var=yes"
21411 else
21412   echo "$as_me: failed program was:" >&5
21413 sed 's/^/| /' conftest.$ac_ext >&5
21414
21415 eval "$as_ac_var=no"
21416 fi
21417 rm -f conftest.err conftest.$ac_objext \
21418       conftest$ac_exeext conftest.$ac_ext
21419 fi
21420 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21421 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21422 if test `eval echo '${'$as_ac_var'}'` = yes; then
21423   cat >>confdefs.h <<_ACEOF
21424 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21425 _ACEOF
21426
21427 fi
21428 done
21429
21430   else
21431
21432   echo "$as_me:$LINENO: checking for _expl declaration" >&5
21433 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
21434   if test x${glibcxx_cv_func__expl_use+set} != xset; then
21435     if test "${glibcxx_cv_func__expl_use+set}" = set; then
21436   echo $ECHO_N "(cached) $ECHO_C" >&6
21437 else
21438
21439
21440
21441       ac_ext=cc
21442 ac_cpp='$CXXCPP $CPPFLAGS'
21443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21446
21447       cat >conftest.$ac_ext <<_ACEOF
21448 /* confdefs.h.  */
21449 _ACEOF
21450 cat confdefs.h >>conftest.$ac_ext
21451 cat >>conftest.$ac_ext <<_ACEOF
21452 /* end confdefs.h.  */
21453 #include <math.h>
21454                       #ifdef HAVE_IEEEFP_H
21455                       #include <ieeefp.h>
21456                       #endif
21457
21458 int
21459 main ()
21460 {
21461  _expl(0);
21462   ;
21463   return 0;
21464 }
21465 _ACEOF
21466 rm -f conftest.$ac_objext
21467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21468   (eval $ac_compile) 2>conftest.er1
21469   ac_status=$?
21470   grep -v '^ *+' conftest.er1 >conftest.err
21471   rm -f conftest.er1
21472   cat conftest.err >&5
21473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21474   (exit $ac_status); } &&
21475          { ac_try='test -z "$ac_cxx_werror_flag"
21476                          || test ! -s conftest.err'
21477   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21478   (eval $ac_try) 2>&5
21479   ac_status=$?
21480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21481   (exit $ac_status); }; } &&
21482          { ac_try='test -s conftest.$ac_objext'
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   glibcxx_cv_func__expl_use=yes
21489 else
21490   echo "$as_me: failed program was:" >&5
21491 sed 's/^/| /' conftest.$ac_ext >&5
21492
21493 glibcxx_cv_func__expl_use=no
21494 fi
21495 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21496       ac_ext=c
21497 ac_cpp='$CPP $CPPFLAGS'
21498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21501
21502
21503 fi
21504
21505   fi
21506   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
21507 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
21508
21509     if test x$glibcxx_cv_func__expl_use = x"yes"; then
21510
21511 for ac_func in _expl
21512 do
21513 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21514 echo "$as_me:$LINENO: checking for $ac_func" >&5
21515 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21516 if eval "test \"\${$as_ac_var+set}\" = set"; then
21517   echo $ECHO_N "(cached) $ECHO_C" >&6
21518 else
21519   if test x$gcc_no_link = xyes; then
21520   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21521 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21522    { (exit 1); exit 1; }; }
21523 fi
21524 cat >conftest.$ac_ext <<_ACEOF
21525 /* confdefs.h.  */
21526 _ACEOF
21527 cat confdefs.h >>conftest.$ac_ext
21528 cat >>conftest.$ac_ext <<_ACEOF
21529 /* end confdefs.h.  */
21530 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21531    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21532 #define $ac_func innocuous_$ac_func
21533
21534 /* System header to define __stub macros and hopefully few prototypes,
21535     which can conflict with char $ac_func (); below.
21536     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21537     <limits.h> exists even on freestanding compilers.  */
21538
21539 #ifdef __STDC__
21540 # include <limits.h>
21541 #else
21542 # include <assert.h>
21543 #endif
21544
21545 #undef $ac_func
21546
21547 /* Override any gcc2 internal prototype to avoid an error.  */
21548 #ifdef __cplusplus
21549 extern "C"
21550 {
21551 #endif
21552 /* We use char because int might match the return type of a gcc2
21553    builtin and then its argument prototype would still apply.  */
21554 char $ac_func ();
21555 /* The GNU C library defines this for functions which it implements
21556     to always fail with ENOSYS.  Some functions are actually named
21557     something starting with __ and the normal name is an alias.  */
21558 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21559 choke me
21560 #else
21561 char (*f) () = $ac_func;
21562 #endif
21563 #ifdef __cplusplus
21564 }
21565 #endif
21566
21567 int
21568 main ()
21569 {
21570 return f != $ac_func;
21571   ;
21572   return 0;
21573 }
21574 _ACEOF
21575 rm -f conftest.$ac_objext conftest$ac_exeext
21576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21577   (eval $ac_link) 2>conftest.er1
21578   ac_status=$?
21579   grep -v '^ *+' conftest.er1 >conftest.err
21580   rm -f conftest.er1
21581   cat conftest.err >&5
21582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21583   (exit $ac_status); } &&
21584          { ac_try='test -z "$ac_c_werror_flag"
21585                          || test ! -s conftest.err'
21586   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21587   (eval $ac_try) 2>&5
21588   ac_status=$?
21589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21590   (exit $ac_status); }; } &&
21591          { ac_try='test -s conftest$ac_exeext'
21592   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21593   (eval $ac_try) 2>&5
21594   ac_status=$?
21595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21596   (exit $ac_status); }; }; then
21597   eval "$as_ac_var=yes"
21598 else
21599   echo "$as_me: failed program was:" >&5
21600 sed 's/^/| /' conftest.$ac_ext >&5
21601
21602 eval "$as_ac_var=no"
21603 fi
21604 rm -f conftest.err conftest.$ac_objext \
21605       conftest$ac_exeext conftest.$ac_ext
21606 fi
21607 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21608 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21609 if test `eval echo '${'$as_ac_var'}'` = yes; then
21610   cat >>confdefs.h <<_ACEOF
21611 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21612 _ACEOF
21613
21614 fi
21615 done
21616
21617     fi
21618   fi
21619
21620
21621
21622   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
21623 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
21624   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
21625     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
21626   echo $ECHO_N "(cached) $ECHO_C" >&6
21627 else
21628
21629
21630
21631       ac_ext=cc
21632 ac_cpp='$CXXCPP $CPPFLAGS'
21633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21636
21637       cat >conftest.$ac_ext <<_ACEOF
21638 /* confdefs.h.  */
21639 _ACEOF
21640 cat confdefs.h >>conftest.$ac_ext
21641 cat >>conftest.$ac_ext <<_ACEOF
21642 /* end confdefs.h.  */
21643 #include <math.h>
21644                       #ifdef HAVE_IEEEFP_H
21645                       #include <ieeefp.h>
21646                       #endif
21647
21648 int
21649 main ()
21650 {
21651  fabsl(0);
21652   ;
21653   return 0;
21654 }
21655 _ACEOF
21656 rm -f conftest.$ac_objext
21657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21658   (eval $ac_compile) 2>conftest.er1
21659   ac_status=$?
21660   grep -v '^ *+' conftest.er1 >conftest.err
21661   rm -f conftest.er1
21662   cat conftest.err >&5
21663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21664   (exit $ac_status); } &&
21665          { ac_try='test -z "$ac_cxx_werror_flag"
21666                          || test ! -s conftest.err'
21667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21668   (eval $ac_try) 2>&5
21669   ac_status=$?
21670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21671   (exit $ac_status); }; } &&
21672          { ac_try='test -s conftest.$ac_objext'
21673   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21674   (eval $ac_try) 2>&5
21675   ac_status=$?
21676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21677   (exit $ac_status); }; }; then
21678   glibcxx_cv_func_fabsl_use=yes
21679 else
21680   echo "$as_me: failed program was:" >&5
21681 sed 's/^/| /' conftest.$ac_ext >&5
21682
21683 glibcxx_cv_func_fabsl_use=no
21684 fi
21685 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21686       ac_ext=c
21687 ac_cpp='$CPP $CPPFLAGS'
21688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21691
21692
21693 fi
21694
21695   fi
21696   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
21697 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
21698
21699   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
21700
21701 for ac_func in fabsl
21702 do
21703 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21704 echo "$as_me:$LINENO: checking for $ac_func" >&5
21705 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21706 if eval "test \"\${$as_ac_var+set}\" = set"; then
21707   echo $ECHO_N "(cached) $ECHO_C" >&6
21708 else
21709   if test x$gcc_no_link = xyes; then
21710   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21711 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21712    { (exit 1); exit 1; }; }
21713 fi
21714 cat >conftest.$ac_ext <<_ACEOF
21715 /* confdefs.h.  */
21716 _ACEOF
21717 cat confdefs.h >>conftest.$ac_ext
21718 cat >>conftest.$ac_ext <<_ACEOF
21719 /* end confdefs.h.  */
21720 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21721    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21722 #define $ac_func innocuous_$ac_func
21723
21724 /* System header to define __stub macros and hopefully few prototypes,
21725     which can conflict with char $ac_func (); below.
21726     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21727     <limits.h> exists even on freestanding compilers.  */
21728
21729 #ifdef __STDC__
21730 # include <limits.h>
21731 #else
21732 # include <assert.h>
21733 #endif
21734
21735 #undef $ac_func
21736
21737 /* Override any gcc2 internal prototype to avoid an error.  */
21738 #ifdef __cplusplus
21739 extern "C"
21740 {
21741 #endif
21742 /* We use char because int might match the return type of a gcc2
21743    builtin and then its argument prototype would still apply.  */
21744 char $ac_func ();
21745 /* The GNU C library defines this for functions which it implements
21746     to always fail with ENOSYS.  Some functions are actually named
21747     something starting with __ and the normal name is an alias.  */
21748 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21749 choke me
21750 #else
21751 char (*f) () = $ac_func;
21752 #endif
21753 #ifdef __cplusplus
21754 }
21755 #endif
21756
21757 int
21758 main ()
21759 {
21760 return f != $ac_func;
21761   ;
21762   return 0;
21763 }
21764 _ACEOF
21765 rm -f conftest.$ac_objext conftest$ac_exeext
21766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21767   (eval $ac_link) 2>conftest.er1
21768   ac_status=$?
21769   grep -v '^ *+' conftest.er1 >conftest.err
21770   rm -f conftest.er1
21771   cat conftest.err >&5
21772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21773   (exit $ac_status); } &&
21774          { ac_try='test -z "$ac_c_werror_flag"
21775                          || test ! -s conftest.err'
21776   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21777   (eval $ac_try) 2>&5
21778   ac_status=$?
21779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21780   (exit $ac_status); }; } &&
21781          { ac_try='test -s conftest$ac_exeext'
21782   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21783   (eval $ac_try) 2>&5
21784   ac_status=$?
21785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21786   (exit $ac_status); }; }; then
21787   eval "$as_ac_var=yes"
21788 else
21789   echo "$as_me: failed program was:" >&5
21790 sed 's/^/| /' conftest.$ac_ext >&5
21791
21792 eval "$as_ac_var=no"
21793 fi
21794 rm -f conftest.err conftest.$ac_objext \
21795       conftest$ac_exeext conftest.$ac_ext
21796 fi
21797 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21798 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21799 if test `eval echo '${'$as_ac_var'}'` = yes; then
21800   cat >>confdefs.h <<_ACEOF
21801 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21802 _ACEOF
21803
21804 fi
21805 done
21806
21807   else
21808
21809   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
21810 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
21811   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
21812     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
21813   echo $ECHO_N "(cached) $ECHO_C" >&6
21814 else
21815
21816
21817
21818       ac_ext=cc
21819 ac_cpp='$CXXCPP $CPPFLAGS'
21820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21823
21824       cat >conftest.$ac_ext <<_ACEOF
21825 /* confdefs.h.  */
21826 _ACEOF
21827 cat confdefs.h >>conftest.$ac_ext
21828 cat >>conftest.$ac_ext <<_ACEOF
21829 /* end confdefs.h.  */
21830 #include <math.h>
21831                       #ifdef HAVE_IEEEFP_H
21832                       #include <ieeefp.h>
21833                       #endif
21834
21835 int
21836 main ()
21837 {
21838  _fabsl(0);
21839   ;
21840   return 0;
21841 }
21842 _ACEOF
21843 rm -f conftest.$ac_objext
21844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21845   (eval $ac_compile) 2>conftest.er1
21846   ac_status=$?
21847   grep -v '^ *+' conftest.er1 >conftest.err
21848   rm -f conftest.er1
21849   cat conftest.err >&5
21850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21851   (exit $ac_status); } &&
21852          { ac_try='test -z "$ac_cxx_werror_flag"
21853                          || test ! -s conftest.err'
21854   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21855   (eval $ac_try) 2>&5
21856   ac_status=$?
21857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21858   (exit $ac_status); }; } &&
21859          { ac_try='test -s conftest.$ac_objext'
21860   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21861   (eval $ac_try) 2>&5
21862   ac_status=$?
21863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21864   (exit $ac_status); }; }; then
21865   glibcxx_cv_func__fabsl_use=yes
21866 else
21867   echo "$as_me: failed program was:" >&5
21868 sed 's/^/| /' conftest.$ac_ext >&5
21869
21870 glibcxx_cv_func__fabsl_use=no
21871 fi
21872 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21873       ac_ext=c
21874 ac_cpp='$CPP $CPPFLAGS'
21875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21878
21879
21880 fi
21881
21882   fi
21883   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
21884 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
21885
21886     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
21887
21888 for ac_func in _fabsl
21889 do
21890 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21891 echo "$as_me:$LINENO: checking for $ac_func" >&5
21892 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21893 if eval "test \"\${$as_ac_var+set}\" = set"; then
21894   echo $ECHO_N "(cached) $ECHO_C" >&6
21895 else
21896   if test x$gcc_no_link = xyes; then
21897   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21898 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21899    { (exit 1); exit 1; }; }
21900 fi
21901 cat >conftest.$ac_ext <<_ACEOF
21902 /* confdefs.h.  */
21903 _ACEOF
21904 cat confdefs.h >>conftest.$ac_ext
21905 cat >>conftest.$ac_ext <<_ACEOF
21906 /* end confdefs.h.  */
21907 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21908    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
21909 #define $ac_func innocuous_$ac_func
21910
21911 /* System header to define __stub macros and hopefully few prototypes,
21912     which can conflict with char $ac_func (); below.
21913     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21914     <limits.h> exists even on freestanding compilers.  */
21915
21916 #ifdef __STDC__
21917 # include <limits.h>
21918 #else
21919 # include <assert.h>
21920 #endif
21921
21922 #undef $ac_func
21923
21924 /* Override any gcc2 internal prototype to avoid an error.  */
21925 #ifdef __cplusplus
21926 extern "C"
21927 {
21928 #endif
21929 /* We use char because int might match the return type of a gcc2
21930    builtin and then its argument prototype would still apply.  */
21931 char $ac_func ();
21932 /* The GNU C library defines this for functions which it implements
21933     to always fail with ENOSYS.  Some functions are actually named
21934     something starting with __ and the normal name is an alias.  */
21935 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21936 choke me
21937 #else
21938 char (*f) () = $ac_func;
21939 #endif
21940 #ifdef __cplusplus
21941 }
21942 #endif
21943
21944 int
21945 main ()
21946 {
21947 return f != $ac_func;
21948   ;
21949   return 0;
21950 }
21951 _ACEOF
21952 rm -f conftest.$ac_objext conftest$ac_exeext
21953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21954   (eval $ac_link) 2>conftest.er1
21955   ac_status=$?
21956   grep -v '^ *+' conftest.er1 >conftest.err
21957   rm -f conftest.er1
21958   cat conftest.err >&5
21959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21960   (exit $ac_status); } &&
21961          { ac_try='test -z "$ac_c_werror_flag"
21962                          || test ! -s conftest.err'
21963   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21964   (eval $ac_try) 2>&5
21965   ac_status=$?
21966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21967   (exit $ac_status); }; } &&
21968          { ac_try='test -s conftest$ac_exeext'
21969   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21970   (eval $ac_try) 2>&5
21971   ac_status=$?
21972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
21973   (exit $ac_status); }; }; then
21974   eval "$as_ac_var=yes"
21975 else
21976   echo "$as_me: failed program was:" >&5
21977 sed 's/^/| /' conftest.$ac_ext >&5
21978
21979 eval "$as_ac_var=no"
21980 fi
21981 rm -f conftest.err conftest.$ac_objext \
21982       conftest$ac_exeext conftest.$ac_ext
21983 fi
21984 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21985 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21986 if test `eval echo '${'$as_ac_var'}'` = yes; then
21987   cat >>confdefs.h <<_ACEOF
21988 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21989 _ACEOF
21990
21991 fi
21992 done
21993
21994     fi
21995   fi
21996
21997
21998
21999   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
22000 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
22001   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
22002     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
22003   echo $ECHO_N "(cached) $ECHO_C" >&6
22004 else
22005
22006
22007
22008       ac_ext=cc
22009 ac_cpp='$CXXCPP $CPPFLAGS'
22010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22013
22014       cat >conftest.$ac_ext <<_ACEOF
22015 /* confdefs.h.  */
22016 _ACEOF
22017 cat confdefs.h >>conftest.$ac_ext
22018 cat >>conftest.$ac_ext <<_ACEOF
22019 /* end confdefs.h.  */
22020 #include <math.h>
22021 int
22022 main ()
22023 {
22024  fmodl(0, 0);
22025   ;
22026   return 0;
22027 }
22028 _ACEOF
22029 rm -f conftest.$ac_objext
22030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22031   (eval $ac_compile) 2>conftest.er1
22032   ac_status=$?
22033   grep -v '^ *+' conftest.er1 >conftest.err
22034   rm -f conftest.er1
22035   cat conftest.err >&5
22036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22037   (exit $ac_status); } &&
22038          { ac_try='test -z "$ac_cxx_werror_flag"
22039                          || test ! -s conftest.err'
22040   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22041   (eval $ac_try) 2>&5
22042   ac_status=$?
22043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22044   (exit $ac_status); }; } &&
22045          { ac_try='test -s conftest.$ac_objext'
22046   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22047   (eval $ac_try) 2>&5
22048   ac_status=$?
22049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22050   (exit $ac_status); }; }; then
22051   glibcxx_cv_func_fmodl_use=yes
22052 else
22053   echo "$as_me: failed program was:" >&5
22054 sed 's/^/| /' conftest.$ac_ext >&5
22055
22056 glibcxx_cv_func_fmodl_use=no
22057 fi
22058 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22059       ac_ext=c
22060 ac_cpp='$CPP $CPPFLAGS'
22061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22064
22065
22066 fi
22067
22068   fi
22069   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
22070 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
22071
22072   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
22073
22074 for ac_func in fmodl
22075 do
22076 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22077 echo "$as_me:$LINENO: checking for $ac_func" >&5
22078 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22079 if eval "test \"\${$as_ac_var+set}\" = set"; then
22080   echo $ECHO_N "(cached) $ECHO_C" >&6
22081 else
22082   if test x$gcc_no_link = xyes; then
22083   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22084 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22085    { (exit 1); exit 1; }; }
22086 fi
22087 cat >conftest.$ac_ext <<_ACEOF
22088 /* confdefs.h.  */
22089 _ACEOF
22090 cat confdefs.h >>conftest.$ac_ext
22091 cat >>conftest.$ac_ext <<_ACEOF
22092 /* end confdefs.h.  */
22093 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22094    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22095 #define $ac_func innocuous_$ac_func
22096
22097 /* System header to define __stub macros and hopefully few prototypes,
22098     which can conflict with char $ac_func (); below.
22099     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22100     <limits.h> exists even on freestanding compilers.  */
22101
22102 #ifdef __STDC__
22103 # include <limits.h>
22104 #else
22105 # include <assert.h>
22106 #endif
22107
22108 #undef $ac_func
22109
22110 /* Override any gcc2 internal prototype to avoid an error.  */
22111 #ifdef __cplusplus
22112 extern "C"
22113 {
22114 #endif
22115 /* We use char because int might match the return type of a gcc2
22116    builtin and then its argument prototype would still apply.  */
22117 char $ac_func ();
22118 /* The GNU C library defines this for functions which it implements
22119     to always fail with ENOSYS.  Some functions are actually named
22120     something starting with __ and the normal name is an alias.  */
22121 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22122 choke me
22123 #else
22124 char (*f) () = $ac_func;
22125 #endif
22126 #ifdef __cplusplus
22127 }
22128 #endif
22129
22130 int
22131 main ()
22132 {
22133 return f != $ac_func;
22134   ;
22135   return 0;
22136 }
22137 _ACEOF
22138 rm -f conftest.$ac_objext conftest$ac_exeext
22139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22140   (eval $ac_link) 2>conftest.er1
22141   ac_status=$?
22142   grep -v '^ *+' conftest.er1 >conftest.err
22143   rm -f conftest.er1
22144   cat conftest.err >&5
22145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22146   (exit $ac_status); } &&
22147          { ac_try='test -z "$ac_c_werror_flag"
22148                          || test ! -s conftest.err'
22149   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22150   (eval $ac_try) 2>&5
22151   ac_status=$?
22152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22153   (exit $ac_status); }; } &&
22154          { ac_try='test -s conftest$ac_exeext'
22155   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22156   (eval $ac_try) 2>&5
22157   ac_status=$?
22158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22159   (exit $ac_status); }; }; then
22160   eval "$as_ac_var=yes"
22161 else
22162   echo "$as_me: failed program was:" >&5
22163 sed 's/^/| /' conftest.$ac_ext >&5
22164
22165 eval "$as_ac_var=no"
22166 fi
22167 rm -f conftest.err conftest.$ac_objext \
22168       conftest$ac_exeext conftest.$ac_ext
22169 fi
22170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22171 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22172 if test `eval echo '${'$as_ac_var'}'` = yes; then
22173   cat >>confdefs.h <<_ACEOF
22174 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22175 _ACEOF
22176
22177 fi
22178 done
22179
22180   else
22181
22182   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
22183 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
22184   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
22185     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
22186   echo $ECHO_N "(cached) $ECHO_C" >&6
22187 else
22188
22189
22190
22191       ac_ext=cc
22192 ac_cpp='$CXXCPP $CPPFLAGS'
22193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22196
22197       cat >conftest.$ac_ext <<_ACEOF
22198 /* confdefs.h.  */
22199 _ACEOF
22200 cat confdefs.h >>conftest.$ac_ext
22201 cat >>conftest.$ac_ext <<_ACEOF
22202 /* end confdefs.h.  */
22203 #include <math.h>
22204 int
22205 main ()
22206 {
22207  _fmodl(0, 0);
22208   ;
22209   return 0;
22210 }
22211 _ACEOF
22212 rm -f conftest.$ac_objext
22213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22214   (eval $ac_compile) 2>conftest.er1
22215   ac_status=$?
22216   grep -v '^ *+' conftest.er1 >conftest.err
22217   rm -f conftest.er1
22218   cat conftest.err >&5
22219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22220   (exit $ac_status); } &&
22221          { ac_try='test -z "$ac_cxx_werror_flag"
22222                          || test ! -s conftest.err'
22223   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22224   (eval $ac_try) 2>&5
22225   ac_status=$?
22226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22227   (exit $ac_status); }; } &&
22228          { ac_try='test -s conftest.$ac_objext'
22229   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22230   (eval $ac_try) 2>&5
22231   ac_status=$?
22232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22233   (exit $ac_status); }; }; then
22234   glibcxx_cv_func__fmodl_use=yes
22235 else
22236   echo "$as_me: failed program was:" >&5
22237 sed 's/^/| /' conftest.$ac_ext >&5
22238
22239 glibcxx_cv_func__fmodl_use=no
22240 fi
22241 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22242       ac_ext=c
22243 ac_cpp='$CPP $CPPFLAGS'
22244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22247
22248
22249 fi
22250
22251   fi
22252   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
22253 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
22254
22255     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
22256
22257 for ac_func in _fmodl
22258 do
22259 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22260 echo "$as_me:$LINENO: checking for $ac_func" >&5
22261 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22262 if eval "test \"\${$as_ac_var+set}\" = set"; then
22263   echo $ECHO_N "(cached) $ECHO_C" >&6
22264 else
22265   if test x$gcc_no_link = xyes; then
22266   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22267 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22268    { (exit 1); exit 1; }; }
22269 fi
22270 cat >conftest.$ac_ext <<_ACEOF
22271 /* confdefs.h.  */
22272 _ACEOF
22273 cat confdefs.h >>conftest.$ac_ext
22274 cat >>conftest.$ac_ext <<_ACEOF
22275 /* end confdefs.h.  */
22276 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22277    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22278 #define $ac_func innocuous_$ac_func
22279
22280 /* System header to define __stub macros and hopefully few prototypes,
22281     which can conflict with char $ac_func (); below.
22282     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22283     <limits.h> exists even on freestanding compilers.  */
22284
22285 #ifdef __STDC__
22286 # include <limits.h>
22287 #else
22288 # include <assert.h>
22289 #endif
22290
22291 #undef $ac_func
22292
22293 /* Override any gcc2 internal prototype to avoid an error.  */
22294 #ifdef __cplusplus
22295 extern "C"
22296 {
22297 #endif
22298 /* We use char because int might match the return type of a gcc2
22299    builtin and then its argument prototype would still apply.  */
22300 char $ac_func ();
22301 /* The GNU C library defines this for functions which it implements
22302     to always fail with ENOSYS.  Some functions are actually named
22303     something starting with __ and the normal name is an alias.  */
22304 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22305 choke me
22306 #else
22307 char (*f) () = $ac_func;
22308 #endif
22309 #ifdef __cplusplus
22310 }
22311 #endif
22312
22313 int
22314 main ()
22315 {
22316 return f != $ac_func;
22317   ;
22318   return 0;
22319 }
22320 _ACEOF
22321 rm -f conftest.$ac_objext conftest$ac_exeext
22322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22323   (eval $ac_link) 2>conftest.er1
22324   ac_status=$?
22325   grep -v '^ *+' conftest.er1 >conftest.err
22326   rm -f conftest.er1
22327   cat conftest.err >&5
22328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22329   (exit $ac_status); } &&
22330          { ac_try='test -z "$ac_c_werror_flag"
22331                          || test ! -s conftest.err'
22332   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22333   (eval $ac_try) 2>&5
22334   ac_status=$?
22335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22336   (exit $ac_status); }; } &&
22337          { ac_try='test -s conftest$ac_exeext'
22338   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22339   (eval $ac_try) 2>&5
22340   ac_status=$?
22341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22342   (exit $ac_status); }; }; then
22343   eval "$as_ac_var=yes"
22344 else
22345   echo "$as_me: failed program was:" >&5
22346 sed 's/^/| /' conftest.$ac_ext >&5
22347
22348 eval "$as_ac_var=no"
22349 fi
22350 rm -f conftest.err conftest.$ac_objext \
22351       conftest$ac_exeext conftest.$ac_ext
22352 fi
22353 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22354 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22355 if test `eval echo '${'$as_ac_var'}'` = yes; then
22356   cat >>confdefs.h <<_ACEOF
22357 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22358 _ACEOF
22359
22360 fi
22361 done
22362
22363     fi
22364   fi
22365
22366
22367
22368   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
22369 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
22370   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
22371     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
22372   echo $ECHO_N "(cached) $ECHO_C" >&6
22373 else
22374
22375
22376
22377       ac_ext=cc
22378 ac_cpp='$CXXCPP $CPPFLAGS'
22379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22382
22383       cat >conftest.$ac_ext <<_ACEOF
22384 /* confdefs.h.  */
22385 _ACEOF
22386 cat confdefs.h >>conftest.$ac_ext
22387 cat >>conftest.$ac_ext <<_ACEOF
22388 /* end confdefs.h.  */
22389 #include <math.h>
22390 int
22391 main ()
22392 {
22393  frexpl(0, 0);
22394   ;
22395   return 0;
22396 }
22397 _ACEOF
22398 rm -f conftest.$ac_objext
22399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22400   (eval $ac_compile) 2>conftest.er1
22401   ac_status=$?
22402   grep -v '^ *+' conftest.er1 >conftest.err
22403   rm -f conftest.er1
22404   cat conftest.err >&5
22405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22406   (exit $ac_status); } &&
22407          { ac_try='test -z "$ac_cxx_werror_flag"
22408                          || test ! -s conftest.err'
22409   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22410   (eval $ac_try) 2>&5
22411   ac_status=$?
22412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22413   (exit $ac_status); }; } &&
22414          { ac_try='test -s conftest.$ac_objext'
22415   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22416   (eval $ac_try) 2>&5
22417   ac_status=$?
22418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22419   (exit $ac_status); }; }; then
22420   glibcxx_cv_func_frexpl_use=yes
22421 else
22422   echo "$as_me: failed program was:" >&5
22423 sed 's/^/| /' conftest.$ac_ext >&5
22424
22425 glibcxx_cv_func_frexpl_use=no
22426 fi
22427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22428       ac_ext=c
22429 ac_cpp='$CPP $CPPFLAGS'
22430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22433
22434
22435 fi
22436
22437   fi
22438   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
22439 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
22440
22441   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
22442
22443 for ac_func in frexpl
22444 do
22445 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22446 echo "$as_me:$LINENO: checking for $ac_func" >&5
22447 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22448 if eval "test \"\${$as_ac_var+set}\" = set"; then
22449   echo $ECHO_N "(cached) $ECHO_C" >&6
22450 else
22451   if test x$gcc_no_link = xyes; then
22452   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22453 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22454    { (exit 1); exit 1; }; }
22455 fi
22456 cat >conftest.$ac_ext <<_ACEOF
22457 /* confdefs.h.  */
22458 _ACEOF
22459 cat confdefs.h >>conftest.$ac_ext
22460 cat >>conftest.$ac_ext <<_ACEOF
22461 /* end confdefs.h.  */
22462 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22463    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22464 #define $ac_func innocuous_$ac_func
22465
22466 /* System header to define __stub macros and hopefully few prototypes,
22467     which can conflict with char $ac_func (); below.
22468     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22469     <limits.h> exists even on freestanding compilers.  */
22470
22471 #ifdef __STDC__
22472 # include <limits.h>
22473 #else
22474 # include <assert.h>
22475 #endif
22476
22477 #undef $ac_func
22478
22479 /* Override any gcc2 internal prototype to avoid an error.  */
22480 #ifdef __cplusplus
22481 extern "C"
22482 {
22483 #endif
22484 /* We use char because int might match the return type of a gcc2
22485    builtin and then its argument prototype would still apply.  */
22486 char $ac_func ();
22487 /* The GNU C library defines this for functions which it implements
22488     to always fail with ENOSYS.  Some functions are actually named
22489     something starting with __ and the normal name is an alias.  */
22490 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22491 choke me
22492 #else
22493 char (*f) () = $ac_func;
22494 #endif
22495 #ifdef __cplusplus
22496 }
22497 #endif
22498
22499 int
22500 main ()
22501 {
22502 return f != $ac_func;
22503   ;
22504   return 0;
22505 }
22506 _ACEOF
22507 rm -f conftest.$ac_objext conftest$ac_exeext
22508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22509   (eval $ac_link) 2>conftest.er1
22510   ac_status=$?
22511   grep -v '^ *+' conftest.er1 >conftest.err
22512   rm -f conftest.er1
22513   cat conftest.err >&5
22514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22515   (exit $ac_status); } &&
22516          { ac_try='test -z "$ac_c_werror_flag"
22517                          || test ! -s conftest.err'
22518   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22519   (eval $ac_try) 2>&5
22520   ac_status=$?
22521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22522   (exit $ac_status); }; } &&
22523          { ac_try='test -s conftest$ac_exeext'
22524   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22525   (eval $ac_try) 2>&5
22526   ac_status=$?
22527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22528   (exit $ac_status); }; }; then
22529   eval "$as_ac_var=yes"
22530 else
22531   echo "$as_me: failed program was:" >&5
22532 sed 's/^/| /' conftest.$ac_ext >&5
22533
22534 eval "$as_ac_var=no"
22535 fi
22536 rm -f conftest.err conftest.$ac_objext \
22537       conftest$ac_exeext conftest.$ac_ext
22538 fi
22539 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22540 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22541 if test `eval echo '${'$as_ac_var'}'` = yes; then
22542   cat >>confdefs.h <<_ACEOF
22543 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22544 _ACEOF
22545
22546 fi
22547 done
22548
22549   else
22550
22551   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
22552 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
22553   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
22554     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
22555   echo $ECHO_N "(cached) $ECHO_C" >&6
22556 else
22557
22558
22559
22560       ac_ext=cc
22561 ac_cpp='$CXXCPP $CPPFLAGS'
22562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22565
22566       cat >conftest.$ac_ext <<_ACEOF
22567 /* confdefs.h.  */
22568 _ACEOF
22569 cat confdefs.h >>conftest.$ac_ext
22570 cat >>conftest.$ac_ext <<_ACEOF
22571 /* end confdefs.h.  */
22572 #include <math.h>
22573 int
22574 main ()
22575 {
22576  _frexpl(0, 0);
22577   ;
22578   return 0;
22579 }
22580 _ACEOF
22581 rm -f conftest.$ac_objext
22582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22583   (eval $ac_compile) 2>conftest.er1
22584   ac_status=$?
22585   grep -v '^ *+' conftest.er1 >conftest.err
22586   rm -f conftest.er1
22587   cat conftest.err >&5
22588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22589   (exit $ac_status); } &&
22590          { ac_try='test -z "$ac_cxx_werror_flag"
22591                          || test ! -s conftest.err'
22592   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22593   (eval $ac_try) 2>&5
22594   ac_status=$?
22595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22596   (exit $ac_status); }; } &&
22597          { ac_try='test -s conftest.$ac_objext'
22598   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22599   (eval $ac_try) 2>&5
22600   ac_status=$?
22601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22602   (exit $ac_status); }; }; then
22603   glibcxx_cv_func__frexpl_use=yes
22604 else
22605   echo "$as_me: failed program was:" >&5
22606 sed 's/^/| /' conftest.$ac_ext >&5
22607
22608 glibcxx_cv_func__frexpl_use=no
22609 fi
22610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22611       ac_ext=c
22612 ac_cpp='$CPP $CPPFLAGS'
22613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22616
22617
22618 fi
22619
22620   fi
22621   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
22622 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
22623
22624     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
22625
22626 for ac_func in _frexpl
22627 do
22628 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22629 echo "$as_me:$LINENO: checking for $ac_func" >&5
22630 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22631 if eval "test \"\${$as_ac_var+set}\" = set"; then
22632   echo $ECHO_N "(cached) $ECHO_C" >&6
22633 else
22634   if test x$gcc_no_link = xyes; then
22635   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22636 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22637    { (exit 1); exit 1; }; }
22638 fi
22639 cat >conftest.$ac_ext <<_ACEOF
22640 /* confdefs.h.  */
22641 _ACEOF
22642 cat confdefs.h >>conftest.$ac_ext
22643 cat >>conftest.$ac_ext <<_ACEOF
22644 /* end confdefs.h.  */
22645 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22646    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22647 #define $ac_func innocuous_$ac_func
22648
22649 /* System header to define __stub macros and hopefully few prototypes,
22650     which can conflict with char $ac_func (); below.
22651     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22652     <limits.h> exists even on freestanding compilers.  */
22653
22654 #ifdef __STDC__
22655 # include <limits.h>
22656 #else
22657 # include <assert.h>
22658 #endif
22659
22660 #undef $ac_func
22661
22662 /* Override any gcc2 internal prototype to avoid an error.  */
22663 #ifdef __cplusplus
22664 extern "C"
22665 {
22666 #endif
22667 /* We use char because int might match the return type of a gcc2
22668    builtin and then its argument prototype would still apply.  */
22669 char $ac_func ();
22670 /* The GNU C library defines this for functions which it implements
22671     to always fail with ENOSYS.  Some functions are actually named
22672     something starting with __ and the normal name is an alias.  */
22673 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22674 choke me
22675 #else
22676 char (*f) () = $ac_func;
22677 #endif
22678 #ifdef __cplusplus
22679 }
22680 #endif
22681
22682 int
22683 main ()
22684 {
22685 return f != $ac_func;
22686   ;
22687   return 0;
22688 }
22689 _ACEOF
22690 rm -f conftest.$ac_objext conftest$ac_exeext
22691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22692   (eval $ac_link) 2>conftest.er1
22693   ac_status=$?
22694   grep -v '^ *+' conftest.er1 >conftest.err
22695   rm -f conftest.er1
22696   cat conftest.err >&5
22697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22698   (exit $ac_status); } &&
22699          { ac_try='test -z "$ac_c_werror_flag"
22700                          || test ! -s conftest.err'
22701   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22702   (eval $ac_try) 2>&5
22703   ac_status=$?
22704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22705   (exit $ac_status); }; } &&
22706          { ac_try='test -s conftest$ac_exeext'
22707   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22708   (eval $ac_try) 2>&5
22709   ac_status=$?
22710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22711   (exit $ac_status); }; }; then
22712   eval "$as_ac_var=yes"
22713 else
22714   echo "$as_me: failed program was:" >&5
22715 sed 's/^/| /' conftest.$ac_ext >&5
22716
22717 eval "$as_ac_var=no"
22718 fi
22719 rm -f conftest.err conftest.$ac_objext \
22720       conftest$ac_exeext conftest.$ac_ext
22721 fi
22722 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22723 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22724 if test `eval echo '${'$as_ac_var'}'` = yes; then
22725   cat >>confdefs.h <<_ACEOF
22726 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22727 _ACEOF
22728
22729 fi
22730 done
22731
22732     fi
22733   fi
22734
22735
22736
22737   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
22738 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
22739   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
22740     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
22741   echo $ECHO_N "(cached) $ECHO_C" >&6
22742 else
22743
22744
22745
22746       ac_ext=cc
22747 ac_cpp='$CXXCPP $CPPFLAGS'
22748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22751
22752       cat >conftest.$ac_ext <<_ACEOF
22753 /* confdefs.h.  */
22754 _ACEOF
22755 cat confdefs.h >>conftest.$ac_ext
22756 cat >>conftest.$ac_ext <<_ACEOF
22757 /* end confdefs.h.  */
22758 #include <math.h>
22759 int
22760 main ()
22761 {
22762  hypotl(0, 0);
22763   ;
22764   return 0;
22765 }
22766 _ACEOF
22767 rm -f conftest.$ac_objext
22768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22769   (eval $ac_compile) 2>conftest.er1
22770   ac_status=$?
22771   grep -v '^ *+' conftest.er1 >conftest.err
22772   rm -f conftest.er1
22773   cat conftest.err >&5
22774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22775   (exit $ac_status); } &&
22776          { ac_try='test -z "$ac_cxx_werror_flag"
22777                          || test ! -s conftest.err'
22778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22779   (eval $ac_try) 2>&5
22780   ac_status=$?
22781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22782   (exit $ac_status); }; } &&
22783          { ac_try='test -s conftest.$ac_objext'
22784   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22785   (eval $ac_try) 2>&5
22786   ac_status=$?
22787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22788   (exit $ac_status); }; }; then
22789   glibcxx_cv_func_hypotl_use=yes
22790 else
22791   echo "$as_me: failed program was:" >&5
22792 sed 's/^/| /' conftest.$ac_ext >&5
22793
22794 glibcxx_cv_func_hypotl_use=no
22795 fi
22796 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22797       ac_ext=c
22798 ac_cpp='$CPP $CPPFLAGS'
22799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22802
22803
22804 fi
22805
22806   fi
22807   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
22808 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
22809
22810   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
22811
22812 for ac_func in hypotl
22813 do
22814 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22815 echo "$as_me:$LINENO: checking for $ac_func" >&5
22816 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22817 if eval "test \"\${$as_ac_var+set}\" = set"; then
22818   echo $ECHO_N "(cached) $ECHO_C" >&6
22819 else
22820   if test x$gcc_no_link = xyes; then
22821   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22822 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22823    { (exit 1); exit 1; }; }
22824 fi
22825 cat >conftest.$ac_ext <<_ACEOF
22826 /* confdefs.h.  */
22827 _ACEOF
22828 cat confdefs.h >>conftest.$ac_ext
22829 cat >>conftest.$ac_ext <<_ACEOF
22830 /* end confdefs.h.  */
22831 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22832    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
22833 #define $ac_func innocuous_$ac_func
22834
22835 /* System header to define __stub macros and hopefully few prototypes,
22836     which can conflict with char $ac_func (); below.
22837     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22838     <limits.h> exists even on freestanding compilers.  */
22839
22840 #ifdef __STDC__
22841 # include <limits.h>
22842 #else
22843 # include <assert.h>
22844 #endif
22845
22846 #undef $ac_func
22847
22848 /* Override any gcc2 internal prototype to avoid an error.  */
22849 #ifdef __cplusplus
22850 extern "C"
22851 {
22852 #endif
22853 /* We use char because int might match the return type of a gcc2
22854    builtin and then its argument prototype would still apply.  */
22855 char $ac_func ();
22856 /* The GNU C library defines this for functions which it implements
22857     to always fail with ENOSYS.  Some functions are actually named
22858     something starting with __ and the normal name is an alias.  */
22859 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22860 choke me
22861 #else
22862 char (*f) () = $ac_func;
22863 #endif
22864 #ifdef __cplusplus
22865 }
22866 #endif
22867
22868 int
22869 main ()
22870 {
22871 return f != $ac_func;
22872   ;
22873   return 0;
22874 }
22875 _ACEOF
22876 rm -f conftest.$ac_objext conftest$ac_exeext
22877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22878   (eval $ac_link) 2>conftest.er1
22879   ac_status=$?
22880   grep -v '^ *+' conftest.er1 >conftest.err
22881   rm -f conftest.er1
22882   cat conftest.err >&5
22883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22884   (exit $ac_status); } &&
22885          { ac_try='test -z "$ac_c_werror_flag"
22886                          || test ! -s conftest.err'
22887   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22888   (eval $ac_try) 2>&5
22889   ac_status=$?
22890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22891   (exit $ac_status); }; } &&
22892          { ac_try='test -s conftest$ac_exeext'
22893   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22894   (eval $ac_try) 2>&5
22895   ac_status=$?
22896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22897   (exit $ac_status); }; }; then
22898   eval "$as_ac_var=yes"
22899 else
22900   echo "$as_me: failed program was:" >&5
22901 sed 's/^/| /' conftest.$ac_ext >&5
22902
22903 eval "$as_ac_var=no"
22904 fi
22905 rm -f conftest.err conftest.$ac_objext \
22906       conftest$ac_exeext conftest.$ac_ext
22907 fi
22908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22909 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22910 if test `eval echo '${'$as_ac_var'}'` = yes; then
22911   cat >>confdefs.h <<_ACEOF
22912 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22913 _ACEOF
22914
22915 fi
22916 done
22917
22918   else
22919
22920   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
22921 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
22922   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
22923     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
22924   echo $ECHO_N "(cached) $ECHO_C" >&6
22925 else
22926
22927
22928
22929       ac_ext=cc
22930 ac_cpp='$CXXCPP $CPPFLAGS'
22931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22934
22935       cat >conftest.$ac_ext <<_ACEOF
22936 /* confdefs.h.  */
22937 _ACEOF
22938 cat confdefs.h >>conftest.$ac_ext
22939 cat >>conftest.$ac_ext <<_ACEOF
22940 /* end confdefs.h.  */
22941 #include <math.h>
22942 int
22943 main ()
22944 {
22945  _hypotl(0, 0);
22946   ;
22947   return 0;
22948 }
22949 _ACEOF
22950 rm -f conftest.$ac_objext
22951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22952   (eval $ac_compile) 2>conftest.er1
22953   ac_status=$?
22954   grep -v '^ *+' conftest.er1 >conftest.err
22955   rm -f conftest.er1
22956   cat conftest.err >&5
22957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22958   (exit $ac_status); } &&
22959          { ac_try='test -z "$ac_cxx_werror_flag"
22960                          || test ! -s conftest.err'
22961   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22962   (eval $ac_try) 2>&5
22963   ac_status=$?
22964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22965   (exit $ac_status); }; } &&
22966          { ac_try='test -s conftest.$ac_objext'
22967   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22968   (eval $ac_try) 2>&5
22969   ac_status=$?
22970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
22971   (exit $ac_status); }; }; then
22972   glibcxx_cv_func__hypotl_use=yes
22973 else
22974   echo "$as_me: failed program was:" >&5
22975 sed 's/^/| /' conftest.$ac_ext >&5
22976
22977 glibcxx_cv_func__hypotl_use=no
22978 fi
22979 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22980       ac_ext=c
22981 ac_cpp='$CPP $CPPFLAGS'
22982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22985
22986
22987 fi
22988
22989   fi
22990   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
22991 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
22992
22993     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
22994
22995 for ac_func in _hypotl
22996 do
22997 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22998 echo "$as_me:$LINENO: checking for $ac_func" >&5
22999 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23000 if eval "test \"\${$as_ac_var+set}\" = set"; then
23001   echo $ECHO_N "(cached) $ECHO_C" >&6
23002 else
23003   if test x$gcc_no_link = xyes; then
23004   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23005 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23006    { (exit 1); exit 1; }; }
23007 fi
23008 cat >conftest.$ac_ext <<_ACEOF
23009 /* confdefs.h.  */
23010 _ACEOF
23011 cat confdefs.h >>conftest.$ac_ext
23012 cat >>conftest.$ac_ext <<_ACEOF
23013 /* end confdefs.h.  */
23014 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23015    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23016 #define $ac_func innocuous_$ac_func
23017
23018 /* System header to define __stub macros and hopefully few prototypes,
23019     which can conflict with char $ac_func (); below.
23020     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23021     <limits.h> exists even on freestanding compilers.  */
23022
23023 #ifdef __STDC__
23024 # include <limits.h>
23025 #else
23026 # include <assert.h>
23027 #endif
23028
23029 #undef $ac_func
23030
23031 /* Override any gcc2 internal prototype to avoid an error.  */
23032 #ifdef __cplusplus
23033 extern "C"
23034 {
23035 #endif
23036 /* We use char because int might match the return type of a gcc2
23037    builtin and then its argument prototype would still apply.  */
23038 char $ac_func ();
23039 /* The GNU C library defines this for functions which it implements
23040     to always fail with ENOSYS.  Some functions are actually named
23041     something starting with __ and the normal name is an alias.  */
23042 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23043 choke me
23044 #else
23045 char (*f) () = $ac_func;
23046 #endif
23047 #ifdef __cplusplus
23048 }
23049 #endif
23050
23051 int
23052 main ()
23053 {
23054 return f != $ac_func;
23055   ;
23056   return 0;
23057 }
23058 _ACEOF
23059 rm -f conftest.$ac_objext conftest$ac_exeext
23060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23061   (eval $ac_link) 2>conftest.er1
23062   ac_status=$?
23063   grep -v '^ *+' conftest.er1 >conftest.err
23064   rm -f conftest.er1
23065   cat conftest.err >&5
23066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23067   (exit $ac_status); } &&
23068          { ac_try='test -z "$ac_c_werror_flag"
23069                          || test ! -s conftest.err'
23070   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23071   (eval $ac_try) 2>&5
23072   ac_status=$?
23073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23074   (exit $ac_status); }; } &&
23075          { ac_try='test -s conftest$ac_exeext'
23076   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23077   (eval $ac_try) 2>&5
23078   ac_status=$?
23079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23080   (exit $ac_status); }; }; then
23081   eval "$as_ac_var=yes"
23082 else
23083   echo "$as_me: failed program was:" >&5
23084 sed 's/^/| /' conftest.$ac_ext >&5
23085
23086 eval "$as_ac_var=no"
23087 fi
23088 rm -f conftest.err conftest.$ac_objext \
23089       conftest$ac_exeext conftest.$ac_ext
23090 fi
23091 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23092 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23093 if test `eval echo '${'$as_ac_var'}'` = yes; then
23094   cat >>confdefs.h <<_ACEOF
23095 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23096 _ACEOF
23097
23098 fi
23099 done
23100
23101     fi
23102   fi
23103
23104
23105
23106   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
23107 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
23108   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
23109     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
23110   echo $ECHO_N "(cached) $ECHO_C" >&6
23111 else
23112
23113
23114
23115       ac_ext=cc
23116 ac_cpp='$CXXCPP $CPPFLAGS'
23117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23120
23121       cat >conftest.$ac_ext <<_ACEOF
23122 /* confdefs.h.  */
23123 _ACEOF
23124 cat confdefs.h >>conftest.$ac_ext
23125 cat >>conftest.$ac_ext <<_ACEOF
23126 /* end confdefs.h.  */
23127 #include <math.h>
23128 int
23129 main ()
23130 {
23131  ldexpl(0, 0);
23132   ;
23133   return 0;
23134 }
23135 _ACEOF
23136 rm -f conftest.$ac_objext
23137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23138   (eval $ac_compile) 2>conftest.er1
23139   ac_status=$?
23140   grep -v '^ *+' conftest.er1 >conftest.err
23141   rm -f conftest.er1
23142   cat conftest.err >&5
23143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23144   (exit $ac_status); } &&
23145          { ac_try='test -z "$ac_cxx_werror_flag"
23146                          || test ! -s conftest.err'
23147   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23148   (eval $ac_try) 2>&5
23149   ac_status=$?
23150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23151   (exit $ac_status); }; } &&
23152          { ac_try='test -s conftest.$ac_objext'
23153   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23154   (eval $ac_try) 2>&5
23155   ac_status=$?
23156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23157   (exit $ac_status); }; }; then
23158   glibcxx_cv_func_ldexpl_use=yes
23159 else
23160   echo "$as_me: failed program was:" >&5
23161 sed 's/^/| /' conftest.$ac_ext >&5
23162
23163 glibcxx_cv_func_ldexpl_use=no
23164 fi
23165 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23166       ac_ext=c
23167 ac_cpp='$CPP $CPPFLAGS'
23168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23171
23172
23173 fi
23174
23175   fi
23176   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
23177 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
23178
23179   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
23180
23181 for ac_func in ldexpl
23182 do
23183 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23184 echo "$as_me:$LINENO: checking for $ac_func" >&5
23185 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23186 if eval "test \"\${$as_ac_var+set}\" = set"; then
23187   echo $ECHO_N "(cached) $ECHO_C" >&6
23188 else
23189   if test x$gcc_no_link = xyes; then
23190   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23191 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23192    { (exit 1); exit 1; }; }
23193 fi
23194 cat >conftest.$ac_ext <<_ACEOF
23195 /* confdefs.h.  */
23196 _ACEOF
23197 cat confdefs.h >>conftest.$ac_ext
23198 cat >>conftest.$ac_ext <<_ACEOF
23199 /* end confdefs.h.  */
23200 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23201    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23202 #define $ac_func innocuous_$ac_func
23203
23204 /* System header to define __stub macros and hopefully few prototypes,
23205     which can conflict with char $ac_func (); below.
23206     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23207     <limits.h> exists even on freestanding compilers.  */
23208
23209 #ifdef __STDC__
23210 # include <limits.h>
23211 #else
23212 # include <assert.h>
23213 #endif
23214
23215 #undef $ac_func
23216
23217 /* Override any gcc2 internal prototype to avoid an error.  */
23218 #ifdef __cplusplus
23219 extern "C"
23220 {
23221 #endif
23222 /* We use char because int might match the return type of a gcc2
23223    builtin and then its argument prototype would still apply.  */
23224 char $ac_func ();
23225 /* The GNU C library defines this for functions which it implements
23226     to always fail with ENOSYS.  Some functions are actually named
23227     something starting with __ and the normal name is an alias.  */
23228 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23229 choke me
23230 #else
23231 char (*f) () = $ac_func;
23232 #endif
23233 #ifdef __cplusplus
23234 }
23235 #endif
23236
23237 int
23238 main ()
23239 {
23240 return f != $ac_func;
23241   ;
23242   return 0;
23243 }
23244 _ACEOF
23245 rm -f conftest.$ac_objext conftest$ac_exeext
23246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23247   (eval $ac_link) 2>conftest.er1
23248   ac_status=$?
23249   grep -v '^ *+' conftest.er1 >conftest.err
23250   rm -f conftest.er1
23251   cat conftest.err >&5
23252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23253   (exit $ac_status); } &&
23254          { ac_try='test -z "$ac_c_werror_flag"
23255                          || test ! -s conftest.err'
23256   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23257   (eval $ac_try) 2>&5
23258   ac_status=$?
23259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23260   (exit $ac_status); }; } &&
23261          { ac_try='test -s conftest$ac_exeext'
23262   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23263   (eval $ac_try) 2>&5
23264   ac_status=$?
23265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23266   (exit $ac_status); }; }; then
23267   eval "$as_ac_var=yes"
23268 else
23269   echo "$as_me: failed program was:" >&5
23270 sed 's/^/| /' conftest.$ac_ext >&5
23271
23272 eval "$as_ac_var=no"
23273 fi
23274 rm -f conftest.err conftest.$ac_objext \
23275       conftest$ac_exeext conftest.$ac_ext
23276 fi
23277 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23278 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23279 if test `eval echo '${'$as_ac_var'}'` = yes; then
23280   cat >>confdefs.h <<_ACEOF
23281 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23282 _ACEOF
23283
23284 fi
23285 done
23286
23287   else
23288
23289   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
23290 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
23291   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
23292     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
23293   echo $ECHO_N "(cached) $ECHO_C" >&6
23294 else
23295
23296
23297
23298       ac_ext=cc
23299 ac_cpp='$CXXCPP $CPPFLAGS'
23300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23303
23304       cat >conftest.$ac_ext <<_ACEOF
23305 /* confdefs.h.  */
23306 _ACEOF
23307 cat confdefs.h >>conftest.$ac_ext
23308 cat >>conftest.$ac_ext <<_ACEOF
23309 /* end confdefs.h.  */
23310 #include <math.h>
23311 int
23312 main ()
23313 {
23314  _ldexpl(0, 0);
23315   ;
23316   return 0;
23317 }
23318 _ACEOF
23319 rm -f conftest.$ac_objext
23320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23321   (eval $ac_compile) 2>conftest.er1
23322   ac_status=$?
23323   grep -v '^ *+' conftest.er1 >conftest.err
23324   rm -f conftest.er1
23325   cat conftest.err >&5
23326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23327   (exit $ac_status); } &&
23328          { ac_try='test -z "$ac_cxx_werror_flag"
23329                          || test ! -s conftest.err'
23330   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23331   (eval $ac_try) 2>&5
23332   ac_status=$?
23333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23334   (exit $ac_status); }; } &&
23335          { ac_try='test -s conftest.$ac_objext'
23336   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23337   (eval $ac_try) 2>&5
23338   ac_status=$?
23339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23340   (exit $ac_status); }; }; then
23341   glibcxx_cv_func__ldexpl_use=yes
23342 else
23343   echo "$as_me: failed program was:" >&5
23344 sed 's/^/| /' conftest.$ac_ext >&5
23345
23346 glibcxx_cv_func__ldexpl_use=no
23347 fi
23348 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23349       ac_ext=c
23350 ac_cpp='$CPP $CPPFLAGS'
23351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23354
23355
23356 fi
23357
23358   fi
23359   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
23360 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
23361
23362     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
23363
23364 for ac_func in _ldexpl
23365 do
23366 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23367 echo "$as_me:$LINENO: checking for $ac_func" >&5
23368 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23369 if eval "test \"\${$as_ac_var+set}\" = set"; then
23370   echo $ECHO_N "(cached) $ECHO_C" >&6
23371 else
23372   if test x$gcc_no_link = xyes; then
23373   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23374 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23375    { (exit 1); exit 1; }; }
23376 fi
23377 cat >conftest.$ac_ext <<_ACEOF
23378 /* confdefs.h.  */
23379 _ACEOF
23380 cat confdefs.h >>conftest.$ac_ext
23381 cat >>conftest.$ac_ext <<_ACEOF
23382 /* end confdefs.h.  */
23383 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23384    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23385 #define $ac_func innocuous_$ac_func
23386
23387 /* System header to define __stub macros and hopefully few prototypes,
23388     which can conflict with char $ac_func (); below.
23389     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23390     <limits.h> exists even on freestanding compilers.  */
23391
23392 #ifdef __STDC__
23393 # include <limits.h>
23394 #else
23395 # include <assert.h>
23396 #endif
23397
23398 #undef $ac_func
23399
23400 /* Override any gcc2 internal prototype to avoid an error.  */
23401 #ifdef __cplusplus
23402 extern "C"
23403 {
23404 #endif
23405 /* We use char because int might match the return type of a gcc2
23406    builtin and then its argument prototype would still apply.  */
23407 char $ac_func ();
23408 /* The GNU C library defines this for functions which it implements
23409     to always fail with ENOSYS.  Some functions are actually named
23410     something starting with __ and the normal name is an alias.  */
23411 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23412 choke me
23413 #else
23414 char (*f) () = $ac_func;
23415 #endif
23416 #ifdef __cplusplus
23417 }
23418 #endif
23419
23420 int
23421 main ()
23422 {
23423 return f != $ac_func;
23424   ;
23425   return 0;
23426 }
23427 _ACEOF
23428 rm -f conftest.$ac_objext conftest$ac_exeext
23429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23430   (eval $ac_link) 2>conftest.er1
23431   ac_status=$?
23432   grep -v '^ *+' conftest.er1 >conftest.err
23433   rm -f conftest.er1
23434   cat conftest.err >&5
23435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23436   (exit $ac_status); } &&
23437          { ac_try='test -z "$ac_c_werror_flag"
23438                          || test ! -s conftest.err'
23439   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23440   (eval $ac_try) 2>&5
23441   ac_status=$?
23442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23443   (exit $ac_status); }; } &&
23444          { ac_try='test -s conftest$ac_exeext'
23445   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23446   (eval $ac_try) 2>&5
23447   ac_status=$?
23448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23449   (exit $ac_status); }; }; then
23450   eval "$as_ac_var=yes"
23451 else
23452   echo "$as_me: failed program was:" >&5
23453 sed 's/^/| /' conftest.$ac_ext >&5
23454
23455 eval "$as_ac_var=no"
23456 fi
23457 rm -f conftest.err conftest.$ac_objext \
23458       conftest$ac_exeext conftest.$ac_ext
23459 fi
23460 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23461 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23462 if test `eval echo '${'$as_ac_var'}'` = yes; then
23463   cat >>confdefs.h <<_ACEOF
23464 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23465 _ACEOF
23466
23467 fi
23468 done
23469
23470     fi
23471   fi
23472
23473
23474
23475   echo "$as_me:$LINENO: checking for logl declaration" >&5
23476 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
23477   if test x${glibcxx_cv_func_logl_use+set} != xset; then
23478     if test "${glibcxx_cv_func_logl_use+set}" = set; then
23479   echo $ECHO_N "(cached) $ECHO_C" >&6
23480 else
23481
23482
23483
23484       ac_ext=cc
23485 ac_cpp='$CXXCPP $CPPFLAGS'
23486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23489
23490       cat >conftest.$ac_ext <<_ACEOF
23491 /* confdefs.h.  */
23492 _ACEOF
23493 cat confdefs.h >>conftest.$ac_ext
23494 cat >>conftest.$ac_ext <<_ACEOF
23495 /* end confdefs.h.  */
23496 #include <math.h>
23497                       #ifdef HAVE_IEEEFP_H
23498                       #include <ieeefp.h>
23499                       #endif
23500
23501 int
23502 main ()
23503 {
23504  logl(0);
23505   ;
23506   return 0;
23507 }
23508 _ACEOF
23509 rm -f conftest.$ac_objext
23510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23511   (eval $ac_compile) 2>conftest.er1
23512   ac_status=$?
23513   grep -v '^ *+' conftest.er1 >conftest.err
23514   rm -f conftest.er1
23515   cat conftest.err >&5
23516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23517   (exit $ac_status); } &&
23518          { ac_try='test -z "$ac_cxx_werror_flag"
23519                          || test ! -s conftest.err'
23520   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23521   (eval $ac_try) 2>&5
23522   ac_status=$?
23523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23524   (exit $ac_status); }; } &&
23525          { ac_try='test -s conftest.$ac_objext'
23526   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23527   (eval $ac_try) 2>&5
23528   ac_status=$?
23529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23530   (exit $ac_status); }; }; then
23531   glibcxx_cv_func_logl_use=yes
23532 else
23533   echo "$as_me: failed program was:" >&5
23534 sed 's/^/| /' conftest.$ac_ext >&5
23535
23536 glibcxx_cv_func_logl_use=no
23537 fi
23538 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23539       ac_ext=c
23540 ac_cpp='$CPP $CPPFLAGS'
23541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23544
23545
23546 fi
23547
23548   fi
23549   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
23550 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
23551
23552   if test x$glibcxx_cv_func_logl_use = x"yes"; then
23553
23554 for ac_func in logl
23555 do
23556 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23557 echo "$as_me:$LINENO: checking for $ac_func" >&5
23558 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23559 if eval "test \"\${$as_ac_var+set}\" = set"; then
23560   echo $ECHO_N "(cached) $ECHO_C" >&6
23561 else
23562   if test x$gcc_no_link = xyes; then
23563   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23564 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23565    { (exit 1); exit 1; }; }
23566 fi
23567 cat >conftest.$ac_ext <<_ACEOF
23568 /* confdefs.h.  */
23569 _ACEOF
23570 cat confdefs.h >>conftest.$ac_ext
23571 cat >>conftest.$ac_ext <<_ACEOF
23572 /* end confdefs.h.  */
23573 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23574    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23575 #define $ac_func innocuous_$ac_func
23576
23577 /* System header to define __stub macros and hopefully few prototypes,
23578     which can conflict with char $ac_func (); below.
23579     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23580     <limits.h> exists even on freestanding compilers.  */
23581
23582 #ifdef __STDC__
23583 # include <limits.h>
23584 #else
23585 # include <assert.h>
23586 #endif
23587
23588 #undef $ac_func
23589
23590 /* Override any gcc2 internal prototype to avoid an error.  */
23591 #ifdef __cplusplus
23592 extern "C"
23593 {
23594 #endif
23595 /* We use char because int might match the return type of a gcc2
23596    builtin and then its argument prototype would still apply.  */
23597 char $ac_func ();
23598 /* The GNU C library defines this for functions which it implements
23599     to always fail with ENOSYS.  Some functions are actually named
23600     something starting with __ and the normal name is an alias.  */
23601 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23602 choke me
23603 #else
23604 char (*f) () = $ac_func;
23605 #endif
23606 #ifdef __cplusplus
23607 }
23608 #endif
23609
23610 int
23611 main ()
23612 {
23613 return f != $ac_func;
23614   ;
23615   return 0;
23616 }
23617 _ACEOF
23618 rm -f conftest.$ac_objext conftest$ac_exeext
23619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23620   (eval $ac_link) 2>conftest.er1
23621   ac_status=$?
23622   grep -v '^ *+' conftest.er1 >conftest.err
23623   rm -f conftest.er1
23624   cat conftest.err >&5
23625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23626   (exit $ac_status); } &&
23627          { ac_try='test -z "$ac_c_werror_flag"
23628                          || test ! -s conftest.err'
23629   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23630   (eval $ac_try) 2>&5
23631   ac_status=$?
23632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23633   (exit $ac_status); }; } &&
23634          { ac_try='test -s conftest$ac_exeext'
23635   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23636   (eval $ac_try) 2>&5
23637   ac_status=$?
23638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23639   (exit $ac_status); }; }; then
23640   eval "$as_ac_var=yes"
23641 else
23642   echo "$as_me: failed program was:" >&5
23643 sed 's/^/| /' conftest.$ac_ext >&5
23644
23645 eval "$as_ac_var=no"
23646 fi
23647 rm -f conftest.err conftest.$ac_objext \
23648       conftest$ac_exeext conftest.$ac_ext
23649 fi
23650 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23651 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23652 if test `eval echo '${'$as_ac_var'}'` = yes; then
23653   cat >>confdefs.h <<_ACEOF
23654 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23655 _ACEOF
23656
23657 fi
23658 done
23659
23660   else
23661
23662   echo "$as_me:$LINENO: checking for _logl declaration" >&5
23663 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
23664   if test x${glibcxx_cv_func__logl_use+set} != xset; then
23665     if test "${glibcxx_cv_func__logl_use+set}" = set; then
23666   echo $ECHO_N "(cached) $ECHO_C" >&6
23667 else
23668
23669
23670
23671       ac_ext=cc
23672 ac_cpp='$CXXCPP $CPPFLAGS'
23673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23676
23677       cat >conftest.$ac_ext <<_ACEOF
23678 /* confdefs.h.  */
23679 _ACEOF
23680 cat confdefs.h >>conftest.$ac_ext
23681 cat >>conftest.$ac_ext <<_ACEOF
23682 /* end confdefs.h.  */
23683 #include <math.h>
23684                       #ifdef HAVE_IEEEFP_H
23685                       #include <ieeefp.h>
23686                       #endif
23687
23688 int
23689 main ()
23690 {
23691  _logl(0);
23692   ;
23693   return 0;
23694 }
23695 _ACEOF
23696 rm -f conftest.$ac_objext
23697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23698   (eval $ac_compile) 2>conftest.er1
23699   ac_status=$?
23700   grep -v '^ *+' conftest.er1 >conftest.err
23701   rm -f conftest.er1
23702   cat conftest.err >&5
23703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23704   (exit $ac_status); } &&
23705          { ac_try='test -z "$ac_cxx_werror_flag"
23706                          || test ! -s conftest.err'
23707   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23708   (eval $ac_try) 2>&5
23709   ac_status=$?
23710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23711   (exit $ac_status); }; } &&
23712          { ac_try='test -s conftest.$ac_objext'
23713   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23714   (eval $ac_try) 2>&5
23715   ac_status=$?
23716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23717   (exit $ac_status); }; }; then
23718   glibcxx_cv_func__logl_use=yes
23719 else
23720   echo "$as_me: failed program was:" >&5
23721 sed 's/^/| /' conftest.$ac_ext >&5
23722
23723 glibcxx_cv_func__logl_use=no
23724 fi
23725 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23726       ac_ext=c
23727 ac_cpp='$CPP $CPPFLAGS'
23728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23731
23732
23733 fi
23734
23735   fi
23736   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
23737 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
23738
23739     if test x$glibcxx_cv_func__logl_use = x"yes"; then
23740
23741 for ac_func in _logl
23742 do
23743 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23744 echo "$as_me:$LINENO: checking for $ac_func" >&5
23745 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23746 if eval "test \"\${$as_ac_var+set}\" = set"; then
23747   echo $ECHO_N "(cached) $ECHO_C" >&6
23748 else
23749   if test x$gcc_no_link = xyes; then
23750   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23751 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23752    { (exit 1); exit 1; }; }
23753 fi
23754 cat >conftest.$ac_ext <<_ACEOF
23755 /* confdefs.h.  */
23756 _ACEOF
23757 cat confdefs.h >>conftest.$ac_ext
23758 cat >>conftest.$ac_ext <<_ACEOF
23759 /* end confdefs.h.  */
23760 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23761    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23762 #define $ac_func innocuous_$ac_func
23763
23764 /* System header to define __stub macros and hopefully few prototypes,
23765     which can conflict with char $ac_func (); below.
23766     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23767     <limits.h> exists even on freestanding compilers.  */
23768
23769 #ifdef __STDC__
23770 # include <limits.h>
23771 #else
23772 # include <assert.h>
23773 #endif
23774
23775 #undef $ac_func
23776
23777 /* Override any gcc2 internal prototype to avoid an error.  */
23778 #ifdef __cplusplus
23779 extern "C"
23780 {
23781 #endif
23782 /* We use char because int might match the return type of a gcc2
23783    builtin and then its argument prototype would still apply.  */
23784 char $ac_func ();
23785 /* The GNU C library defines this for functions which it implements
23786     to always fail with ENOSYS.  Some functions are actually named
23787     something starting with __ and the normal name is an alias.  */
23788 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23789 choke me
23790 #else
23791 char (*f) () = $ac_func;
23792 #endif
23793 #ifdef __cplusplus
23794 }
23795 #endif
23796
23797 int
23798 main ()
23799 {
23800 return f != $ac_func;
23801   ;
23802   return 0;
23803 }
23804 _ACEOF
23805 rm -f conftest.$ac_objext conftest$ac_exeext
23806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23807   (eval $ac_link) 2>conftest.er1
23808   ac_status=$?
23809   grep -v '^ *+' conftest.er1 >conftest.err
23810   rm -f conftest.er1
23811   cat conftest.err >&5
23812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23813   (exit $ac_status); } &&
23814          { ac_try='test -z "$ac_c_werror_flag"
23815                          || test ! -s conftest.err'
23816   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23817   (eval $ac_try) 2>&5
23818   ac_status=$?
23819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23820   (exit $ac_status); }; } &&
23821          { ac_try='test -s conftest$ac_exeext'
23822   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23823   (eval $ac_try) 2>&5
23824   ac_status=$?
23825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23826   (exit $ac_status); }; }; then
23827   eval "$as_ac_var=yes"
23828 else
23829   echo "$as_me: failed program was:" >&5
23830 sed 's/^/| /' conftest.$ac_ext >&5
23831
23832 eval "$as_ac_var=no"
23833 fi
23834 rm -f conftest.err conftest.$ac_objext \
23835       conftest$ac_exeext conftest.$ac_ext
23836 fi
23837 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23838 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23839 if test `eval echo '${'$as_ac_var'}'` = yes; then
23840   cat >>confdefs.h <<_ACEOF
23841 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23842 _ACEOF
23843
23844 fi
23845 done
23846
23847     fi
23848   fi
23849
23850
23851
23852   echo "$as_me:$LINENO: checking for log10l declaration" >&5
23853 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
23854   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
23855     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
23856   echo $ECHO_N "(cached) $ECHO_C" >&6
23857 else
23858
23859
23860
23861       ac_ext=cc
23862 ac_cpp='$CXXCPP $CPPFLAGS'
23863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23866
23867       cat >conftest.$ac_ext <<_ACEOF
23868 /* confdefs.h.  */
23869 _ACEOF
23870 cat confdefs.h >>conftest.$ac_ext
23871 cat >>conftest.$ac_ext <<_ACEOF
23872 /* end confdefs.h.  */
23873 #include <math.h>
23874                       #ifdef HAVE_IEEEFP_H
23875                       #include <ieeefp.h>
23876                       #endif
23877
23878 int
23879 main ()
23880 {
23881  log10l(0);
23882   ;
23883   return 0;
23884 }
23885 _ACEOF
23886 rm -f conftest.$ac_objext
23887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23888   (eval $ac_compile) 2>conftest.er1
23889   ac_status=$?
23890   grep -v '^ *+' conftest.er1 >conftest.err
23891   rm -f conftest.er1
23892   cat conftest.err >&5
23893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23894   (exit $ac_status); } &&
23895          { ac_try='test -z "$ac_cxx_werror_flag"
23896                          || test ! -s conftest.err'
23897   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23898   (eval $ac_try) 2>&5
23899   ac_status=$?
23900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
23901   (exit $ac_status); }; } &&
23902          { ac_try='test -s conftest.$ac_objext'
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   glibcxx_cv_func_log10l_use=yes
23909 else
23910   echo "$as_me: failed program was:" >&5
23911 sed 's/^/| /' conftest.$ac_ext >&5
23912
23913 glibcxx_cv_func_log10l_use=no
23914 fi
23915 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23916       ac_ext=c
23917 ac_cpp='$CPP $CPPFLAGS'
23918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23921
23922
23923 fi
23924
23925   fi
23926   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
23927 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
23928
23929   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
23930
23931 for ac_func in log10l
23932 do
23933 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23934 echo "$as_me:$LINENO: checking for $ac_func" >&5
23935 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23936 if eval "test \"\${$as_ac_var+set}\" = set"; then
23937   echo $ECHO_N "(cached) $ECHO_C" >&6
23938 else
23939   if test x$gcc_no_link = xyes; then
23940   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23941 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23942    { (exit 1); exit 1; }; }
23943 fi
23944 cat >conftest.$ac_ext <<_ACEOF
23945 /* confdefs.h.  */
23946 _ACEOF
23947 cat confdefs.h >>conftest.$ac_ext
23948 cat >>conftest.$ac_ext <<_ACEOF
23949 /* end confdefs.h.  */
23950 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23951    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
23952 #define $ac_func innocuous_$ac_func
23953
23954 /* System header to define __stub macros and hopefully few prototypes,
23955     which can conflict with char $ac_func (); below.
23956     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23957     <limits.h> exists even on freestanding compilers.  */
23958
23959 #ifdef __STDC__
23960 # include <limits.h>
23961 #else
23962 # include <assert.h>
23963 #endif
23964
23965 #undef $ac_func
23966
23967 /* Override any gcc2 internal prototype to avoid an error.  */
23968 #ifdef __cplusplus
23969 extern "C"
23970 {
23971 #endif
23972 /* We use char because int might match the return type of a gcc2
23973    builtin and then its argument prototype would still apply.  */
23974 char $ac_func ();
23975 /* The GNU C library defines this for functions which it implements
23976     to always fail with ENOSYS.  Some functions are actually named
23977     something starting with __ and the normal name is an alias.  */
23978 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23979 choke me
23980 #else
23981 char (*f) () = $ac_func;
23982 #endif
23983 #ifdef __cplusplus
23984 }
23985 #endif
23986
23987 int
23988 main ()
23989 {
23990 return f != $ac_func;
23991   ;
23992   return 0;
23993 }
23994 _ACEOF
23995 rm -f conftest.$ac_objext conftest$ac_exeext
23996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23997   (eval $ac_link) 2>conftest.er1
23998   ac_status=$?
23999   grep -v '^ *+' conftest.er1 >conftest.err
24000   rm -f conftest.er1
24001   cat conftest.err >&5
24002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24003   (exit $ac_status); } &&
24004          { ac_try='test -z "$ac_c_werror_flag"
24005                          || test ! -s conftest.err'
24006   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24007   (eval $ac_try) 2>&5
24008   ac_status=$?
24009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24010   (exit $ac_status); }; } &&
24011          { ac_try='test -s conftest$ac_exeext'
24012   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24013   (eval $ac_try) 2>&5
24014   ac_status=$?
24015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24016   (exit $ac_status); }; }; then
24017   eval "$as_ac_var=yes"
24018 else
24019   echo "$as_me: failed program was:" >&5
24020 sed 's/^/| /' conftest.$ac_ext >&5
24021
24022 eval "$as_ac_var=no"
24023 fi
24024 rm -f conftest.err conftest.$ac_objext \
24025       conftest$ac_exeext conftest.$ac_ext
24026 fi
24027 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24028 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24029 if test `eval echo '${'$as_ac_var'}'` = yes; then
24030   cat >>confdefs.h <<_ACEOF
24031 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24032 _ACEOF
24033
24034 fi
24035 done
24036
24037   else
24038
24039   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
24040 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
24041   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
24042     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
24043   echo $ECHO_N "(cached) $ECHO_C" >&6
24044 else
24045
24046
24047
24048       ac_ext=cc
24049 ac_cpp='$CXXCPP $CPPFLAGS'
24050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24053
24054       cat >conftest.$ac_ext <<_ACEOF
24055 /* confdefs.h.  */
24056 _ACEOF
24057 cat confdefs.h >>conftest.$ac_ext
24058 cat >>conftest.$ac_ext <<_ACEOF
24059 /* end confdefs.h.  */
24060 #include <math.h>
24061                       #ifdef HAVE_IEEEFP_H
24062                       #include <ieeefp.h>
24063                       #endif
24064
24065 int
24066 main ()
24067 {
24068  _log10l(0);
24069   ;
24070   return 0;
24071 }
24072 _ACEOF
24073 rm -f conftest.$ac_objext
24074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24075   (eval $ac_compile) 2>conftest.er1
24076   ac_status=$?
24077   grep -v '^ *+' conftest.er1 >conftest.err
24078   rm -f conftest.er1
24079   cat conftest.err >&5
24080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24081   (exit $ac_status); } &&
24082          { ac_try='test -z "$ac_cxx_werror_flag"
24083                          || test ! -s conftest.err'
24084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24085   (eval $ac_try) 2>&5
24086   ac_status=$?
24087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24088   (exit $ac_status); }; } &&
24089          { ac_try='test -s conftest.$ac_objext'
24090   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24091   (eval $ac_try) 2>&5
24092   ac_status=$?
24093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24094   (exit $ac_status); }; }; then
24095   glibcxx_cv_func__log10l_use=yes
24096 else
24097   echo "$as_me: failed program was:" >&5
24098 sed 's/^/| /' conftest.$ac_ext >&5
24099
24100 glibcxx_cv_func__log10l_use=no
24101 fi
24102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24103       ac_ext=c
24104 ac_cpp='$CPP $CPPFLAGS'
24105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24108
24109
24110 fi
24111
24112   fi
24113   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
24114 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
24115
24116     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
24117
24118 for ac_func in _log10l
24119 do
24120 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24121 echo "$as_me:$LINENO: checking for $ac_func" >&5
24122 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24123 if eval "test \"\${$as_ac_var+set}\" = set"; then
24124   echo $ECHO_N "(cached) $ECHO_C" >&6
24125 else
24126   if test x$gcc_no_link = xyes; then
24127   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24128 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24129    { (exit 1); exit 1; }; }
24130 fi
24131 cat >conftest.$ac_ext <<_ACEOF
24132 /* confdefs.h.  */
24133 _ACEOF
24134 cat confdefs.h >>conftest.$ac_ext
24135 cat >>conftest.$ac_ext <<_ACEOF
24136 /* end confdefs.h.  */
24137 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24138    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24139 #define $ac_func innocuous_$ac_func
24140
24141 /* System header to define __stub macros and hopefully few prototypes,
24142     which can conflict with char $ac_func (); below.
24143     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24144     <limits.h> exists even on freestanding compilers.  */
24145
24146 #ifdef __STDC__
24147 # include <limits.h>
24148 #else
24149 # include <assert.h>
24150 #endif
24151
24152 #undef $ac_func
24153
24154 /* Override any gcc2 internal prototype to avoid an error.  */
24155 #ifdef __cplusplus
24156 extern "C"
24157 {
24158 #endif
24159 /* We use char because int might match the return type of a gcc2
24160    builtin and then its argument prototype would still apply.  */
24161 char $ac_func ();
24162 /* The GNU C library defines this for functions which it implements
24163     to always fail with ENOSYS.  Some functions are actually named
24164     something starting with __ and the normal name is an alias.  */
24165 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24166 choke me
24167 #else
24168 char (*f) () = $ac_func;
24169 #endif
24170 #ifdef __cplusplus
24171 }
24172 #endif
24173
24174 int
24175 main ()
24176 {
24177 return f != $ac_func;
24178   ;
24179   return 0;
24180 }
24181 _ACEOF
24182 rm -f conftest.$ac_objext conftest$ac_exeext
24183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24184   (eval $ac_link) 2>conftest.er1
24185   ac_status=$?
24186   grep -v '^ *+' conftest.er1 >conftest.err
24187   rm -f conftest.er1
24188   cat conftest.err >&5
24189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24190   (exit $ac_status); } &&
24191          { ac_try='test -z "$ac_c_werror_flag"
24192                          || test ! -s conftest.err'
24193   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24194   (eval $ac_try) 2>&5
24195   ac_status=$?
24196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24197   (exit $ac_status); }; } &&
24198          { ac_try='test -s conftest$ac_exeext'
24199   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24200   (eval $ac_try) 2>&5
24201   ac_status=$?
24202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24203   (exit $ac_status); }; }; then
24204   eval "$as_ac_var=yes"
24205 else
24206   echo "$as_me: failed program was:" >&5
24207 sed 's/^/| /' conftest.$ac_ext >&5
24208
24209 eval "$as_ac_var=no"
24210 fi
24211 rm -f conftest.err conftest.$ac_objext \
24212       conftest$ac_exeext conftest.$ac_ext
24213 fi
24214 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24215 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24216 if test `eval echo '${'$as_ac_var'}'` = yes; then
24217   cat >>confdefs.h <<_ACEOF
24218 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24219 _ACEOF
24220
24221 fi
24222 done
24223
24224     fi
24225   fi
24226
24227
24228
24229   echo "$as_me:$LINENO: checking for modfl declaration" >&5
24230 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
24231   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
24232     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
24233   echo $ECHO_N "(cached) $ECHO_C" >&6
24234 else
24235
24236
24237
24238       ac_ext=cc
24239 ac_cpp='$CXXCPP $CPPFLAGS'
24240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24243
24244       cat >conftest.$ac_ext <<_ACEOF
24245 /* confdefs.h.  */
24246 _ACEOF
24247 cat confdefs.h >>conftest.$ac_ext
24248 cat >>conftest.$ac_ext <<_ACEOF
24249 /* end confdefs.h.  */
24250 #include <math.h>
24251 int
24252 main ()
24253 {
24254  modfl(0, 0);
24255   ;
24256   return 0;
24257 }
24258 _ACEOF
24259 rm -f conftest.$ac_objext
24260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24261   (eval $ac_compile) 2>conftest.er1
24262   ac_status=$?
24263   grep -v '^ *+' conftest.er1 >conftest.err
24264   rm -f conftest.er1
24265   cat conftest.err >&5
24266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24267   (exit $ac_status); } &&
24268          { ac_try='test -z "$ac_cxx_werror_flag"
24269                          || test ! -s conftest.err'
24270   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24271   (eval $ac_try) 2>&5
24272   ac_status=$?
24273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24274   (exit $ac_status); }; } &&
24275          { ac_try='test -s conftest.$ac_objext'
24276   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24277   (eval $ac_try) 2>&5
24278   ac_status=$?
24279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24280   (exit $ac_status); }; }; then
24281   glibcxx_cv_func_modfl_use=yes
24282 else
24283   echo "$as_me: failed program was:" >&5
24284 sed 's/^/| /' conftest.$ac_ext >&5
24285
24286 glibcxx_cv_func_modfl_use=no
24287 fi
24288 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24289       ac_ext=c
24290 ac_cpp='$CPP $CPPFLAGS'
24291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24294
24295
24296 fi
24297
24298   fi
24299   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
24300 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
24301
24302   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
24303
24304 for ac_func in modfl
24305 do
24306 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24307 echo "$as_me:$LINENO: checking for $ac_func" >&5
24308 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24309 if eval "test \"\${$as_ac_var+set}\" = set"; then
24310   echo $ECHO_N "(cached) $ECHO_C" >&6
24311 else
24312   if test x$gcc_no_link = xyes; then
24313   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24314 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24315    { (exit 1); exit 1; }; }
24316 fi
24317 cat >conftest.$ac_ext <<_ACEOF
24318 /* confdefs.h.  */
24319 _ACEOF
24320 cat confdefs.h >>conftest.$ac_ext
24321 cat >>conftest.$ac_ext <<_ACEOF
24322 /* end confdefs.h.  */
24323 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24324    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24325 #define $ac_func innocuous_$ac_func
24326
24327 /* System header to define __stub macros and hopefully few prototypes,
24328     which can conflict with char $ac_func (); below.
24329     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24330     <limits.h> exists even on freestanding compilers.  */
24331
24332 #ifdef __STDC__
24333 # include <limits.h>
24334 #else
24335 # include <assert.h>
24336 #endif
24337
24338 #undef $ac_func
24339
24340 /* Override any gcc2 internal prototype to avoid an error.  */
24341 #ifdef __cplusplus
24342 extern "C"
24343 {
24344 #endif
24345 /* We use char because int might match the return type of a gcc2
24346    builtin and then its argument prototype would still apply.  */
24347 char $ac_func ();
24348 /* The GNU C library defines this for functions which it implements
24349     to always fail with ENOSYS.  Some functions are actually named
24350     something starting with __ and the normal name is an alias.  */
24351 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24352 choke me
24353 #else
24354 char (*f) () = $ac_func;
24355 #endif
24356 #ifdef __cplusplus
24357 }
24358 #endif
24359
24360 int
24361 main ()
24362 {
24363 return f != $ac_func;
24364   ;
24365   return 0;
24366 }
24367 _ACEOF
24368 rm -f conftest.$ac_objext conftest$ac_exeext
24369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24370   (eval $ac_link) 2>conftest.er1
24371   ac_status=$?
24372   grep -v '^ *+' conftest.er1 >conftest.err
24373   rm -f conftest.er1
24374   cat conftest.err >&5
24375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24376   (exit $ac_status); } &&
24377          { ac_try='test -z "$ac_c_werror_flag"
24378                          || test ! -s conftest.err'
24379   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24380   (eval $ac_try) 2>&5
24381   ac_status=$?
24382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24383   (exit $ac_status); }; } &&
24384          { ac_try='test -s conftest$ac_exeext'
24385   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24386   (eval $ac_try) 2>&5
24387   ac_status=$?
24388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24389   (exit $ac_status); }; }; then
24390   eval "$as_ac_var=yes"
24391 else
24392   echo "$as_me: failed program was:" >&5
24393 sed 's/^/| /' conftest.$ac_ext >&5
24394
24395 eval "$as_ac_var=no"
24396 fi
24397 rm -f conftest.err conftest.$ac_objext \
24398       conftest$ac_exeext conftest.$ac_ext
24399 fi
24400 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24401 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24402 if test `eval echo '${'$as_ac_var'}'` = yes; then
24403   cat >>confdefs.h <<_ACEOF
24404 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24405 _ACEOF
24406
24407 fi
24408 done
24409
24410   else
24411
24412   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
24413 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
24414   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
24415     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
24416   echo $ECHO_N "(cached) $ECHO_C" >&6
24417 else
24418
24419
24420
24421       ac_ext=cc
24422 ac_cpp='$CXXCPP $CPPFLAGS'
24423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24426
24427       cat >conftest.$ac_ext <<_ACEOF
24428 /* confdefs.h.  */
24429 _ACEOF
24430 cat confdefs.h >>conftest.$ac_ext
24431 cat >>conftest.$ac_ext <<_ACEOF
24432 /* end confdefs.h.  */
24433 #include <math.h>
24434 int
24435 main ()
24436 {
24437  _modfl(0, 0);
24438   ;
24439   return 0;
24440 }
24441 _ACEOF
24442 rm -f conftest.$ac_objext
24443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24444   (eval $ac_compile) 2>conftest.er1
24445   ac_status=$?
24446   grep -v '^ *+' conftest.er1 >conftest.err
24447   rm -f conftest.er1
24448   cat conftest.err >&5
24449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24450   (exit $ac_status); } &&
24451          { ac_try='test -z "$ac_cxx_werror_flag"
24452                          || test ! -s conftest.err'
24453   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24454   (eval $ac_try) 2>&5
24455   ac_status=$?
24456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24457   (exit $ac_status); }; } &&
24458          { ac_try='test -s conftest.$ac_objext'
24459   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24460   (eval $ac_try) 2>&5
24461   ac_status=$?
24462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24463   (exit $ac_status); }; }; then
24464   glibcxx_cv_func__modfl_use=yes
24465 else
24466   echo "$as_me: failed program was:" >&5
24467 sed 's/^/| /' conftest.$ac_ext >&5
24468
24469 glibcxx_cv_func__modfl_use=no
24470 fi
24471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24472       ac_ext=c
24473 ac_cpp='$CPP $CPPFLAGS'
24474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24477
24478
24479 fi
24480
24481   fi
24482   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
24483 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
24484
24485     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
24486
24487 for ac_func in _modfl
24488 do
24489 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24490 echo "$as_me:$LINENO: checking for $ac_func" >&5
24491 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24492 if eval "test \"\${$as_ac_var+set}\" = set"; then
24493   echo $ECHO_N "(cached) $ECHO_C" >&6
24494 else
24495   if test x$gcc_no_link = xyes; then
24496   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24497 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24498    { (exit 1); exit 1; }; }
24499 fi
24500 cat >conftest.$ac_ext <<_ACEOF
24501 /* confdefs.h.  */
24502 _ACEOF
24503 cat confdefs.h >>conftest.$ac_ext
24504 cat >>conftest.$ac_ext <<_ACEOF
24505 /* end confdefs.h.  */
24506 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24507    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24508 #define $ac_func innocuous_$ac_func
24509
24510 /* System header to define __stub macros and hopefully few prototypes,
24511     which can conflict with char $ac_func (); below.
24512     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24513     <limits.h> exists even on freestanding compilers.  */
24514
24515 #ifdef __STDC__
24516 # include <limits.h>
24517 #else
24518 # include <assert.h>
24519 #endif
24520
24521 #undef $ac_func
24522
24523 /* Override any gcc2 internal prototype to avoid an error.  */
24524 #ifdef __cplusplus
24525 extern "C"
24526 {
24527 #endif
24528 /* We use char because int might match the return type of a gcc2
24529    builtin and then its argument prototype would still apply.  */
24530 char $ac_func ();
24531 /* The GNU C library defines this for functions which it implements
24532     to always fail with ENOSYS.  Some functions are actually named
24533     something starting with __ and the normal name is an alias.  */
24534 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24535 choke me
24536 #else
24537 char (*f) () = $ac_func;
24538 #endif
24539 #ifdef __cplusplus
24540 }
24541 #endif
24542
24543 int
24544 main ()
24545 {
24546 return f != $ac_func;
24547   ;
24548   return 0;
24549 }
24550 _ACEOF
24551 rm -f conftest.$ac_objext conftest$ac_exeext
24552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24553   (eval $ac_link) 2>conftest.er1
24554   ac_status=$?
24555   grep -v '^ *+' conftest.er1 >conftest.err
24556   rm -f conftest.er1
24557   cat conftest.err >&5
24558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24559   (exit $ac_status); } &&
24560          { ac_try='test -z "$ac_c_werror_flag"
24561                          || test ! -s conftest.err'
24562   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24563   (eval $ac_try) 2>&5
24564   ac_status=$?
24565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24566   (exit $ac_status); }; } &&
24567          { ac_try='test -s conftest$ac_exeext'
24568   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24569   (eval $ac_try) 2>&5
24570   ac_status=$?
24571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24572   (exit $ac_status); }; }; then
24573   eval "$as_ac_var=yes"
24574 else
24575   echo "$as_me: failed program was:" >&5
24576 sed 's/^/| /' conftest.$ac_ext >&5
24577
24578 eval "$as_ac_var=no"
24579 fi
24580 rm -f conftest.err conftest.$ac_objext \
24581       conftest$ac_exeext conftest.$ac_ext
24582 fi
24583 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24584 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24585 if test `eval echo '${'$as_ac_var'}'` = yes; then
24586   cat >>confdefs.h <<_ACEOF
24587 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24588 _ACEOF
24589
24590 fi
24591 done
24592
24593     fi
24594   fi
24595
24596
24597
24598   echo "$as_me:$LINENO: checking for powl declaration" >&5
24599 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
24600   if test x${glibcxx_cv_func_powl_use+set} != xset; then
24601     if test "${glibcxx_cv_func_powl_use+set}" = set; then
24602   echo $ECHO_N "(cached) $ECHO_C" >&6
24603 else
24604
24605
24606
24607       ac_ext=cc
24608 ac_cpp='$CXXCPP $CPPFLAGS'
24609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24612
24613       cat >conftest.$ac_ext <<_ACEOF
24614 /* confdefs.h.  */
24615 _ACEOF
24616 cat confdefs.h >>conftest.$ac_ext
24617 cat >>conftest.$ac_ext <<_ACEOF
24618 /* end confdefs.h.  */
24619 #include <math.h>
24620 int
24621 main ()
24622 {
24623  powl(0, 0);
24624   ;
24625   return 0;
24626 }
24627 _ACEOF
24628 rm -f conftest.$ac_objext
24629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24630   (eval $ac_compile) 2>conftest.er1
24631   ac_status=$?
24632   grep -v '^ *+' conftest.er1 >conftest.err
24633   rm -f conftest.er1
24634   cat conftest.err >&5
24635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24636   (exit $ac_status); } &&
24637          { ac_try='test -z "$ac_cxx_werror_flag"
24638                          || test ! -s conftest.err'
24639   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24640   (eval $ac_try) 2>&5
24641   ac_status=$?
24642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24643   (exit $ac_status); }; } &&
24644          { ac_try='test -s conftest.$ac_objext'
24645   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24646   (eval $ac_try) 2>&5
24647   ac_status=$?
24648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24649   (exit $ac_status); }; }; then
24650   glibcxx_cv_func_powl_use=yes
24651 else
24652   echo "$as_me: failed program was:" >&5
24653 sed 's/^/| /' conftest.$ac_ext >&5
24654
24655 glibcxx_cv_func_powl_use=no
24656 fi
24657 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24658       ac_ext=c
24659 ac_cpp='$CPP $CPPFLAGS'
24660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24663
24664
24665 fi
24666
24667   fi
24668   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
24669 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
24670
24671   if test x$glibcxx_cv_func_powl_use = x"yes"; then
24672
24673 for ac_func in powl
24674 do
24675 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24676 echo "$as_me:$LINENO: checking for $ac_func" >&5
24677 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24678 if eval "test \"\${$as_ac_var+set}\" = set"; then
24679   echo $ECHO_N "(cached) $ECHO_C" >&6
24680 else
24681   if test x$gcc_no_link = xyes; then
24682   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24683 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24684    { (exit 1); exit 1; }; }
24685 fi
24686 cat >conftest.$ac_ext <<_ACEOF
24687 /* confdefs.h.  */
24688 _ACEOF
24689 cat confdefs.h >>conftest.$ac_ext
24690 cat >>conftest.$ac_ext <<_ACEOF
24691 /* end confdefs.h.  */
24692 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24693    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24694 #define $ac_func innocuous_$ac_func
24695
24696 /* System header to define __stub macros and hopefully few prototypes,
24697     which can conflict with char $ac_func (); below.
24698     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24699     <limits.h> exists even on freestanding compilers.  */
24700
24701 #ifdef __STDC__
24702 # include <limits.h>
24703 #else
24704 # include <assert.h>
24705 #endif
24706
24707 #undef $ac_func
24708
24709 /* Override any gcc2 internal prototype to avoid an error.  */
24710 #ifdef __cplusplus
24711 extern "C"
24712 {
24713 #endif
24714 /* We use char because int might match the return type of a gcc2
24715    builtin and then its argument prototype would still apply.  */
24716 char $ac_func ();
24717 /* The GNU C library defines this for functions which it implements
24718     to always fail with ENOSYS.  Some functions are actually named
24719     something starting with __ and the normal name is an alias.  */
24720 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24721 choke me
24722 #else
24723 char (*f) () = $ac_func;
24724 #endif
24725 #ifdef __cplusplus
24726 }
24727 #endif
24728
24729 int
24730 main ()
24731 {
24732 return f != $ac_func;
24733   ;
24734   return 0;
24735 }
24736 _ACEOF
24737 rm -f conftest.$ac_objext conftest$ac_exeext
24738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24739   (eval $ac_link) 2>conftest.er1
24740   ac_status=$?
24741   grep -v '^ *+' conftest.er1 >conftest.err
24742   rm -f conftest.er1
24743   cat conftest.err >&5
24744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24745   (exit $ac_status); } &&
24746          { ac_try='test -z "$ac_c_werror_flag"
24747                          || test ! -s conftest.err'
24748   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24749   (eval $ac_try) 2>&5
24750   ac_status=$?
24751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24752   (exit $ac_status); }; } &&
24753          { ac_try='test -s conftest$ac_exeext'
24754   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24755   (eval $ac_try) 2>&5
24756   ac_status=$?
24757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24758   (exit $ac_status); }; }; then
24759   eval "$as_ac_var=yes"
24760 else
24761   echo "$as_me: failed program was:" >&5
24762 sed 's/^/| /' conftest.$ac_ext >&5
24763
24764 eval "$as_ac_var=no"
24765 fi
24766 rm -f conftest.err conftest.$ac_objext \
24767       conftest$ac_exeext conftest.$ac_ext
24768 fi
24769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24770 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24771 if test `eval echo '${'$as_ac_var'}'` = yes; then
24772   cat >>confdefs.h <<_ACEOF
24773 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24774 _ACEOF
24775
24776 fi
24777 done
24778
24779   else
24780
24781   echo "$as_me:$LINENO: checking for _powl declaration" >&5
24782 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
24783   if test x${glibcxx_cv_func__powl_use+set} != xset; then
24784     if test "${glibcxx_cv_func__powl_use+set}" = set; then
24785   echo $ECHO_N "(cached) $ECHO_C" >&6
24786 else
24787
24788
24789
24790       ac_ext=cc
24791 ac_cpp='$CXXCPP $CPPFLAGS'
24792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24795
24796       cat >conftest.$ac_ext <<_ACEOF
24797 /* confdefs.h.  */
24798 _ACEOF
24799 cat confdefs.h >>conftest.$ac_ext
24800 cat >>conftest.$ac_ext <<_ACEOF
24801 /* end confdefs.h.  */
24802 #include <math.h>
24803 int
24804 main ()
24805 {
24806  _powl(0, 0);
24807   ;
24808   return 0;
24809 }
24810 _ACEOF
24811 rm -f conftest.$ac_objext
24812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24813   (eval $ac_compile) 2>conftest.er1
24814   ac_status=$?
24815   grep -v '^ *+' conftest.er1 >conftest.err
24816   rm -f conftest.er1
24817   cat conftest.err >&5
24818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24819   (exit $ac_status); } &&
24820          { ac_try='test -z "$ac_cxx_werror_flag"
24821                          || test ! -s conftest.err'
24822   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24823   (eval $ac_try) 2>&5
24824   ac_status=$?
24825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24826   (exit $ac_status); }; } &&
24827          { ac_try='test -s conftest.$ac_objext'
24828   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24829   (eval $ac_try) 2>&5
24830   ac_status=$?
24831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24832   (exit $ac_status); }; }; then
24833   glibcxx_cv_func__powl_use=yes
24834 else
24835   echo "$as_me: failed program was:" >&5
24836 sed 's/^/| /' conftest.$ac_ext >&5
24837
24838 glibcxx_cv_func__powl_use=no
24839 fi
24840 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24841       ac_ext=c
24842 ac_cpp='$CPP $CPPFLAGS'
24843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24846
24847
24848 fi
24849
24850   fi
24851   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
24852 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
24853
24854     if test x$glibcxx_cv_func__powl_use = x"yes"; then
24855
24856 for ac_func in _powl
24857 do
24858 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24859 echo "$as_me:$LINENO: checking for $ac_func" >&5
24860 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24861 if eval "test \"\${$as_ac_var+set}\" = set"; then
24862   echo $ECHO_N "(cached) $ECHO_C" >&6
24863 else
24864   if test x$gcc_no_link = xyes; then
24865   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24866 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24867    { (exit 1); exit 1; }; }
24868 fi
24869 cat >conftest.$ac_ext <<_ACEOF
24870 /* confdefs.h.  */
24871 _ACEOF
24872 cat confdefs.h >>conftest.$ac_ext
24873 cat >>conftest.$ac_ext <<_ACEOF
24874 /* end confdefs.h.  */
24875 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24876    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
24877 #define $ac_func innocuous_$ac_func
24878
24879 /* System header to define __stub macros and hopefully few prototypes,
24880     which can conflict with char $ac_func (); below.
24881     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24882     <limits.h> exists even on freestanding compilers.  */
24883
24884 #ifdef __STDC__
24885 # include <limits.h>
24886 #else
24887 # include <assert.h>
24888 #endif
24889
24890 #undef $ac_func
24891
24892 /* Override any gcc2 internal prototype to avoid an error.  */
24893 #ifdef __cplusplus
24894 extern "C"
24895 {
24896 #endif
24897 /* We use char because int might match the return type of a gcc2
24898    builtin and then its argument prototype would still apply.  */
24899 char $ac_func ();
24900 /* The GNU C library defines this for functions which it implements
24901     to always fail with ENOSYS.  Some functions are actually named
24902     something starting with __ and the normal name is an alias.  */
24903 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24904 choke me
24905 #else
24906 char (*f) () = $ac_func;
24907 #endif
24908 #ifdef __cplusplus
24909 }
24910 #endif
24911
24912 int
24913 main ()
24914 {
24915 return f != $ac_func;
24916   ;
24917   return 0;
24918 }
24919 _ACEOF
24920 rm -f conftest.$ac_objext conftest$ac_exeext
24921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24922   (eval $ac_link) 2>conftest.er1
24923   ac_status=$?
24924   grep -v '^ *+' conftest.er1 >conftest.err
24925   rm -f conftest.er1
24926   cat conftest.err >&5
24927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24928   (exit $ac_status); } &&
24929          { ac_try='test -z "$ac_c_werror_flag"
24930                          || test ! -s conftest.err'
24931   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24932   (eval $ac_try) 2>&5
24933   ac_status=$?
24934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24935   (exit $ac_status); }; } &&
24936          { ac_try='test -s conftest$ac_exeext'
24937   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24938   (eval $ac_try) 2>&5
24939   ac_status=$?
24940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
24941   (exit $ac_status); }; }; then
24942   eval "$as_ac_var=yes"
24943 else
24944   echo "$as_me: failed program was:" >&5
24945 sed 's/^/| /' conftest.$ac_ext >&5
24946
24947 eval "$as_ac_var=no"
24948 fi
24949 rm -f conftest.err conftest.$ac_objext \
24950       conftest$ac_exeext conftest.$ac_ext
24951 fi
24952 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24953 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24954 if test `eval echo '${'$as_ac_var'}'` = yes; then
24955   cat >>confdefs.h <<_ACEOF
24956 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24957 _ACEOF
24958
24959 fi
24960 done
24961
24962     fi
24963   fi
24964
24965
24966
24967   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
24968 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
24969   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
24970     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
24971   echo $ECHO_N "(cached) $ECHO_C" >&6
24972 else
24973
24974
24975
24976       ac_ext=cc
24977 ac_cpp='$CXXCPP $CPPFLAGS'
24978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24981
24982       cat >conftest.$ac_ext <<_ACEOF
24983 /* confdefs.h.  */
24984 _ACEOF
24985 cat confdefs.h >>conftest.$ac_ext
24986 cat >>conftest.$ac_ext <<_ACEOF
24987 /* end confdefs.h.  */
24988 #include <math.h>
24989                       #ifdef HAVE_IEEEFP_H
24990                       #include <ieeefp.h>
24991                       #endif
24992
24993 int
24994 main ()
24995 {
24996  sqrtl(0);
24997   ;
24998   return 0;
24999 }
25000 _ACEOF
25001 rm -f conftest.$ac_objext
25002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25003   (eval $ac_compile) 2>conftest.er1
25004   ac_status=$?
25005   grep -v '^ *+' conftest.er1 >conftest.err
25006   rm -f conftest.er1
25007   cat conftest.err >&5
25008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25009   (exit $ac_status); } &&
25010          { ac_try='test -z "$ac_cxx_werror_flag"
25011                          || test ! -s conftest.err'
25012   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25013   (eval $ac_try) 2>&5
25014   ac_status=$?
25015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25016   (exit $ac_status); }; } &&
25017          { ac_try='test -s conftest.$ac_objext'
25018   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25019   (eval $ac_try) 2>&5
25020   ac_status=$?
25021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25022   (exit $ac_status); }; }; then
25023   glibcxx_cv_func_sqrtl_use=yes
25024 else
25025   echo "$as_me: failed program was:" >&5
25026 sed 's/^/| /' conftest.$ac_ext >&5
25027
25028 glibcxx_cv_func_sqrtl_use=no
25029 fi
25030 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25031       ac_ext=c
25032 ac_cpp='$CPP $CPPFLAGS'
25033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25036
25037
25038 fi
25039
25040   fi
25041   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
25042 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
25043
25044   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
25045
25046 for ac_func in sqrtl
25047 do
25048 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25049 echo "$as_me:$LINENO: checking for $ac_func" >&5
25050 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25051 if eval "test \"\${$as_ac_var+set}\" = set"; then
25052   echo $ECHO_N "(cached) $ECHO_C" >&6
25053 else
25054   if test x$gcc_no_link = xyes; then
25055   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25056 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25057    { (exit 1); exit 1; }; }
25058 fi
25059 cat >conftest.$ac_ext <<_ACEOF
25060 /* confdefs.h.  */
25061 _ACEOF
25062 cat confdefs.h >>conftest.$ac_ext
25063 cat >>conftest.$ac_ext <<_ACEOF
25064 /* end confdefs.h.  */
25065 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25066    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25067 #define $ac_func innocuous_$ac_func
25068
25069 /* System header to define __stub macros and hopefully few prototypes,
25070     which can conflict with char $ac_func (); below.
25071     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25072     <limits.h> exists even on freestanding compilers.  */
25073
25074 #ifdef __STDC__
25075 # include <limits.h>
25076 #else
25077 # include <assert.h>
25078 #endif
25079
25080 #undef $ac_func
25081
25082 /* Override any gcc2 internal prototype to avoid an error.  */
25083 #ifdef __cplusplus
25084 extern "C"
25085 {
25086 #endif
25087 /* We use char because int might match the return type of a gcc2
25088    builtin and then its argument prototype would still apply.  */
25089 char $ac_func ();
25090 /* The GNU C library defines this for functions which it implements
25091     to always fail with ENOSYS.  Some functions are actually named
25092     something starting with __ and the normal name is an alias.  */
25093 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25094 choke me
25095 #else
25096 char (*f) () = $ac_func;
25097 #endif
25098 #ifdef __cplusplus
25099 }
25100 #endif
25101
25102 int
25103 main ()
25104 {
25105 return f != $ac_func;
25106   ;
25107   return 0;
25108 }
25109 _ACEOF
25110 rm -f conftest.$ac_objext conftest$ac_exeext
25111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25112   (eval $ac_link) 2>conftest.er1
25113   ac_status=$?
25114   grep -v '^ *+' conftest.er1 >conftest.err
25115   rm -f conftest.er1
25116   cat conftest.err >&5
25117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25118   (exit $ac_status); } &&
25119          { ac_try='test -z "$ac_c_werror_flag"
25120                          || test ! -s conftest.err'
25121   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25122   (eval $ac_try) 2>&5
25123   ac_status=$?
25124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25125   (exit $ac_status); }; } &&
25126          { ac_try='test -s conftest$ac_exeext'
25127   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25128   (eval $ac_try) 2>&5
25129   ac_status=$?
25130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25131   (exit $ac_status); }; }; then
25132   eval "$as_ac_var=yes"
25133 else
25134   echo "$as_me: failed program was:" >&5
25135 sed 's/^/| /' conftest.$ac_ext >&5
25136
25137 eval "$as_ac_var=no"
25138 fi
25139 rm -f conftest.err conftest.$ac_objext \
25140       conftest$ac_exeext conftest.$ac_ext
25141 fi
25142 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25143 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25144 if test `eval echo '${'$as_ac_var'}'` = yes; then
25145   cat >>confdefs.h <<_ACEOF
25146 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25147 _ACEOF
25148
25149 fi
25150 done
25151
25152   else
25153
25154   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
25155 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
25156   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
25157     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
25158   echo $ECHO_N "(cached) $ECHO_C" >&6
25159 else
25160
25161
25162
25163       ac_ext=cc
25164 ac_cpp='$CXXCPP $CPPFLAGS'
25165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25168
25169       cat >conftest.$ac_ext <<_ACEOF
25170 /* confdefs.h.  */
25171 _ACEOF
25172 cat confdefs.h >>conftest.$ac_ext
25173 cat >>conftest.$ac_ext <<_ACEOF
25174 /* end confdefs.h.  */
25175 #include <math.h>
25176                       #ifdef HAVE_IEEEFP_H
25177                       #include <ieeefp.h>
25178                       #endif
25179
25180 int
25181 main ()
25182 {
25183  _sqrtl(0);
25184   ;
25185   return 0;
25186 }
25187 _ACEOF
25188 rm -f conftest.$ac_objext
25189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25190   (eval $ac_compile) 2>conftest.er1
25191   ac_status=$?
25192   grep -v '^ *+' conftest.er1 >conftest.err
25193   rm -f conftest.er1
25194   cat conftest.err >&5
25195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25196   (exit $ac_status); } &&
25197          { ac_try='test -z "$ac_cxx_werror_flag"
25198                          || test ! -s conftest.err'
25199   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25200   (eval $ac_try) 2>&5
25201   ac_status=$?
25202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25203   (exit $ac_status); }; } &&
25204          { ac_try='test -s conftest.$ac_objext'
25205   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25206   (eval $ac_try) 2>&5
25207   ac_status=$?
25208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25209   (exit $ac_status); }; }; then
25210   glibcxx_cv_func__sqrtl_use=yes
25211 else
25212   echo "$as_me: failed program was:" >&5
25213 sed 's/^/| /' conftest.$ac_ext >&5
25214
25215 glibcxx_cv_func__sqrtl_use=no
25216 fi
25217 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25218       ac_ext=c
25219 ac_cpp='$CPP $CPPFLAGS'
25220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25223
25224
25225 fi
25226
25227   fi
25228   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
25229 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
25230
25231     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
25232
25233 for ac_func in _sqrtl
25234 do
25235 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25236 echo "$as_me:$LINENO: checking for $ac_func" >&5
25237 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25238 if eval "test \"\${$as_ac_var+set}\" = set"; then
25239   echo $ECHO_N "(cached) $ECHO_C" >&6
25240 else
25241   if test x$gcc_no_link = xyes; then
25242   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25243 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25244    { (exit 1); exit 1; }; }
25245 fi
25246 cat >conftest.$ac_ext <<_ACEOF
25247 /* confdefs.h.  */
25248 _ACEOF
25249 cat confdefs.h >>conftest.$ac_ext
25250 cat >>conftest.$ac_ext <<_ACEOF
25251 /* end confdefs.h.  */
25252 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25253    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25254 #define $ac_func innocuous_$ac_func
25255
25256 /* System header to define __stub macros and hopefully few prototypes,
25257     which can conflict with char $ac_func (); below.
25258     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25259     <limits.h> exists even on freestanding compilers.  */
25260
25261 #ifdef __STDC__
25262 # include <limits.h>
25263 #else
25264 # include <assert.h>
25265 #endif
25266
25267 #undef $ac_func
25268
25269 /* Override any gcc2 internal prototype to avoid an error.  */
25270 #ifdef __cplusplus
25271 extern "C"
25272 {
25273 #endif
25274 /* We use char because int might match the return type of a gcc2
25275    builtin and then its argument prototype would still apply.  */
25276 char $ac_func ();
25277 /* The GNU C library defines this for functions which it implements
25278     to always fail with ENOSYS.  Some functions are actually named
25279     something starting with __ and the normal name is an alias.  */
25280 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25281 choke me
25282 #else
25283 char (*f) () = $ac_func;
25284 #endif
25285 #ifdef __cplusplus
25286 }
25287 #endif
25288
25289 int
25290 main ()
25291 {
25292 return f != $ac_func;
25293   ;
25294   return 0;
25295 }
25296 _ACEOF
25297 rm -f conftest.$ac_objext conftest$ac_exeext
25298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25299   (eval $ac_link) 2>conftest.er1
25300   ac_status=$?
25301   grep -v '^ *+' conftest.er1 >conftest.err
25302   rm -f conftest.er1
25303   cat conftest.err >&5
25304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25305   (exit $ac_status); } &&
25306          { ac_try='test -z "$ac_c_werror_flag"
25307                          || test ! -s conftest.err'
25308   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25309   (eval $ac_try) 2>&5
25310   ac_status=$?
25311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25312   (exit $ac_status); }; } &&
25313          { ac_try='test -s conftest$ac_exeext'
25314   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25315   (eval $ac_try) 2>&5
25316   ac_status=$?
25317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25318   (exit $ac_status); }; }; then
25319   eval "$as_ac_var=yes"
25320 else
25321   echo "$as_me: failed program was:" >&5
25322 sed 's/^/| /' conftest.$ac_ext >&5
25323
25324 eval "$as_ac_var=no"
25325 fi
25326 rm -f conftest.err conftest.$ac_objext \
25327       conftest$ac_exeext conftest.$ac_ext
25328 fi
25329 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25330 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25331 if test `eval echo '${'$as_ac_var'}'` = yes; then
25332   cat >>confdefs.h <<_ACEOF
25333 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25334 _ACEOF
25335
25336 fi
25337 done
25338
25339     fi
25340   fi
25341
25342
25343
25344   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
25345 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
25346   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
25347     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
25348   echo $ECHO_N "(cached) $ECHO_C" >&6
25349 else
25350
25351
25352
25353       ac_ext=cc
25354 ac_cpp='$CXXCPP $CPPFLAGS'
25355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25358
25359       cat >conftest.$ac_ext <<_ACEOF
25360 /* confdefs.h.  */
25361 _ACEOF
25362 cat confdefs.h >>conftest.$ac_ext
25363 cat >>conftest.$ac_ext <<_ACEOF
25364 /* end confdefs.h.  */
25365 #include <math.h>
25366 int
25367 main ()
25368 {
25369  sincosl(0, 0, 0);
25370   ;
25371   return 0;
25372 }
25373 _ACEOF
25374 rm -f conftest.$ac_objext
25375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25376   (eval $ac_compile) 2>conftest.er1
25377   ac_status=$?
25378   grep -v '^ *+' conftest.er1 >conftest.err
25379   rm -f conftest.er1
25380   cat conftest.err >&5
25381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25382   (exit $ac_status); } &&
25383          { ac_try='test -z "$ac_cxx_werror_flag"
25384                          || test ! -s conftest.err'
25385   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25386   (eval $ac_try) 2>&5
25387   ac_status=$?
25388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25389   (exit $ac_status); }; } &&
25390          { ac_try='test -s conftest.$ac_objext'
25391   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25392   (eval $ac_try) 2>&5
25393   ac_status=$?
25394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25395   (exit $ac_status); }; }; then
25396   glibcxx_cv_func_sincosl_use=yes
25397 else
25398   echo "$as_me: failed program was:" >&5
25399 sed 's/^/| /' conftest.$ac_ext >&5
25400
25401 glibcxx_cv_func_sincosl_use=no
25402 fi
25403 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25404       ac_ext=c
25405 ac_cpp='$CPP $CPPFLAGS'
25406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25409
25410
25411 fi
25412
25413   fi
25414   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
25415 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
25416
25417   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
25418
25419 for ac_func in sincosl
25420 do
25421 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25422 echo "$as_me:$LINENO: checking for $ac_func" >&5
25423 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25424 if eval "test \"\${$as_ac_var+set}\" = set"; then
25425   echo $ECHO_N "(cached) $ECHO_C" >&6
25426 else
25427   if test x$gcc_no_link = xyes; then
25428   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25429 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25430    { (exit 1); exit 1; }; }
25431 fi
25432 cat >conftest.$ac_ext <<_ACEOF
25433 /* confdefs.h.  */
25434 _ACEOF
25435 cat confdefs.h >>conftest.$ac_ext
25436 cat >>conftest.$ac_ext <<_ACEOF
25437 /* end confdefs.h.  */
25438 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25439    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25440 #define $ac_func innocuous_$ac_func
25441
25442 /* System header to define __stub macros and hopefully few prototypes,
25443     which can conflict with char $ac_func (); below.
25444     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25445     <limits.h> exists even on freestanding compilers.  */
25446
25447 #ifdef __STDC__
25448 # include <limits.h>
25449 #else
25450 # include <assert.h>
25451 #endif
25452
25453 #undef $ac_func
25454
25455 /* Override any gcc2 internal prototype to avoid an error.  */
25456 #ifdef __cplusplus
25457 extern "C"
25458 {
25459 #endif
25460 /* We use char because int might match the return type of a gcc2
25461    builtin and then its argument prototype would still apply.  */
25462 char $ac_func ();
25463 /* The GNU C library defines this for functions which it implements
25464     to always fail with ENOSYS.  Some functions are actually named
25465     something starting with __ and the normal name is an alias.  */
25466 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25467 choke me
25468 #else
25469 char (*f) () = $ac_func;
25470 #endif
25471 #ifdef __cplusplus
25472 }
25473 #endif
25474
25475 int
25476 main ()
25477 {
25478 return f != $ac_func;
25479   ;
25480   return 0;
25481 }
25482 _ACEOF
25483 rm -f conftest.$ac_objext conftest$ac_exeext
25484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25485   (eval $ac_link) 2>conftest.er1
25486   ac_status=$?
25487   grep -v '^ *+' conftest.er1 >conftest.err
25488   rm -f conftest.er1
25489   cat conftest.err >&5
25490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25491   (exit $ac_status); } &&
25492          { ac_try='test -z "$ac_c_werror_flag"
25493                          || test ! -s conftest.err'
25494   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25495   (eval $ac_try) 2>&5
25496   ac_status=$?
25497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25498   (exit $ac_status); }; } &&
25499          { ac_try='test -s conftest$ac_exeext'
25500   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25501   (eval $ac_try) 2>&5
25502   ac_status=$?
25503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25504   (exit $ac_status); }; }; then
25505   eval "$as_ac_var=yes"
25506 else
25507   echo "$as_me: failed program was:" >&5
25508 sed 's/^/| /' conftest.$ac_ext >&5
25509
25510 eval "$as_ac_var=no"
25511 fi
25512 rm -f conftest.err conftest.$ac_objext \
25513       conftest$ac_exeext conftest.$ac_ext
25514 fi
25515 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25516 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25517 if test `eval echo '${'$as_ac_var'}'` = yes; then
25518   cat >>confdefs.h <<_ACEOF
25519 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25520 _ACEOF
25521
25522 fi
25523 done
25524
25525   else
25526
25527   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
25528 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
25529   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25530     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
25531   echo $ECHO_N "(cached) $ECHO_C" >&6
25532 else
25533
25534
25535
25536       ac_ext=cc
25537 ac_cpp='$CXXCPP $CPPFLAGS'
25538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25541
25542       cat >conftest.$ac_ext <<_ACEOF
25543 /* confdefs.h.  */
25544 _ACEOF
25545 cat confdefs.h >>conftest.$ac_ext
25546 cat >>conftest.$ac_ext <<_ACEOF
25547 /* end confdefs.h.  */
25548 #include <math.h>
25549 int
25550 main ()
25551 {
25552  _sincosl(0, 0, 0);
25553   ;
25554   return 0;
25555 }
25556 _ACEOF
25557 rm -f conftest.$ac_objext
25558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25559   (eval $ac_compile) 2>conftest.er1
25560   ac_status=$?
25561   grep -v '^ *+' conftest.er1 >conftest.err
25562   rm -f conftest.er1
25563   cat conftest.err >&5
25564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25565   (exit $ac_status); } &&
25566          { ac_try='test -z "$ac_cxx_werror_flag"
25567                          || test ! -s conftest.err'
25568   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25569   (eval $ac_try) 2>&5
25570   ac_status=$?
25571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25572   (exit $ac_status); }; } &&
25573          { ac_try='test -s conftest.$ac_objext'
25574   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25575   (eval $ac_try) 2>&5
25576   ac_status=$?
25577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25578   (exit $ac_status); }; }; then
25579   glibcxx_cv_func__sincosl_use=yes
25580 else
25581   echo "$as_me: failed program was:" >&5
25582 sed 's/^/| /' conftest.$ac_ext >&5
25583
25584 glibcxx_cv_func__sincosl_use=no
25585 fi
25586 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25587       ac_ext=c
25588 ac_cpp='$CPP $CPPFLAGS'
25589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25592
25593
25594 fi
25595
25596   fi
25597   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
25598 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
25599
25600     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
25601
25602 for ac_func in _sincosl
25603 do
25604 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25605 echo "$as_me:$LINENO: checking for $ac_func" >&5
25606 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25607 if eval "test \"\${$as_ac_var+set}\" = set"; then
25608   echo $ECHO_N "(cached) $ECHO_C" >&6
25609 else
25610   if test x$gcc_no_link = xyes; then
25611   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25612 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25613    { (exit 1); exit 1; }; }
25614 fi
25615 cat >conftest.$ac_ext <<_ACEOF
25616 /* confdefs.h.  */
25617 _ACEOF
25618 cat confdefs.h >>conftest.$ac_ext
25619 cat >>conftest.$ac_ext <<_ACEOF
25620 /* end confdefs.h.  */
25621 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25622    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25623 #define $ac_func innocuous_$ac_func
25624
25625 /* System header to define __stub macros and hopefully few prototypes,
25626     which can conflict with char $ac_func (); below.
25627     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25628     <limits.h> exists even on freestanding compilers.  */
25629
25630 #ifdef __STDC__
25631 # include <limits.h>
25632 #else
25633 # include <assert.h>
25634 #endif
25635
25636 #undef $ac_func
25637
25638 /* Override any gcc2 internal prototype to avoid an error.  */
25639 #ifdef __cplusplus
25640 extern "C"
25641 {
25642 #endif
25643 /* We use char because int might match the return type of a gcc2
25644    builtin and then its argument prototype would still apply.  */
25645 char $ac_func ();
25646 /* The GNU C library defines this for functions which it implements
25647     to always fail with ENOSYS.  Some functions are actually named
25648     something starting with __ and the normal name is an alias.  */
25649 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25650 choke me
25651 #else
25652 char (*f) () = $ac_func;
25653 #endif
25654 #ifdef __cplusplus
25655 }
25656 #endif
25657
25658 int
25659 main ()
25660 {
25661 return f != $ac_func;
25662   ;
25663   return 0;
25664 }
25665 _ACEOF
25666 rm -f conftest.$ac_objext conftest$ac_exeext
25667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25668   (eval $ac_link) 2>conftest.er1
25669   ac_status=$?
25670   grep -v '^ *+' conftest.er1 >conftest.err
25671   rm -f conftest.er1
25672   cat conftest.err >&5
25673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25674   (exit $ac_status); } &&
25675          { ac_try='test -z "$ac_c_werror_flag"
25676                          || test ! -s conftest.err'
25677   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25678   (eval $ac_try) 2>&5
25679   ac_status=$?
25680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25681   (exit $ac_status); }; } &&
25682          { ac_try='test -s conftest$ac_exeext'
25683   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25684   (eval $ac_try) 2>&5
25685   ac_status=$?
25686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25687   (exit $ac_status); }; }; then
25688   eval "$as_ac_var=yes"
25689 else
25690   echo "$as_me: failed program was:" >&5
25691 sed 's/^/| /' conftest.$ac_ext >&5
25692
25693 eval "$as_ac_var=no"
25694 fi
25695 rm -f conftest.err conftest.$ac_objext \
25696       conftest$ac_exeext conftest.$ac_ext
25697 fi
25698 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25699 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25700 if test `eval echo '${'$as_ac_var'}'` = yes; then
25701   cat >>confdefs.h <<_ACEOF
25702 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25703 _ACEOF
25704
25705 fi
25706 done
25707
25708     fi
25709   fi
25710
25711
25712
25713   echo "$as_me:$LINENO: checking for finitel declaration" >&5
25714 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
25715   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
25716     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
25717   echo $ECHO_N "(cached) $ECHO_C" >&6
25718 else
25719
25720
25721
25722       ac_ext=cc
25723 ac_cpp='$CXXCPP $CPPFLAGS'
25724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25727
25728       cat >conftest.$ac_ext <<_ACEOF
25729 /* confdefs.h.  */
25730 _ACEOF
25731 cat confdefs.h >>conftest.$ac_ext
25732 cat >>conftest.$ac_ext <<_ACEOF
25733 /* end confdefs.h.  */
25734 #include <math.h>
25735                       #ifdef HAVE_IEEEFP_H
25736                       #include <ieeefp.h>
25737                       #endif
25738
25739 int
25740 main ()
25741 {
25742  finitel(0);
25743   ;
25744   return 0;
25745 }
25746 _ACEOF
25747 rm -f conftest.$ac_objext
25748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25749   (eval $ac_compile) 2>conftest.er1
25750   ac_status=$?
25751   grep -v '^ *+' conftest.er1 >conftest.err
25752   rm -f conftest.er1
25753   cat conftest.err >&5
25754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25755   (exit $ac_status); } &&
25756          { ac_try='test -z "$ac_cxx_werror_flag"
25757                          || test ! -s conftest.err'
25758   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25759   (eval $ac_try) 2>&5
25760   ac_status=$?
25761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25762   (exit $ac_status); }; } &&
25763          { ac_try='test -s conftest.$ac_objext'
25764   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25765   (eval $ac_try) 2>&5
25766   ac_status=$?
25767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25768   (exit $ac_status); }; }; then
25769   glibcxx_cv_func_finitel_use=yes
25770 else
25771   echo "$as_me: failed program was:" >&5
25772 sed 's/^/| /' conftest.$ac_ext >&5
25773
25774 glibcxx_cv_func_finitel_use=no
25775 fi
25776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25777       ac_ext=c
25778 ac_cpp='$CPP $CPPFLAGS'
25779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25782
25783
25784 fi
25785
25786   fi
25787   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
25788 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
25789
25790   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
25791
25792 for ac_func in finitel
25793 do
25794 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25795 echo "$as_me:$LINENO: checking for $ac_func" >&5
25796 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25797 if eval "test \"\${$as_ac_var+set}\" = set"; then
25798   echo $ECHO_N "(cached) $ECHO_C" >&6
25799 else
25800   if test x$gcc_no_link = xyes; then
25801   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25802 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25803    { (exit 1); exit 1; }; }
25804 fi
25805 cat >conftest.$ac_ext <<_ACEOF
25806 /* confdefs.h.  */
25807 _ACEOF
25808 cat confdefs.h >>conftest.$ac_ext
25809 cat >>conftest.$ac_ext <<_ACEOF
25810 /* end confdefs.h.  */
25811 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25812    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
25813 #define $ac_func innocuous_$ac_func
25814
25815 /* System header to define __stub macros and hopefully few prototypes,
25816     which can conflict with char $ac_func (); below.
25817     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25818     <limits.h> exists even on freestanding compilers.  */
25819
25820 #ifdef __STDC__
25821 # include <limits.h>
25822 #else
25823 # include <assert.h>
25824 #endif
25825
25826 #undef $ac_func
25827
25828 /* Override any gcc2 internal prototype to avoid an error.  */
25829 #ifdef __cplusplus
25830 extern "C"
25831 {
25832 #endif
25833 /* We use char because int might match the return type of a gcc2
25834    builtin and then its argument prototype would still apply.  */
25835 char $ac_func ();
25836 /* The GNU C library defines this for functions which it implements
25837     to always fail with ENOSYS.  Some functions are actually named
25838     something starting with __ and the normal name is an alias.  */
25839 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25840 choke me
25841 #else
25842 char (*f) () = $ac_func;
25843 #endif
25844 #ifdef __cplusplus
25845 }
25846 #endif
25847
25848 int
25849 main ()
25850 {
25851 return f != $ac_func;
25852   ;
25853   return 0;
25854 }
25855 _ACEOF
25856 rm -f conftest.$ac_objext conftest$ac_exeext
25857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25858   (eval $ac_link) 2>conftest.er1
25859   ac_status=$?
25860   grep -v '^ *+' conftest.er1 >conftest.err
25861   rm -f conftest.er1
25862   cat conftest.err >&5
25863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25864   (exit $ac_status); } &&
25865          { ac_try='test -z "$ac_c_werror_flag"
25866                          || test ! -s conftest.err'
25867   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25868   (eval $ac_try) 2>&5
25869   ac_status=$?
25870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25871   (exit $ac_status); }; } &&
25872          { ac_try='test -s conftest$ac_exeext'
25873   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25874   (eval $ac_try) 2>&5
25875   ac_status=$?
25876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25877   (exit $ac_status); }; }; then
25878   eval "$as_ac_var=yes"
25879 else
25880   echo "$as_me: failed program was:" >&5
25881 sed 's/^/| /' conftest.$ac_ext >&5
25882
25883 eval "$as_ac_var=no"
25884 fi
25885 rm -f conftest.err conftest.$ac_objext \
25886       conftest$ac_exeext conftest.$ac_ext
25887 fi
25888 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25889 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25890 if test `eval echo '${'$as_ac_var'}'` = yes; then
25891   cat >>confdefs.h <<_ACEOF
25892 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25893 _ACEOF
25894
25895 fi
25896 done
25897
25898   else
25899
25900   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
25901 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
25902   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
25903     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
25904   echo $ECHO_N "(cached) $ECHO_C" >&6
25905 else
25906
25907
25908
25909       ac_ext=cc
25910 ac_cpp='$CXXCPP $CPPFLAGS'
25911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25914
25915       cat >conftest.$ac_ext <<_ACEOF
25916 /* confdefs.h.  */
25917 _ACEOF
25918 cat confdefs.h >>conftest.$ac_ext
25919 cat >>conftest.$ac_ext <<_ACEOF
25920 /* end confdefs.h.  */
25921 #include <math.h>
25922                       #ifdef HAVE_IEEEFP_H
25923                       #include <ieeefp.h>
25924                       #endif
25925
25926 int
25927 main ()
25928 {
25929  _finitel(0);
25930   ;
25931   return 0;
25932 }
25933 _ACEOF
25934 rm -f conftest.$ac_objext
25935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25936   (eval $ac_compile) 2>conftest.er1
25937   ac_status=$?
25938   grep -v '^ *+' conftest.er1 >conftest.err
25939   rm -f conftest.er1
25940   cat conftest.err >&5
25941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25942   (exit $ac_status); } &&
25943          { ac_try='test -z "$ac_cxx_werror_flag"
25944                          || test ! -s conftest.err'
25945   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25946   (eval $ac_try) 2>&5
25947   ac_status=$?
25948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25949   (exit $ac_status); }; } &&
25950          { ac_try='test -s conftest.$ac_objext'
25951   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25952   (eval $ac_try) 2>&5
25953   ac_status=$?
25954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
25955   (exit $ac_status); }; }; then
25956   glibcxx_cv_func__finitel_use=yes
25957 else
25958   echo "$as_me: failed program was:" >&5
25959 sed 's/^/| /' conftest.$ac_ext >&5
25960
25961 glibcxx_cv_func__finitel_use=no
25962 fi
25963 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25964       ac_ext=c
25965 ac_cpp='$CPP $CPPFLAGS'
25966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25969
25970
25971 fi
25972
25973   fi
25974   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
25975 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
25976
25977     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
25978
25979 for ac_func in _finitel
25980 do
25981 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25982 echo "$as_me:$LINENO: checking for $ac_func" >&5
25983 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25984 if eval "test \"\${$as_ac_var+set}\" = set"; then
25985   echo $ECHO_N "(cached) $ECHO_C" >&6
25986 else
25987   if test x$gcc_no_link = xyes; then
25988   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25989 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25990    { (exit 1); exit 1; }; }
25991 fi
25992 cat >conftest.$ac_ext <<_ACEOF
25993 /* confdefs.h.  */
25994 _ACEOF
25995 cat confdefs.h >>conftest.$ac_ext
25996 cat >>conftest.$ac_ext <<_ACEOF
25997 /* end confdefs.h.  */
25998 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25999    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26000 #define $ac_func innocuous_$ac_func
26001
26002 /* System header to define __stub macros and hopefully few prototypes,
26003     which can conflict with char $ac_func (); below.
26004     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26005     <limits.h> exists even on freestanding compilers.  */
26006
26007 #ifdef __STDC__
26008 # include <limits.h>
26009 #else
26010 # include <assert.h>
26011 #endif
26012
26013 #undef $ac_func
26014
26015 /* Override any gcc2 internal prototype to avoid an error.  */
26016 #ifdef __cplusplus
26017 extern "C"
26018 {
26019 #endif
26020 /* We use char because int might match the return type of a gcc2
26021    builtin and then its argument prototype would still apply.  */
26022 char $ac_func ();
26023 /* The GNU C library defines this for functions which it implements
26024     to always fail with ENOSYS.  Some functions are actually named
26025     something starting with __ and the normal name is an alias.  */
26026 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26027 choke me
26028 #else
26029 char (*f) () = $ac_func;
26030 #endif
26031 #ifdef __cplusplus
26032 }
26033 #endif
26034
26035 int
26036 main ()
26037 {
26038 return f != $ac_func;
26039   ;
26040   return 0;
26041 }
26042 _ACEOF
26043 rm -f conftest.$ac_objext conftest$ac_exeext
26044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26045   (eval $ac_link) 2>conftest.er1
26046   ac_status=$?
26047   grep -v '^ *+' conftest.er1 >conftest.err
26048   rm -f conftest.er1
26049   cat conftest.err >&5
26050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26051   (exit $ac_status); } &&
26052          { ac_try='test -z "$ac_c_werror_flag"
26053                          || test ! -s conftest.err'
26054   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26055   (eval $ac_try) 2>&5
26056   ac_status=$?
26057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26058   (exit $ac_status); }; } &&
26059          { ac_try='test -s conftest$ac_exeext'
26060   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26061   (eval $ac_try) 2>&5
26062   ac_status=$?
26063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26064   (exit $ac_status); }; }; then
26065   eval "$as_ac_var=yes"
26066 else
26067   echo "$as_me: failed program was:" >&5
26068 sed 's/^/| /' conftest.$ac_ext >&5
26069
26070 eval "$as_ac_var=no"
26071 fi
26072 rm -f conftest.err conftest.$ac_objext \
26073       conftest$ac_exeext conftest.$ac_ext
26074 fi
26075 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26076 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26077 if test `eval echo '${'$as_ac_var'}'` = yes; then
26078   cat >>confdefs.h <<_ACEOF
26079 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26080 _ACEOF
26081
26082 fi
26083 done
26084
26085     fi
26086   fi
26087
26088
26089
26090
26091   echo "$as_me:$LINENO: checking for _float trig functions" >&5
26092 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
26093   if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
26094   echo $ECHO_N "(cached) $ECHO_C" >&6
26095 else
26096
26097
26098
26099     ac_ext=cc
26100 ac_cpp='$CXXCPP $CPPFLAGS'
26101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26104
26105     cat >conftest.$ac_ext <<_ACEOF
26106 /* confdefs.h.  */
26107 _ACEOF
26108 cat confdefs.h >>conftest.$ac_ext
26109 cat >>conftest.$ac_ext <<_ACEOF
26110 /* end confdefs.h.  */
26111 #include <math.h>
26112 int
26113 main ()
26114 {
26115  `for x in _acosf _asinf _atanf \
26116                                           _cosf _sinf _tanf \
26117                                           _coshf _sinhf _tanhf; do echo "$x (0);"; done`
26118   ;
26119   return 0;
26120 }
26121 _ACEOF
26122 rm -f conftest.$ac_objext
26123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26124   (eval $ac_compile) 2>conftest.er1
26125   ac_status=$?
26126   grep -v '^ *+' conftest.er1 >conftest.err
26127   rm -f conftest.er1
26128   cat conftest.err >&5
26129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26130   (exit $ac_status); } &&
26131          { ac_try='test -z "$ac_cxx_werror_flag"
26132                          || test ! -s conftest.err'
26133   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26134   (eval $ac_try) 2>&5
26135   ac_status=$?
26136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26137   (exit $ac_status); }; } &&
26138          { ac_try='test -s conftest.$ac_objext'
26139   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26140   (eval $ac_try) 2>&5
26141   ac_status=$?
26142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26143   (exit $ac_status); }; }; then
26144   glibcxx_cv_func__float_trig_use=yes
26145 else
26146   echo "$as_me: failed program was:" >&5
26147 sed 's/^/| /' conftest.$ac_ext >&5
26148
26149 glibcxx_cv_func__float_trig_use=no
26150 fi
26151 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26152     ac_ext=c
26153 ac_cpp='$CPP $CPPFLAGS'
26154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26157
26158 fi
26159
26160   echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
26161 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
26162   if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
26163
26164
26165
26166
26167
26168
26169
26170
26171
26172 for ac_func in _acosf _asinf _atanf \
26173                                           _cosf _sinf _tanf \
26174                                           _coshf _sinhf _tanhf
26175 do
26176 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26177 echo "$as_me:$LINENO: checking for $ac_func" >&5
26178 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26179 if eval "test \"\${$as_ac_var+set}\" = set"; then
26180   echo $ECHO_N "(cached) $ECHO_C" >&6
26181 else
26182   if test x$gcc_no_link = xyes; then
26183   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26184 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26185    { (exit 1); exit 1; }; }
26186 fi
26187 cat >conftest.$ac_ext <<_ACEOF
26188 /* confdefs.h.  */
26189 _ACEOF
26190 cat confdefs.h >>conftest.$ac_ext
26191 cat >>conftest.$ac_ext <<_ACEOF
26192 /* end confdefs.h.  */
26193 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26194    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26195 #define $ac_func innocuous_$ac_func
26196
26197 /* System header to define __stub macros and hopefully few prototypes,
26198     which can conflict with char $ac_func (); below.
26199     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26200     <limits.h> exists even on freestanding compilers.  */
26201
26202 #ifdef __STDC__
26203 # include <limits.h>
26204 #else
26205 # include <assert.h>
26206 #endif
26207
26208 #undef $ac_func
26209
26210 /* Override any gcc2 internal prototype to avoid an error.  */
26211 #ifdef __cplusplus
26212 extern "C"
26213 {
26214 #endif
26215 /* We use char because int might match the return type of a gcc2
26216    builtin and then its argument prototype would still apply.  */
26217 char $ac_func ();
26218 /* The GNU C library defines this for functions which it implements
26219     to always fail with ENOSYS.  Some functions are actually named
26220     something starting with __ and the normal name is an alias.  */
26221 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26222 choke me
26223 #else
26224 char (*f) () = $ac_func;
26225 #endif
26226 #ifdef __cplusplus
26227 }
26228 #endif
26229
26230 int
26231 main ()
26232 {
26233 return f != $ac_func;
26234   ;
26235   return 0;
26236 }
26237 _ACEOF
26238 rm -f conftest.$ac_objext conftest$ac_exeext
26239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26240   (eval $ac_link) 2>conftest.er1
26241   ac_status=$?
26242   grep -v '^ *+' conftest.er1 >conftest.err
26243   rm -f conftest.er1
26244   cat conftest.err >&5
26245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26246   (exit $ac_status); } &&
26247          { ac_try='test -z "$ac_c_werror_flag"
26248                          || test ! -s conftest.err'
26249   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26250   (eval $ac_try) 2>&5
26251   ac_status=$?
26252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26253   (exit $ac_status); }; } &&
26254          { ac_try='test -s conftest$ac_exeext'
26255   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26256   (eval $ac_try) 2>&5
26257   ac_status=$?
26258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26259   (exit $ac_status); }; }; then
26260   eval "$as_ac_var=yes"
26261 else
26262   echo "$as_me: failed program was:" >&5
26263 sed 's/^/| /' conftest.$ac_ext >&5
26264
26265 eval "$as_ac_var=no"
26266 fi
26267 rm -f conftest.err conftest.$ac_objext \
26268       conftest$ac_exeext conftest.$ac_ext
26269 fi
26270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26271 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26272 if test `eval echo '${'$as_ac_var'}'` = yes; then
26273   cat >>confdefs.h <<_ACEOF
26274 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26275 _ACEOF
26276
26277 fi
26278 done
26279
26280   fi
26281
26282
26283   echo "$as_me:$LINENO: checking for _float round functions" >&5
26284 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
26285   if test "${glibcxx_cv_func__float_round_use+set}" = set; then
26286   echo $ECHO_N "(cached) $ECHO_C" >&6
26287 else
26288
26289
26290
26291     ac_ext=cc
26292 ac_cpp='$CXXCPP $CPPFLAGS'
26293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26296
26297     cat >conftest.$ac_ext <<_ACEOF
26298 /* confdefs.h.  */
26299 _ACEOF
26300 cat confdefs.h >>conftest.$ac_ext
26301 cat >>conftest.$ac_ext <<_ACEOF
26302 /* end confdefs.h.  */
26303 #include <math.h>
26304 int
26305 main ()
26306 {
26307  `for x in _ceilf _floorf; do echo "$x (0);"; done`
26308   ;
26309   return 0;
26310 }
26311 _ACEOF
26312 rm -f conftest.$ac_objext
26313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26314   (eval $ac_compile) 2>conftest.er1
26315   ac_status=$?
26316   grep -v '^ *+' conftest.er1 >conftest.err
26317   rm -f conftest.er1
26318   cat conftest.err >&5
26319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26320   (exit $ac_status); } &&
26321          { ac_try='test -z "$ac_cxx_werror_flag"
26322                          || test ! -s conftest.err'
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); }; } &&
26328          { ac_try='test -s conftest.$ac_objext'
26329   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26330   (eval $ac_try) 2>&5
26331   ac_status=$?
26332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26333   (exit $ac_status); }; }; then
26334   glibcxx_cv_func__float_round_use=yes
26335 else
26336   echo "$as_me: failed program was:" >&5
26337 sed 's/^/| /' conftest.$ac_ext >&5
26338
26339 glibcxx_cv_func__float_round_use=no
26340 fi
26341 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26342     ac_ext=c
26343 ac_cpp='$CPP $CPPFLAGS'
26344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26347
26348 fi
26349
26350   echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
26351 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
26352   if test x$glibcxx_cv_func__float_round_use = x"yes"; then
26353
26354
26355 for ac_func in _ceilf _floorf
26356 do
26357 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26358 echo "$as_me:$LINENO: checking for $ac_func" >&5
26359 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26360 if eval "test \"\${$as_ac_var+set}\" = set"; then
26361   echo $ECHO_N "(cached) $ECHO_C" >&6
26362 else
26363   if test x$gcc_no_link = xyes; then
26364   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26365 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26366    { (exit 1); exit 1; }; }
26367 fi
26368 cat >conftest.$ac_ext <<_ACEOF
26369 /* confdefs.h.  */
26370 _ACEOF
26371 cat confdefs.h >>conftest.$ac_ext
26372 cat >>conftest.$ac_ext <<_ACEOF
26373 /* end confdefs.h.  */
26374 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26375    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26376 #define $ac_func innocuous_$ac_func
26377
26378 /* System header to define __stub macros and hopefully few prototypes,
26379     which can conflict with char $ac_func (); below.
26380     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26381     <limits.h> exists even on freestanding compilers.  */
26382
26383 #ifdef __STDC__
26384 # include <limits.h>
26385 #else
26386 # include <assert.h>
26387 #endif
26388
26389 #undef $ac_func
26390
26391 /* Override any gcc2 internal prototype to avoid an error.  */
26392 #ifdef __cplusplus
26393 extern "C"
26394 {
26395 #endif
26396 /* We use char because int might match the return type of a gcc2
26397    builtin and then its argument prototype would still apply.  */
26398 char $ac_func ();
26399 /* The GNU C library defines this for functions which it implements
26400     to always fail with ENOSYS.  Some functions are actually named
26401     something starting with __ and the normal name is an alias.  */
26402 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26403 choke me
26404 #else
26405 char (*f) () = $ac_func;
26406 #endif
26407 #ifdef __cplusplus
26408 }
26409 #endif
26410
26411 int
26412 main ()
26413 {
26414 return f != $ac_func;
26415   ;
26416   return 0;
26417 }
26418 _ACEOF
26419 rm -f conftest.$ac_objext conftest$ac_exeext
26420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26421   (eval $ac_link) 2>conftest.er1
26422   ac_status=$?
26423   grep -v '^ *+' conftest.er1 >conftest.err
26424   rm -f conftest.er1
26425   cat conftest.err >&5
26426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26427   (exit $ac_status); } &&
26428          { ac_try='test -z "$ac_c_werror_flag"
26429                          || test ! -s conftest.err'
26430   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26431   (eval $ac_try) 2>&5
26432   ac_status=$?
26433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26434   (exit $ac_status); }; } &&
26435          { ac_try='test -s conftest$ac_exeext'
26436   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26437   (eval $ac_try) 2>&5
26438   ac_status=$?
26439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26440   (exit $ac_status); }; }; then
26441   eval "$as_ac_var=yes"
26442 else
26443   echo "$as_me: failed program was:" >&5
26444 sed 's/^/| /' conftest.$ac_ext >&5
26445
26446 eval "$as_ac_var=no"
26447 fi
26448 rm -f conftest.err conftest.$ac_objext \
26449       conftest$ac_exeext conftest.$ac_ext
26450 fi
26451 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26452 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26453 if test `eval echo '${'$as_ac_var'}'` = yes; then
26454   cat >>confdefs.h <<_ACEOF
26455 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26456 _ACEOF
26457
26458 fi
26459 done
26460
26461   fi
26462
26463
26464
26465   echo "$as_me:$LINENO: checking for _long double trig functions" >&5
26466 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
26467   if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
26468   echo $ECHO_N "(cached) $ECHO_C" >&6
26469 else
26470
26471
26472
26473     ac_ext=cc
26474 ac_cpp='$CXXCPP $CPPFLAGS'
26475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26478
26479     cat >conftest.$ac_ext <<_ACEOF
26480 /* confdefs.h.  */
26481 _ACEOF
26482 cat confdefs.h >>conftest.$ac_ext
26483 cat >>conftest.$ac_ext <<_ACEOF
26484 /* end confdefs.h.  */
26485 #include <math.h>
26486 int
26487 main ()
26488 {
26489  `for x in _acosl _asinl _atanl \
26490                                           _cosl _sinl _tanl \
26491                                           _coshl _sinhl _tanhl; do echo "$x (0);"; done`
26492   ;
26493   return 0;
26494 }
26495 _ACEOF
26496 rm -f conftest.$ac_objext
26497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26498   (eval $ac_compile) 2>conftest.er1
26499   ac_status=$?
26500   grep -v '^ *+' conftest.er1 >conftest.err
26501   rm -f conftest.er1
26502   cat conftest.err >&5
26503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26504   (exit $ac_status); } &&
26505          { ac_try='test -z "$ac_cxx_werror_flag"
26506                          || test ! -s conftest.err'
26507   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26508   (eval $ac_try) 2>&5
26509   ac_status=$?
26510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26511   (exit $ac_status); }; } &&
26512          { ac_try='test -s conftest.$ac_objext'
26513   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26514   (eval $ac_try) 2>&5
26515   ac_status=$?
26516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26517   (exit $ac_status); }; }; then
26518   glibcxx_cv_func__long_double_trig_use=yes
26519 else
26520   echo "$as_me: failed program was:" >&5
26521 sed 's/^/| /' conftest.$ac_ext >&5
26522
26523 glibcxx_cv_func__long_double_trig_use=no
26524 fi
26525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26526     ac_ext=c
26527 ac_cpp='$CPP $CPPFLAGS'
26528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26531
26532 fi
26533
26534   echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
26535 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
26536   if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
26537
26538
26539
26540
26541
26542
26543
26544
26545
26546 for ac_func in _acosl _asinl _atanl \
26547                                           _cosl _sinl _tanl \
26548                                           _coshl _sinhl _tanhl
26549 do
26550 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26551 echo "$as_me:$LINENO: checking for $ac_func" >&5
26552 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26553 if eval "test \"\${$as_ac_var+set}\" = set"; then
26554   echo $ECHO_N "(cached) $ECHO_C" >&6
26555 else
26556   if test x$gcc_no_link = xyes; then
26557   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26558 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26559    { (exit 1); exit 1; }; }
26560 fi
26561 cat >conftest.$ac_ext <<_ACEOF
26562 /* confdefs.h.  */
26563 _ACEOF
26564 cat confdefs.h >>conftest.$ac_ext
26565 cat >>conftest.$ac_ext <<_ACEOF
26566 /* end confdefs.h.  */
26567 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26568    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26569 #define $ac_func innocuous_$ac_func
26570
26571 /* System header to define __stub macros and hopefully few prototypes,
26572     which can conflict with char $ac_func (); below.
26573     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26574     <limits.h> exists even on freestanding compilers.  */
26575
26576 #ifdef __STDC__
26577 # include <limits.h>
26578 #else
26579 # include <assert.h>
26580 #endif
26581
26582 #undef $ac_func
26583
26584 /* Override any gcc2 internal prototype to avoid an error.  */
26585 #ifdef __cplusplus
26586 extern "C"
26587 {
26588 #endif
26589 /* We use char because int might match the return type of a gcc2
26590    builtin and then its argument prototype would still apply.  */
26591 char $ac_func ();
26592 /* The GNU C library defines this for functions which it implements
26593     to always fail with ENOSYS.  Some functions are actually named
26594     something starting with __ and the normal name is an alias.  */
26595 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26596 choke me
26597 #else
26598 char (*f) () = $ac_func;
26599 #endif
26600 #ifdef __cplusplus
26601 }
26602 #endif
26603
26604 int
26605 main ()
26606 {
26607 return f != $ac_func;
26608   ;
26609   return 0;
26610 }
26611 _ACEOF
26612 rm -f conftest.$ac_objext conftest$ac_exeext
26613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26614   (eval $ac_link) 2>conftest.er1
26615   ac_status=$?
26616   grep -v '^ *+' conftest.er1 >conftest.err
26617   rm -f conftest.er1
26618   cat conftest.err >&5
26619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26620   (exit $ac_status); } &&
26621          { ac_try='test -z "$ac_c_werror_flag"
26622                          || test ! -s conftest.err'
26623   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26624   (eval $ac_try) 2>&5
26625   ac_status=$?
26626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26627   (exit $ac_status); }; } &&
26628          { ac_try='test -s conftest$ac_exeext'
26629   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26630   (eval $ac_try) 2>&5
26631   ac_status=$?
26632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26633   (exit $ac_status); }; }; then
26634   eval "$as_ac_var=yes"
26635 else
26636   echo "$as_me: failed program was:" >&5
26637 sed 's/^/| /' conftest.$ac_ext >&5
26638
26639 eval "$as_ac_var=no"
26640 fi
26641 rm -f conftest.err conftest.$ac_objext \
26642       conftest$ac_exeext conftest.$ac_ext
26643 fi
26644 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26645 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26646 if test `eval echo '${'$as_ac_var'}'` = yes; then
26647   cat >>confdefs.h <<_ACEOF
26648 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26649 _ACEOF
26650
26651 fi
26652 done
26653
26654   fi
26655
26656
26657   echo "$as_me:$LINENO: checking for _long double round functions" >&5
26658 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
26659   if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
26660   echo $ECHO_N "(cached) $ECHO_C" >&6
26661 else
26662
26663
26664
26665     ac_ext=cc
26666 ac_cpp='$CXXCPP $CPPFLAGS'
26667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26670
26671     cat >conftest.$ac_ext <<_ACEOF
26672 /* confdefs.h.  */
26673 _ACEOF
26674 cat confdefs.h >>conftest.$ac_ext
26675 cat >>conftest.$ac_ext <<_ACEOF
26676 /* end confdefs.h.  */
26677 #include <math.h>
26678 int
26679 main ()
26680 {
26681  `for x in _ceill _floorl; do echo "$x (0);"; done`
26682   ;
26683   return 0;
26684 }
26685 _ACEOF
26686 rm -f conftest.$ac_objext
26687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26688   (eval $ac_compile) 2>conftest.er1
26689   ac_status=$?
26690   grep -v '^ *+' conftest.er1 >conftest.err
26691   rm -f conftest.er1
26692   cat conftest.err >&5
26693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26694   (exit $ac_status); } &&
26695          { ac_try='test -z "$ac_cxx_werror_flag"
26696                          || test ! -s conftest.err'
26697   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26698   (eval $ac_try) 2>&5
26699   ac_status=$?
26700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26701   (exit $ac_status); }; } &&
26702          { ac_try='test -s conftest.$ac_objext'
26703   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26704   (eval $ac_try) 2>&5
26705   ac_status=$?
26706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26707   (exit $ac_status); }; }; then
26708   glibcxx_cv_func__long_double_round_use=yes
26709 else
26710   echo "$as_me: failed program was:" >&5
26711 sed 's/^/| /' conftest.$ac_ext >&5
26712
26713 glibcxx_cv_func__long_double_round_use=no
26714 fi
26715 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26716     ac_ext=c
26717 ac_cpp='$CPP $CPPFLAGS'
26718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26721
26722 fi
26723
26724   echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
26725 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
26726   if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
26727
26728
26729 for ac_func in _ceill _floorl
26730 do
26731 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26732 echo "$as_me:$LINENO: checking for $ac_func" >&5
26733 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26734 if eval "test \"\${$as_ac_var+set}\" = set"; then
26735   echo $ECHO_N "(cached) $ECHO_C" >&6
26736 else
26737   if test x$gcc_no_link = xyes; then
26738   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26739 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26740    { (exit 1); exit 1; }; }
26741 fi
26742 cat >conftest.$ac_ext <<_ACEOF
26743 /* confdefs.h.  */
26744 _ACEOF
26745 cat confdefs.h >>conftest.$ac_ext
26746 cat >>conftest.$ac_ext <<_ACEOF
26747 /* end confdefs.h.  */
26748 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26749    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
26750 #define $ac_func innocuous_$ac_func
26751
26752 /* System header to define __stub macros and hopefully few prototypes,
26753     which can conflict with char $ac_func (); below.
26754     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26755     <limits.h> exists even on freestanding compilers.  */
26756
26757 #ifdef __STDC__
26758 # include <limits.h>
26759 #else
26760 # include <assert.h>
26761 #endif
26762
26763 #undef $ac_func
26764
26765 /* Override any gcc2 internal prototype to avoid an error.  */
26766 #ifdef __cplusplus
26767 extern "C"
26768 {
26769 #endif
26770 /* We use char because int might match the return type of a gcc2
26771    builtin and then its argument prototype would still apply.  */
26772 char $ac_func ();
26773 /* The GNU C library defines this for functions which it implements
26774     to always fail with ENOSYS.  Some functions are actually named
26775     something starting with __ and the normal name is an alias.  */
26776 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26777 choke me
26778 #else
26779 char (*f) () = $ac_func;
26780 #endif
26781 #ifdef __cplusplus
26782 }
26783 #endif
26784
26785 int
26786 main ()
26787 {
26788 return f != $ac_func;
26789   ;
26790   return 0;
26791 }
26792 _ACEOF
26793 rm -f conftest.$ac_objext conftest$ac_exeext
26794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26795   (eval $ac_link) 2>conftest.er1
26796   ac_status=$?
26797   grep -v '^ *+' conftest.er1 >conftest.err
26798   rm -f conftest.er1
26799   cat conftest.err >&5
26800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26801   (exit $ac_status); } &&
26802          { ac_try='test -z "$ac_c_werror_flag"
26803                          || test ! -s conftest.err'
26804   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26805   (eval $ac_try) 2>&5
26806   ac_status=$?
26807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26808   (exit $ac_status); }; } &&
26809          { ac_try='test -s conftest$ac_exeext'
26810   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26811   (eval $ac_try) 2>&5
26812   ac_status=$?
26813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26814   (exit $ac_status); }; }; then
26815   eval "$as_ac_var=yes"
26816 else
26817   echo "$as_me: failed program was:" >&5
26818 sed 's/^/| /' conftest.$ac_ext >&5
26819
26820 eval "$as_ac_var=no"
26821 fi
26822 rm -f conftest.err conftest.$ac_objext \
26823       conftest$ac_exeext conftest.$ac_ext
26824 fi
26825 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26826 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26827 if test `eval echo '${'$as_ac_var'}'` = yes; then
26828   cat >>confdefs.h <<_ACEOF
26829 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26830 _ACEOF
26831
26832 fi
26833 done
26834
26835   fi
26836
26837
26838   LIBS="$ac_save_LIBS"
26839   CXXFLAGS="$ac_save_CXXFLAGS"
26840
26841
26842
26843   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
26844 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
26845   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
26846     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
26847   echo $ECHO_N "(cached) $ECHO_C" >&6
26848 else
26849
26850
26851
26852       ac_ext=cc
26853 ac_cpp='$CXXCPP $CPPFLAGS'
26854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26857
26858       cat >conftest.$ac_ext <<_ACEOF
26859 /* confdefs.h.  */
26860 _ACEOF
26861 cat confdefs.h >>conftest.$ac_ext
26862 cat >>conftest.$ac_ext <<_ACEOF
26863 /* end confdefs.h.  */
26864 #include <math.h>
26865 int
26866 main ()
26867 {
26868  __builtin_abs(0);
26869   ;
26870   return 0;
26871 }
26872 _ACEOF
26873 rm -f conftest.$ac_objext
26874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26875   (eval $ac_compile) 2>conftest.er1
26876   ac_status=$?
26877   grep -v '^ *+' conftest.er1 >conftest.err
26878   rm -f conftest.er1
26879   cat conftest.err >&5
26880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26881   (exit $ac_status); } &&
26882          { ac_try='test -z "$ac_cxx_werror_flag"
26883                          || test ! -s conftest.err'
26884   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26885   (eval $ac_try) 2>&5
26886   ac_status=$?
26887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26888   (exit $ac_status); }; } &&
26889          { ac_try='test -s conftest.$ac_objext'
26890   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26891   (eval $ac_try) 2>&5
26892   ac_status=$?
26893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26894   (exit $ac_status); }; }; then
26895   glibcxx_cv_func___builtin_abs_use=yes
26896 else
26897   echo "$as_me: failed program was:" >&5
26898 sed 's/^/| /' conftest.$ac_ext >&5
26899
26900 glibcxx_cv_func___builtin_abs_use=no
26901 fi
26902 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26903       ac_ext=c
26904 ac_cpp='$CPP $CPPFLAGS'
26905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26908
26909
26910 fi
26911
26912   fi
26913   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
26914 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
26915   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
26916     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
26917 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
26918     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
26919       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
26920   echo $ECHO_N "(cached) $ECHO_C" >&6
26921 else
26922
26923         if test x$gcc_no_link = xyes; then
26924   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26925 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26926    { (exit 1); exit 1; }; }
26927 fi
26928 cat >conftest.$ac_ext <<_ACEOF
26929 /* confdefs.h.  */
26930 _ACEOF
26931 cat confdefs.h >>conftest.$ac_ext
26932 cat >>conftest.$ac_ext <<_ACEOF
26933 /* end confdefs.h.  */
26934 #include <math.h>
26935 int
26936 main ()
26937 {
26938  __builtin_abs(0);
26939   ;
26940   return 0;
26941 }
26942 _ACEOF
26943 rm -f conftest.$ac_objext conftest$ac_exeext
26944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26945   (eval $ac_link) 2>conftest.er1
26946   ac_status=$?
26947   grep -v '^ *+' conftest.er1 >conftest.err
26948   rm -f conftest.er1
26949   cat conftest.err >&5
26950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26951   (exit $ac_status); } &&
26952          { ac_try='test -z "$ac_c_werror_flag"
26953                          || test ! -s conftest.err'
26954   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26955   (eval $ac_try) 2>&5
26956   ac_status=$?
26957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26958   (exit $ac_status); }; } &&
26959          { ac_try='test -s conftest$ac_exeext'
26960   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26961   (eval $ac_try) 2>&5
26962   ac_status=$?
26963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
26964   (exit $ac_status); }; }; then
26965   glibcxx_cv_func___builtin_abs_link=yes
26966 else
26967   echo "$as_me: failed program was:" >&5
26968 sed 's/^/| /' conftest.$ac_ext >&5
26969
26970 glibcxx_cv_func___builtin_abs_link=no
26971 fi
26972 rm -f conftest.err conftest.$ac_objext \
26973       conftest$ac_exeext conftest.$ac_ext
26974
26975 fi
26976
26977     fi
26978     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
26979 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
26980     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
26981       ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26982
26983 cat >>confdefs.h <<_ACEOF
26984 #define ${ac_tr_func} 1
26985 _ACEOF
26986
26987     fi
26988   fi
26989
26990
26991   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
26992 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
26993   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
26994     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
26995   echo $ECHO_N "(cached) $ECHO_C" >&6
26996 else
26997
26998
26999
27000       ac_ext=cc
27001 ac_cpp='$CXXCPP $CPPFLAGS'
27002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27005
27006       cat >conftest.$ac_ext <<_ACEOF
27007 /* confdefs.h.  */
27008 _ACEOF
27009 cat confdefs.h >>conftest.$ac_ext
27010 cat >>conftest.$ac_ext <<_ACEOF
27011 /* end confdefs.h.  */
27012 #include <math.h>
27013 int
27014 main ()
27015 {
27016  __builtin_fabsf(0);
27017   ;
27018   return 0;
27019 }
27020 _ACEOF
27021 rm -f conftest.$ac_objext
27022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27023   (eval $ac_compile) 2>conftest.er1
27024   ac_status=$?
27025   grep -v '^ *+' conftest.er1 >conftest.err
27026   rm -f conftest.er1
27027   cat conftest.err >&5
27028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27029   (exit $ac_status); } &&
27030          { ac_try='test -z "$ac_cxx_werror_flag"
27031                          || test ! -s conftest.err'
27032   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27033   (eval $ac_try) 2>&5
27034   ac_status=$?
27035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27036   (exit $ac_status); }; } &&
27037          { ac_try='test -s conftest.$ac_objext'
27038   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27039   (eval $ac_try) 2>&5
27040   ac_status=$?
27041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27042   (exit $ac_status); }; }; then
27043   glibcxx_cv_func___builtin_fabsf_use=yes
27044 else
27045   echo "$as_me: failed program was:" >&5
27046 sed 's/^/| /' conftest.$ac_ext >&5
27047
27048 glibcxx_cv_func___builtin_fabsf_use=no
27049 fi
27050 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27051       ac_ext=c
27052 ac_cpp='$CPP $CPPFLAGS'
27053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27056
27057
27058 fi
27059
27060   fi
27061   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
27062 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
27063   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
27064     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
27065 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
27066     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
27067       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
27068   echo $ECHO_N "(cached) $ECHO_C" >&6
27069 else
27070
27071         if test x$gcc_no_link = xyes; then
27072   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27073 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27074    { (exit 1); exit 1; }; }
27075 fi
27076 cat >conftest.$ac_ext <<_ACEOF
27077 /* confdefs.h.  */
27078 _ACEOF
27079 cat confdefs.h >>conftest.$ac_ext
27080 cat >>conftest.$ac_ext <<_ACEOF
27081 /* end confdefs.h.  */
27082 #include <math.h>
27083 int
27084 main ()
27085 {
27086  __builtin_fabsf(0);
27087   ;
27088   return 0;
27089 }
27090 _ACEOF
27091 rm -f conftest.$ac_objext conftest$ac_exeext
27092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27093   (eval $ac_link) 2>conftest.er1
27094   ac_status=$?
27095   grep -v '^ *+' conftest.er1 >conftest.err
27096   rm -f conftest.er1
27097   cat conftest.err >&5
27098   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27099   (exit $ac_status); } &&
27100          { ac_try='test -z "$ac_c_werror_flag"
27101                          || test ! -s conftest.err'
27102   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27103   (eval $ac_try) 2>&5
27104   ac_status=$?
27105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27106   (exit $ac_status); }; } &&
27107          { ac_try='test -s conftest$ac_exeext'
27108   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27109   (eval $ac_try) 2>&5
27110   ac_status=$?
27111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27112   (exit $ac_status); }; }; then
27113   glibcxx_cv_func___builtin_fabsf_link=yes
27114 else
27115   echo "$as_me: failed program was:" >&5
27116 sed 's/^/| /' conftest.$ac_ext >&5
27117
27118 glibcxx_cv_func___builtin_fabsf_link=no
27119 fi
27120 rm -f conftest.err conftest.$ac_objext \
27121       conftest$ac_exeext conftest.$ac_ext
27122
27123 fi
27124
27125     fi
27126     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
27127 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
27128     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
27129       ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
27130
27131 cat >>confdefs.h <<_ACEOF
27132 #define ${ac_tr_func} 1
27133 _ACEOF
27134
27135     fi
27136   fi
27137
27138
27139   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
27140 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
27141   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
27142     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
27143   echo $ECHO_N "(cached) $ECHO_C" >&6
27144 else
27145
27146
27147
27148       ac_ext=cc
27149 ac_cpp='$CXXCPP $CPPFLAGS'
27150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27153
27154       cat >conftest.$ac_ext <<_ACEOF
27155 /* confdefs.h.  */
27156 _ACEOF
27157 cat confdefs.h >>conftest.$ac_ext
27158 cat >>conftest.$ac_ext <<_ACEOF
27159 /* end confdefs.h.  */
27160 #include <math.h>
27161 int
27162 main ()
27163 {
27164  __builtin_fabs(0);
27165   ;
27166   return 0;
27167 }
27168 _ACEOF
27169 rm -f conftest.$ac_objext
27170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27171   (eval $ac_compile) 2>conftest.er1
27172   ac_status=$?
27173   grep -v '^ *+' conftest.er1 >conftest.err
27174   rm -f conftest.er1
27175   cat conftest.err >&5
27176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27177   (exit $ac_status); } &&
27178          { ac_try='test -z "$ac_cxx_werror_flag"
27179                          || test ! -s conftest.err'
27180   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27181   (eval $ac_try) 2>&5
27182   ac_status=$?
27183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27184   (exit $ac_status); }; } &&
27185          { ac_try='test -s conftest.$ac_objext'
27186   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27187   (eval $ac_try) 2>&5
27188   ac_status=$?
27189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27190   (exit $ac_status); }; }; then
27191   glibcxx_cv_func___builtin_fabs_use=yes
27192 else
27193   echo "$as_me: failed program was:" >&5
27194 sed 's/^/| /' conftest.$ac_ext >&5
27195
27196 glibcxx_cv_func___builtin_fabs_use=no
27197 fi
27198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27199       ac_ext=c
27200 ac_cpp='$CPP $CPPFLAGS'
27201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27204
27205
27206 fi
27207
27208   fi
27209   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
27210 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
27211   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
27212     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
27213 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
27214     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
27215       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
27216   echo $ECHO_N "(cached) $ECHO_C" >&6
27217 else
27218
27219         if test x$gcc_no_link = xyes; then
27220   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27221 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27222    { (exit 1); exit 1; }; }
27223 fi
27224 cat >conftest.$ac_ext <<_ACEOF
27225 /* confdefs.h.  */
27226 _ACEOF
27227 cat confdefs.h >>conftest.$ac_ext
27228 cat >>conftest.$ac_ext <<_ACEOF
27229 /* end confdefs.h.  */
27230 #include <math.h>
27231 int
27232 main ()
27233 {
27234  __builtin_fabs(0);
27235   ;
27236   return 0;
27237 }
27238 _ACEOF
27239 rm -f conftest.$ac_objext conftest$ac_exeext
27240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27241   (eval $ac_link) 2>conftest.er1
27242   ac_status=$?
27243   grep -v '^ *+' conftest.er1 >conftest.err
27244   rm -f conftest.er1
27245   cat conftest.err >&5
27246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27247   (exit $ac_status); } &&
27248          { ac_try='test -z "$ac_c_werror_flag"
27249                          || test ! -s conftest.err'
27250   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27251   (eval $ac_try) 2>&5
27252   ac_status=$?
27253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27254   (exit $ac_status); }; } &&
27255          { ac_try='test -s conftest$ac_exeext'
27256   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27257   (eval $ac_try) 2>&5
27258   ac_status=$?
27259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27260   (exit $ac_status); }; }; then
27261   glibcxx_cv_func___builtin_fabs_link=yes
27262 else
27263   echo "$as_me: failed program was:" >&5
27264 sed 's/^/| /' conftest.$ac_ext >&5
27265
27266 glibcxx_cv_func___builtin_fabs_link=no
27267 fi
27268 rm -f conftest.err conftest.$ac_objext \
27269       conftest$ac_exeext conftest.$ac_ext
27270
27271 fi
27272
27273     fi
27274     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
27275 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
27276     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
27277       ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
27278
27279 cat >>confdefs.h <<_ACEOF
27280 #define ${ac_tr_func} 1
27281 _ACEOF
27282
27283     fi
27284   fi
27285
27286
27287   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
27288 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
27289   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
27290     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
27291   echo $ECHO_N "(cached) $ECHO_C" >&6
27292 else
27293
27294
27295
27296       ac_ext=cc
27297 ac_cpp='$CXXCPP $CPPFLAGS'
27298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27301
27302       cat >conftest.$ac_ext <<_ACEOF
27303 /* confdefs.h.  */
27304 _ACEOF
27305 cat confdefs.h >>conftest.$ac_ext
27306 cat >>conftest.$ac_ext <<_ACEOF
27307 /* end confdefs.h.  */
27308 #include <math.h>
27309 int
27310 main ()
27311 {
27312  __builtin_fabsl(0);
27313   ;
27314   return 0;
27315 }
27316 _ACEOF
27317 rm -f conftest.$ac_objext
27318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27319   (eval $ac_compile) 2>conftest.er1
27320   ac_status=$?
27321   grep -v '^ *+' conftest.er1 >conftest.err
27322   rm -f conftest.er1
27323   cat conftest.err >&5
27324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27325   (exit $ac_status); } &&
27326          { ac_try='test -z "$ac_cxx_werror_flag"
27327                          || test ! -s conftest.err'
27328   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27329   (eval $ac_try) 2>&5
27330   ac_status=$?
27331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27332   (exit $ac_status); }; } &&
27333          { ac_try='test -s conftest.$ac_objext'
27334   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27335   (eval $ac_try) 2>&5
27336   ac_status=$?
27337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27338   (exit $ac_status); }; }; then
27339   glibcxx_cv_func___builtin_fabsl_use=yes
27340 else
27341   echo "$as_me: failed program was:" >&5
27342 sed 's/^/| /' conftest.$ac_ext >&5
27343
27344 glibcxx_cv_func___builtin_fabsl_use=no
27345 fi
27346 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27347       ac_ext=c
27348 ac_cpp='$CPP $CPPFLAGS'
27349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27352
27353
27354 fi
27355
27356   fi
27357   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
27358 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
27359   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
27360     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
27361 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
27362     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
27363       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
27364   echo $ECHO_N "(cached) $ECHO_C" >&6
27365 else
27366
27367         if test x$gcc_no_link = xyes; then
27368   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27369 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27370    { (exit 1); exit 1; }; }
27371 fi
27372 cat >conftest.$ac_ext <<_ACEOF
27373 /* confdefs.h.  */
27374 _ACEOF
27375 cat confdefs.h >>conftest.$ac_ext
27376 cat >>conftest.$ac_ext <<_ACEOF
27377 /* end confdefs.h.  */
27378 #include <math.h>
27379 int
27380 main ()
27381 {
27382  __builtin_fabsl(0);
27383   ;
27384   return 0;
27385 }
27386 _ACEOF
27387 rm -f conftest.$ac_objext conftest$ac_exeext
27388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27389   (eval $ac_link) 2>conftest.er1
27390   ac_status=$?
27391   grep -v '^ *+' conftest.er1 >conftest.err
27392   rm -f conftest.er1
27393   cat conftest.err >&5
27394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27395   (exit $ac_status); } &&
27396          { ac_try='test -z "$ac_c_werror_flag"
27397                          || test ! -s conftest.err'
27398   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27399   (eval $ac_try) 2>&5
27400   ac_status=$?
27401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27402   (exit $ac_status); }; } &&
27403          { ac_try='test -s conftest$ac_exeext'
27404   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27405   (eval $ac_try) 2>&5
27406   ac_status=$?
27407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27408   (exit $ac_status); }; }; then
27409   glibcxx_cv_func___builtin_fabsl_link=yes
27410 else
27411   echo "$as_me: failed program was:" >&5
27412 sed 's/^/| /' conftest.$ac_ext >&5
27413
27414 glibcxx_cv_func___builtin_fabsl_link=no
27415 fi
27416 rm -f conftest.err conftest.$ac_objext \
27417       conftest$ac_exeext conftest.$ac_ext
27418
27419 fi
27420
27421     fi
27422     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
27423 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
27424     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
27425       ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
27426
27427 cat >>confdefs.h <<_ACEOF
27428 #define ${ac_tr_func} 1
27429 _ACEOF
27430
27431     fi
27432   fi
27433
27434
27435   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
27436 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
27437   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
27438     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
27439   echo $ECHO_N "(cached) $ECHO_C" >&6
27440 else
27441
27442
27443
27444       ac_ext=cc
27445 ac_cpp='$CXXCPP $CPPFLAGS'
27446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27449
27450       cat >conftest.$ac_ext <<_ACEOF
27451 /* confdefs.h.  */
27452 _ACEOF
27453 cat confdefs.h >>conftest.$ac_ext
27454 cat >>conftest.$ac_ext <<_ACEOF
27455 /* end confdefs.h.  */
27456 #include <math.h>
27457 int
27458 main ()
27459 {
27460  __builtin_labs(0);
27461   ;
27462   return 0;
27463 }
27464 _ACEOF
27465 rm -f conftest.$ac_objext
27466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27467   (eval $ac_compile) 2>conftest.er1
27468   ac_status=$?
27469   grep -v '^ *+' conftest.er1 >conftest.err
27470   rm -f conftest.er1
27471   cat conftest.err >&5
27472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27473   (exit $ac_status); } &&
27474          { ac_try='test -z "$ac_cxx_werror_flag"
27475                          || test ! -s conftest.err'
27476   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27477   (eval $ac_try) 2>&5
27478   ac_status=$?
27479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27480   (exit $ac_status); }; } &&
27481          { ac_try='test -s conftest.$ac_objext'
27482   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27483   (eval $ac_try) 2>&5
27484   ac_status=$?
27485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27486   (exit $ac_status); }; }; then
27487   glibcxx_cv_func___builtin_labs_use=yes
27488 else
27489   echo "$as_me: failed program was:" >&5
27490 sed 's/^/| /' conftest.$ac_ext >&5
27491
27492 glibcxx_cv_func___builtin_labs_use=no
27493 fi
27494 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27495       ac_ext=c
27496 ac_cpp='$CPP $CPPFLAGS'
27497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27500
27501
27502 fi
27503
27504   fi
27505   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
27506 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
27507   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
27508     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
27509 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
27510     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
27511       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
27512   echo $ECHO_N "(cached) $ECHO_C" >&6
27513 else
27514
27515         if test x$gcc_no_link = xyes; then
27516   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27517 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27518    { (exit 1); exit 1; }; }
27519 fi
27520 cat >conftest.$ac_ext <<_ACEOF
27521 /* confdefs.h.  */
27522 _ACEOF
27523 cat confdefs.h >>conftest.$ac_ext
27524 cat >>conftest.$ac_ext <<_ACEOF
27525 /* end confdefs.h.  */
27526 #include <math.h>
27527 int
27528 main ()
27529 {
27530  __builtin_labs(0);
27531   ;
27532   return 0;
27533 }
27534 _ACEOF
27535 rm -f conftest.$ac_objext conftest$ac_exeext
27536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27537   (eval $ac_link) 2>conftest.er1
27538   ac_status=$?
27539   grep -v '^ *+' conftest.er1 >conftest.err
27540   rm -f conftest.er1
27541   cat conftest.err >&5
27542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27543   (exit $ac_status); } &&
27544          { ac_try='test -z "$ac_c_werror_flag"
27545                          || test ! -s conftest.err'
27546   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27547   (eval $ac_try) 2>&5
27548   ac_status=$?
27549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27550   (exit $ac_status); }; } &&
27551          { ac_try='test -s conftest$ac_exeext'
27552   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27553   (eval $ac_try) 2>&5
27554   ac_status=$?
27555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27556   (exit $ac_status); }; }; then
27557   glibcxx_cv_func___builtin_labs_link=yes
27558 else
27559   echo "$as_me: failed program was:" >&5
27560 sed 's/^/| /' conftest.$ac_ext >&5
27561
27562 glibcxx_cv_func___builtin_labs_link=no
27563 fi
27564 rm -f conftest.err conftest.$ac_objext \
27565       conftest$ac_exeext conftest.$ac_ext
27566
27567 fi
27568
27569     fi
27570     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
27571 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
27572     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
27573       ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
27574
27575 cat >>confdefs.h <<_ACEOF
27576 #define ${ac_tr_func} 1
27577 _ACEOF
27578
27579     fi
27580   fi
27581
27582
27583
27584   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
27585 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
27586   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
27587     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
27588   echo $ECHO_N "(cached) $ECHO_C" >&6
27589 else
27590
27591
27592
27593       ac_ext=cc
27594 ac_cpp='$CXXCPP $CPPFLAGS'
27595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27598
27599       cat >conftest.$ac_ext <<_ACEOF
27600 /* confdefs.h.  */
27601 _ACEOF
27602 cat confdefs.h >>conftest.$ac_ext
27603 cat >>conftest.$ac_ext <<_ACEOF
27604 /* end confdefs.h.  */
27605 #include <math.h>
27606 int
27607 main ()
27608 {
27609  __builtin_sqrtf(0);
27610   ;
27611   return 0;
27612 }
27613 _ACEOF
27614 rm -f conftest.$ac_objext
27615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27616   (eval $ac_compile) 2>conftest.er1
27617   ac_status=$?
27618   grep -v '^ *+' conftest.er1 >conftest.err
27619   rm -f conftest.er1
27620   cat conftest.err >&5
27621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27622   (exit $ac_status); } &&
27623          { ac_try='test -z "$ac_cxx_werror_flag"
27624                          || test ! -s conftest.err'
27625   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27626   (eval $ac_try) 2>&5
27627   ac_status=$?
27628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27629   (exit $ac_status); }; } &&
27630          { ac_try='test -s conftest.$ac_objext'
27631   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27632   (eval $ac_try) 2>&5
27633   ac_status=$?
27634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27635   (exit $ac_status); }; }; then
27636   glibcxx_cv_func___builtin_sqrtf_use=yes
27637 else
27638   echo "$as_me: failed program was:" >&5
27639 sed 's/^/| /' conftest.$ac_ext >&5
27640
27641 glibcxx_cv_func___builtin_sqrtf_use=no
27642 fi
27643 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27644       ac_ext=c
27645 ac_cpp='$CPP $CPPFLAGS'
27646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27649
27650
27651 fi
27652
27653   fi
27654   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
27655 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
27656   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
27657     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
27658 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
27659     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
27660       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
27661   echo $ECHO_N "(cached) $ECHO_C" >&6
27662 else
27663
27664         if test x$gcc_no_link = xyes; then
27665   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27666 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27667    { (exit 1); exit 1; }; }
27668 fi
27669 cat >conftest.$ac_ext <<_ACEOF
27670 /* confdefs.h.  */
27671 _ACEOF
27672 cat confdefs.h >>conftest.$ac_ext
27673 cat >>conftest.$ac_ext <<_ACEOF
27674 /* end confdefs.h.  */
27675 #include <math.h>
27676 int
27677 main ()
27678 {
27679  __builtin_sqrtf(0);
27680   ;
27681   return 0;
27682 }
27683 _ACEOF
27684 rm -f conftest.$ac_objext conftest$ac_exeext
27685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27686   (eval $ac_link) 2>conftest.er1
27687   ac_status=$?
27688   grep -v '^ *+' conftest.er1 >conftest.err
27689   rm -f conftest.er1
27690   cat conftest.err >&5
27691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27692   (exit $ac_status); } &&
27693          { ac_try='test -z "$ac_c_werror_flag"
27694                          || test ! -s conftest.err'
27695   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27696   (eval $ac_try) 2>&5
27697   ac_status=$?
27698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27699   (exit $ac_status); }; } &&
27700          { ac_try='test -s conftest$ac_exeext'
27701   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27702   (eval $ac_try) 2>&5
27703   ac_status=$?
27704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27705   (exit $ac_status); }; }; then
27706   glibcxx_cv_func___builtin_sqrtf_link=yes
27707 else
27708   echo "$as_me: failed program was:" >&5
27709 sed 's/^/| /' conftest.$ac_ext >&5
27710
27711 glibcxx_cv_func___builtin_sqrtf_link=no
27712 fi
27713 rm -f conftest.err conftest.$ac_objext \
27714       conftest$ac_exeext conftest.$ac_ext
27715
27716 fi
27717
27718     fi
27719     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
27720 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
27721     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
27722       ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
27723
27724 cat >>confdefs.h <<_ACEOF
27725 #define ${ac_tr_func} 1
27726 _ACEOF
27727
27728     fi
27729   fi
27730
27731
27732   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
27733 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
27734   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
27735     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
27736   echo $ECHO_N "(cached) $ECHO_C" >&6
27737 else
27738
27739
27740
27741       ac_ext=cc
27742 ac_cpp='$CXXCPP $CPPFLAGS'
27743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27746
27747       cat >conftest.$ac_ext <<_ACEOF
27748 /* confdefs.h.  */
27749 _ACEOF
27750 cat confdefs.h >>conftest.$ac_ext
27751 cat >>conftest.$ac_ext <<_ACEOF
27752 /* end confdefs.h.  */
27753 #include <math.h>
27754 int
27755 main ()
27756 {
27757  __builtin_sqrt(0);
27758   ;
27759   return 0;
27760 }
27761 _ACEOF
27762 rm -f conftest.$ac_objext
27763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27764   (eval $ac_compile) 2>conftest.er1
27765   ac_status=$?
27766   grep -v '^ *+' conftest.er1 >conftest.err
27767   rm -f conftest.er1
27768   cat conftest.err >&5
27769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27770   (exit $ac_status); } &&
27771          { ac_try='test -z "$ac_cxx_werror_flag"
27772                          || test ! -s conftest.err'
27773   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27774   (eval $ac_try) 2>&5
27775   ac_status=$?
27776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27777   (exit $ac_status); }; } &&
27778          { ac_try='test -s conftest.$ac_objext'
27779   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27780   (eval $ac_try) 2>&5
27781   ac_status=$?
27782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27783   (exit $ac_status); }; }; then
27784   glibcxx_cv_func___builtin_sqrt_use=yes
27785 else
27786   echo "$as_me: failed program was:" >&5
27787 sed 's/^/| /' conftest.$ac_ext >&5
27788
27789 glibcxx_cv_func___builtin_sqrt_use=no
27790 fi
27791 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27792       ac_ext=c
27793 ac_cpp='$CPP $CPPFLAGS'
27794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27797
27798
27799 fi
27800
27801   fi
27802   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
27803 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
27804   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
27805     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
27806 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
27807     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
27808       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
27809   echo $ECHO_N "(cached) $ECHO_C" >&6
27810 else
27811
27812         if test x$gcc_no_link = xyes; then
27813   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27814 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27815    { (exit 1); exit 1; }; }
27816 fi
27817 cat >conftest.$ac_ext <<_ACEOF
27818 /* confdefs.h.  */
27819 _ACEOF
27820 cat confdefs.h >>conftest.$ac_ext
27821 cat >>conftest.$ac_ext <<_ACEOF
27822 /* end confdefs.h.  */
27823 #include <math.h>
27824 int
27825 main ()
27826 {
27827  __builtin_sqrt(0);
27828   ;
27829   return 0;
27830 }
27831 _ACEOF
27832 rm -f conftest.$ac_objext conftest$ac_exeext
27833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27834   (eval $ac_link) 2>conftest.er1
27835   ac_status=$?
27836   grep -v '^ *+' conftest.er1 >conftest.err
27837   rm -f conftest.er1
27838   cat conftest.err >&5
27839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27840   (exit $ac_status); } &&
27841          { ac_try='test -z "$ac_c_werror_flag"
27842                          || test ! -s conftest.err'
27843   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27844   (eval $ac_try) 2>&5
27845   ac_status=$?
27846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27847   (exit $ac_status); }; } &&
27848          { ac_try='test -s conftest$ac_exeext'
27849   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27850   (eval $ac_try) 2>&5
27851   ac_status=$?
27852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27853   (exit $ac_status); }; }; then
27854   glibcxx_cv_func___builtin_sqrt_link=yes
27855 else
27856   echo "$as_me: failed program was:" >&5
27857 sed 's/^/| /' conftest.$ac_ext >&5
27858
27859 glibcxx_cv_func___builtin_sqrt_link=no
27860 fi
27861 rm -f conftest.err conftest.$ac_objext \
27862       conftest$ac_exeext conftest.$ac_ext
27863
27864 fi
27865
27866     fi
27867     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
27868 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
27869     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
27870       ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
27871
27872 cat >>confdefs.h <<_ACEOF
27873 #define ${ac_tr_func} 1
27874 _ACEOF
27875
27876     fi
27877   fi
27878
27879
27880   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
27881 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
27882   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
27883     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
27884   echo $ECHO_N "(cached) $ECHO_C" >&6
27885 else
27886
27887
27888
27889       ac_ext=cc
27890 ac_cpp='$CXXCPP $CPPFLAGS'
27891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27894
27895       cat >conftest.$ac_ext <<_ACEOF
27896 /* confdefs.h.  */
27897 _ACEOF
27898 cat confdefs.h >>conftest.$ac_ext
27899 cat >>conftest.$ac_ext <<_ACEOF
27900 /* end confdefs.h.  */
27901 #include <math.h>
27902 int
27903 main ()
27904 {
27905  __builtin_sqrtl(0);
27906   ;
27907   return 0;
27908 }
27909 _ACEOF
27910 rm -f conftest.$ac_objext
27911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27912   (eval $ac_compile) 2>conftest.er1
27913   ac_status=$?
27914   grep -v '^ *+' conftest.er1 >conftest.err
27915   rm -f conftest.er1
27916   cat conftest.err >&5
27917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27918   (exit $ac_status); } &&
27919          { ac_try='test -z "$ac_cxx_werror_flag"
27920                          || test ! -s conftest.err'
27921   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27922   (eval $ac_try) 2>&5
27923   ac_status=$?
27924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27925   (exit $ac_status); }; } &&
27926          { ac_try='test -s conftest.$ac_objext'
27927   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27928   (eval $ac_try) 2>&5
27929   ac_status=$?
27930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27931   (exit $ac_status); }; }; then
27932   glibcxx_cv_func___builtin_sqrtl_use=yes
27933 else
27934   echo "$as_me: failed program was:" >&5
27935 sed 's/^/| /' conftest.$ac_ext >&5
27936
27937 glibcxx_cv_func___builtin_sqrtl_use=no
27938 fi
27939 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27940       ac_ext=c
27941 ac_cpp='$CPP $CPPFLAGS'
27942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27945
27946
27947 fi
27948
27949   fi
27950   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
27951 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
27952   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
27953     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
27954 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
27955     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
27956       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
27957   echo $ECHO_N "(cached) $ECHO_C" >&6
27958 else
27959
27960         if test x$gcc_no_link = xyes; then
27961   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27962 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27963    { (exit 1); exit 1; }; }
27964 fi
27965 cat >conftest.$ac_ext <<_ACEOF
27966 /* confdefs.h.  */
27967 _ACEOF
27968 cat confdefs.h >>conftest.$ac_ext
27969 cat >>conftest.$ac_ext <<_ACEOF
27970 /* end confdefs.h.  */
27971 #include <math.h>
27972 int
27973 main ()
27974 {
27975  __builtin_sqrtl(0);
27976   ;
27977   return 0;
27978 }
27979 _ACEOF
27980 rm -f conftest.$ac_objext conftest$ac_exeext
27981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27982   (eval $ac_link) 2>conftest.er1
27983   ac_status=$?
27984   grep -v '^ *+' conftest.er1 >conftest.err
27985   rm -f conftest.er1
27986   cat conftest.err >&5
27987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27988   (exit $ac_status); } &&
27989          { ac_try='test -z "$ac_c_werror_flag"
27990                          || test ! -s conftest.err'
27991   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27992   (eval $ac_try) 2>&5
27993   ac_status=$?
27994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
27995   (exit $ac_status); }; } &&
27996          { ac_try='test -s conftest$ac_exeext'
27997   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27998   (eval $ac_try) 2>&5
27999   ac_status=$?
28000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28001   (exit $ac_status); }; }; then
28002   glibcxx_cv_func___builtin_sqrtl_link=yes
28003 else
28004   echo "$as_me: failed program was:" >&5
28005 sed 's/^/| /' conftest.$ac_ext >&5
28006
28007 glibcxx_cv_func___builtin_sqrtl_link=no
28008 fi
28009 rm -f conftest.err conftest.$ac_objext \
28010       conftest$ac_exeext conftest.$ac_ext
28011
28012 fi
28013
28014     fi
28015     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
28016 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
28017     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
28018       ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
28019
28020 cat >>confdefs.h <<_ACEOF
28021 #define ${ac_tr_func} 1
28022 _ACEOF
28023
28024     fi
28025   fi
28026
28027
28028
28029   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
28030 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
28031   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
28032     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
28033   echo $ECHO_N "(cached) $ECHO_C" >&6
28034 else
28035
28036
28037
28038       ac_ext=cc
28039 ac_cpp='$CXXCPP $CPPFLAGS'
28040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28043
28044       cat >conftest.$ac_ext <<_ACEOF
28045 /* confdefs.h.  */
28046 _ACEOF
28047 cat confdefs.h >>conftest.$ac_ext
28048 cat >>conftest.$ac_ext <<_ACEOF
28049 /* end confdefs.h.  */
28050 #include <math.h>
28051 int
28052 main ()
28053 {
28054  __builtin_sinf(0);
28055   ;
28056   return 0;
28057 }
28058 _ACEOF
28059 rm -f conftest.$ac_objext
28060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28061   (eval $ac_compile) 2>conftest.er1
28062   ac_status=$?
28063   grep -v '^ *+' conftest.er1 >conftest.err
28064   rm -f conftest.er1
28065   cat conftest.err >&5
28066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28067   (exit $ac_status); } &&
28068          { ac_try='test -z "$ac_cxx_werror_flag"
28069                          || test ! -s conftest.err'
28070   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28071   (eval $ac_try) 2>&5
28072   ac_status=$?
28073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28074   (exit $ac_status); }; } &&
28075          { ac_try='test -s conftest.$ac_objext'
28076   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28077   (eval $ac_try) 2>&5
28078   ac_status=$?
28079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28080   (exit $ac_status); }; }; then
28081   glibcxx_cv_func___builtin_sinf_use=yes
28082 else
28083   echo "$as_me: failed program was:" >&5
28084 sed 's/^/| /' conftest.$ac_ext >&5
28085
28086 glibcxx_cv_func___builtin_sinf_use=no
28087 fi
28088 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28089       ac_ext=c
28090 ac_cpp='$CPP $CPPFLAGS'
28091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28094
28095
28096 fi
28097
28098   fi
28099   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
28100 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
28101   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
28102     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
28103 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
28104     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
28105       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
28106   echo $ECHO_N "(cached) $ECHO_C" >&6
28107 else
28108
28109         if test x$gcc_no_link = xyes; then
28110   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28111 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28112    { (exit 1); exit 1; }; }
28113 fi
28114 cat >conftest.$ac_ext <<_ACEOF
28115 /* confdefs.h.  */
28116 _ACEOF
28117 cat confdefs.h >>conftest.$ac_ext
28118 cat >>conftest.$ac_ext <<_ACEOF
28119 /* end confdefs.h.  */
28120 #include <math.h>
28121 int
28122 main ()
28123 {
28124  __builtin_sinf(0);
28125   ;
28126   return 0;
28127 }
28128 _ACEOF
28129 rm -f conftest.$ac_objext conftest$ac_exeext
28130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28131   (eval $ac_link) 2>conftest.er1
28132   ac_status=$?
28133   grep -v '^ *+' conftest.er1 >conftest.err
28134   rm -f conftest.er1
28135   cat conftest.err >&5
28136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28137   (exit $ac_status); } &&
28138          { ac_try='test -z "$ac_c_werror_flag"
28139                          || test ! -s conftest.err'
28140   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28141   (eval $ac_try) 2>&5
28142   ac_status=$?
28143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28144   (exit $ac_status); }; } &&
28145          { ac_try='test -s conftest$ac_exeext'
28146   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28147   (eval $ac_try) 2>&5
28148   ac_status=$?
28149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28150   (exit $ac_status); }; }; then
28151   glibcxx_cv_func___builtin_sinf_link=yes
28152 else
28153   echo "$as_me: failed program was:" >&5
28154 sed 's/^/| /' conftest.$ac_ext >&5
28155
28156 glibcxx_cv_func___builtin_sinf_link=no
28157 fi
28158 rm -f conftest.err conftest.$ac_objext \
28159       conftest$ac_exeext conftest.$ac_ext
28160
28161 fi
28162
28163     fi
28164     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
28165 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
28166     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
28167       ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
28168
28169 cat >>confdefs.h <<_ACEOF
28170 #define ${ac_tr_func} 1
28171 _ACEOF
28172
28173     fi
28174   fi
28175
28176
28177   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
28178 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
28179   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
28180     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
28181   echo $ECHO_N "(cached) $ECHO_C" >&6
28182 else
28183
28184
28185
28186       ac_ext=cc
28187 ac_cpp='$CXXCPP $CPPFLAGS'
28188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28191
28192       cat >conftest.$ac_ext <<_ACEOF
28193 /* confdefs.h.  */
28194 _ACEOF
28195 cat confdefs.h >>conftest.$ac_ext
28196 cat >>conftest.$ac_ext <<_ACEOF
28197 /* end confdefs.h.  */
28198 #include <math.h>
28199 int
28200 main ()
28201 {
28202  __builtin_sin(0);
28203   ;
28204   return 0;
28205 }
28206 _ACEOF
28207 rm -f conftest.$ac_objext
28208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28209   (eval $ac_compile) 2>conftest.er1
28210   ac_status=$?
28211   grep -v '^ *+' conftest.er1 >conftest.err
28212   rm -f conftest.er1
28213   cat conftest.err >&5
28214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28215   (exit $ac_status); } &&
28216          { ac_try='test -z "$ac_cxx_werror_flag"
28217                          || test ! -s conftest.err'
28218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28219   (eval $ac_try) 2>&5
28220   ac_status=$?
28221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28222   (exit $ac_status); }; } &&
28223          { ac_try='test -s conftest.$ac_objext'
28224   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28225   (eval $ac_try) 2>&5
28226   ac_status=$?
28227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28228   (exit $ac_status); }; }; then
28229   glibcxx_cv_func___builtin_sin_use=yes
28230 else
28231   echo "$as_me: failed program was:" >&5
28232 sed 's/^/| /' conftest.$ac_ext >&5
28233
28234 glibcxx_cv_func___builtin_sin_use=no
28235 fi
28236 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28237       ac_ext=c
28238 ac_cpp='$CPP $CPPFLAGS'
28239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28242
28243
28244 fi
28245
28246   fi
28247   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
28248 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
28249   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
28250     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
28251 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
28252     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
28253       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
28254   echo $ECHO_N "(cached) $ECHO_C" >&6
28255 else
28256
28257         if test x$gcc_no_link = xyes; then
28258   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28259 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28260    { (exit 1); exit 1; }; }
28261 fi
28262 cat >conftest.$ac_ext <<_ACEOF
28263 /* confdefs.h.  */
28264 _ACEOF
28265 cat confdefs.h >>conftest.$ac_ext
28266 cat >>conftest.$ac_ext <<_ACEOF
28267 /* end confdefs.h.  */
28268 #include <math.h>
28269 int
28270 main ()
28271 {
28272  __builtin_sin(0);
28273   ;
28274   return 0;
28275 }
28276 _ACEOF
28277 rm -f conftest.$ac_objext conftest$ac_exeext
28278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28279   (eval $ac_link) 2>conftest.er1
28280   ac_status=$?
28281   grep -v '^ *+' conftest.er1 >conftest.err
28282   rm -f conftest.er1
28283   cat conftest.err >&5
28284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28285   (exit $ac_status); } &&
28286          { ac_try='test -z "$ac_c_werror_flag"
28287                          || test ! -s conftest.err'
28288   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28289   (eval $ac_try) 2>&5
28290   ac_status=$?
28291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28292   (exit $ac_status); }; } &&
28293          { ac_try='test -s conftest$ac_exeext'
28294   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28295   (eval $ac_try) 2>&5
28296   ac_status=$?
28297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28298   (exit $ac_status); }; }; then
28299   glibcxx_cv_func___builtin_sin_link=yes
28300 else
28301   echo "$as_me: failed program was:" >&5
28302 sed 's/^/| /' conftest.$ac_ext >&5
28303
28304 glibcxx_cv_func___builtin_sin_link=no
28305 fi
28306 rm -f conftest.err conftest.$ac_objext \
28307       conftest$ac_exeext conftest.$ac_ext
28308
28309 fi
28310
28311     fi
28312     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
28313 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
28314     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
28315       ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
28316
28317 cat >>confdefs.h <<_ACEOF
28318 #define ${ac_tr_func} 1
28319 _ACEOF
28320
28321     fi
28322   fi
28323
28324
28325   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
28326 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
28327   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
28328     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
28329   echo $ECHO_N "(cached) $ECHO_C" >&6
28330 else
28331
28332
28333
28334       ac_ext=cc
28335 ac_cpp='$CXXCPP $CPPFLAGS'
28336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28339
28340       cat >conftest.$ac_ext <<_ACEOF
28341 /* confdefs.h.  */
28342 _ACEOF
28343 cat confdefs.h >>conftest.$ac_ext
28344 cat >>conftest.$ac_ext <<_ACEOF
28345 /* end confdefs.h.  */
28346 #include <math.h>
28347 int
28348 main ()
28349 {
28350  __builtin_sinl(0);
28351   ;
28352   return 0;
28353 }
28354 _ACEOF
28355 rm -f conftest.$ac_objext
28356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28357   (eval $ac_compile) 2>conftest.er1
28358   ac_status=$?
28359   grep -v '^ *+' conftest.er1 >conftest.err
28360   rm -f conftest.er1
28361   cat conftest.err >&5
28362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28363   (exit $ac_status); } &&
28364          { ac_try='test -z "$ac_cxx_werror_flag"
28365                          || test ! -s conftest.err'
28366   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28367   (eval $ac_try) 2>&5
28368   ac_status=$?
28369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28370   (exit $ac_status); }; } &&
28371          { ac_try='test -s conftest.$ac_objext'
28372   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28373   (eval $ac_try) 2>&5
28374   ac_status=$?
28375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28376   (exit $ac_status); }; }; then
28377   glibcxx_cv_func___builtin_sinl_use=yes
28378 else
28379   echo "$as_me: failed program was:" >&5
28380 sed 's/^/| /' conftest.$ac_ext >&5
28381
28382 glibcxx_cv_func___builtin_sinl_use=no
28383 fi
28384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28385       ac_ext=c
28386 ac_cpp='$CPP $CPPFLAGS'
28387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28390
28391
28392 fi
28393
28394   fi
28395   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
28396 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
28397   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
28398     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
28399 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
28400     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
28401       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
28402   echo $ECHO_N "(cached) $ECHO_C" >&6
28403 else
28404
28405         if test x$gcc_no_link = xyes; then
28406   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28407 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28408    { (exit 1); exit 1; }; }
28409 fi
28410 cat >conftest.$ac_ext <<_ACEOF
28411 /* confdefs.h.  */
28412 _ACEOF
28413 cat confdefs.h >>conftest.$ac_ext
28414 cat >>conftest.$ac_ext <<_ACEOF
28415 /* end confdefs.h.  */
28416 #include <math.h>
28417 int
28418 main ()
28419 {
28420  __builtin_sinl(0);
28421   ;
28422   return 0;
28423 }
28424 _ACEOF
28425 rm -f conftest.$ac_objext conftest$ac_exeext
28426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28427   (eval $ac_link) 2>conftest.er1
28428   ac_status=$?
28429   grep -v '^ *+' conftest.er1 >conftest.err
28430   rm -f conftest.er1
28431   cat conftest.err >&5
28432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28433   (exit $ac_status); } &&
28434          { ac_try='test -z "$ac_c_werror_flag"
28435                          || test ! -s conftest.err'
28436   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28437   (eval $ac_try) 2>&5
28438   ac_status=$?
28439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28440   (exit $ac_status); }; } &&
28441          { ac_try='test -s conftest$ac_exeext'
28442   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28443   (eval $ac_try) 2>&5
28444   ac_status=$?
28445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28446   (exit $ac_status); }; }; then
28447   glibcxx_cv_func___builtin_sinl_link=yes
28448 else
28449   echo "$as_me: failed program was:" >&5
28450 sed 's/^/| /' conftest.$ac_ext >&5
28451
28452 glibcxx_cv_func___builtin_sinl_link=no
28453 fi
28454 rm -f conftest.err conftest.$ac_objext \
28455       conftest$ac_exeext conftest.$ac_ext
28456
28457 fi
28458
28459     fi
28460     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
28461 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
28462     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
28463       ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
28464
28465 cat >>confdefs.h <<_ACEOF
28466 #define ${ac_tr_func} 1
28467 _ACEOF
28468
28469     fi
28470   fi
28471
28472
28473
28474   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
28475 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
28476   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
28477     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
28478   echo $ECHO_N "(cached) $ECHO_C" >&6
28479 else
28480
28481
28482
28483       ac_ext=cc
28484 ac_cpp='$CXXCPP $CPPFLAGS'
28485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28488
28489       cat >conftest.$ac_ext <<_ACEOF
28490 /* confdefs.h.  */
28491 _ACEOF
28492 cat confdefs.h >>conftest.$ac_ext
28493 cat >>conftest.$ac_ext <<_ACEOF
28494 /* end confdefs.h.  */
28495 #include <math.h>
28496 int
28497 main ()
28498 {
28499  __builtin_cosf(0);
28500   ;
28501   return 0;
28502 }
28503 _ACEOF
28504 rm -f conftest.$ac_objext
28505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28506   (eval $ac_compile) 2>conftest.er1
28507   ac_status=$?
28508   grep -v '^ *+' conftest.er1 >conftest.err
28509   rm -f conftest.er1
28510   cat conftest.err >&5
28511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28512   (exit $ac_status); } &&
28513          { ac_try='test -z "$ac_cxx_werror_flag"
28514                          || test ! -s conftest.err'
28515   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28516   (eval $ac_try) 2>&5
28517   ac_status=$?
28518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28519   (exit $ac_status); }; } &&
28520          { ac_try='test -s conftest.$ac_objext'
28521   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28522   (eval $ac_try) 2>&5
28523   ac_status=$?
28524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28525   (exit $ac_status); }; }; then
28526   glibcxx_cv_func___builtin_cosf_use=yes
28527 else
28528   echo "$as_me: failed program was:" >&5
28529 sed 's/^/| /' conftest.$ac_ext >&5
28530
28531 glibcxx_cv_func___builtin_cosf_use=no
28532 fi
28533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28534       ac_ext=c
28535 ac_cpp='$CPP $CPPFLAGS'
28536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28539
28540
28541 fi
28542
28543   fi
28544   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
28545 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
28546   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
28547     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
28548 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
28549     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
28550       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
28551   echo $ECHO_N "(cached) $ECHO_C" >&6
28552 else
28553
28554         if test x$gcc_no_link = xyes; then
28555   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28556 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28557    { (exit 1); exit 1; }; }
28558 fi
28559 cat >conftest.$ac_ext <<_ACEOF
28560 /* confdefs.h.  */
28561 _ACEOF
28562 cat confdefs.h >>conftest.$ac_ext
28563 cat >>conftest.$ac_ext <<_ACEOF
28564 /* end confdefs.h.  */
28565 #include <math.h>
28566 int
28567 main ()
28568 {
28569  __builtin_cosf(0);
28570   ;
28571   return 0;
28572 }
28573 _ACEOF
28574 rm -f conftest.$ac_objext conftest$ac_exeext
28575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28576   (eval $ac_link) 2>conftest.er1
28577   ac_status=$?
28578   grep -v '^ *+' conftest.er1 >conftest.err
28579   rm -f conftest.er1
28580   cat conftest.err >&5
28581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28582   (exit $ac_status); } &&
28583          { ac_try='test -z "$ac_c_werror_flag"
28584                          || test ! -s conftest.err'
28585   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28586   (eval $ac_try) 2>&5
28587   ac_status=$?
28588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28589   (exit $ac_status); }; } &&
28590          { ac_try='test -s conftest$ac_exeext'
28591   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28592   (eval $ac_try) 2>&5
28593   ac_status=$?
28594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28595   (exit $ac_status); }; }; then
28596   glibcxx_cv_func___builtin_cosf_link=yes
28597 else
28598   echo "$as_me: failed program was:" >&5
28599 sed 's/^/| /' conftest.$ac_ext >&5
28600
28601 glibcxx_cv_func___builtin_cosf_link=no
28602 fi
28603 rm -f conftest.err conftest.$ac_objext \
28604       conftest$ac_exeext conftest.$ac_ext
28605
28606 fi
28607
28608     fi
28609     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
28610 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
28611     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
28612       ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
28613
28614 cat >>confdefs.h <<_ACEOF
28615 #define ${ac_tr_func} 1
28616 _ACEOF
28617
28618     fi
28619   fi
28620
28621
28622   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
28623 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
28624   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
28625     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
28626   echo $ECHO_N "(cached) $ECHO_C" >&6
28627 else
28628
28629
28630
28631       ac_ext=cc
28632 ac_cpp='$CXXCPP $CPPFLAGS'
28633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28636
28637       cat >conftest.$ac_ext <<_ACEOF
28638 /* confdefs.h.  */
28639 _ACEOF
28640 cat confdefs.h >>conftest.$ac_ext
28641 cat >>conftest.$ac_ext <<_ACEOF
28642 /* end confdefs.h.  */
28643 #include <math.h>
28644 int
28645 main ()
28646 {
28647  __builtin_cos(0);
28648   ;
28649   return 0;
28650 }
28651 _ACEOF
28652 rm -f conftest.$ac_objext
28653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28654   (eval $ac_compile) 2>conftest.er1
28655   ac_status=$?
28656   grep -v '^ *+' conftest.er1 >conftest.err
28657   rm -f conftest.er1
28658   cat conftest.err >&5
28659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28660   (exit $ac_status); } &&
28661          { ac_try='test -z "$ac_cxx_werror_flag"
28662                          || test ! -s conftest.err'
28663   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28664   (eval $ac_try) 2>&5
28665   ac_status=$?
28666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28667   (exit $ac_status); }; } &&
28668          { ac_try='test -s conftest.$ac_objext'
28669   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28670   (eval $ac_try) 2>&5
28671   ac_status=$?
28672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28673   (exit $ac_status); }; }; then
28674   glibcxx_cv_func___builtin_cos_use=yes
28675 else
28676   echo "$as_me: failed program was:" >&5
28677 sed 's/^/| /' conftest.$ac_ext >&5
28678
28679 glibcxx_cv_func___builtin_cos_use=no
28680 fi
28681 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28682       ac_ext=c
28683 ac_cpp='$CPP $CPPFLAGS'
28684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28687
28688
28689 fi
28690
28691   fi
28692   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
28693 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
28694   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
28695     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
28696 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
28697     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
28698       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
28699   echo $ECHO_N "(cached) $ECHO_C" >&6
28700 else
28701
28702         if test x$gcc_no_link = xyes; then
28703   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28704 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28705    { (exit 1); exit 1; }; }
28706 fi
28707 cat >conftest.$ac_ext <<_ACEOF
28708 /* confdefs.h.  */
28709 _ACEOF
28710 cat confdefs.h >>conftest.$ac_ext
28711 cat >>conftest.$ac_ext <<_ACEOF
28712 /* end confdefs.h.  */
28713 #include <math.h>
28714 int
28715 main ()
28716 {
28717  __builtin_cos(0);
28718   ;
28719   return 0;
28720 }
28721 _ACEOF
28722 rm -f conftest.$ac_objext conftest$ac_exeext
28723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28724   (eval $ac_link) 2>conftest.er1
28725   ac_status=$?
28726   grep -v '^ *+' conftest.er1 >conftest.err
28727   rm -f conftest.er1
28728   cat conftest.err >&5
28729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28730   (exit $ac_status); } &&
28731          { ac_try='test -z "$ac_c_werror_flag"
28732                          || test ! -s conftest.err'
28733   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28734   (eval $ac_try) 2>&5
28735   ac_status=$?
28736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28737   (exit $ac_status); }; } &&
28738          { ac_try='test -s conftest$ac_exeext'
28739   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28740   (eval $ac_try) 2>&5
28741   ac_status=$?
28742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28743   (exit $ac_status); }; }; then
28744   glibcxx_cv_func___builtin_cos_link=yes
28745 else
28746   echo "$as_me: failed program was:" >&5
28747 sed 's/^/| /' conftest.$ac_ext >&5
28748
28749 glibcxx_cv_func___builtin_cos_link=no
28750 fi
28751 rm -f conftest.err conftest.$ac_objext \
28752       conftest$ac_exeext conftest.$ac_ext
28753
28754 fi
28755
28756     fi
28757     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
28758 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
28759     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
28760       ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
28761
28762 cat >>confdefs.h <<_ACEOF
28763 #define ${ac_tr_func} 1
28764 _ACEOF
28765
28766     fi
28767   fi
28768
28769
28770   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
28771 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
28772   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
28773     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
28774   echo $ECHO_N "(cached) $ECHO_C" >&6
28775 else
28776
28777
28778
28779       ac_ext=cc
28780 ac_cpp='$CXXCPP $CPPFLAGS'
28781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28784
28785       cat >conftest.$ac_ext <<_ACEOF
28786 /* confdefs.h.  */
28787 _ACEOF
28788 cat confdefs.h >>conftest.$ac_ext
28789 cat >>conftest.$ac_ext <<_ACEOF
28790 /* end confdefs.h.  */
28791 #include <math.h>
28792 int
28793 main ()
28794 {
28795  __builtin_cosl(0);
28796   ;
28797   return 0;
28798 }
28799 _ACEOF
28800 rm -f conftest.$ac_objext
28801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28802   (eval $ac_compile) 2>conftest.er1
28803   ac_status=$?
28804   grep -v '^ *+' conftest.er1 >conftest.err
28805   rm -f conftest.er1
28806   cat conftest.err >&5
28807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28808   (exit $ac_status); } &&
28809          { ac_try='test -z "$ac_cxx_werror_flag"
28810                          || test ! -s conftest.err'
28811   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28812   (eval $ac_try) 2>&5
28813   ac_status=$?
28814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28815   (exit $ac_status); }; } &&
28816          { ac_try='test -s conftest.$ac_objext'
28817   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28818   (eval $ac_try) 2>&5
28819   ac_status=$?
28820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28821   (exit $ac_status); }; }; then
28822   glibcxx_cv_func___builtin_cosl_use=yes
28823 else
28824   echo "$as_me: failed program was:" >&5
28825 sed 's/^/| /' conftest.$ac_ext >&5
28826
28827 glibcxx_cv_func___builtin_cosl_use=no
28828 fi
28829 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28830       ac_ext=c
28831 ac_cpp='$CPP $CPPFLAGS'
28832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28835
28836
28837 fi
28838
28839   fi
28840   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
28841 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
28842   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
28843     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
28844 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
28845     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
28846       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
28847   echo $ECHO_N "(cached) $ECHO_C" >&6
28848 else
28849
28850         if test x$gcc_no_link = xyes; then
28851   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28852 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28853    { (exit 1); exit 1; }; }
28854 fi
28855 cat >conftest.$ac_ext <<_ACEOF
28856 /* confdefs.h.  */
28857 _ACEOF
28858 cat confdefs.h >>conftest.$ac_ext
28859 cat >>conftest.$ac_ext <<_ACEOF
28860 /* end confdefs.h.  */
28861 #include <math.h>
28862 int
28863 main ()
28864 {
28865  __builtin_cosl(0);
28866   ;
28867   return 0;
28868 }
28869 _ACEOF
28870 rm -f conftest.$ac_objext conftest$ac_exeext
28871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28872   (eval $ac_link) 2>conftest.er1
28873   ac_status=$?
28874   grep -v '^ *+' conftest.er1 >conftest.err
28875   rm -f conftest.er1
28876   cat conftest.err >&5
28877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28878   (exit $ac_status); } &&
28879          { ac_try='test -z "$ac_c_werror_flag"
28880                          || test ! -s conftest.err'
28881   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28882   (eval $ac_try) 2>&5
28883   ac_status=$?
28884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28885   (exit $ac_status); }; } &&
28886          { ac_try='test -s conftest$ac_exeext'
28887   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28888   (eval $ac_try) 2>&5
28889   ac_status=$?
28890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28891   (exit $ac_status); }; }; then
28892   glibcxx_cv_func___builtin_cosl_link=yes
28893 else
28894   echo "$as_me: failed program was:" >&5
28895 sed 's/^/| /' conftest.$ac_ext >&5
28896
28897 glibcxx_cv_func___builtin_cosl_link=no
28898 fi
28899 rm -f conftest.err conftest.$ac_objext \
28900       conftest$ac_exeext conftest.$ac_ext
28901
28902 fi
28903
28904     fi
28905     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
28906 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
28907     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
28908       ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
28909
28910 cat >>confdefs.h <<_ACEOF
28911 #define ${ac_tr_func} 1
28912 _ACEOF
28913
28914     fi
28915   fi
28916
28917
28918
28919
28920 echo "$as_me:$LINENO: checking for main in -lm" >&5
28921 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
28922 if test "${ac_cv_lib_m_main+set}" = set; then
28923   echo $ECHO_N "(cached) $ECHO_C" >&6
28924 else
28925   ac_check_lib_save_LIBS=$LIBS
28926 LIBS="-lm  $LIBS"
28927 if test x$gcc_no_link = xyes; then
28928   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28929 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28930    { (exit 1); exit 1; }; }
28931 fi
28932 cat >conftest.$ac_ext <<_ACEOF
28933 /* confdefs.h.  */
28934 _ACEOF
28935 cat confdefs.h >>conftest.$ac_ext
28936 cat >>conftest.$ac_ext <<_ACEOF
28937 /* end confdefs.h.  */
28938
28939
28940 int
28941 main ()
28942 {
28943 main ();
28944   ;
28945   return 0;
28946 }
28947 _ACEOF
28948 rm -f conftest.$ac_objext conftest$ac_exeext
28949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28950   (eval $ac_link) 2>conftest.er1
28951   ac_status=$?
28952   grep -v '^ *+' conftest.er1 >conftest.err
28953   rm -f conftest.er1
28954   cat conftest.err >&5
28955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28956   (exit $ac_status); } &&
28957          { ac_try='test -z "$ac_c_werror_flag"
28958                          || test ! -s conftest.err'
28959   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28960   (eval $ac_try) 2>&5
28961   ac_status=$?
28962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28963   (exit $ac_status); }; } &&
28964          { ac_try='test -s conftest$ac_exeext'
28965   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28966   (eval $ac_try) 2>&5
28967   ac_status=$?
28968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
28969   (exit $ac_status); }; }; then
28970   ac_cv_lib_m_main=yes
28971 else
28972   echo "$as_me: failed program was:" >&5
28973 sed 's/^/| /' conftest.$ac_ext >&5
28974
28975 ac_cv_lib_m_main=no
28976 fi
28977 rm -f conftest.err conftest.$ac_objext \
28978       conftest$ac_exeext conftest.$ac_ext
28979 LIBS=$ac_check_lib_save_LIBS
28980 fi
28981 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
28982 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
28983 if test $ac_cv_lib_m_main = yes; then
28984   cat >>confdefs.h <<_ACEOF
28985 #define HAVE_LIBM 1
28986 _ACEOF
28987
28988   LIBS="-lm $LIBS"
28989
28990 fi
28991
28992
28993 for ac_func in copysignf
28994 do
28995 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28996 echo "$as_me:$LINENO: checking for $ac_func" >&5
28997 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28998 if eval "test \"\${$as_ac_var+set}\" = set"; then
28999   echo $ECHO_N "(cached) $ECHO_C" >&6
29000 else
29001   if test x$gcc_no_link = xyes; then
29002   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29003 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29004    { (exit 1); exit 1; }; }
29005 fi
29006 cat >conftest.$ac_ext <<_ACEOF
29007 /* confdefs.h.  */
29008 _ACEOF
29009 cat confdefs.h >>conftest.$ac_ext
29010 cat >>conftest.$ac_ext <<_ACEOF
29011 /* end confdefs.h.  */
29012 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29013    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29014 #define $ac_func innocuous_$ac_func
29015
29016 /* System header to define __stub macros and hopefully few prototypes,
29017     which can conflict with char $ac_func (); below.
29018     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29019     <limits.h> exists even on freestanding compilers.  */
29020
29021 #ifdef __STDC__
29022 # include <limits.h>
29023 #else
29024 # include <assert.h>
29025 #endif
29026
29027 #undef $ac_func
29028
29029 /* Override any gcc2 internal prototype to avoid an error.  */
29030 #ifdef __cplusplus
29031 extern "C"
29032 {
29033 #endif
29034 /* We use char because int might match the return type of a gcc2
29035    builtin and then its argument prototype would still apply.  */
29036 char $ac_func ();
29037 /* The GNU C library defines this for functions which it implements
29038     to always fail with ENOSYS.  Some functions are actually named
29039     something starting with __ and the normal name is an alias.  */
29040 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29041 choke me
29042 #else
29043 char (*f) () = $ac_func;
29044 #endif
29045 #ifdef __cplusplus
29046 }
29047 #endif
29048
29049 int
29050 main ()
29051 {
29052 return f != $ac_func;
29053   ;
29054   return 0;
29055 }
29056 _ACEOF
29057 rm -f conftest.$ac_objext conftest$ac_exeext
29058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29059   (eval $ac_link) 2>conftest.er1
29060   ac_status=$?
29061   grep -v '^ *+' conftest.er1 >conftest.err
29062   rm -f conftest.er1
29063   cat conftest.err >&5
29064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29065   (exit $ac_status); } &&
29066          { ac_try='test -z "$ac_c_werror_flag"
29067                          || test ! -s conftest.err'
29068   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29069   (eval $ac_try) 2>&5
29070   ac_status=$?
29071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29072   (exit $ac_status); }; } &&
29073          { ac_try='test -s conftest$ac_exeext'
29074   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29075   (eval $ac_try) 2>&5
29076   ac_status=$?
29077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29078   (exit $ac_status); }; }; then
29079   eval "$as_ac_var=yes"
29080 else
29081   echo "$as_me: failed program was:" >&5
29082 sed 's/^/| /' conftest.$ac_ext >&5
29083
29084 eval "$as_ac_var=no"
29085 fi
29086 rm -f conftest.err conftest.$ac_objext \
29087       conftest$ac_exeext conftest.$ac_ext
29088 fi
29089 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29090 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29091 if test `eval echo '${'$as_ac_var'}'` = yes; then
29092   cat >>confdefs.h <<_ACEOF
29093 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29094 _ACEOF
29095
29096 else
29097   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
29098 fi
29099 done
29100
29101
29102
29103 for ac_func in __signbit
29104 do
29105 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29106 echo "$as_me:$LINENO: checking for $ac_func" >&5
29107 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29108 if eval "test \"\${$as_ac_var+set}\" = set"; then
29109   echo $ECHO_N "(cached) $ECHO_C" >&6
29110 else
29111   if test x$gcc_no_link = xyes; then
29112   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29113 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29114    { (exit 1); exit 1; }; }
29115 fi
29116 cat >conftest.$ac_ext <<_ACEOF
29117 /* confdefs.h.  */
29118 _ACEOF
29119 cat confdefs.h >>conftest.$ac_ext
29120 cat >>conftest.$ac_ext <<_ACEOF
29121 /* end confdefs.h.  */
29122 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29123    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29124 #define $ac_func innocuous_$ac_func
29125
29126 /* System header to define __stub macros and hopefully few prototypes,
29127     which can conflict with char $ac_func (); below.
29128     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29129     <limits.h> exists even on freestanding compilers.  */
29130
29131 #ifdef __STDC__
29132 # include <limits.h>
29133 #else
29134 # include <assert.h>
29135 #endif
29136
29137 #undef $ac_func
29138
29139 /* Override any gcc2 internal prototype to avoid an error.  */
29140 #ifdef __cplusplus
29141 extern "C"
29142 {
29143 #endif
29144 /* We use char because int might match the return type of a gcc2
29145    builtin and then its argument prototype would still apply.  */
29146 char $ac_func ();
29147 /* The GNU C library defines this for functions which it implements
29148     to always fail with ENOSYS.  Some functions are actually named
29149     something starting with __ and the normal name is an alias.  */
29150 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29151 choke me
29152 #else
29153 char (*f) () = $ac_func;
29154 #endif
29155 #ifdef __cplusplus
29156 }
29157 #endif
29158
29159 int
29160 main ()
29161 {
29162 return f != $ac_func;
29163   ;
29164   return 0;
29165 }
29166 _ACEOF
29167 rm -f conftest.$ac_objext conftest$ac_exeext
29168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29169   (eval $ac_link) 2>conftest.er1
29170   ac_status=$?
29171   grep -v '^ *+' conftest.er1 >conftest.err
29172   rm -f conftest.er1
29173   cat conftest.err >&5
29174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29175   (exit $ac_status); } &&
29176          { ac_try='test -z "$ac_c_werror_flag"
29177                          || test ! -s conftest.err'
29178   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29179   (eval $ac_try) 2>&5
29180   ac_status=$?
29181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29182   (exit $ac_status); }; } &&
29183          { ac_try='test -s conftest$ac_exeext'
29184   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29185   (eval $ac_try) 2>&5
29186   ac_status=$?
29187   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29188   (exit $ac_status); }; }; then
29189   eval "$as_ac_var=yes"
29190 else
29191   echo "$as_me: failed program was:" >&5
29192 sed 's/^/| /' conftest.$ac_ext >&5
29193
29194 eval "$as_ac_var=no"
29195 fi
29196 rm -f conftest.err conftest.$ac_objext \
29197       conftest$ac_exeext conftest.$ac_ext
29198 fi
29199 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29200 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29201 if test `eval echo '${'$as_ac_var'}'` = yes; then
29202   cat >>confdefs.h <<_ACEOF
29203 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29204 _ACEOF
29205
29206 else
29207   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
29208 fi
29209 done
29210
29211
29212
29213 for ac_func in __signbitf
29214 do
29215 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29216 echo "$as_me:$LINENO: checking for $ac_func" >&5
29217 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29218 if eval "test \"\${$as_ac_var+set}\" = set"; then
29219   echo $ECHO_N "(cached) $ECHO_C" >&6
29220 else
29221   if test x$gcc_no_link = xyes; then
29222   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29223 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29224    { (exit 1); exit 1; }; }
29225 fi
29226 cat >conftest.$ac_ext <<_ACEOF
29227 /* confdefs.h.  */
29228 _ACEOF
29229 cat confdefs.h >>conftest.$ac_ext
29230 cat >>conftest.$ac_ext <<_ACEOF
29231 /* end confdefs.h.  */
29232 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29233    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29234 #define $ac_func innocuous_$ac_func
29235
29236 /* System header to define __stub macros and hopefully few prototypes,
29237     which can conflict with char $ac_func (); below.
29238     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29239     <limits.h> exists even on freestanding compilers.  */
29240
29241 #ifdef __STDC__
29242 # include <limits.h>
29243 #else
29244 # include <assert.h>
29245 #endif
29246
29247 #undef $ac_func
29248
29249 /* Override any gcc2 internal prototype to avoid an error.  */
29250 #ifdef __cplusplus
29251 extern "C"
29252 {
29253 #endif
29254 /* We use char because int might match the return type of a gcc2
29255    builtin and then its argument prototype would still apply.  */
29256 char $ac_func ();
29257 /* The GNU C library defines this for functions which it implements
29258     to always fail with ENOSYS.  Some functions are actually named
29259     something starting with __ and the normal name is an alias.  */
29260 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29261 choke me
29262 #else
29263 char (*f) () = $ac_func;
29264 #endif
29265 #ifdef __cplusplus
29266 }
29267 #endif
29268
29269 int
29270 main ()
29271 {
29272 return f != $ac_func;
29273   ;
29274   return 0;
29275 }
29276 _ACEOF
29277 rm -f conftest.$ac_objext conftest$ac_exeext
29278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29279   (eval $ac_link) 2>conftest.er1
29280   ac_status=$?
29281   grep -v '^ *+' conftest.er1 >conftest.err
29282   rm -f conftest.er1
29283   cat conftest.err >&5
29284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29285   (exit $ac_status); } &&
29286          { ac_try='test -z "$ac_c_werror_flag"
29287                          || test ! -s conftest.err'
29288   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29289   (eval $ac_try) 2>&5
29290   ac_status=$?
29291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29292   (exit $ac_status); }; } &&
29293          { ac_try='test -s conftest$ac_exeext'
29294   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29295   (eval $ac_try) 2>&5
29296   ac_status=$?
29297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29298   (exit $ac_status); }; }; then
29299   eval "$as_ac_var=yes"
29300 else
29301   echo "$as_me: failed program was:" >&5
29302 sed 's/^/| /' conftest.$ac_ext >&5
29303
29304 eval "$as_ac_var=no"
29305 fi
29306 rm -f conftest.err conftest.$ac_objext \
29307       conftest$ac_exeext conftest.$ac_ext
29308 fi
29309 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29310 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29311 if test `eval echo '${'$as_ac_var'}'` = yes; then
29312   cat >>confdefs.h <<_ACEOF
29313 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29314 _ACEOF
29315
29316 else
29317   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
29318 fi
29319 done
29320
29321
29322           if test x$ac_cv_func_copysignl = x"yes"; then
29323
29324 for ac_func in __signbitl
29325 do
29326 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29327 echo "$as_me:$LINENO: checking for $ac_func" >&5
29328 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29329 if eval "test \"\${$as_ac_var+set}\" = set"; then
29330   echo $ECHO_N "(cached) $ECHO_C" >&6
29331 else
29332   if test x$gcc_no_link = xyes; then
29333   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29334 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29335    { (exit 1); exit 1; }; }
29336 fi
29337 cat >conftest.$ac_ext <<_ACEOF
29338 /* confdefs.h.  */
29339 _ACEOF
29340 cat confdefs.h >>conftest.$ac_ext
29341 cat >>conftest.$ac_ext <<_ACEOF
29342 /* end confdefs.h.  */
29343 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29344    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29345 #define $ac_func innocuous_$ac_func
29346
29347 /* System header to define __stub macros and hopefully few prototypes,
29348     which can conflict with char $ac_func (); below.
29349     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29350     <limits.h> exists even on freestanding compilers.  */
29351
29352 #ifdef __STDC__
29353 # include <limits.h>
29354 #else
29355 # include <assert.h>
29356 #endif
29357
29358 #undef $ac_func
29359
29360 /* Override any gcc2 internal prototype to avoid an error.  */
29361 #ifdef __cplusplus
29362 extern "C"
29363 {
29364 #endif
29365 /* We use char because int might match the return type of a gcc2
29366    builtin and then its argument prototype would still apply.  */
29367 char $ac_func ();
29368 /* The GNU C library defines this for functions which it implements
29369     to always fail with ENOSYS.  Some functions are actually named
29370     something starting with __ and the normal name is an alias.  */
29371 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29372 choke me
29373 #else
29374 char (*f) () = $ac_func;
29375 #endif
29376 #ifdef __cplusplus
29377 }
29378 #endif
29379
29380 int
29381 main ()
29382 {
29383 return f != $ac_func;
29384   ;
29385   return 0;
29386 }
29387 _ACEOF
29388 rm -f conftest.$ac_objext conftest$ac_exeext
29389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29390   (eval $ac_link) 2>conftest.er1
29391   ac_status=$?
29392   grep -v '^ *+' conftest.er1 >conftest.err
29393   rm -f conftest.er1
29394   cat conftest.err >&5
29395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29396   (exit $ac_status); } &&
29397          { ac_try='test -z "$ac_c_werror_flag"
29398                          || test ! -s conftest.err'
29399   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29400   (eval $ac_try) 2>&5
29401   ac_status=$?
29402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29403   (exit $ac_status); }; } &&
29404          { ac_try='test -s conftest$ac_exeext'
29405   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29406   (eval $ac_try) 2>&5
29407   ac_status=$?
29408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29409   (exit $ac_status); }; }; then
29410   eval "$as_ac_var=yes"
29411 else
29412   echo "$as_me: failed program was:" >&5
29413 sed 's/^/| /' conftest.$ac_ext >&5
29414
29415 eval "$as_ac_var=no"
29416 fi
29417 rm -f conftest.err conftest.$ac_objext \
29418       conftest$ac_exeext conftest.$ac_ext
29419 fi
29420 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29421 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29422 if test `eval echo '${'$as_ac_var'}'` = yes; then
29423   cat >>confdefs.h <<_ACEOF
29424 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29425 _ACEOF
29426
29427 else
29428   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
29429 fi
29430 done
29431
29432   fi
29433
29434   # Used in libmath/Makefile.am.
29435   if test -n "$LIBMATHOBJS"; then
29436     need_libmath=yes
29437   fi
29438
29439
29440
29441   # Test wchar.h for mbstate_t, which is needed for char_traits and
29442   # others even if wchar_t support is not on.
29443   echo "$as_me:$LINENO: checking for mbstate_t" >&5
29444 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
29445   cat >conftest.$ac_ext <<_ACEOF
29446 /* confdefs.h.  */
29447 _ACEOF
29448 cat confdefs.h >>conftest.$ac_ext
29449 cat >>conftest.$ac_ext <<_ACEOF
29450 /* end confdefs.h.  */
29451 #include <wchar.h>
29452 int
29453 main ()
29454 {
29455 mbstate_t teststate;
29456   ;
29457   return 0;
29458 }
29459 _ACEOF
29460 rm -f conftest.$ac_objext
29461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29462   (eval $ac_compile) 2>conftest.er1
29463   ac_status=$?
29464   grep -v '^ *+' conftest.er1 >conftest.err
29465   rm -f conftest.er1
29466   cat conftest.err >&5
29467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29468   (exit $ac_status); } &&
29469          { ac_try='test -z "$ac_c_werror_flag"
29470                          || test ! -s conftest.err'
29471   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29472   (eval $ac_try) 2>&5
29473   ac_status=$?
29474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29475   (exit $ac_status); }; } &&
29476          { ac_try='test -s conftest.$ac_objext'
29477   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29478   (eval $ac_try) 2>&5
29479   ac_status=$?
29480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29481   (exit $ac_status); }; }; then
29482   have_mbstate_t=yes
29483 else
29484   echo "$as_me: failed program was:" >&5
29485 sed 's/^/| /' conftest.$ac_ext >&5
29486
29487 have_mbstate_t=no
29488 fi
29489 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29490   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
29491 echo "${ECHO_T}$have_mbstate_t" >&6
29492   if test x"$have_mbstate_t" = xyes; then
29493     cat >>confdefs.h <<\_ACEOF
29494 #define HAVE_MBSTATE_T 1
29495 _ACEOF
29496
29497   fi
29498
29499   # Sanity check for existence of ISO C99 headers for extended encoding.
29500
29501 for ac_header in wchar.h
29502 do
29503 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29504 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29505   echo "$as_me:$LINENO: checking for $ac_header" >&5
29506 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29507 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29508   echo $ECHO_N "(cached) $ECHO_C" >&6
29509 fi
29510 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29511 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29512 else
29513   # Is the header compilable?
29514 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29515 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29516 cat >conftest.$ac_ext <<_ACEOF
29517 /* confdefs.h.  */
29518 _ACEOF
29519 cat confdefs.h >>conftest.$ac_ext
29520 cat >>conftest.$ac_ext <<_ACEOF
29521 /* end confdefs.h.  */
29522 $ac_includes_default
29523 #include <$ac_header>
29524 _ACEOF
29525 rm -f conftest.$ac_objext
29526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29527   (eval $ac_compile) 2>conftest.er1
29528   ac_status=$?
29529   grep -v '^ *+' conftest.er1 >conftest.err
29530   rm -f conftest.er1
29531   cat conftest.err >&5
29532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29533   (exit $ac_status); } &&
29534          { ac_try='test -z "$ac_c_werror_flag"
29535                          || test ! -s conftest.err'
29536   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29537   (eval $ac_try) 2>&5
29538   ac_status=$?
29539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29540   (exit $ac_status); }; } &&
29541          { ac_try='test -s conftest.$ac_objext'
29542   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29543   (eval $ac_try) 2>&5
29544   ac_status=$?
29545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29546   (exit $ac_status); }; }; then
29547   ac_header_compiler=yes
29548 else
29549   echo "$as_me: failed program was:" >&5
29550 sed 's/^/| /' conftest.$ac_ext >&5
29551
29552 ac_header_compiler=no
29553 fi
29554 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29555 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29556 echo "${ECHO_T}$ac_header_compiler" >&6
29557
29558 # Is the header present?
29559 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29560 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29561 cat >conftest.$ac_ext <<_ACEOF
29562 /* confdefs.h.  */
29563 _ACEOF
29564 cat confdefs.h >>conftest.$ac_ext
29565 cat >>conftest.$ac_ext <<_ACEOF
29566 /* end confdefs.h.  */
29567 #include <$ac_header>
29568 _ACEOF
29569 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29570   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29571   ac_status=$?
29572   grep -v '^ *+' conftest.er1 >conftest.err
29573   rm -f conftest.er1
29574   cat conftest.err >&5
29575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29576   (exit $ac_status); } >/dev/null; then
29577   if test -s conftest.err; then
29578     ac_cpp_err=$ac_c_preproc_warn_flag
29579     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29580   else
29581     ac_cpp_err=
29582   fi
29583 else
29584   ac_cpp_err=yes
29585 fi
29586 if test -z "$ac_cpp_err"; then
29587   ac_header_preproc=yes
29588 else
29589   echo "$as_me: failed program was:" >&5
29590 sed 's/^/| /' conftest.$ac_ext >&5
29591
29592   ac_header_preproc=no
29593 fi
29594 rm -f conftest.err conftest.$ac_ext
29595 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29596 echo "${ECHO_T}$ac_header_preproc" >&6
29597
29598 # So?  What about this header?
29599 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29600   yes:no: )
29601     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29602 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29603     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29604 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29605     ac_header_preproc=yes
29606     ;;
29607   no:yes:* )
29608     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29609 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29610     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
29611 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
29612     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29613 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29614     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
29615 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
29616     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29617 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29618     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29619 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29620     (
29621       cat <<\_ASBOX
29622 ## ----------------------------------------- ##
29623 ## Report this to the package-unused lists.  ##
29624 ## ----------------------------------------- ##
29625 _ASBOX
29626     ) |
29627       sed "s/^/$as_me: WARNING:     /" >&2
29628     ;;
29629 esac
29630 echo "$as_me:$LINENO: checking for $ac_header" >&5
29631 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29632 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29633   echo $ECHO_N "(cached) $ECHO_C" >&6
29634 else
29635   eval "$as_ac_Header=\$ac_header_preproc"
29636 fi
29637 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29638 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29639
29640 fi
29641 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29642   cat >>confdefs.h <<_ACEOF
29643 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29644 _ACEOF
29645  ac_has_wchar_h=yes
29646 else
29647   ac_has_wchar_h=no
29648 fi
29649
29650 done
29651
29652
29653 for ac_header in wctype.h
29654 do
29655 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29656 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29657   echo "$as_me:$LINENO: checking for $ac_header" >&5
29658 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29659 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29660   echo $ECHO_N "(cached) $ECHO_C" >&6
29661 fi
29662 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29663 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29664 else
29665   # Is the header compilable?
29666 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29667 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29668 cat >conftest.$ac_ext <<_ACEOF
29669 /* confdefs.h.  */
29670 _ACEOF
29671 cat confdefs.h >>conftest.$ac_ext
29672 cat >>conftest.$ac_ext <<_ACEOF
29673 /* end confdefs.h.  */
29674 $ac_includes_default
29675 #include <$ac_header>
29676 _ACEOF
29677 rm -f conftest.$ac_objext
29678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29679   (eval $ac_compile) 2>conftest.er1
29680   ac_status=$?
29681   grep -v '^ *+' conftest.er1 >conftest.err
29682   rm -f conftest.er1
29683   cat conftest.err >&5
29684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29685   (exit $ac_status); } &&
29686          { ac_try='test -z "$ac_c_werror_flag"
29687                          || test ! -s conftest.err'
29688   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29689   (eval $ac_try) 2>&5
29690   ac_status=$?
29691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29692   (exit $ac_status); }; } &&
29693          { ac_try='test -s conftest.$ac_objext'
29694   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29695   (eval $ac_try) 2>&5
29696   ac_status=$?
29697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29698   (exit $ac_status); }; }; then
29699   ac_header_compiler=yes
29700 else
29701   echo "$as_me: failed program was:" >&5
29702 sed 's/^/| /' conftest.$ac_ext >&5
29703
29704 ac_header_compiler=no
29705 fi
29706 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29707 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29708 echo "${ECHO_T}$ac_header_compiler" >&6
29709
29710 # Is the header present?
29711 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29712 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29713 cat >conftest.$ac_ext <<_ACEOF
29714 /* confdefs.h.  */
29715 _ACEOF
29716 cat confdefs.h >>conftest.$ac_ext
29717 cat >>conftest.$ac_ext <<_ACEOF
29718 /* end confdefs.h.  */
29719 #include <$ac_header>
29720 _ACEOF
29721 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29722   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29723   ac_status=$?
29724   grep -v '^ *+' conftest.er1 >conftest.err
29725   rm -f conftest.er1
29726   cat conftest.err >&5
29727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29728   (exit $ac_status); } >/dev/null; then
29729   if test -s conftest.err; then
29730     ac_cpp_err=$ac_c_preproc_warn_flag
29731     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29732   else
29733     ac_cpp_err=
29734   fi
29735 else
29736   ac_cpp_err=yes
29737 fi
29738 if test -z "$ac_cpp_err"; then
29739   ac_header_preproc=yes
29740 else
29741   echo "$as_me: failed program was:" >&5
29742 sed 's/^/| /' conftest.$ac_ext >&5
29743
29744   ac_header_preproc=no
29745 fi
29746 rm -f conftest.err conftest.$ac_ext
29747 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29748 echo "${ECHO_T}$ac_header_preproc" >&6
29749
29750 # So?  What about this header?
29751 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29752   yes:no: )
29753     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29754 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29755     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29756 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29757     ac_header_preproc=yes
29758     ;;
29759   no:yes:* )
29760     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29761 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29762     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
29763 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
29764     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29765 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29766     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
29767 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
29768     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29769 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29770     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29771 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29772     (
29773       cat <<\_ASBOX
29774 ## ----------------------------------------- ##
29775 ## Report this to the package-unused lists.  ##
29776 ## ----------------------------------------- ##
29777 _ASBOX
29778     ) |
29779       sed "s/^/$as_me: WARNING:     /" >&2
29780     ;;
29781 esac
29782 echo "$as_me:$LINENO: checking for $ac_header" >&5
29783 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29784 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29785   echo $ECHO_N "(cached) $ECHO_C" >&6
29786 else
29787   eval "$as_ac_Header=\$ac_header_preproc"
29788 fi
29789 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29790 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29791
29792 fi
29793 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29794   cat >>confdefs.h <<_ACEOF
29795 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29796 _ACEOF
29797  ac_has_wctype_h=yes
29798 else
29799   ac_has_wctype_h=no
29800 fi
29801
29802 done
29803
29804
29805   # Only continue checking if the ISO C99 headers exist and support is on.
29806   if test x"$ac_has_wchar_h" = xyes &&
29807      test x"$ac_has_wctype_h" = xyes &&
29808      test x"$enable_c_mbchar" != xno; then
29809
29810     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
29811     # numeric_limits can instantiate type_traits<wchar_t>
29812     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
29813 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
29814     cat >conftest.$ac_ext <<_ACEOF
29815 /* confdefs.h.  */
29816 _ACEOF
29817 cat confdefs.h >>conftest.$ac_ext
29818 cat >>conftest.$ac_ext <<_ACEOF
29819 /* end confdefs.h.  */
29820 #include <wchar.h>
29821 int
29822 main ()
29823 {
29824 int i = WCHAR_MIN; int j = WCHAR_MAX;
29825   ;
29826   return 0;
29827 }
29828 _ACEOF
29829 rm -f conftest.$ac_objext
29830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29831   (eval $ac_compile) 2>conftest.er1
29832   ac_status=$?
29833   grep -v '^ *+' conftest.er1 >conftest.err
29834   rm -f conftest.er1
29835   cat conftest.err >&5
29836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29837   (exit $ac_status); } &&
29838          { ac_try='test -z "$ac_c_werror_flag"
29839                          || test ! -s conftest.err'
29840   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29841   (eval $ac_try) 2>&5
29842   ac_status=$?
29843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29844   (exit $ac_status); }; } &&
29845          { ac_try='test -s conftest.$ac_objext'
29846   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29847   (eval $ac_try) 2>&5
29848   ac_status=$?
29849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29850   (exit $ac_status); }; }; then
29851   has_wchar_minmax=yes
29852 else
29853   echo "$as_me: failed program was:" >&5
29854 sed 's/^/| /' conftest.$ac_ext >&5
29855
29856 has_wchar_minmax=no
29857 fi
29858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29859     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
29860 echo "${ECHO_T}$has_wchar_minmax" >&6
29861
29862     # Test wchar.h for WEOF, which is what we use to determine whether
29863     # to specialize for char_traits<wchar_t> or not.
29864     echo "$as_me:$LINENO: checking for WEOF" >&5
29865 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
29866     cat >conftest.$ac_ext <<_ACEOF
29867 /* confdefs.h.  */
29868 _ACEOF
29869 cat confdefs.h >>conftest.$ac_ext
29870 cat >>conftest.$ac_ext <<_ACEOF
29871 /* end confdefs.h.  */
29872
29873       #include <wchar.h>
29874       #include <stddef.h>
29875 int
29876 main ()
29877 {
29878 wint_t i = WEOF;
29879   ;
29880   return 0;
29881 }
29882 _ACEOF
29883 rm -f conftest.$ac_objext
29884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29885   (eval $ac_compile) 2>conftest.er1
29886   ac_status=$?
29887   grep -v '^ *+' conftest.er1 >conftest.err
29888   rm -f conftest.er1
29889   cat conftest.err >&5
29890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29891   (exit $ac_status); } &&
29892          { ac_try='test -z "$ac_c_werror_flag"
29893                          || test ! -s conftest.err'
29894   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29895   (eval $ac_try) 2>&5
29896   ac_status=$?
29897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29898   (exit $ac_status); }; } &&
29899          { ac_try='test -s conftest.$ac_objext'
29900   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29901   (eval $ac_try) 2>&5
29902   ac_status=$?
29903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29904   (exit $ac_status); }; }; then
29905   has_weof=yes
29906 else
29907   echo "$as_me: failed program was:" >&5
29908 sed 's/^/| /' conftest.$ac_ext >&5
29909
29910 has_weof=no
29911 fi
29912 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29913     echo "$as_me:$LINENO: result: $has_weof" >&5
29914 echo "${ECHO_T}$has_weof" >&6
29915
29916     # Tests for wide character functions used in char_traits<wchar_t>.
29917     ac_wfuncs=yes
29918
29919
29920
29921
29922
29923
29924 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
29925 do
29926 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29927 echo "$as_me:$LINENO: checking for $ac_func" >&5
29928 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29929 if eval "test \"\${$as_ac_var+set}\" = set"; then
29930   echo $ECHO_N "(cached) $ECHO_C" >&6
29931 else
29932   if test x$gcc_no_link = xyes; then
29933   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29934 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29935    { (exit 1); exit 1; }; }
29936 fi
29937 cat >conftest.$ac_ext <<_ACEOF
29938 /* confdefs.h.  */
29939 _ACEOF
29940 cat confdefs.h >>conftest.$ac_ext
29941 cat >>conftest.$ac_ext <<_ACEOF
29942 /* end confdefs.h.  */
29943 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29944    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
29945 #define $ac_func innocuous_$ac_func
29946
29947 /* System header to define __stub macros and hopefully few prototypes,
29948     which can conflict with char $ac_func (); below.
29949     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29950     <limits.h> exists even on freestanding compilers.  */
29951
29952 #ifdef __STDC__
29953 # include <limits.h>
29954 #else
29955 # include <assert.h>
29956 #endif
29957
29958 #undef $ac_func
29959
29960 /* Override any gcc2 internal prototype to avoid an error.  */
29961 #ifdef __cplusplus
29962 extern "C"
29963 {
29964 #endif
29965 /* We use char because int might match the return type of a gcc2
29966    builtin and then its argument prototype would still apply.  */
29967 char $ac_func ();
29968 /* The GNU C library defines this for functions which it implements
29969     to always fail with ENOSYS.  Some functions are actually named
29970     something starting with __ and the normal name is an alias.  */
29971 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29972 choke me
29973 #else
29974 char (*f) () = $ac_func;
29975 #endif
29976 #ifdef __cplusplus
29977 }
29978 #endif
29979
29980 int
29981 main ()
29982 {
29983 return f != $ac_func;
29984   ;
29985   return 0;
29986 }
29987 _ACEOF
29988 rm -f conftest.$ac_objext conftest$ac_exeext
29989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29990   (eval $ac_link) 2>conftest.er1
29991   ac_status=$?
29992   grep -v '^ *+' conftest.er1 >conftest.err
29993   rm -f conftest.er1
29994   cat conftest.err >&5
29995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
29996   (exit $ac_status); } &&
29997          { ac_try='test -z "$ac_c_werror_flag"
29998                          || test ! -s conftest.err'
29999   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30000   (eval $ac_try) 2>&5
30001   ac_status=$?
30002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30003   (exit $ac_status); }; } &&
30004          { ac_try='test -s conftest$ac_exeext'
30005   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30006   (eval $ac_try) 2>&5
30007   ac_status=$?
30008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30009   (exit $ac_status); }; }; then
30010   eval "$as_ac_var=yes"
30011 else
30012   echo "$as_me: failed program was:" >&5
30013 sed 's/^/| /' conftest.$ac_ext >&5
30014
30015 eval "$as_ac_var=no"
30016 fi
30017 rm -f conftest.err conftest.$ac_objext \
30018       conftest$ac_exeext conftest.$ac_ext
30019 fi
30020 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30021 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30022 if test `eval echo '${'$as_ac_var'}'` = yes; then
30023   cat >>confdefs.h <<_ACEOF
30024 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30025 _ACEOF
30026
30027 else
30028   ac_wfuncs=no
30029 fi
30030 done
30031
30032
30033     # Checks for names injected into std:: by the c_std headers.
30034
30035
30036
30037
30038
30039
30040
30041
30042
30043
30044
30045
30046
30047
30048
30049
30050
30051
30052
30053
30054
30055
30056
30057
30058
30059
30060
30061
30062
30063
30064
30065
30066
30067
30068
30069
30070
30071
30072
30073
30074
30075
30076
30077
30078
30079
30080 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
30081     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
30082     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
30083     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
30084     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
30085     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
30086 do
30087 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30088 echo "$as_me:$LINENO: checking for $ac_func" >&5
30089 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30090 if eval "test \"\${$as_ac_var+set}\" = set"; then
30091   echo $ECHO_N "(cached) $ECHO_C" >&6
30092 else
30093   if test x$gcc_no_link = xyes; then
30094   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30095 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30096    { (exit 1); exit 1; }; }
30097 fi
30098 cat >conftest.$ac_ext <<_ACEOF
30099 /* confdefs.h.  */
30100 _ACEOF
30101 cat confdefs.h >>conftest.$ac_ext
30102 cat >>conftest.$ac_ext <<_ACEOF
30103 /* end confdefs.h.  */
30104 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30105    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
30106 #define $ac_func innocuous_$ac_func
30107
30108 /* System header to define __stub macros and hopefully few prototypes,
30109     which can conflict with char $ac_func (); below.
30110     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30111     <limits.h> exists even on freestanding compilers.  */
30112
30113 #ifdef __STDC__
30114 # include <limits.h>
30115 #else
30116 # include <assert.h>
30117 #endif
30118
30119 #undef $ac_func
30120
30121 /* Override any gcc2 internal prototype to avoid an error.  */
30122 #ifdef __cplusplus
30123 extern "C"
30124 {
30125 #endif
30126 /* We use char because int might match the return type of a gcc2
30127    builtin and then its argument prototype would still apply.  */
30128 char $ac_func ();
30129 /* The GNU C library defines this for functions which it implements
30130     to always fail with ENOSYS.  Some functions are actually named
30131     something starting with __ and the normal name is an alias.  */
30132 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30133 choke me
30134 #else
30135 char (*f) () = $ac_func;
30136 #endif
30137 #ifdef __cplusplus
30138 }
30139 #endif
30140
30141 int
30142 main ()
30143 {
30144 return f != $ac_func;
30145   ;
30146   return 0;
30147 }
30148 _ACEOF
30149 rm -f conftest.$ac_objext conftest$ac_exeext
30150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30151   (eval $ac_link) 2>conftest.er1
30152   ac_status=$?
30153   grep -v '^ *+' conftest.er1 >conftest.err
30154   rm -f conftest.er1
30155   cat conftest.err >&5
30156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30157   (exit $ac_status); } &&
30158          { ac_try='test -z "$ac_c_werror_flag"
30159                          || test ! -s conftest.err'
30160   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30161   (eval $ac_try) 2>&5
30162   ac_status=$?
30163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30164   (exit $ac_status); }; } &&
30165          { ac_try='test -s conftest$ac_exeext'
30166   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30167   (eval $ac_try) 2>&5
30168   ac_status=$?
30169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30170   (exit $ac_status); }; }; then
30171   eval "$as_ac_var=yes"
30172 else
30173   echo "$as_me: failed program was:" >&5
30174 sed 's/^/| /' conftest.$ac_ext >&5
30175
30176 eval "$as_ac_var=no"
30177 fi
30178 rm -f conftest.err conftest.$ac_objext \
30179       conftest$ac_exeext conftest.$ac_ext
30180 fi
30181 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30182 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30183 if test `eval echo '${'$as_ac_var'}'` = yes; then
30184   cat >>confdefs.h <<_ACEOF
30185 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30186 _ACEOF
30187
30188 else
30189   ac_wfuncs=no
30190 fi
30191 done
30192
30193
30194     # Checks for wide character functions that are not required
30195     # for basic wchar_t support.  Don't disable support if they are missing.
30196     # Injection of these is wrapped with guard macros.
30197
30198
30199
30200
30201
30202 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
30203 do
30204 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30205 echo "$as_me:$LINENO: checking for $ac_func" >&5
30206 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30207 if eval "test \"\${$as_ac_var+set}\" = set"; then
30208   echo $ECHO_N "(cached) $ECHO_C" >&6
30209 else
30210   if test x$gcc_no_link = xyes; then
30211   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30212 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30213    { (exit 1); exit 1; }; }
30214 fi
30215 cat >conftest.$ac_ext <<_ACEOF
30216 /* confdefs.h.  */
30217 _ACEOF
30218 cat confdefs.h >>conftest.$ac_ext
30219 cat >>conftest.$ac_ext <<_ACEOF
30220 /* end confdefs.h.  */
30221 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30222    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
30223 #define $ac_func innocuous_$ac_func
30224
30225 /* System header to define __stub macros and hopefully few prototypes,
30226     which can conflict with char $ac_func (); below.
30227     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30228     <limits.h> exists even on freestanding compilers.  */
30229
30230 #ifdef __STDC__
30231 # include <limits.h>
30232 #else
30233 # include <assert.h>
30234 #endif
30235
30236 #undef $ac_func
30237
30238 /* Override any gcc2 internal prototype to avoid an error.  */
30239 #ifdef __cplusplus
30240 extern "C"
30241 {
30242 #endif
30243 /* We use char because int might match the return type of a gcc2
30244    builtin and then its argument prototype would still apply.  */
30245 char $ac_func ();
30246 /* The GNU C library defines this for functions which it implements
30247     to always fail with ENOSYS.  Some functions are actually named
30248     something starting with __ and the normal name is an alias.  */
30249 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30250 choke me
30251 #else
30252 char (*f) () = $ac_func;
30253 #endif
30254 #ifdef __cplusplus
30255 }
30256 #endif
30257
30258 int
30259 main ()
30260 {
30261 return f != $ac_func;
30262   ;
30263   return 0;
30264 }
30265 _ACEOF
30266 rm -f conftest.$ac_objext conftest$ac_exeext
30267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30268   (eval $ac_link) 2>conftest.er1
30269   ac_status=$?
30270   grep -v '^ *+' conftest.er1 >conftest.err
30271   rm -f conftest.er1
30272   cat conftest.err >&5
30273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30274   (exit $ac_status); } &&
30275          { ac_try='test -z "$ac_c_werror_flag"
30276                          || test ! -s conftest.err'
30277   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30278   (eval $ac_try) 2>&5
30279   ac_status=$?
30280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30281   (exit $ac_status); }; } &&
30282          { ac_try='test -s conftest$ac_exeext'
30283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30284   (eval $ac_try) 2>&5
30285   ac_status=$?
30286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30287   (exit $ac_status); }; }; then
30288   eval "$as_ac_var=yes"
30289 else
30290   echo "$as_me: failed program was:" >&5
30291 sed 's/^/| /' conftest.$ac_ext >&5
30292
30293 eval "$as_ac_var=no"
30294 fi
30295 rm -f conftest.err conftest.$ac_objext \
30296       conftest$ac_exeext conftest.$ac_ext
30297 fi
30298 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30299 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30300 if test `eval echo '${'$as_ac_var'}'` = yes; then
30301   cat >>confdefs.h <<_ACEOF
30302 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30303 _ACEOF
30304
30305 fi
30306 done
30307
30308
30309     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
30310 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
30311     if test x"$has_weof" = xyes &&
30312        test x"$has_wchar_minmax" = xyes &&
30313        test x"$ac_wfuncs" = xyes;
30314     then
30315       ac_isoC99_wchar_t=yes
30316     else
30317       ac_isoC99_wchar_t=no
30318     fi
30319     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
30320 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
30321
30322     # Use iconv for wchar_t to char conversions. As such, check for
30323     # X/Open Portability Guide, version 2 features (XPG2).
30324     if test "${ac_cv_header_iconv_h+set}" = set; then
30325   echo "$as_me:$LINENO: checking for iconv.h" >&5
30326 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
30327 if test "${ac_cv_header_iconv_h+set}" = set; then
30328   echo $ECHO_N "(cached) $ECHO_C" >&6
30329 fi
30330 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
30331 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
30332 else
30333   # Is the header compilable?
30334 echo "$as_me:$LINENO: checking iconv.h usability" >&5
30335 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
30336 cat >conftest.$ac_ext <<_ACEOF
30337 /* confdefs.h.  */
30338 _ACEOF
30339 cat confdefs.h >>conftest.$ac_ext
30340 cat >>conftest.$ac_ext <<_ACEOF
30341 /* end confdefs.h.  */
30342 $ac_includes_default
30343 #include <iconv.h>
30344 _ACEOF
30345 rm -f conftest.$ac_objext
30346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30347   (eval $ac_compile) 2>conftest.er1
30348   ac_status=$?
30349   grep -v '^ *+' conftest.er1 >conftest.err
30350   rm -f conftest.er1
30351   cat conftest.err >&5
30352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30353   (exit $ac_status); } &&
30354          { ac_try='test -z "$ac_c_werror_flag"
30355                          || test ! -s conftest.err'
30356   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30357   (eval $ac_try) 2>&5
30358   ac_status=$?
30359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30360   (exit $ac_status); }; } &&
30361          { ac_try='test -s conftest.$ac_objext'
30362   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30363   (eval $ac_try) 2>&5
30364   ac_status=$?
30365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30366   (exit $ac_status); }; }; then
30367   ac_header_compiler=yes
30368 else
30369   echo "$as_me: failed program was:" >&5
30370 sed 's/^/| /' conftest.$ac_ext >&5
30371
30372 ac_header_compiler=no
30373 fi
30374 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30375 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30376 echo "${ECHO_T}$ac_header_compiler" >&6
30377
30378 # Is the header present?
30379 echo "$as_me:$LINENO: checking iconv.h presence" >&5
30380 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
30381 cat >conftest.$ac_ext <<_ACEOF
30382 /* confdefs.h.  */
30383 _ACEOF
30384 cat confdefs.h >>conftest.$ac_ext
30385 cat >>conftest.$ac_ext <<_ACEOF
30386 /* end confdefs.h.  */
30387 #include <iconv.h>
30388 _ACEOF
30389 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30390   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30391   ac_status=$?
30392   grep -v '^ *+' conftest.er1 >conftest.err
30393   rm -f conftest.er1
30394   cat conftest.err >&5
30395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30396   (exit $ac_status); } >/dev/null; then
30397   if test -s conftest.err; then
30398     ac_cpp_err=$ac_c_preproc_warn_flag
30399     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30400   else
30401     ac_cpp_err=
30402   fi
30403 else
30404   ac_cpp_err=yes
30405 fi
30406 if test -z "$ac_cpp_err"; then
30407   ac_header_preproc=yes
30408 else
30409   echo "$as_me: failed program was:" >&5
30410 sed 's/^/| /' conftest.$ac_ext >&5
30411
30412   ac_header_preproc=no
30413 fi
30414 rm -f conftest.err conftest.$ac_ext
30415 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30416 echo "${ECHO_T}$ac_header_preproc" >&6
30417
30418 # So?  What about this header?
30419 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30420   yes:no: )
30421     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
30422 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30423     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
30424 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
30425     ac_header_preproc=yes
30426     ;;
30427   no:yes:* )
30428     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
30429 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
30430     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
30431 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
30432     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
30433 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
30434     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
30435 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
30436     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
30437 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
30438     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
30439 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
30440     (
30441       cat <<\_ASBOX
30442 ## ----------------------------------------- ##
30443 ## Report this to the package-unused lists.  ##
30444 ## ----------------------------------------- ##
30445 _ASBOX
30446     ) |
30447       sed "s/^/$as_me: WARNING:     /" >&2
30448     ;;
30449 esac
30450 echo "$as_me:$LINENO: checking for iconv.h" >&5
30451 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
30452 if test "${ac_cv_header_iconv_h+set}" = set; then
30453   echo $ECHO_N "(cached) $ECHO_C" >&6
30454 else
30455   ac_cv_header_iconv_h=$ac_header_preproc
30456 fi
30457 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
30458 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
30459
30460 fi
30461 if test $ac_cv_header_iconv_h = yes; then
30462   ac_has_iconv_h=yes
30463 else
30464   ac_has_iconv_h=no
30465 fi
30466
30467
30468     if test "${ac_cv_header_langinfo_h+set}" = set; then
30469   echo "$as_me:$LINENO: checking for langinfo.h" >&5
30470 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
30471 if test "${ac_cv_header_langinfo_h+set}" = set; then
30472   echo $ECHO_N "(cached) $ECHO_C" >&6
30473 fi
30474 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
30475 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
30476 else
30477   # Is the header compilable?
30478 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
30479 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
30480 cat >conftest.$ac_ext <<_ACEOF
30481 /* confdefs.h.  */
30482 _ACEOF
30483 cat confdefs.h >>conftest.$ac_ext
30484 cat >>conftest.$ac_ext <<_ACEOF
30485 /* end confdefs.h.  */
30486 $ac_includes_default
30487 #include <langinfo.h>
30488 _ACEOF
30489 rm -f conftest.$ac_objext
30490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30491   (eval $ac_compile) 2>conftest.er1
30492   ac_status=$?
30493   grep -v '^ *+' conftest.er1 >conftest.err
30494   rm -f conftest.er1
30495   cat conftest.err >&5
30496   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30497   (exit $ac_status); } &&
30498          { ac_try='test -z "$ac_c_werror_flag"
30499                          || test ! -s conftest.err'
30500   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30501   (eval $ac_try) 2>&5
30502   ac_status=$?
30503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30504   (exit $ac_status); }; } &&
30505          { ac_try='test -s conftest.$ac_objext'
30506   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30507   (eval $ac_try) 2>&5
30508   ac_status=$?
30509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30510   (exit $ac_status); }; }; then
30511   ac_header_compiler=yes
30512 else
30513   echo "$as_me: failed program was:" >&5
30514 sed 's/^/| /' conftest.$ac_ext >&5
30515
30516 ac_header_compiler=no
30517 fi
30518 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30519 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30520 echo "${ECHO_T}$ac_header_compiler" >&6
30521
30522 # Is the header present?
30523 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
30524 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
30525 cat >conftest.$ac_ext <<_ACEOF
30526 /* confdefs.h.  */
30527 _ACEOF
30528 cat confdefs.h >>conftest.$ac_ext
30529 cat >>conftest.$ac_ext <<_ACEOF
30530 /* end confdefs.h.  */
30531 #include <langinfo.h>
30532 _ACEOF
30533 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30534   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30535   ac_status=$?
30536   grep -v '^ *+' conftest.er1 >conftest.err
30537   rm -f conftest.er1
30538   cat conftest.err >&5
30539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30540   (exit $ac_status); } >/dev/null; then
30541   if test -s conftest.err; then
30542     ac_cpp_err=$ac_c_preproc_warn_flag
30543     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30544   else
30545     ac_cpp_err=
30546   fi
30547 else
30548   ac_cpp_err=yes
30549 fi
30550 if test -z "$ac_cpp_err"; then
30551   ac_header_preproc=yes
30552 else
30553   echo "$as_me: failed program was:" >&5
30554 sed 's/^/| /' conftest.$ac_ext >&5
30555
30556   ac_header_preproc=no
30557 fi
30558 rm -f conftest.err conftest.$ac_ext
30559 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30560 echo "${ECHO_T}$ac_header_preproc" >&6
30561
30562 # So?  What about this header?
30563 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30564   yes:no: )
30565     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
30566 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30567     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
30568 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
30569     ac_header_preproc=yes
30570     ;;
30571   no:yes:* )
30572     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
30573 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
30574     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
30575 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
30576     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
30577 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
30578     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
30579 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
30580     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
30581 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
30582     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
30583 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
30584     (
30585       cat <<\_ASBOX
30586 ## ----------------------------------------- ##
30587 ## Report this to the package-unused lists.  ##
30588 ## ----------------------------------------- ##
30589 _ASBOX
30590     ) |
30591       sed "s/^/$as_me: WARNING:     /" >&2
30592     ;;
30593 esac
30594 echo "$as_me:$LINENO: checking for langinfo.h" >&5
30595 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
30596 if test "${ac_cv_header_langinfo_h+set}" = set; then
30597   echo $ECHO_N "(cached) $ECHO_C" >&6
30598 else
30599   ac_cv_header_langinfo_h=$ac_header_preproc
30600 fi
30601 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
30602 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
30603
30604 fi
30605 if test $ac_cv_header_langinfo_h = yes; then
30606   ac_has_langinfo_h=yes
30607 else
30608   ac_has_langinfo_h=no
30609 fi
30610
30611
30612
30613     # Check for existence of libiconv.a providing XPG2 wchar_t support.
30614     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
30615 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
30616 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
30617   echo $ECHO_N "(cached) $ECHO_C" >&6
30618 else
30619   ac_check_lib_save_LIBS=$LIBS
30620 LIBS="-liconv  $LIBS"
30621 if test x$gcc_no_link = xyes; then
30622   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30623 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30624    { (exit 1); exit 1; }; }
30625 fi
30626 cat >conftest.$ac_ext <<_ACEOF
30627 /* confdefs.h.  */
30628 _ACEOF
30629 cat confdefs.h >>conftest.$ac_ext
30630 cat >>conftest.$ac_ext <<_ACEOF
30631 /* end confdefs.h.  */
30632
30633 /* Override any gcc2 internal prototype to avoid an error.  */
30634 #ifdef __cplusplus
30635 extern "C"
30636 #endif
30637 /* We use char because int might match the return type of a gcc2
30638    builtin and then its argument prototype would still apply.  */
30639 char iconv ();
30640 int
30641 main ()
30642 {
30643 iconv ();
30644   ;
30645   return 0;
30646 }
30647 _ACEOF
30648 rm -f conftest.$ac_objext conftest$ac_exeext
30649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30650   (eval $ac_link) 2>conftest.er1
30651   ac_status=$?
30652   grep -v '^ *+' conftest.er1 >conftest.err
30653   rm -f conftest.er1
30654   cat conftest.err >&5
30655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30656   (exit $ac_status); } &&
30657          { ac_try='test -z "$ac_c_werror_flag"
30658                          || test ! -s conftest.err'
30659   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30660   (eval $ac_try) 2>&5
30661   ac_status=$?
30662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30663   (exit $ac_status); }; } &&
30664          { ac_try='test -s conftest$ac_exeext'
30665   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30666   (eval $ac_try) 2>&5
30667   ac_status=$?
30668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30669   (exit $ac_status); }; }; then
30670   ac_cv_lib_iconv_iconv=yes
30671 else
30672   echo "$as_me: failed program was:" >&5
30673 sed 's/^/| /' conftest.$ac_ext >&5
30674
30675 ac_cv_lib_iconv_iconv=no
30676 fi
30677 rm -f conftest.err conftest.$ac_objext \
30678       conftest$ac_exeext conftest.$ac_ext
30679 LIBS=$ac_check_lib_save_LIBS
30680 fi
30681 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
30682 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
30683 if test $ac_cv_lib_iconv_iconv = yes; then
30684   LIBICONV="-liconv"
30685 fi
30686
30687     ac_save_LIBS="$LIBS"
30688     LIBS="$LIBS $LIBICONV"
30689
30690
30691
30692
30693
30694
30695 for ac_func in iconv_open iconv_close iconv nl_langinfo
30696 do
30697 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30698 echo "$as_me:$LINENO: checking for $ac_func" >&5
30699 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30700 if eval "test \"\${$as_ac_var+set}\" = set"; then
30701   echo $ECHO_N "(cached) $ECHO_C" >&6
30702 else
30703   if test x$gcc_no_link = xyes; then
30704   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30705 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30706    { (exit 1); exit 1; }; }
30707 fi
30708 cat >conftest.$ac_ext <<_ACEOF
30709 /* confdefs.h.  */
30710 _ACEOF
30711 cat confdefs.h >>conftest.$ac_ext
30712 cat >>conftest.$ac_ext <<_ACEOF
30713 /* end confdefs.h.  */
30714 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30715    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
30716 #define $ac_func innocuous_$ac_func
30717
30718 /* System header to define __stub macros and hopefully few prototypes,
30719     which can conflict with char $ac_func (); below.
30720     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30721     <limits.h> exists even on freestanding compilers.  */
30722
30723 #ifdef __STDC__
30724 # include <limits.h>
30725 #else
30726 # include <assert.h>
30727 #endif
30728
30729 #undef $ac_func
30730
30731 /* Override any gcc2 internal prototype to avoid an error.  */
30732 #ifdef __cplusplus
30733 extern "C"
30734 {
30735 #endif
30736 /* We use char because int might match the return type of a gcc2
30737    builtin and then its argument prototype would still apply.  */
30738 char $ac_func ();
30739 /* The GNU C library defines this for functions which it implements
30740     to always fail with ENOSYS.  Some functions are actually named
30741     something starting with __ and the normal name is an alias.  */
30742 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30743 choke me
30744 #else
30745 char (*f) () = $ac_func;
30746 #endif
30747 #ifdef __cplusplus
30748 }
30749 #endif
30750
30751 int
30752 main ()
30753 {
30754 return f != $ac_func;
30755   ;
30756   return 0;
30757 }
30758 _ACEOF
30759 rm -f conftest.$ac_objext conftest$ac_exeext
30760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30761   (eval $ac_link) 2>conftest.er1
30762   ac_status=$?
30763   grep -v '^ *+' conftest.er1 >conftest.err
30764   rm -f conftest.er1
30765   cat conftest.err >&5
30766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30767   (exit $ac_status); } &&
30768          { ac_try='test -z "$ac_c_werror_flag"
30769                          || test ! -s conftest.err'
30770   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30771   (eval $ac_try) 2>&5
30772   ac_status=$?
30773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30774   (exit $ac_status); }; } &&
30775          { ac_try='test -s conftest$ac_exeext'
30776   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30777   (eval $ac_try) 2>&5
30778   ac_status=$?
30779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30780   (exit $ac_status); }; }; then
30781   eval "$as_ac_var=yes"
30782 else
30783   echo "$as_me: failed program was:" >&5
30784 sed 's/^/| /' conftest.$ac_ext >&5
30785
30786 eval "$as_ac_var=no"
30787 fi
30788 rm -f conftest.err conftest.$ac_objext \
30789       conftest$ac_exeext conftest.$ac_ext
30790 fi
30791 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30792 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30793 if test `eval echo '${'$as_ac_var'}'` = yes; then
30794   cat >>confdefs.h <<_ACEOF
30795 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30796 _ACEOF
30797  ac_XPG2funcs=yes
30798 else
30799   ac_XPG2funcs=no
30800 fi
30801 done
30802
30803
30804     LIBS="$ac_save_LIBS"
30805
30806     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
30807 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
30808     if test x"$ac_has_iconv_h" = xyes &&
30809        test x"$ac_has_langinfo_h" = xyes &&
30810        test x"$ac_XPG2funcs" = xyes;
30811     then
30812       ac_XPG2_wchar_t=yes
30813     else
30814       ac_XPG2_wchar_t=no
30815     fi
30816     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
30817 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
30818
30819     # At the moment, only enable wchar_t specializations if all the
30820     # above support is present.
30821     if test x"$ac_isoC99_wchar_t" = xyes &&
30822        test x"$ac_XPG2_wchar_t" = xyes;
30823     then
30824       cat >>confdefs.h <<\_ACEOF
30825 #define _GLIBCXX_USE_WCHAR_T 1
30826 _ACEOF
30827
30828       enable_wchar_t=yes
30829     fi
30830   fi
30831   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
30832 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
30833   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
30834 echo "${ECHO_T}$enable_wchar_t" >&6
30835
30836
30837   ac_test_CXXFLAGS="${CXXFLAGS+set}"
30838   ac_save_CXXFLAGS="$CXXFLAGS"
30839   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
30840
30841
30842   echo "$as_me:$LINENO: checking for strtold declaration" >&5
30843 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
30844   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
30845     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
30846   echo $ECHO_N "(cached) $ECHO_C" >&6
30847 else
30848
30849
30850
30851       ac_ext=cc
30852 ac_cpp='$CXXCPP $CPPFLAGS'
30853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30856
30857       cat >conftest.$ac_ext <<_ACEOF
30858 /* confdefs.h.  */
30859 _ACEOF
30860 cat confdefs.h >>conftest.$ac_ext
30861 cat >>conftest.$ac_ext <<_ACEOF
30862 /* end confdefs.h.  */
30863 #include <stdlib.h>
30864 int
30865 main ()
30866 {
30867  strtold(0, 0);
30868   ;
30869   return 0;
30870 }
30871 _ACEOF
30872 rm -f conftest.$ac_objext
30873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30874   (eval $ac_compile) 2>conftest.er1
30875   ac_status=$?
30876   grep -v '^ *+' conftest.er1 >conftest.err
30877   rm -f conftest.er1
30878   cat conftest.err >&5
30879   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30880   (exit $ac_status); } &&
30881          { ac_try='test -z "$ac_cxx_werror_flag"
30882                          || test ! -s conftest.err'
30883   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30884   (eval $ac_try) 2>&5
30885   ac_status=$?
30886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30887   (exit $ac_status); }; } &&
30888          { ac_try='test -s conftest.$ac_objext'
30889   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30890   (eval $ac_try) 2>&5
30891   ac_status=$?
30892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30893   (exit $ac_status); }; }; then
30894   glibcxx_cv_func_strtold_use=yes
30895 else
30896   echo "$as_me: failed program was:" >&5
30897 sed 's/^/| /' conftest.$ac_ext >&5
30898
30899 glibcxx_cv_func_strtold_use=no
30900 fi
30901 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30902       ac_ext=c
30903 ac_cpp='$CPP $CPPFLAGS'
30904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30907
30908
30909 fi
30910
30911   fi
30912   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
30913 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
30914   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
30915
30916 for ac_func in strtold
30917 do
30918 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30919 echo "$as_me:$LINENO: checking for $ac_func" >&5
30920 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30921 if eval "test \"\${$as_ac_var+set}\" = set"; then
30922   echo $ECHO_N "(cached) $ECHO_C" >&6
30923 else
30924   if test x$gcc_no_link = xyes; then
30925   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30926 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30927    { (exit 1); exit 1; }; }
30928 fi
30929 cat >conftest.$ac_ext <<_ACEOF
30930 /* confdefs.h.  */
30931 _ACEOF
30932 cat confdefs.h >>conftest.$ac_ext
30933 cat >>conftest.$ac_ext <<_ACEOF
30934 /* end confdefs.h.  */
30935 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30936    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
30937 #define $ac_func innocuous_$ac_func
30938
30939 /* System header to define __stub macros and hopefully few prototypes,
30940     which can conflict with char $ac_func (); below.
30941     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30942     <limits.h> exists even on freestanding compilers.  */
30943
30944 #ifdef __STDC__
30945 # include <limits.h>
30946 #else
30947 # include <assert.h>
30948 #endif
30949
30950 #undef $ac_func
30951
30952 /* Override any gcc2 internal prototype to avoid an error.  */
30953 #ifdef __cplusplus
30954 extern "C"
30955 {
30956 #endif
30957 /* We use char because int might match the return type of a gcc2
30958    builtin and then its argument prototype would still apply.  */
30959 char $ac_func ();
30960 /* The GNU C library defines this for functions which it implements
30961     to always fail with ENOSYS.  Some functions are actually named
30962     something starting with __ and the normal name is an alias.  */
30963 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30964 choke me
30965 #else
30966 char (*f) () = $ac_func;
30967 #endif
30968 #ifdef __cplusplus
30969 }
30970 #endif
30971
30972 int
30973 main ()
30974 {
30975 return f != $ac_func;
30976   ;
30977   return 0;
30978 }
30979 _ACEOF
30980 rm -f conftest.$ac_objext conftest$ac_exeext
30981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30982   (eval $ac_link) 2>conftest.er1
30983   ac_status=$?
30984   grep -v '^ *+' conftest.er1 >conftest.err
30985   rm -f conftest.er1
30986   cat conftest.err >&5
30987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30988   (exit $ac_status); } &&
30989          { ac_try='test -z "$ac_c_werror_flag"
30990                          || test ! -s conftest.err'
30991   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30992   (eval $ac_try) 2>&5
30993   ac_status=$?
30994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
30995   (exit $ac_status); }; } &&
30996          { ac_try='test -s conftest$ac_exeext'
30997   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30998   (eval $ac_try) 2>&5
30999   ac_status=$?
31000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31001   (exit $ac_status); }; }; then
31002   eval "$as_ac_var=yes"
31003 else
31004   echo "$as_me: failed program was:" >&5
31005 sed 's/^/| /' conftest.$ac_ext >&5
31006
31007 eval "$as_ac_var=no"
31008 fi
31009 rm -f conftest.err conftest.$ac_objext \
31010       conftest$ac_exeext conftest.$ac_ext
31011 fi
31012 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31013 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31014 if test `eval echo '${'$as_ac_var'}'` = yes; then
31015   cat >>confdefs.h <<_ACEOF
31016 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31017 _ACEOF
31018
31019 fi
31020 done
31021
31022   fi
31023
31024
31025   echo "$as_me:$LINENO: checking for strtof declaration" >&5
31026 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
31027   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
31028     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
31029   echo $ECHO_N "(cached) $ECHO_C" >&6
31030 else
31031
31032
31033
31034       ac_ext=cc
31035 ac_cpp='$CXXCPP $CPPFLAGS'
31036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31039
31040       cat >conftest.$ac_ext <<_ACEOF
31041 /* confdefs.h.  */
31042 _ACEOF
31043 cat confdefs.h >>conftest.$ac_ext
31044 cat >>conftest.$ac_ext <<_ACEOF
31045 /* end confdefs.h.  */
31046 #include <stdlib.h>
31047 int
31048 main ()
31049 {
31050  strtof(0, 0);
31051   ;
31052   return 0;
31053 }
31054 _ACEOF
31055 rm -f conftest.$ac_objext
31056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31057   (eval $ac_compile) 2>conftest.er1
31058   ac_status=$?
31059   grep -v '^ *+' conftest.er1 >conftest.err
31060   rm -f conftest.er1
31061   cat conftest.err >&5
31062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31063   (exit $ac_status); } &&
31064          { ac_try='test -z "$ac_cxx_werror_flag"
31065                          || test ! -s conftest.err'
31066   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31067   (eval $ac_try) 2>&5
31068   ac_status=$?
31069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31070   (exit $ac_status); }; } &&
31071          { ac_try='test -s conftest.$ac_objext'
31072   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31073   (eval $ac_try) 2>&5
31074   ac_status=$?
31075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31076   (exit $ac_status); }; }; then
31077   glibcxx_cv_func_strtof_use=yes
31078 else
31079   echo "$as_me: failed program was:" >&5
31080 sed 's/^/| /' conftest.$ac_ext >&5
31081
31082 glibcxx_cv_func_strtof_use=no
31083 fi
31084 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31085       ac_ext=c
31086 ac_cpp='$CPP $CPPFLAGS'
31087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31090
31091
31092 fi
31093
31094   fi
31095   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
31096 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
31097   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
31098
31099 for ac_func in strtof
31100 do
31101 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31102 echo "$as_me:$LINENO: checking for $ac_func" >&5
31103 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31104 if eval "test \"\${$as_ac_var+set}\" = set"; then
31105   echo $ECHO_N "(cached) $ECHO_C" >&6
31106 else
31107   if test x$gcc_no_link = xyes; then
31108   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31109 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31110    { (exit 1); exit 1; }; }
31111 fi
31112 cat >conftest.$ac_ext <<_ACEOF
31113 /* confdefs.h.  */
31114 _ACEOF
31115 cat confdefs.h >>conftest.$ac_ext
31116 cat >>conftest.$ac_ext <<_ACEOF
31117 /* end confdefs.h.  */
31118 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31119    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
31120 #define $ac_func innocuous_$ac_func
31121
31122 /* System header to define __stub macros and hopefully few prototypes,
31123     which can conflict with char $ac_func (); below.
31124     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31125     <limits.h> exists even on freestanding compilers.  */
31126
31127 #ifdef __STDC__
31128 # include <limits.h>
31129 #else
31130 # include <assert.h>
31131 #endif
31132
31133 #undef $ac_func
31134
31135 /* Override any gcc2 internal prototype to avoid an error.  */
31136 #ifdef __cplusplus
31137 extern "C"
31138 {
31139 #endif
31140 /* We use char because int might match the return type of a gcc2
31141    builtin and then its argument prototype would still apply.  */
31142 char $ac_func ();
31143 /* The GNU C library defines this for functions which it implements
31144     to always fail with ENOSYS.  Some functions are actually named
31145     something starting with __ and the normal name is an alias.  */
31146 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31147 choke me
31148 #else
31149 char (*f) () = $ac_func;
31150 #endif
31151 #ifdef __cplusplus
31152 }
31153 #endif
31154
31155 int
31156 main ()
31157 {
31158 return f != $ac_func;
31159   ;
31160   return 0;
31161 }
31162 _ACEOF
31163 rm -f conftest.$ac_objext conftest$ac_exeext
31164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31165   (eval $ac_link) 2>conftest.er1
31166   ac_status=$?
31167   grep -v '^ *+' conftest.er1 >conftest.err
31168   rm -f conftest.er1
31169   cat conftest.err >&5
31170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31171   (exit $ac_status); } &&
31172          { ac_try='test -z "$ac_c_werror_flag"
31173                          || test ! -s conftest.err'
31174   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31175   (eval $ac_try) 2>&5
31176   ac_status=$?
31177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31178   (exit $ac_status); }; } &&
31179          { ac_try='test -s conftest$ac_exeext'
31180   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31181   (eval $ac_try) 2>&5
31182   ac_status=$?
31183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31184   (exit $ac_status); }; }; then
31185   eval "$as_ac_var=yes"
31186 else
31187   echo "$as_me: failed program was:" >&5
31188 sed 's/^/| /' conftest.$ac_ext >&5
31189
31190 eval "$as_ac_var=no"
31191 fi
31192 rm -f conftest.err conftest.$ac_objext \
31193       conftest$ac_exeext conftest.$ac_ext
31194 fi
31195 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31196 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31197 if test `eval echo '${'$as_ac_var'}'` = yes; then
31198   cat >>confdefs.h <<_ACEOF
31199 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31200 _ACEOF
31201
31202 fi
31203 done
31204
31205   fi
31206
31207
31208   CXXFLAGS="$ac_save_CXXFLAGS"
31209
31210
31211   # For showmanyc_helper().
31212
31213
31214 for ac_header in sys/ioctl.h sys/filio.h
31215 do
31216 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31217 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31218   echo "$as_me:$LINENO: checking for $ac_header" >&5
31219 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31220 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31221   echo $ECHO_N "(cached) $ECHO_C" >&6
31222 fi
31223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31224 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31225 else
31226   # Is the header compilable?
31227 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31228 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31229 cat >conftest.$ac_ext <<_ACEOF
31230 /* confdefs.h.  */
31231 _ACEOF
31232 cat confdefs.h >>conftest.$ac_ext
31233 cat >>conftest.$ac_ext <<_ACEOF
31234 /* end confdefs.h.  */
31235 $ac_includes_default
31236 #include <$ac_header>
31237 _ACEOF
31238 rm -f conftest.$ac_objext
31239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31240   (eval $ac_compile) 2>conftest.er1
31241   ac_status=$?
31242   grep -v '^ *+' conftest.er1 >conftest.err
31243   rm -f conftest.er1
31244   cat conftest.err >&5
31245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31246   (exit $ac_status); } &&
31247          { ac_try='test -z "$ac_c_werror_flag"
31248                          || test ! -s conftest.err'
31249   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31250   (eval $ac_try) 2>&5
31251   ac_status=$?
31252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31253   (exit $ac_status); }; } &&
31254          { ac_try='test -s conftest.$ac_objext'
31255   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31256   (eval $ac_try) 2>&5
31257   ac_status=$?
31258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31259   (exit $ac_status); }; }; then
31260   ac_header_compiler=yes
31261 else
31262   echo "$as_me: failed program was:" >&5
31263 sed 's/^/| /' conftest.$ac_ext >&5
31264
31265 ac_header_compiler=no
31266 fi
31267 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31268 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31269 echo "${ECHO_T}$ac_header_compiler" >&6
31270
31271 # Is the header present?
31272 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31273 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31274 cat >conftest.$ac_ext <<_ACEOF
31275 /* confdefs.h.  */
31276 _ACEOF
31277 cat confdefs.h >>conftest.$ac_ext
31278 cat >>conftest.$ac_ext <<_ACEOF
31279 /* end confdefs.h.  */
31280 #include <$ac_header>
31281 _ACEOF
31282 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31283   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31284   ac_status=$?
31285   grep -v '^ *+' conftest.er1 >conftest.err
31286   rm -f conftest.er1
31287   cat conftest.err >&5
31288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31289   (exit $ac_status); } >/dev/null; then
31290   if test -s conftest.err; then
31291     ac_cpp_err=$ac_c_preproc_warn_flag
31292     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31293   else
31294     ac_cpp_err=
31295   fi
31296 else
31297   ac_cpp_err=yes
31298 fi
31299 if test -z "$ac_cpp_err"; then
31300   ac_header_preproc=yes
31301 else
31302   echo "$as_me: failed program was:" >&5
31303 sed 's/^/| /' conftest.$ac_ext >&5
31304
31305   ac_header_preproc=no
31306 fi
31307 rm -f conftest.err conftest.$ac_ext
31308 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31309 echo "${ECHO_T}$ac_header_preproc" >&6
31310
31311 # So?  What about this header?
31312 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31313   yes:no: )
31314     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31315 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31316     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31317 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31318     ac_header_preproc=yes
31319     ;;
31320   no:yes:* )
31321     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31322 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31323     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
31324 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
31325     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31326 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31327     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
31328 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
31329     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31330 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31331     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31332 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31333     (
31334       cat <<\_ASBOX
31335 ## ----------------------------------------- ##
31336 ## Report this to the package-unused lists.  ##
31337 ## ----------------------------------------- ##
31338 _ASBOX
31339     ) |
31340       sed "s/^/$as_me: WARNING:     /" >&2
31341     ;;
31342 esac
31343 echo "$as_me:$LINENO: checking for $ac_header" >&5
31344 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31345 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31346   echo $ECHO_N "(cached) $ECHO_C" >&6
31347 else
31348   eval "$as_ac_Header=\$ac_header_preproc"
31349 fi
31350 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31351 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31352
31353 fi
31354 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31355   cat >>confdefs.h <<_ACEOF
31356 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31357 _ACEOF
31358
31359 fi
31360
31361 done
31362
31363
31364   if test "${glibcxx_cv_POLL+set}" = set; then
31365   echo $ECHO_N "(cached) $ECHO_C" >&6
31366 else
31367
31368     if test x$gcc_no_link = xyes; then
31369   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31370 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31371    { (exit 1); exit 1; }; }
31372 fi
31373 cat >conftest.$ac_ext <<_ACEOF
31374 /* confdefs.h.  */
31375 _ACEOF
31376 cat confdefs.h >>conftest.$ac_ext
31377 cat >>conftest.$ac_ext <<_ACEOF
31378 /* end confdefs.h.  */
31379 #include <poll.h>
31380 int
31381 main ()
31382 {
31383 struct pollfd pfd[1];
31384        pfd[0].events = POLLIN;
31385        poll(pfd, 1, 0);
31386   ;
31387   return 0;
31388 }
31389 _ACEOF
31390 rm -f conftest.$ac_objext conftest$ac_exeext
31391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31392   (eval $ac_link) 2>conftest.er1
31393   ac_status=$?
31394   grep -v '^ *+' conftest.er1 >conftest.err
31395   rm -f conftest.er1
31396   cat conftest.err >&5
31397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31398   (exit $ac_status); } &&
31399          { ac_try='test -z "$ac_c_werror_flag"
31400                          || test ! -s conftest.err'
31401   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31402   (eval $ac_try) 2>&5
31403   ac_status=$?
31404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31405   (exit $ac_status); }; } &&
31406          { ac_try='test -s conftest$ac_exeext'
31407   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31408   (eval $ac_try) 2>&5
31409   ac_status=$?
31410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31411   (exit $ac_status); }; }; then
31412   glibcxx_cv_POLL=yes
31413 else
31414   echo "$as_me: failed program was:" >&5
31415 sed 's/^/| /' conftest.$ac_ext >&5
31416
31417 glibcxx_cv_POLL=no
31418 fi
31419 rm -f conftest.err conftest.$ac_objext \
31420       conftest$ac_exeext conftest.$ac_ext
31421
31422 fi
31423
31424   if test $glibcxx_cv_POLL = yes; then
31425     cat >>confdefs.h <<\_ACEOF
31426 #define HAVE_POLL 1
31427 _ACEOF
31428
31429   fi
31430
31431
31432   if test "${glibcxx_cv_S_ISREG+set}" = set; then
31433   echo $ECHO_N "(cached) $ECHO_C" >&6
31434 else
31435
31436     if test x$gcc_no_link = xyes; then
31437   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31438 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31439    { (exit 1); exit 1; }; }
31440 fi
31441 cat >conftest.$ac_ext <<_ACEOF
31442 /* confdefs.h.  */
31443 _ACEOF
31444 cat confdefs.h >>conftest.$ac_ext
31445 cat >>conftest.$ac_ext <<_ACEOF
31446 /* end confdefs.h.  */
31447 #include <sys/stat.h>
31448 int
31449 main ()
31450 {
31451 struct stat buffer;
31452        fstat(0, &buffer);
31453        S_ISREG(buffer.st_mode);
31454   ;
31455   return 0;
31456 }
31457 _ACEOF
31458 rm -f conftest.$ac_objext conftest$ac_exeext
31459 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31460   (eval $ac_link) 2>conftest.er1
31461   ac_status=$?
31462   grep -v '^ *+' conftest.er1 >conftest.err
31463   rm -f conftest.er1
31464   cat conftest.err >&5
31465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31466   (exit $ac_status); } &&
31467          { ac_try='test -z "$ac_c_werror_flag"
31468                          || test ! -s conftest.err'
31469   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31470   (eval $ac_try) 2>&5
31471   ac_status=$?
31472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31473   (exit $ac_status); }; } &&
31474          { ac_try='test -s conftest$ac_exeext'
31475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31476   (eval $ac_try) 2>&5
31477   ac_status=$?
31478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31479   (exit $ac_status); }; }; then
31480   glibcxx_cv_S_ISREG=yes
31481 else
31482   echo "$as_me: failed program was:" >&5
31483 sed 's/^/| /' conftest.$ac_ext >&5
31484
31485 glibcxx_cv_S_ISREG=no
31486 fi
31487 rm -f conftest.err conftest.$ac_objext \
31488       conftest$ac_exeext conftest.$ac_ext
31489
31490 fi
31491
31492   if test "${glibcxx_cv_S_IFREG+set}" = set; then
31493   echo $ECHO_N "(cached) $ECHO_C" >&6
31494 else
31495
31496     if test x$gcc_no_link = xyes; then
31497   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31498 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31499    { (exit 1); exit 1; }; }
31500 fi
31501 cat >conftest.$ac_ext <<_ACEOF
31502 /* confdefs.h.  */
31503 _ACEOF
31504 cat confdefs.h >>conftest.$ac_ext
31505 cat >>conftest.$ac_ext <<_ACEOF
31506 /* end confdefs.h.  */
31507 #include <sys/stat.h>
31508 int
31509 main ()
31510 {
31511 struct stat buffer;
31512        fstat(0, &buffer);
31513        S_IFREG & buffer.st_mode;
31514   ;
31515   return 0;
31516 }
31517 _ACEOF
31518 rm -f conftest.$ac_objext conftest$ac_exeext
31519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31520   (eval $ac_link) 2>conftest.er1
31521   ac_status=$?
31522   grep -v '^ *+' conftest.er1 >conftest.err
31523   rm -f conftest.er1
31524   cat conftest.err >&5
31525   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31526   (exit $ac_status); } &&
31527          { ac_try='test -z "$ac_c_werror_flag"
31528                          || test ! -s conftest.err'
31529   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31530   (eval $ac_try) 2>&5
31531   ac_status=$?
31532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31533   (exit $ac_status); }; } &&
31534          { ac_try='test -s conftest$ac_exeext'
31535   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31536   (eval $ac_try) 2>&5
31537   ac_status=$?
31538   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31539   (exit $ac_status); }; }; then
31540   glibcxx_cv_S_IFREG=yes
31541 else
31542   echo "$as_me: failed program was:" >&5
31543 sed 's/^/| /' conftest.$ac_ext >&5
31544
31545 glibcxx_cv_S_IFREG=no
31546 fi
31547 rm -f conftest.err conftest.$ac_objext \
31548       conftest$ac_exeext conftest.$ac_ext
31549
31550 fi
31551
31552   if test $glibcxx_cv_S_ISREG = yes; then
31553     cat >>confdefs.h <<\_ACEOF
31554 #define HAVE_S_ISREG 1
31555 _ACEOF
31556
31557   elif test $glibcxx_cv_S_IFREG = yes; then
31558     cat >>confdefs.h <<\_ACEOF
31559 #define HAVE_S_IFREG 1
31560 _ACEOF
31561
31562   fi
31563
31564
31565   # For xsputn_2().
31566
31567 for ac_header in sys/uio.h
31568 do
31569 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31570 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31571   echo "$as_me:$LINENO: checking for $ac_header" >&5
31572 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31573 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31574   echo $ECHO_N "(cached) $ECHO_C" >&6
31575 fi
31576 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31577 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31578 else
31579   # Is the header compilable?
31580 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31581 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31582 cat >conftest.$ac_ext <<_ACEOF
31583 /* confdefs.h.  */
31584 _ACEOF
31585 cat confdefs.h >>conftest.$ac_ext
31586 cat >>conftest.$ac_ext <<_ACEOF
31587 /* end confdefs.h.  */
31588 $ac_includes_default
31589 #include <$ac_header>
31590 _ACEOF
31591 rm -f conftest.$ac_objext
31592 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31593   (eval $ac_compile) 2>conftest.er1
31594   ac_status=$?
31595   grep -v '^ *+' conftest.er1 >conftest.err
31596   rm -f conftest.er1
31597   cat conftest.err >&5
31598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31599   (exit $ac_status); } &&
31600          { ac_try='test -z "$ac_c_werror_flag"
31601                          || test ! -s conftest.err'
31602   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31603   (eval $ac_try) 2>&5
31604   ac_status=$?
31605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31606   (exit $ac_status); }; } &&
31607          { ac_try='test -s conftest.$ac_objext'
31608   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31609   (eval $ac_try) 2>&5
31610   ac_status=$?
31611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31612   (exit $ac_status); }; }; then
31613   ac_header_compiler=yes
31614 else
31615   echo "$as_me: failed program was:" >&5
31616 sed 's/^/| /' conftest.$ac_ext >&5
31617
31618 ac_header_compiler=no
31619 fi
31620 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31621 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31622 echo "${ECHO_T}$ac_header_compiler" >&6
31623
31624 # Is the header present?
31625 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31626 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31627 cat >conftest.$ac_ext <<_ACEOF
31628 /* confdefs.h.  */
31629 _ACEOF
31630 cat confdefs.h >>conftest.$ac_ext
31631 cat >>conftest.$ac_ext <<_ACEOF
31632 /* end confdefs.h.  */
31633 #include <$ac_header>
31634 _ACEOF
31635 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31636   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31637   ac_status=$?
31638   grep -v '^ *+' conftest.er1 >conftest.err
31639   rm -f conftest.er1
31640   cat conftest.err >&5
31641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31642   (exit $ac_status); } >/dev/null; then
31643   if test -s conftest.err; then
31644     ac_cpp_err=$ac_c_preproc_warn_flag
31645     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31646   else
31647     ac_cpp_err=
31648   fi
31649 else
31650   ac_cpp_err=yes
31651 fi
31652 if test -z "$ac_cpp_err"; then
31653   ac_header_preproc=yes
31654 else
31655   echo "$as_me: failed program was:" >&5
31656 sed 's/^/| /' conftest.$ac_ext >&5
31657
31658   ac_header_preproc=no
31659 fi
31660 rm -f conftest.err conftest.$ac_ext
31661 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31662 echo "${ECHO_T}$ac_header_preproc" >&6
31663
31664 # So?  What about this header?
31665 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31666   yes:no: )
31667     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31668 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31669     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31670 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31671     ac_header_preproc=yes
31672     ;;
31673   no:yes:* )
31674     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31675 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31676     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
31677 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
31678     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31679 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31680     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
31681 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
31682     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31683 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31684     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31685 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31686     (
31687       cat <<\_ASBOX
31688 ## ----------------------------------------- ##
31689 ## Report this to the package-unused lists.  ##
31690 ## ----------------------------------------- ##
31691 _ASBOX
31692     ) |
31693       sed "s/^/$as_me: WARNING:     /" >&2
31694     ;;
31695 esac
31696 echo "$as_me:$LINENO: checking for $ac_header" >&5
31697 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31698 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31699   echo $ECHO_N "(cached) $ECHO_C" >&6
31700 else
31701   eval "$as_ac_Header=\$ac_header_preproc"
31702 fi
31703 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31704 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31705
31706 fi
31707 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31708   cat >>confdefs.h <<_ACEOF
31709 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31710 _ACEOF
31711
31712 fi
31713
31714 done
31715
31716
31717   if test "${glibcxx_cv_WRITEV+set}" = set; then
31718   echo $ECHO_N "(cached) $ECHO_C" >&6
31719 else
31720
31721     if test x$gcc_no_link = xyes; then
31722   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31723 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31724    { (exit 1); exit 1; }; }
31725 fi
31726 cat >conftest.$ac_ext <<_ACEOF
31727 /* confdefs.h.  */
31728 _ACEOF
31729 cat confdefs.h >>conftest.$ac_ext
31730 cat >>conftest.$ac_ext <<_ACEOF
31731 /* end confdefs.h.  */
31732 #include <sys/uio.h>
31733 int
31734 main ()
31735 {
31736 struct iovec iov[2];
31737        writev(0, iov, 0);
31738   ;
31739   return 0;
31740 }
31741 _ACEOF
31742 rm -f conftest.$ac_objext conftest$ac_exeext
31743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31744   (eval $ac_link) 2>conftest.er1
31745   ac_status=$?
31746   grep -v '^ *+' conftest.er1 >conftest.err
31747   rm -f conftest.er1
31748   cat conftest.err >&5
31749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31750   (exit $ac_status); } &&
31751          { ac_try='test -z "$ac_c_werror_flag"
31752                          || test ! -s conftest.err'
31753   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31754   (eval $ac_try) 2>&5
31755   ac_status=$?
31756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31757   (exit $ac_status); }; } &&
31758          { ac_try='test -s conftest$ac_exeext'
31759   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31760   (eval $ac_try) 2>&5
31761   ac_status=$?
31762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31763   (exit $ac_status); }; }; then
31764   glibcxx_cv_WRITEV=yes
31765 else
31766   echo "$as_me: failed program was:" >&5
31767 sed 's/^/| /' conftest.$ac_ext >&5
31768
31769 glibcxx_cv_WRITEV=no
31770 fi
31771 rm -f conftest.err conftest.$ac_objext \
31772       conftest$ac_exeext conftest.$ac_ext
31773
31774 fi
31775
31776   if test $glibcxx_cv_WRITEV = yes; then
31777     cat >>confdefs.h <<\_ACEOF
31778 #define HAVE_WRITEV 1
31779 _ACEOF
31780
31781   fi
31782
31783
31784   # For the __streamoff_base_type typedef.
31785
31786   if test "${glibcxx_cv_INT64_T+set}" = set; then
31787   echo $ECHO_N "(cached) $ECHO_C" >&6
31788 else
31789
31790     cat >conftest.$ac_ext <<_ACEOF
31791 /* confdefs.h.  */
31792 _ACEOF
31793 cat confdefs.h >>conftest.$ac_ext
31794 cat >>conftest.$ac_ext <<_ACEOF
31795 /* end confdefs.h.  */
31796 #include <stdint.h>
31797 int
31798 main ()
31799 {
31800 int64_t var;
31801   ;
31802   return 0;
31803 }
31804 _ACEOF
31805 rm -f conftest.$ac_objext
31806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31807   (eval $ac_compile) 2>conftest.er1
31808   ac_status=$?
31809   grep -v '^ *+' conftest.er1 >conftest.err
31810   rm -f conftest.er1
31811   cat conftest.err >&5
31812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31813   (exit $ac_status); } &&
31814          { ac_try='test -z "$ac_c_werror_flag"
31815                          || test ! -s conftest.err'
31816   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31817   (eval $ac_try) 2>&5
31818   ac_status=$?
31819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31820   (exit $ac_status); }; } &&
31821          { ac_try='test -s conftest.$ac_objext'
31822   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31823   (eval $ac_try) 2>&5
31824   ac_status=$?
31825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31826   (exit $ac_status); }; }; then
31827   glibcxx_cv_INT64_T=yes
31828 else
31829   echo "$as_me: failed program was:" >&5
31830 sed 's/^/| /' conftest.$ac_ext >&5
31831
31832 glibcxx_cv_INT64_T=no
31833 fi
31834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31835
31836 fi
31837
31838   if test $glibcxx_cv_INT64_T = yes; then
31839     cat >>confdefs.h <<\_ACEOF
31840 #define HAVE_INT64_T 1
31841 _ACEOF
31842
31843   fi
31844
31845
31846   # For LFS support.
31847
31848
31849
31850   ac_ext=cc
31851 ac_cpp='$CXXCPP $CPPFLAGS'
31852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31855
31856   ac_save_CXXFLAGS="$CXXFLAGS"
31857   CXXFLAGS="$CXXFLAGS -fno-exceptions"
31858   if test "${glibcxx_cv_LFS+set}" = set; then
31859   echo $ECHO_N "(cached) $ECHO_C" >&6
31860 else
31861
31862     if test x$gcc_no_link = xyes; then
31863   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31864 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31865    { (exit 1); exit 1; }; }
31866 fi
31867 cat >conftest.$ac_ext <<_ACEOF
31868 /* confdefs.h.  */
31869 _ACEOF
31870 cat confdefs.h >>conftest.$ac_ext
31871 cat >>conftest.$ac_ext <<_ACEOF
31872 /* end confdefs.h.  */
31873 #include <unistd.h>
31874        #include <stdio.h>
31875        #include <sys/stat.h>
31876
31877 int
31878 main ()
31879 {
31880 FILE* fp;
31881        fopen64("t", "w");
31882        fseeko64(fp, 0, SEEK_CUR);
31883        ftello64(fp);
31884        lseek64(1, 0, SEEK_CUR);
31885        struct stat64 buf;
31886        fstat64(1, &buf);
31887   ;
31888   return 0;
31889 }
31890 _ACEOF
31891 rm -f conftest.$ac_objext conftest$ac_exeext
31892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31893   (eval $ac_link) 2>conftest.er1
31894   ac_status=$?
31895   grep -v '^ *+' conftest.er1 >conftest.err
31896   rm -f conftest.er1
31897   cat conftest.err >&5
31898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31899   (exit $ac_status); } &&
31900          { ac_try='test -z "$ac_cxx_werror_flag"
31901                          || test ! -s conftest.err'
31902   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31903   (eval $ac_try) 2>&5
31904   ac_status=$?
31905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31906   (exit $ac_status); }; } &&
31907          { ac_try='test -s conftest$ac_exeext'
31908   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31909   (eval $ac_try) 2>&5
31910   ac_status=$?
31911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31912   (exit $ac_status); }; }; then
31913   glibcxx_cv_LFS=yes
31914 else
31915   echo "$as_me: failed program was:" >&5
31916 sed 's/^/| /' conftest.$ac_ext >&5
31917
31918 glibcxx_cv_LFS=no
31919 fi
31920 rm -f conftest.err conftest.$ac_objext \
31921       conftest$ac_exeext conftest.$ac_ext
31922
31923 fi
31924
31925   if test $glibcxx_cv_LFS = yes; then
31926     cat >>confdefs.h <<\_ACEOF
31927 #define _GLIBCXX_USE_LFS 1
31928 _ACEOF
31929
31930   fi
31931   CXXFLAGS="$ac_save_CXXFLAGS"
31932   ac_ext=c
31933 ac_cpp='$CPP $CPPFLAGS'
31934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31937
31938
31939
31940
31941   if test "${ac_cv_header_locale_h+set}" = set; then
31942   echo "$as_me:$LINENO: checking for locale.h" >&5
31943 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
31944 if test "${ac_cv_header_locale_h+set}" = set; then
31945   echo $ECHO_N "(cached) $ECHO_C" >&6
31946 fi
31947 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
31948 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
31949 else
31950   # Is the header compilable?
31951 echo "$as_me:$LINENO: checking locale.h usability" >&5
31952 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
31953 cat >conftest.$ac_ext <<_ACEOF
31954 /* confdefs.h.  */
31955 _ACEOF
31956 cat confdefs.h >>conftest.$ac_ext
31957 cat >>conftest.$ac_ext <<_ACEOF
31958 /* end confdefs.h.  */
31959 $ac_includes_default
31960 #include <locale.h>
31961 _ACEOF
31962 rm -f conftest.$ac_objext
31963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31964   (eval $ac_compile) 2>conftest.er1
31965   ac_status=$?
31966   grep -v '^ *+' conftest.er1 >conftest.err
31967   rm -f conftest.er1
31968   cat conftest.err >&5
31969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31970   (exit $ac_status); } &&
31971          { ac_try='test -z "$ac_c_werror_flag"
31972                          || test ! -s conftest.err'
31973   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31974   (eval $ac_try) 2>&5
31975   ac_status=$?
31976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31977   (exit $ac_status); }; } &&
31978          { ac_try='test -s conftest.$ac_objext'
31979   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31980   (eval $ac_try) 2>&5
31981   ac_status=$?
31982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
31983   (exit $ac_status); }; }; then
31984   ac_header_compiler=yes
31985 else
31986   echo "$as_me: failed program was:" >&5
31987 sed 's/^/| /' conftest.$ac_ext >&5
31988
31989 ac_header_compiler=no
31990 fi
31991 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31992 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31993 echo "${ECHO_T}$ac_header_compiler" >&6
31994
31995 # Is the header present?
31996 echo "$as_me:$LINENO: checking locale.h presence" >&5
31997 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
31998 cat >conftest.$ac_ext <<_ACEOF
31999 /* confdefs.h.  */
32000 _ACEOF
32001 cat confdefs.h >>conftest.$ac_ext
32002 cat >>conftest.$ac_ext <<_ACEOF
32003 /* end confdefs.h.  */
32004 #include <locale.h>
32005 _ACEOF
32006 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32007   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32008   ac_status=$?
32009   grep -v '^ *+' conftest.er1 >conftest.err
32010   rm -f conftest.er1
32011   cat conftest.err >&5
32012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32013   (exit $ac_status); } >/dev/null; then
32014   if test -s conftest.err; then
32015     ac_cpp_err=$ac_c_preproc_warn_flag
32016     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
32017   else
32018     ac_cpp_err=
32019   fi
32020 else
32021   ac_cpp_err=yes
32022 fi
32023 if test -z "$ac_cpp_err"; then
32024   ac_header_preproc=yes
32025 else
32026   echo "$as_me: failed program was:" >&5
32027 sed 's/^/| /' conftest.$ac_ext >&5
32028
32029   ac_header_preproc=no
32030 fi
32031 rm -f conftest.err conftest.$ac_ext
32032 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32033 echo "${ECHO_T}$ac_header_preproc" >&6
32034
32035 # So?  What about this header?
32036 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32037   yes:no: )
32038     { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
32039 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32040     { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
32041 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
32042     ac_header_preproc=yes
32043     ;;
32044   no:yes:* )
32045     { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
32046 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
32047     { echo "$as_me:$LINENO: WARNING: locale.h:     check for missing prerequisite headers?" >&5
32048 echo "$as_me: WARNING: locale.h:     check for missing prerequisite headers?" >&2;}
32049     { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
32050 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
32051     { echo "$as_me:$LINENO: WARNING: locale.h:     section \"Present But Cannot Be Compiled\"" >&5
32052 echo "$as_me: WARNING: locale.h:     section \"Present But Cannot Be Compiled\"" >&2;}
32053     { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
32054 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
32055     { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
32056 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
32057     (
32058       cat <<\_ASBOX
32059 ## ----------------------------------------- ##
32060 ## Report this to the package-unused lists.  ##
32061 ## ----------------------------------------- ##
32062 _ASBOX
32063     ) |
32064       sed "s/^/$as_me: WARNING:     /" >&2
32065     ;;
32066 esac
32067 echo "$as_me:$LINENO: checking for locale.h" >&5
32068 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
32069 if test "${ac_cv_header_locale_h+set}" = set; then
32070   echo $ECHO_N "(cached) $ECHO_C" >&6
32071 else
32072   ac_cv_header_locale_h=$ac_header_preproc
32073 fi
32074 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
32075 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
32076
32077 fi
32078 if test $ac_cv_header_locale_h = yes; then
32079
32080     echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
32081 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
32082 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
32083   echo $ECHO_N "(cached) $ECHO_C" >&6
32084 else
32085   if test x$gcc_no_link = xyes; then
32086   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32087 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32088    { (exit 1); exit 1; }; }
32089 fi
32090 cat >conftest.$ac_ext <<_ACEOF
32091 /* confdefs.h.  */
32092 _ACEOF
32093 cat confdefs.h >>conftest.$ac_ext
32094 cat >>conftest.$ac_ext <<_ACEOF
32095 /* end confdefs.h.  */
32096 #include <locale.h>
32097 int
32098 main ()
32099 {
32100 return LC_MESSAGES
32101   ;
32102   return 0;
32103 }
32104 _ACEOF
32105 rm -f conftest.$ac_objext conftest$ac_exeext
32106 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32107   (eval $ac_link) 2>conftest.er1
32108   ac_status=$?
32109   grep -v '^ *+' conftest.er1 >conftest.err
32110   rm -f conftest.er1
32111   cat conftest.err >&5
32112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32113   (exit $ac_status); } &&
32114          { ac_try='test -z "$ac_c_werror_flag"
32115                          || test ! -s conftest.err'
32116   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32117   (eval $ac_try) 2>&5
32118   ac_status=$?
32119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32120   (exit $ac_status); }; } &&
32121          { ac_try='test -s conftest$ac_exeext'
32122   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32123   (eval $ac_try) 2>&5
32124   ac_status=$?
32125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32126   (exit $ac_status); }; }; then
32127   ac_cv_val_LC_MESSAGES=yes
32128 else
32129   echo "$as_me: failed program was:" >&5
32130 sed 's/^/| /' conftest.$ac_ext >&5
32131
32132 ac_cv_val_LC_MESSAGES=no
32133 fi
32134 rm -f conftest.err conftest.$ac_objext \
32135       conftest$ac_exeext conftest.$ac_ext
32136 fi
32137 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
32138 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
32139     if test $ac_cv_val_LC_MESSAGES = yes; then
32140       cat >>confdefs.h <<\_ACEOF
32141 #define HAVE_LC_MESSAGES 1
32142 _ACEOF
32143
32144     fi
32145
32146 fi
32147
32148
32149
32150
32151   cat >conftest.$ac_ext <<_ACEOF
32152 /* confdefs.h.  */
32153 _ACEOF
32154 cat confdefs.h >>conftest.$ac_ext
32155 cat >>conftest.$ac_ext <<_ACEOF
32156 /* end confdefs.h.  */
32157 #include <setjmp.h>
32158 int
32159 main ()
32160 {
32161 sigjmp_buf env;
32162      while (! sigsetjmp (env, 1))
32163        siglongjmp (env, 1);
32164
32165   ;
32166   return 0;
32167 }
32168 _ACEOF
32169 rm -f conftest.$ac_objext
32170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32171   (eval $ac_compile) 2>conftest.er1
32172   ac_status=$?
32173   grep -v '^ *+' conftest.er1 >conftest.err
32174   rm -f conftest.er1
32175   cat conftest.err >&5
32176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32177   (exit $ac_status); } &&
32178          { ac_try='test -z "$ac_c_werror_flag"
32179                          || test ! -s conftest.err'
32180   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32181   (eval $ac_try) 2>&5
32182   ac_status=$?
32183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32184   (exit $ac_status); }; } &&
32185          { ac_try='test -s conftest.$ac_objext'
32186   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32187   (eval $ac_try) 2>&5
32188   ac_status=$?
32189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32190   (exit $ac_status); }; }; then
32191
32192 cat >>confdefs.h <<\_ACEOF
32193 #define HAVE_SIGSETJMP 1
32194 _ACEOF
32195
32196 else
32197   echo "$as_me: failed program was:" >&5
32198 sed 's/^/| /' conftest.$ac_ext >&5
32199
32200 fi
32201 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32202
32203   if test x$gcc_no_link = xyes; then
32204   if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
32205     ac_cv_func_mmap_fixed_mapped=no
32206   fi
32207 fi
32208 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
32209
32210
32211 for ac_header in stdlib.h unistd.h
32212 do
32213 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32214 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32215   echo "$as_me:$LINENO: checking for $ac_header" >&5
32216 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32217 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32218   echo $ECHO_N "(cached) $ECHO_C" >&6
32219 fi
32220 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32221 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32222 else
32223   # Is the header compilable?
32224 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32225 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32226 cat >conftest.$ac_ext <<_ACEOF
32227 /* confdefs.h.  */
32228 _ACEOF
32229 cat confdefs.h >>conftest.$ac_ext
32230 cat >>conftest.$ac_ext <<_ACEOF
32231 /* end confdefs.h.  */
32232 $ac_includes_default
32233 #include <$ac_header>
32234 _ACEOF
32235 rm -f conftest.$ac_objext
32236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32237   (eval $ac_compile) 2>conftest.er1
32238   ac_status=$?
32239   grep -v '^ *+' conftest.er1 >conftest.err
32240   rm -f conftest.er1
32241   cat conftest.err >&5
32242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32243   (exit $ac_status); } &&
32244          { ac_try='test -z "$ac_c_werror_flag"
32245                          || test ! -s conftest.err'
32246   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32247   (eval $ac_try) 2>&5
32248   ac_status=$?
32249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32250   (exit $ac_status); }; } &&
32251          { ac_try='test -s conftest.$ac_objext'
32252   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32253   (eval $ac_try) 2>&5
32254   ac_status=$?
32255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32256   (exit $ac_status); }; }; then
32257   ac_header_compiler=yes
32258 else
32259   echo "$as_me: failed program was:" >&5
32260 sed 's/^/| /' conftest.$ac_ext >&5
32261
32262 ac_header_compiler=no
32263 fi
32264 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32265 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32266 echo "${ECHO_T}$ac_header_compiler" >&6
32267
32268 # Is the header present?
32269 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32270 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32271 cat >conftest.$ac_ext <<_ACEOF
32272 /* confdefs.h.  */
32273 _ACEOF
32274 cat confdefs.h >>conftest.$ac_ext
32275 cat >>conftest.$ac_ext <<_ACEOF
32276 /* end confdefs.h.  */
32277 #include <$ac_header>
32278 _ACEOF
32279 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32280   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32281   ac_status=$?
32282   grep -v '^ *+' conftest.er1 >conftest.err
32283   rm -f conftest.er1
32284   cat conftest.err >&5
32285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32286   (exit $ac_status); } >/dev/null; then
32287   if test -s conftest.err; then
32288     ac_cpp_err=$ac_c_preproc_warn_flag
32289     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
32290   else
32291     ac_cpp_err=
32292   fi
32293 else
32294   ac_cpp_err=yes
32295 fi
32296 if test -z "$ac_cpp_err"; then
32297   ac_header_preproc=yes
32298 else
32299   echo "$as_me: failed program was:" >&5
32300 sed 's/^/| /' conftest.$ac_ext >&5
32301
32302   ac_header_preproc=no
32303 fi
32304 rm -f conftest.err conftest.$ac_ext
32305 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32306 echo "${ECHO_T}$ac_header_preproc" >&6
32307
32308 # So?  What about this header?
32309 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32310   yes:no: )
32311     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32312 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32313     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32314 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32315     ac_header_preproc=yes
32316     ;;
32317   no:yes:* )
32318     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32319 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32320     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
32321 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
32322     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32323 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32324     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
32325 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
32326     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32327 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32328     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32329 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32330     (
32331       cat <<\_ASBOX
32332 ## ----------------------------------------- ##
32333 ## Report this to the package-unused lists.  ##
32334 ## ----------------------------------------- ##
32335 _ASBOX
32336     ) |
32337       sed "s/^/$as_me: WARNING:     /" >&2
32338     ;;
32339 esac
32340 echo "$as_me:$LINENO: checking for $ac_header" >&5
32341 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32342 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32343   echo $ECHO_N "(cached) $ECHO_C" >&6
32344 else
32345   eval "$as_ac_Header=\$ac_header_preproc"
32346 fi
32347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32348 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32349
32350 fi
32351 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32352   cat >>confdefs.h <<_ACEOF
32353 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32354 _ACEOF
32355
32356 fi
32357
32358 done
32359
32360
32361 for ac_func in getpagesize
32362 do
32363 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32364 echo "$as_me:$LINENO: checking for $ac_func" >&5
32365 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32366 if eval "test \"\${$as_ac_var+set}\" = set"; then
32367   echo $ECHO_N "(cached) $ECHO_C" >&6
32368 else
32369   if test x$gcc_no_link = xyes; then
32370   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32371 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32372    { (exit 1); exit 1; }; }
32373 fi
32374 cat >conftest.$ac_ext <<_ACEOF
32375 /* confdefs.h.  */
32376 _ACEOF
32377 cat confdefs.h >>conftest.$ac_ext
32378 cat >>conftest.$ac_ext <<_ACEOF
32379 /* end confdefs.h.  */
32380 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32381    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
32382 #define $ac_func innocuous_$ac_func
32383
32384 /* System header to define __stub macros and hopefully few prototypes,
32385     which can conflict with char $ac_func (); below.
32386     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32387     <limits.h> exists even on freestanding compilers.  */
32388
32389 #ifdef __STDC__
32390 # include <limits.h>
32391 #else
32392 # include <assert.h>
32393 #endif
32394
32395 #undef $ac_func
32396
32397 /* Override any gcc2 internal prototype to avoid an error.  */
32398 #ifdef __cplusplus
32399 extern "C"
32400 {
32401 #endif
32402 /* We use char because int might match the return type of a gcc2
32403    builtin and then its argument prototype would still apply.  */
32404 char $ac_func ();
32405 /* The GNU C library defines this for functions which it implements
32406     to always fail with ENOSYS.  Some functions are actually named
32407     something starting with __ and the normal name is an alias.  */
32408 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32409 choke me
32410 #else
32411 char (*f) () = $ac_func;
32412 #endif
32413 #ifdef __cplusplus
32414 }
32415 #endif
32416
32417 int
32418 main ()
32419 {
32420 return f != $ac_func;
32421   ;
32422   return 0;
32423 }
32424 _ACEOF
32425 rm -f conftest.$ac_objext conftest$ac_exeext
32426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32427   (eval $ac_link) 2>conftest.er1
32428   ac_status=$?
32429   grep -v '^ *+' conftest.er1 >conftest.err
32430   rm -f conftest.er1
32431   cat conftest.err >&5
32432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32433   (exit $ac_status); } &&
32434          { ac_try='test -z "$ac_c_werror_flag"
32435                          || test ! -s conftest.err'
32436   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32437   (eval $ac_try) 2>&5
32438   ac_status=$?
32439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32440   (exit $ac_status); }; } &&
32441          { ac_try='test -s conftest$ac_exeext'
32442   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32443   (eval $ac_try) 2>&5
32444   ac_status=$?
32445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32446   (exit $ac_status); }; }; then
32447   eval "$as_ac_var=yes"
32448 else
32449   echo "$as_me: failed program was:" >&5
32450 sed 's/^/| /' conftest.$ac_ext >&5
32451
32452 eval "$as_ac_var=no"
32453 fi
32454 rm -f conftest.err conftest.$ac_objext \
32455       conftest$ac_exeext conftest.$ac_ext
32456 fi
32457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32458 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32459 if test `eval echo '${'$as_ac_var'}'` = yes; then
32460   cat >>confdefs.h <<_ACEOF
32461 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32462 _ACEOF
32463
32464 fi
32465 done
32466
32467 echo "$as_me:$LINENO: checking for working mmap" >&5
32468 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
32469 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
32470   echo $ECHO_N "(cached) $ECHO_C" >&6
32471 else
32472   if test "$cross_compiling" = yes; then
32473   ac_cv_func_mmap_fixed_mapped=no
32474 else
32475   cat >conftest.$ac_ext <<_ACEOF
32476 /* confdefs.h.  */
32477 _ACEOF
32478 cat confdefs.h >>conftest.$ac_ext
32479 cat >>conftest.$ac_ext <<_ACEOF
32480 /* end confdefs.h.  */
32481 $ac_includes_default
32482 /* malloc might have been renamed as rpl_malloc. */
32483 #undef malloc
32484
32485 /* Thanks to Mike Haertel and Jim Avera for this test.
32486    Here is a matrix of mmap possibilities:
32487         mmap private not fixed
32488         mmap private fixed at somewhere currently unmapped
32489         mmap private fixed at somewhere already mapped
32490         mmap shared not fixed
32491         mmap shared fixed at somewhere currently unmapped
32492         mmap shared fixed at somewhere already mapped
32493    For private mappings, we should verify that changes cannot be read()
32494    back from the file, nor mmap's back from the file at a different
32495    address.  (There have been systems where private was not correctly
32496    implemented like the infamous i386 svr4.0, and systems where the
32497    VM page cache was not coherent with the file system buffer cache
32498    like early versions of FreeBSD and possibly contemporary NetBSD.)
32499    For shared mappings, we should conversely verify that changes get
32500    propagated back to all the places they're supposed to be.
32501
32502    Grep wants private fixed already mapped.
32503    The main things grep needs to know about mmap are:
32504    * does it exist and is it safe to write into the mmap'd area
32505    * how to use it (BSD variants)  */
32506
32507 #include <fcntl.h>
32508 #include <sys/mman.h>
32509
32510 #if !STDC_HEADERS && !HAVE_STDLIB_H
32511 char *malloc ();
32512 #endif
32513
32514 /* This mess was copied from the GNU getpagesize.h.  */
32515 #if !HAVE_GETPAGESIZE
32516 /* Assume that all systems that can run configure have sys/param.h.  */
32517 # if !HAVE_SYS_PARAM_H
32518 #  define HAVE_SYS_PARAM_H 1
32519 # endif
32520
32521 # ifdef _SC_PAGESIZE
32522 #  define getpagesize() sysconf(_SC_PAGESIZE)
32523 # else /* no _SC_PAGESIZE */
32524 #  if HAVE_SYS_PARAM_H
32525 #   include <sys/param.h>
32526 #   ifdef EXEC_PAGESIZE
32527 #    define getpagesize() EXEC_PAGESIZE
32528 #   else /* no EXEC_PAGESIZE */
32529 #    ifdef NBPG
32530 #     define getpagesize() NBPG * CLSIZE
32531 #     ifndef CLSIZE
32532 #      define CLSIZE 1
32533 #     endif /* no CLSIZE */
32534 #    else /* no NBPG */
32535 #     ifdef NBPC
32536 #      define getpagesize() NBPC
32537 #     else /* no NBPC */
32538 #      ifdef PAGESIZE
32539 #       define getpagesize() PAGESIZE
32540 #      endif /* PAGESIZE */
32541 #     endif /* no NBPC */
32542 #    endif /* no NBPG */
32543 #   endif /* no EXEC_PAGESIZE */
32544 #  else /* no HAVE_SYS_PARAM_H */
32545 #   define getpagesize() 8192   /* punt totally */
32546 #  endif /* no HAVE_SYS_PARAM_H */
32547 # endif /* no _SC_PAGESIZE */
32548
32549 #endif /* no HAVE_GETPAGESIZE */
32550
32551 int
32552 main ()
32553 {
32554   char *data, *data2, *data3;
32555   int i, pagesize;
32556   int fd;
32557
32558   pagesize = getpagesize ();
32559
32560   /* First, make a file with some known garbage in it. */
32561   data = (char *) malloc (pagesize);
32562   if (!data)
32563     exit (1);
32564   for (i = 0; i < pagesize; ++i)
32565     *(data + i) = rand ();
32566   umask (0);
32567   fd = creat ("conftest.mmap", 0600);
32568   if (fd < 0)
32569     exit (1);
32570   if (write (fd, data, pagesize) != pagesize)
32571     exit (1);
32572   close (fd);
32573
32574   /* Next, try to mmap the file at a fixed address which already has
32575      something else allocated at it.  If we can, also make sure that
32576      we see the same garbage.  */
32577   fd = open ("conftest.mmap", O_RDWR);
32578   if (fd < 0)
32579     exit (1);
32580   data2 = (char *) malloc (2 * pagesize);
32581   if (!data2)
32582     exit (1);
32583   data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
32584   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
32585                      MAP_PRIVATE | MAP_FIXED, fd, 0L))
32586     exit (1);
32587   for (i = 0; i < pagesize; ++i)
32588     if (*(data + i) != *(data2 + i))
32589       exit (1);
32590
32591   /* Finally, make sure that changes to the mapped area do not
32592      percolate back to the file as seen by read().  (This is a bug on
32593      some variants of i386 svr4.0.)  */
32594   for (i = 0; i < pagesize; ++i)
32595     *(data2 + i) = *(data2 + i) + 1;
32596   data3 = (char *) malloc (pagesize);
32597   if (!data3)
32598     exit (1);
32599   if (read (fd, data3, pagesize) != pagesize)
32600     exit (1);
32601   for (i = 0; i < pagesize; ++i)
32602     if (*(data + i) != *(data3 + i))
32603       exit (1);
32604   close (fd);
32605   exit (0);
32606 }
32607 _ACEOF
32608 rm -f conftest$ac_exeext
32609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32610   (eval $ac_link) 2>&5
32611   ac_status=$?
32612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32613   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
32614   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32615   (eval $ac_try) 2>&5
32616   ac_status=$?
32617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32618   (exit $ac_status); }; }; then
32619   ac_cv_func_mmap_fixed_mapped=yes
32620 else
32621   echo "$as_me: program exited with status $ac_status" >&5
32622 echo "$as_me: failed program was:" >&5
32623 sed 's/^/| /' conftest.$ac_ext >&5
32624
32625 ( exit $ac_status )
32626 ac_cv_func_mmap_fixed_mapped=no
32627 fi
32628 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
32629 fi
32630 fi
32631 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
32632 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
32633 if test $ac_cv_func_mmap_fixed_mapped = yes; then
32634
32635 cat >>confdefs.h <<\_ACEOF
32636 #define HAVE_MMAP 1
32637 _ACEOF
32638
32639 fi
32640 rm -f conftest.mmap
32641
32642 fi
32643
32644 else
32645
32646   # This lets us hard-code the functionality we know we'll have in the cross
32647   # target environment.  "Let" is a sugar-coated word placed on an especially
32648   # dull and tedious hack, actually.
32649   #
32650   # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
32651   # that involve linking, can't be used:
32652   #    "cannot open sim-crt0.o"
32653   #    "cannot open crt0.o"
32654   # etc.  All this is because there currently exists no unified, consistent
32655   # way for top level CC information to be passed down to target directories:
32656   # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
32657   # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
32658   # crosses can be removed.
32659
32660   # If Canadian cross, then don't pick up tools from the build directory.
32661   # Used only in GLIBCXX_EXPORT_INCLUDES.
32662   if test -n "$with_cross_host" &&
32663      test x"$build_alias" != x"$with_cross_host" &&
32664      test x"$build" != x"$target";
32665   then
32666     CANADIAN=yes
32667   else
32668     CANADIAN=no
32669   fi
32670
32671   # Construct crosses by hand, eliminating bits that need ld...
32672   # GLIBCXX_CHECK_COMPILER_FEATURES
32673   # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
32674   # GLIBCXX_CHECK_MATH_SUPPORT
32675
32676   # First, test for "known" system libraries.  We may be using newlib even
32677   # on a hosted environment.
32678   if test "x${with_newlib}" = "xyes"; then
32679     os_include_dir="os/newlib"
32680     cat >>confdefs.h <<\_ACEOF
32681 #define HAVE_HYPOT 1
32682 _ACEOF
32683
32684
32685     # GLIBCXX_CHECK_STDLIB_SUPPORT
32686     cat >>confdefs.h <<\_ACEOF
32687 #define HAVE_STRTOF 1
32688 _ACEOF
32689
32690     # AC_FUNC_MMAP
32691     cat >>confdefs.h <<\_ACEOF
32692 #define HAVE_MMAP 1
32693 _ACEOF
32694
32695
32696     cat >>confdefs.h <<\_ACEOF
32697 #define HAVE_ACOSF 1
32698 _ACEOF
32699
32700     cat >>confdefs.h <<\_ACEOF
32701 #define HAVE_ASINF 1
32702 _ACEOF
32703
32704     cat >>confdefs.h <<\_ACEOF
32705 #define HAVE_ATAN2F 1
32706 _ACEOF
32707
32708     cat >>confdefs.h <<\_ACEOF
32709 #define HAVE_ATANF 1
32710 _ACEOF
32711
32712     cat >>confdefs.h <<\_ACEOF
32713 #define HAVE_CEILF 1
32714 _ACEOF
32715
32716     cat >>confdefs.h <<\_ACEOF
32717 #define HAVE_COPYSIGN 1
32718 _ACEOF
32719
32720     cat >>confdefs.h <<\_ACEOF
32721 #define HAVE_COPYSIGNF 1
32722 _ACEOF
32723
32724     cat >>confdefs.h <<\_ACEOF
32725 #define HAVE_COSF 1
32726 _ACEOF
32727
32728     cat >>confdefs.h <<\_ACEOF
32729 #define HAVE_COSHF 1
32730 _ACEOF
32731
32732     cat >>confdefs.h <<\_ACEOF
32733 #define HAVE_EXPF 1
32734 _ACEOF
32735
32736     cat >>confdefs.h <<\_ACEOF
32737 #define HAVE_FABSF 1
32738 _ACEOF
32739
32740     cat >>confdefs.h <<\_ACEOF
32741 #define HAVE_FLOORF 1
32742 _ACEOF
32743
32744     cat >>confdefs.h <<\_ACEOF
32745 #define HAVE_FMODF 1
32746 _ACEOF
32747
32748     cat >>confdefs.h <<\_ACEOF
32749 #define HAVE_FREXPF 1
32750 _ACEOF
32751
32752     cat >>confdefs.h <<\_ACEOF
32753 #define HAVE_LDEXPF 1
32754 _ACEOF
32755
32756     cat >>confdefs.h <<\_ACEOF
32757 #define HAVE_LOG10F 1
32758 _ACEOF
32759
32760     cat >>confdefs.h <<\_ACEOF
32761 #define HAVE_LOGF 1
32762 _ACEOF
32763
32764     cat >>confdefs.h <<\_ACEOF
32765 #define HAVE_MODFF 1
32766 _ACEOF
32767
32768     cat >>confdefs.h <<\_ACEOF
32769 #define HAVE_POWF 1
32770 _ACEOF
32771
32772     cat >>confdefs.h <<\_ACEOF
32773 #define HAVE_SINF 1
32774 _ACEOF
32775
32776     cat >>confdefs.h <<\_ACEOF
32777 #define HAVE_SINHF 1
32778 _ACEOF
32779
32780     cat >>confdefs.h <<\_ACEOF
32781 #define HAVE_SQRTF 1
32782 _ACEOF
32783
32784     cat >>confdefs.h <<\_ACEOF
32785 #define HAVE_TANF 1
32786 _ACEOF
32787
32788     cat >>confdefs.h <<\_ACEOF
32789 #define HAVE_TANHF 1
32790 _ACEOF
32791
32792
32793     cat >>confdefs.h <<\_ACEOF
32794 #define HAVE_S_ISREG 1
32795 _ACEOF
32796
32797     cat >>confdefs.h <<\_ACEOF
32798 #define HAVE_S_IFREG 1
32799 _ACEOF
32800
32801   else
32802
32803 # Base decisions on target environment.
32804 case "${host}" in
32805   arm*-*-symbianelf*)
32806     # This is a freestanding configuration; there is nothing to do here.
32807     ;;
32808
32809   *-darwin*)
32810     # Darwin versions vary, but the linker should work in a cross environment,
32811     # so we just check for all the features here.
32812     # Check for available headers.
32813
32814
32815
32816
32817
32818
32819
32820
32821
32822
32823
32824
32825
32826 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
32827     machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
32828     sys/types.h
32829 do
32830 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32831 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32832   echo "$as_me:$LINENO: checking for $ac_header" >&5
32833 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32834 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32835   echo $ECHO_N "(cached) $ECHO_C" >&6
32836 fi
32837 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32838 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32839 else
32840   # Is the header compilable?
32841 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32842 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32843 cat >conftest.$ac_ext <<_ACEOF
32844 /* confdefs.h.  */
32845 _ACEOF
32846 cat confdefs.h >>conftest.$ac_ext
32847 cat >>conftest.$ac_ext <<_ACEOF
32848 /* end confdefs.h.  */
32849 $ac_includes_default
32850 #include <$ac_header>
32851 _ACEOF
32852 rm -f conftest.$ac_objext
32853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32854   (eval $ac_compile) 2>conftest.er1
32855   ac_status=$?
32856   grep -v '^ *+' conftest.er1 >conftest.err
32857   rm -f conftest.er1
32858   cat conftest.err >&5
32859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32860   (exit $ac_status); } &&
32861          { ac_try='test -z "$ac_c_werror_flag"
32862                          || test ! -s conftest.err'
32863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32864   (eval $ac_try) 2>&5
32865   ac_status=$?
32866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32867   (exit $ac_status); }; } &&
32868          { ac_try='test -s conftest.$ac_objext'
32869   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32870   (eval $ac_try) 2>&5
32871   ac_status=$?
32872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32873   (exit $ac_status); }; }; then
32874   ac_header_compiler=yes
32875 else
32876   echo "$as_me: failed program was:" >&5
32877 sed 's/^/| /' conftest.$ac_ext >&5
32878
32879 ac_header_compiler=no
32880 fi
32881 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32882 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32883 echo "${ECHO_T}$ac_header_compiler" >&6
32884
32885 # Is the header present?
32886 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32887 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32888 cat >conftest.$ac_ext <<_ACEOF
32889 /* confdefs.h.  */
32890 _ACEOF
32891 cat confdefs.h >>conftest.$ac_ext
32892 cat >>conftest.$ac_ext <<_ACEOF
32893 /* end confdefs.h.  */
32894 #include <$ac_header>
32895 _ACEOF
32896 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32897   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32898   ac_status=$?
32899   grep -v '^ *+' conftest.er1 >conftest.err
32900   rm -f conftest.er1
32901   cat conftest.err >&5
32902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
32903   (exit $ac_status); } >/dev/null; then
32904   if test -s conftest.err; then
32905     ac_cpp_err=$ac_c_preproc_warn_flag
32906     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
32907   else
32908     ac_cpp_err=
32909   fi
32910 else
32911   ac_cpp_err=yes
32912 fi
32913 if test -z "$ac_cpp_err"; then
32914   ac_header_preproc=yes
32915 else
32916   echo "$as_me: failed program was:" >&5
32917 sed 's/^/| /' conftest.$ac_ext >&5
32918
32919   ac_header_preproc=no
32920 fi
32921 rm -f conftest.err conftest.$ac_ext
32922 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32923 echo "${ECHO_T}$ac_header_preproc" >&6
32924
32925 # So?  What about this header?
32926 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32927   yes:no: )
32928     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32929 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32930     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32931 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32932     ac_header_preproc=yes
32933     ;;
32934   no:yes:* )
32935     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32936 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32937     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
32938 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
32939     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32940 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32941     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
32942 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
32943     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32944 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32945     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32946 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32947     (
32948       cat <<\_ASBOX
32949 ## ----------------------------------------- ##
32950 ## Report this to the package-unused lists.  ##
32951 ## ----------------------------------------- ##
32952 _ASBOX
32953     ) |
32954       sed "s/^/$as_me: WARNING:     /" >&2
32955     ;;
32956 esac
32957 echo "$as_me:$LINENO: checking for $ac_header" >&5
32958 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32959 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32960   echo $ECHO_N "(cached) $ECHO_C" >&6
32961 else
32962   eval "$as_ac_Header=\$ac_header_preproc"
32963 fi
32964 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32965 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32966
32967 fi
32968 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32969   cat >>confdefs.h <<_ACEOF
32970 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32971 _ACEOF
32972
32973 fi
32974
32975 done
32976
32977
32978
32979   # All these tests are for C++; save the language and the compiler flags.
32980   # The CXXFLAGS thing is suspicious, but based on similar bits previously
32981   # found in GLIBCXX_CONFIGURE.
32982
32983
32984   ac_ext=cc
32985 ac_cpp='$CXXCPP $CPPFLAGS'
32986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32989
32990   ac_test_CXXFLAGS="${CXXFLAGS+set}"
32991   ac_save_CXXFLAGS="$CXXFLAGS"
32992
32993   # Check for maintainer-mode bits.
32994   if test x"$USE_MAINTAINER_MODE" = xno; then
32995     WERROR=''
32996   else
32997     WERROR='-Werror'
32998   fi
32999
33000   # Check for -ffunction-sections -fdata-sections
33001   echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
33002 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
33003   CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
33004   cat >conftest.$ac_ext <<_ACEOF
33005 /* confdefs.h.  */
33006 _ACEOF
33007 cat confdefs.h >>conftest.$ac_ext
33008 cat >>conftest.$ac_ext <<_ACEOF
33009 /* end confdefs.h.  */
33010
33011 int
33012 main ()
33013 {
33014 int foo;
33015   ;
33016   return 0;
33017 }
33018 _ACEOF
33019 rm -f conftest.$ac_objext
33020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33021   (eval $ac_compile) 2>conftest.er1
33022   ac_status=$?
33023   grep -v '^ *+' conftest.er1 >conftest.err
33024   rm -f conftest.er1
33025   cat conftest.err >&5
33026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33027   (exit $ac_status); } &&
33028          { ac_try='test -z "$ac_cxx_werror_flag"
33029                          || test ! -s conftest.err'
33030   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33031   (eval $ac_try) 2>&5
33032   ac_status=$?
33033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33034   (exit $ac_status); }; } &&
33035          { ac_try='test -s conftest.$ac_objext'
33036   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33037   (eval $ac_try) 2>&5
33038   ac_status=$?
33039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33040   (exit $ac_status); }; }; then
33041   ac_fdsections=yes
33042 else
33043   echo "$as_me: failed program was:" >&5
33044 sed 's/^/| /' conftest.$ac_ext >&5
33045
33046 ac_fdsections=no
33047 fi
33048 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33049   if test "$ac_test_CXXFLAGS" = set; then
33050     CXXFLAGS="$ac_save_CXXFLAGS"
33051   else
33052     # this is the suspicious part
33053     CXXFLAGS=''
33054   fi
33055   if test x"$ac_fdsections" = x"yes"; then
33056     SECTION_FLAGS='-ffunction-sections -fdata-sections'
33057   fi
33058   echo "$as_me:$LINENO: result: $ac_fdsections" >&5
33059 echo "${ECHO_T}$ac_fdsections" >&6
33060
33061   ac_ext=c
33062 ac_cpp='$CPP $CPPFLAGS'
33063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33066
33067
33068
33069
33070     # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
33071
33072   ac_test_CXXFLAGS="${CXXFLAGS+set}"
33073   ac_save_CXXFLAGS="$CXXFLAGS"
33074   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33075
33076     echo "$as_me:$LINENO: checking for sin in -lm" >&5
33077 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
33078 if test "${ac_cv_lib_m_sin+set}" = set; then
33079   echo $ECHO_N "(cached) $ECHO_C" >&6
33080 else
33081   ac_check_lib_save_LIBS=$LIBS
33082 LIBS="-lm  $LIBS"
33083 if test x$gcc_no_link = xyes; then
33084   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33085 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33086    { (exit 1); exit 1; }; }
33087 fi
33088 cat >conftest.$ac_ext <<_ACEOF
33089 /* confdefs.h.  */
33090 _ACEOF
33091 cat confdefs.h >>conftest.$ac_ext
33092 cat >>conftest.$ac_ext <<_ACEOF
33093 /* end confdefs.h.  */
33094
33095 /* Override any gcc2 internal prototype to avoid an error.  */
33096 #ifdef __cplusplus
33097 extern "C"
33098 #endif
33099 /* We use char because int might match the return type of a gcc2
33100    builtin and then its argument prototype would still apply.  */
33101 char sin ();
33102 int
33103 main ()
33104 {
33105 sin ();
33106   ;
33107   return 0;
33108 }
33109 _ACEOF
33110 rm -f conftest.$ac_objext conftest$ac_exeext
33111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33112   (eval $ac_link) 2>conftest.er1
33113   ac_status=$?
33114   grep -v '^ *+' conftest.er1 >conftest.err
33115   rm -f conftest.er1
33116   cat conftest.err >&5
33117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33118   (exit $ac_status); } &&
33119          { ac_try='test -z "$ac_c_werror_flag"
33120                          || test ! -s conftest.err'
33121   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33122   (eval $ac_try) 2>&5
33123   ac_status=$?
33124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33125   (exit $ac_status); }; } &&
33126          { ac_try='test -s conftest$ac_exeext'
33127   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33128   (eval $ac_try) 2>&5
33129   ac_status=$?
33130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33131   (exit $ac_status); }; }; then
33132   ac_cv_lib_m_sin=yes
33133 else
33134   echo "$as_me: failed program was:" >&5
33135 sed 's/^/| /' conftest.$ac_ext >&5
33136
33137 ac_cv_lib_m_sin=no
33138 fi
33139 rm -f conftest.err conftest.$ac_objext \
33140       conftest$ac_exeext conftest.$ac_ext
33141 LIBS=$ac_check_lib_save_LIBS
33142 fi
33143 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
33144 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
33145 if test $ac_cv_lib_m_sin = yes; then
33146   libm="-lm"
33147 fi
33148
33149   ac_save_LIBS="$LIBS"
33150   LIBS="$LIBS $libm"
33151
33152
33153
33154   echo "$as_me:$LINENO: checking for isinf declaration" >&5
33155 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
33156   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
33157     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
33158   echo $ECHO_N "(cached) $ECHO_C" >&6
33159 else
33160
33161
33162
33163       ac_ext=cc
33164 ac_cpp='$CXXCPP $CPPFLAGS'
33165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33168
33169       cat >conftest.$ac_ext <<_ACEOF
33170 /* confdefs.h.  */
33171 _ACEOF
33172 cat confdefs.h >>conftest.$ac_ext
33173 cat >>conftest.$ac_ext <<_ACEOF
33174 /* end confdefs.h.  */
33175 #include <math.h>
33176                       #ifdef HAVE_IEEEFP_H
33177                       #include <ieeefp.h>
33178                       #endif
33179
33180 int
33181 main ()
33182 {
33183  isinf(0);
33184   ;
33185   return 0;
33186 }
33187 _ACEOF
33188 rm -f conftest.$ac_objext
33189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33190   (eval $ac_compile) 2>conftest.er1
33191   ac_status=$?
33192   grep -v '^ *+' conftest.er1 >conftest.err
33193   rm -f conftest.er1
33194   cat conftest.err >&5
33195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33196   (exit $ac_status); } &&
33197          { ac_try='test -z "$ac_cxx_werror_flag"
33198                          || test ! -s conftest.err'
33199   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33200   (eval $ac_try) 2>&5
33201   ac_status=$?
33202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33203   (exit $ac_status); }; } &&
33204          { ac_try='test -s conftest.$ac_objext'
33205   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33206   (eval $ac_try) 2>&5
33207   ac_status=$?
33208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33209   (exit $ac_status); }; }; then
33210   glibcxx_cv_func_isinf_use=yes
33211 else
33212   echo "$as_me: failed program was:" >&5
33213 sed 's/^/| /' conftest.$ac_ext >&5
33214
33215 glibcxx_cv_func_isinf_use=no
33216 fi
33217 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33218       ac_ext=c
33219 ac_cpp='$CPP $CPPFLAGS'
33220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33223
33224
33225 fi
33226
33227   fi
33228   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
33229 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
33230
33231   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
33232
33233 for ac_func in isinf
33234 do
33235 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33236 echo "$as_me:$LINENO: checking for $ac_func" >&5
33237 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33238 if eval "test \"\${$as_ac_var+set}\" = set"; then
33239   echo $ECHO_N "(cached) $ECHO_C" >&6
33240 else
33241   if test x$gcc_no_link = xyes; then
33242   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33243 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33244    { (exit 1); exit 1; }; }
33245 fi
33246 cat >conftest.$ac_ext <<_ACEOF
33247 /* confdefs.h.  */
33248 _ACEOF
33249 cat confdefs.h >>conftest.$ac_ext
33250 cat >>conftest.$ac_ext <<_ACEOF
33251 /* end confdefs.h.  */
33252 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33253    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33254 #define $ac_func innocuous_$ac_func
33255
33256 /* System header to define __stub macros and hopefully few prototypes,
33257     which can conflict with char $ac_func (); below.
33258     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33259     <limits.h> exists even on freestanding compilers.  */
33260
33261 #ifdef __STDC__
33262 # include <limits.h>
33263 #else
33264 # include <assert.h>
33265 #endif
33266
33267 #undef $ac_func
33268
33269 /* Override any gcc2 internal prototype to avoid an error.  */
33270 #ifdef __cplusplus
33271 extern "C"
33272 {
33273 #endif
33274 /* We use char because int might match the return type of a gcc2
33275    builtin and then its argument prototype would still apply.  */
33276 char $ac_func ();
33277 /* The GNU C library defines this for functions which it implements
33278     to always fail with ENOSYS.  Some functions are actually named
33279     something starting with __ and the normal name is an alias.  */
33280 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33281 choke me
33282 #else
33283 char (*f) () = $ac_func;
33284 #endif
33285 #ifdef __cplusplus
33286 }
33287 #endif
33288
33289 int
33290 main ()
33291 {
33292 return f != $ac_func;
33293   ;
33294   return 0;
33295 }
33296 _ACEOF
33297 rm -f conftest.$ac_objext conftest$ac_exeext
33298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33299   (eval $ac_link) 2>conftest.er1
33300   ac_status=$?
33301   grep -v '^ *+' conftest.er1 >conftest.err
33302   rm -f conftest.er1
33303   cat conftest.err >&5
33304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33305   (exit $ac_status); } &&
33306          { ac_try='test -z "$ac_c_werror_flag"
33307                          || test ! -s conftest.err'
33308   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33309   (eval $ac_try) 2>&5
33310   ac_status=$?
33311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33312   (exit $ac_status); }; } &&
33313          { ac_try='test -s conftest$ac_exeext'
33314   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33315   (eval $ac_try) 2>&5
33316   ac_status=$?
33317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33318   (exit $ac_status); }; }; then
33319   eval "$as_ac_var=yes"
33320 else
33321   echo "$as_me: failed program was:" >&5
33322 sed 's/^/| /' conftest.$ac_ext >&5
33323
33324 eval "$as_ac_var=no"
33325 fi
33326 rm -f conftest.err conftest.$ac_objext \
33327       conftest$ac_exeext conftest.$ac_ext
33328 fi
33329 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33330 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33331 if test `eval echo '${'$as_ac_var'}'` = yes; then
33332   cat >>confdefs.h <<_ACEOF
33333 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33334 _ACEOF
33335
33336 fi
33337 done
33338
33339   else
33340
33341   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
33342 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
33343   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
33344     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
33345   echo $ECHO_N "(cached) $ECHO_C" >&6
33346 else
33347
33348
33349
33350       ac_ext=cc
33351 ac_cpp='$CXXCPP $CPPFLAGS'
33352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33355
33356       cat >conftest.$ac_ext <<_ACEOF
33357 /* confdefs.h.  */
33358 _ACEOF
33359 cat confdefs.h >>conftest.$ac_ext
33360 cat >>conftest.$ac_ext <<_ACEOF
33361 /* end confdefs.h.  */
33362 #include <math.h>
33363                       #ifdef HAVE_IEEEFP_H
33364                       #include <ieeefp.h>
33365                       #endif
33366
33367 int
33368 main ()
33369 {
33370  _isinf(0);
33371   ;
33372   return 0;
33373 }
33374 _ACEOF
33375 rm -f conftest.$ac_objext
33376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33377   (eval $ac_compile) 2>conftest.er1
33378   ac_status=$?
33379   grep -v '^ *+' conftest.er1 >conftest.err
33380   rm -f conftest.er1
33381   cat conftest.err >&5
33382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33383   (exit $ac_status); } &&
33384          { ac_try='test -z "$ac_cxx_werror_flag"
33385                          || test ! -s conftest.err'
33386   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33387   (eval $ac_try) 2>&5
33388   ac_status=$?
33389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33390   (exit $ac_status); }; } &&
33391          { ac_try='test -s conftest.$ac_objext'
33392   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33393   (eval $ac_try) 2>&5
33394   ac_status=$?
33395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33396   (exit $ac_status); }; }; then
33397   glibcxx_cv_func__isinf_use=yes
33398 else
33399   echo "$as_me: failed program was:" >&5
33400 sed 's/^/| /' conftest.$ac_ext >&5
33401
33402 glibcxx_cv_func__isinf_use=no
33403 fi
33404 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33405       ac_ext=c
33406 ac_cpp='$CPP $CPPFLAGS'
33407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33410
33411
33412 fi
33413
33414   fi
33415   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
33416 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
33417
33418     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
33419
33420 for ac_func in _isinf
33421 do
33422 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33423 echo "$as_me:$LINENO: checking for $ac_func" >&5
33424 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33425 if eval "test \"\${$as_ac_var+set}\" = set"; then
33426   echo $ECHO_N "(cached) $ECHO_C" >&6
33427 else
33428   if test x$gcc_no_link = xyes; then
33429   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33430 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33431    { (exit 1); exit 1; }; }
33432 fi
33433 cat >conftest.$ac_ext <<_ACEOF
33434 /* confdefs.h.  */
33435 _ACEOF
33436 cat confdefs.h >>conftest.$ac_ext
33437 cat >>conftest.$ac_ext <<_ACEOF
33438 /* end confdefs.h.  */
33439 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33440    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33441 #define $ac_func innocuous_$ac_func
33442
33443 /* System header to define __stub macros and hopefully few prototypes,
33444     which can conflict with char $ac_func (); below.
33445     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33446     <limits.h> exists even on freestanding compilers.  */
33447
33448 #ifdef __STDC__
33449 # include <limits.h>
33450 #else
33451 # include <assert.h>
33452 #endif
33453
33454 #undef $ac_func
33455
33456 /* Override any gcc2 internal prototype to avoid an error.  */
33457 #ifdef __cplusplus
33458 extern "C"
33459 {
33460 #endif
33461 /* We use char because int might match the return type of a gcc2
33462    builtin and then its argument prototype would still apply.  */
33463 char $ac_func ();
33464 /* The GNU C library defines this for functions which it implements
33465     to always fail with ENOSYS.  Some functions are actually named
33466     something starting with __ and the normal name is an alias.  */
33467 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33468 choke me
33469 #else
33470 char (*f) () = $ac_func;
33471 #endif
33472 #ifdef __cplusplus
33473 }
33474 #endif
33475
33476 int
33477 main ()
33478 {
33479 return f != $ac_func;
33480   ;
33481   return 0;
33482 }
33483 _ACEOF
33484 rm -f conftest.$ac_objext conftest$ac_exeext
33485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33486   (eval $ac_link) 2>conftest.er1
33487   ac_status=$?
33488   grep -v '^ *+' conftest.er1 >conftest.err
33489   rm -f conftest.er1
33490   cat conftest.err >&5
33491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33492   (exit $ac_status); } &&
33493          { ac_try='test -z "$ac_c_werror_flag"
33494                          || test ! -s conftest.err'
33495   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33496   (eval $ac_try) 2>&5
33497   ac_status=$?
33498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33499   (exit $ac_status); }; } &&
33500          { ac_try='test -s conftest$ac_exeext'
33501   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33502   (eval $ac_try) 2>&5
33503   ac_status=$?
33504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33505   (exit $ac_status); }; }; then
33506   eval "$as_ac_var=yes"
33507 else
33508   echo "$as_me: failed program was:" >&5
33509 sed 's/^/| /' conftest.$ac_ext >&5
33510
33511 eval "$as_ac_var=no"
33512 fi
33513 rm -f conftest.err conftest.$ac_objext \
33514       conftest$ac_exeext conftest.$ac_ext
33515 fi
33516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33517 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33518 if test `eval echo '${'$as_ac_var'}'` = yes; then
33519   cat >>confdefs.h <<_ACEOF
33520 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33521 _ACEOF
33522
33523 fi
33524 done
33525
33526     fi
33527   fi
33528
33529
33530
33531   echo "$as_me:$LINENO: checking for isnan declaration" >&5
33532 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
33533   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
33534     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
33535   echo $ECHO_N "(cached) $ECHO_C" >&6
33536 else
33537
33538
33539
33540       ac_ext=cc
33541 ac_cpp='$CXXCPP $CPPFLAGS'
33542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33545
33546       cat >conftest.$ac_ext <<_ACEOF
33547 /* confdefs.h.  */
33548 _ACEOF
33549 cat confdefs.h >>conftest.$ac_ext
33550 cat >>conftest.$ac_ext <<_ACEOF
33551 /* end confdefs.h.  */
33552 #include <math.h>
33553                       #ifdef HAVE_IEEEFP_H
33554                       #include <ieeefp.h>
33555                       #endif
33556
33557 int
33558 main ()
33559 {
33560  isnan(0);
33561   ;
33562   return 0;
33563 }
33564 _ACEOF
33565 rm -f conftest.$ac_objext
33566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33567   (eval $ac_compile) 2>conftest.er1
33568   ac_status=$?
33569   grep -v '^ *+' conftest.er1 >conftest.err
33570   rm -f conftest.er1
33571   cat conftest.err >&5
33572   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33573   (exit $ac_status); } &&
33574          { ac_try='test -z "$ac_cxx_werror_flag"
33575                          || test ! -s conftest.err'
33576   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33577   (eval $ac_try) 2>&5
33578   ac_status=$?
33579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33580   (exit $ac_status); }; } &&
33581          { ac_try='test -s conftest.$ac_objext'
33582   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33583   (eval $ac_try) 2>&5
33584   ac_status=$?
33585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33586   (exit $ac_status); }; }; then
33587   glibcxx_cv_func_isnan_use=yes
33588 else
33589   echo "$as_me: failed program was:" >&5
33590 sed 's/^/| /' conftest.$ac_ext >&5
33591
33592 glibcxx_cv_func_isnan_use=no
33593 fi
33594 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33595       ac_ext=c
33596 ac_cpp='$CPP $CPPFLAGS'
33597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33600
33601
33602 fi
33603
33604   fi
33605   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
33606 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
33607
33608   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
33609
33610 for ac_func in isnan
33611 do
33612 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33613 echo "$as_me:$LINENO: checking for $ac_func" >&5
33614 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33615 if eval "test \"\${$as_ac_var+set}\" = set"; then
33616   echo $ECHO_N "(cached) $ECHO_C" >&6
33617 else
33618   if test x$gcc_no_link = xyes; then
33619   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33620 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33621    { (exit 1); exit 1; }; }
33622 fi
33623 cat >conftest.$ac_ext <<_ACEOF
33624 /* confdefs.h.  */
33625 _ACEOF
33626 cat confdefs.h >>conftest.$ac_ext
33627 cat >>conftest.$ac_ext <<_ACEOF
33628 /* end confdefs.h.  */
33629 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33630    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33631 #define $ac_func innocuous_$ac_func
33632
33633 /* System header to define __stub macros and hopefully few prototypes,
33634     which can conflict with char $ac_func (); below.
33635     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33636     <limits.h> exists even on freestanding compilers.  */
33637
33638 #ifdef __STDC__
33639 # include <limits.h>
33640 #else
33641 # include <assert.h>
33642 #endif
33643
33644 #undef $ac_func
33645
33646 /* Override any gcc2 internal prototype to avoid an error.  */
33647 #ifdef __cplusplus
33648 extern "C"
33649 {
33650 #endif
33651 /* We use char because int might match the return type of a gcc2
33652    builtin and then its argument prototype would still apply.  */
33653 char $ac_func ();
33654 /* The GNU C library defines this for functions which it implements
33655     to always fail with ENOSYS.  Some functions are actually named
33656     something starting with __ and the normal name is an alias.  */
33657 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33658 choke me
33659 #else
33660 char (*f) () = $ac_func;
33661 #endif
33662 #ifdef __cplusplus
33663 }
33664 #endif
33665
33666 int
33667 main ()
33668 {
33669 return f != $ac_func;
33670   ;
33671   return 0;
33672 }
33673 _ACEOF
33674 rm -f conftest.$ac_objext conftest$ac_exeext
33675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33676   (eval $ac_link) 2>conftest.er1
33677   ac_status=$?
33678   grep -v '^ *+' conftest.er1 >conftest.err
33679   rm -f conftest.er1
33680   cat conftest.err >&5
33681   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33682   (exit $ac_status); } &&
33683          { ac_try='test -z "$ac_c_werror_flag"
33684                          || test ! -s conftest.err'
33685   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33686   (eval $ac_try) 2>&5
33687   ac_status=$?
33688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33689   (exit $ac_status); }; } &&
33690          { ac_try='test -s conftest$ac_exeext'
33691   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33692   (eval $ac_try) 2>&5
33693   ac_status=$?
33694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33695   (exit $ac_status); }; }; then
33696   eval "$as_ac_var=yes"
33697 else
33698   echo "$as_me: failed program was:" >&5
33699 sed 's/^/| /' conftest.$ac_ext >&5
33700
33701 eval "$as_ac_var=no"
33702 fi
33703 rm -f conftest.err conftest.$ac_objext \
33704       conftest$ac_exeext conftest.$ac_ext
33705 fi
33706 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33707 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33708 if test `eval echo '${'$as_ac_var'}'` = yes; then
33709   cat >>confdefs.h <<_ACEOF
33710 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33711 _ACEOF
33712
33713 fi
33714 done
33715
33716   else
33717
33718   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
33719 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
33720   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
33721     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
33722   echo $ECHO_N "(cached) $ECHO_C" >&6
33723 else
33724
33725
33726
33727       ac_ext=cc
33728 ac_cpp='$CXXCPP $CPPFLAGS'
33729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33732
33733       cat >conftest.$ac_ext <<_ACEOF
33734 /* confdefs.h.  */
33735 _ACEOF
33736 cat confdefs.h >>conftest.$ac_ext
33737 cat >>conftest.$ac_ext <<_ACEOF
33738 /* end confdefs.h.  */
33739 #include <math.h>
33740                       #ifdef HAVE_IEEEFP_H
33741                       #include <ieeefp.h>
33742                       #endif
33743
33744 int
33745 main ()
33746 {
33747  _isnan(0);
33748   ;
33749   return 0;
33750 }
33751 _ACEOF
33752 rm -f conftest.$ac_objext
33753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33754   (eval $ac_compile) 2>conftest.er1
33755   ac_status=$?
33756   grep -v '^ *+' conftest.er1 >conftest.err
33757   rm -f conftest.er1
33758   cat conftest.err >&5
33759   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33760   (exit $ac_status); } &&
33761          { ac_try='test -z "$ac_cxx_werror_flag"
33762                          || test ! -s conftest.err'
33763   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33764   (eval $ac_try) 2>&5
33765   ac_status=$?
33766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33767   (exit $ac_status); }; } &&
33768          { ac_try='test -s conftest.$ac_objext'
33769   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33770   (eval $ac_try) 2>&5
33771   ac_status=$?
33772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33773   (exit $ac_status); }; }; then
33774   glibcxx_cv_func__isnan_use=yes
33775 else
33776   echo "$as_me: failed program was:" >&5
33777 sed 's/^/| /' conftest.$ac_ext >&5
33778
33779 glibcxx_cv_func__isnan_use=no
33780 fi
33781 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33782       ac_ext=c
33783 ac_cpp='$CPP $CPPFLAGS'
33784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33787
33788
33789 fi
33790
33791   fi
33792   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
33793 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
33794
33795     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
33796
33797 for ac_func in _isnan
33798 do
33799 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33800 echo "$as_me:$LINENO: checking for $ac_func" >&5
33801 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33802 if eval "test \"\${$as_ac_var+set}\" = set"; then
33803   echo $ECHO_N "(cached) $ECHO_C" >&6
33804 else
33805   if test x$gcc_no_link = xyes; then
33806   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33807 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33808    { (exit 1); exit 1; }; }
33809 fi
33810 cat >conftest.$ac_ext <<_ACEOF
33811 /* confdefs.h.  */
33812 _ACEOF
33813 cat confdefs.h >>conftest.$ac_ext
33814 cat >>conftest.$ac_ext <<_ACEOF
33815 /* end confdefs.h.  */
33816 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33817    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
33818 #define $ac_func innocuous_$ac_func
33819
33820 /* System header to define __stub macros and hopefully few prototypes,
33821     which can conflict with char $ac_func (); below.
33822     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33823     <limits.h> exists even on freestanding compilers.  */
33824
33825 #ifdef __STDC__
33826 # include <limits.h>
33827 #else
33828 # include <assert.h>
33829 #endif
33830
33831 #undef $ac_func
33832
33833 /* Override any gcc2 internal prototype to avoid an error.  */
33834 #ifdef __cplusplus
33835 extern "C"
33836 {
33837 #endif
33838 /* We use char because int might match the return type of a gcc2
33839    builtin and then its argument prototype would still apply.  */
33840 char $ac_func ();
33841 /* The GNU C library defines this for functions which it implements
33842     to always fail with ENOSYS.  Some functions are actually named
33843     something starting with __ and the normal name is an alias.  */
33844 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33845 choke me
33846 #else
33847 char (*f) () = $ac_func;
33848 #endif
33849 #ifdef __cplusplus
33850 }
33851 #endif
33852
33853 int
33854 main ()
33855 {
33856 return f != $ac_func;
33857   ;
33858   return 0;
33859 }
33860 _ACEOF
33861 rm -f conftest.$ac_objext conftest$ac_exeext
33862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33863   (eval $ac_link) 2>conftest.er1
33864   ac_status=$?
33865   grep -v '^ *+' conftest.er1 >conftest.err
33866   rm -f conftest.er1
33867   cat conftest.err >&5
33868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33869   (exit $ac_status); } &&
33870          { ac_try='test -z "$ac_c_werror_flag"
33871                          || test ! -s conftest.err'
33872   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33873   (eval $ac_try) 2>&5
33874   ac_status=$?
33875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33876   (exit $ac_status); }; } &&
33877          { ac_try='test -s conftest$ac_exeext'
33878   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33879   (eval $ac_try) 2>&5
33880   ac_status=$?
33881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33882   (exit $ac_status); }; }; then
33883   eval "$as_ac_var=yes"
33884 else
33885   echo "$as_me: failed program was:" >&5
33886 sed 's/^/| /' conftest.$ac_ext >&5
33887
33888 eval "$as_ac_var=no"
33889 fi
33890 rm -f conftest.err conftest.$ac_objext \
33891       conftest$ac_exeext conftest.$ac_ext
33892 fi
33893 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33894 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33895 if test `eval echo '${'$as_ac_var'}'` = yes; then
33896   cat >>confdefs.h <<_ACEOF
33897 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33898 _ACEOF
33899
33900 fi
33901 done
33902
33903     fi
33904   fi
33905
33906
33907
33908   echo "$as_me:$LINENO: checking for finite declaration" >&5
33909 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
33910   if test x${glibcxx_cv_func_finite_use+set} != xset; then
33911     if test "${glibcxx_cv_func_finite_use+set}" = set; then
33912   echo $ECHO_N "(cached) $ECHO_C" >&6
33913 else
33914
33915
33916
33917       ac_ext=cc
33918 ac_cpp='$CXXCPP $CPPFLAGS'
33919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33922
33923       cat >conftest.$ac_ext <<_ACEOF
33924 /* confdefs.h.  */
33925 _ACEOF
33926 cat confdefs.h >>conftest.$ac_ext
33927 cat >>conftest.$ac_ext <<_ACEOF
33928 /* end confdefs.h.  */
33929 #include <math.h>
33930                       #ifdef HAVE_IEEEFP_H
33931                       #include <ieeefp.h>
33932                       #endif
33933
33934 int
33935 main ()
33936 {
33937  finite(0);
33938   ;
33939   return 0;
33940 }
33941 _ACEOF
33942 rm -f conftest.$ac_objext
33943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33944   (eval $ac_compile) 2>conftest.er1
33945   ac_status=$?
33946   grep -v '^ *+' conftest.er1 >conftest.err
33947   rm -f conftest.er1
33948   cat conftest.err >&5
33949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33950   (exit $ac_status); } &&
33951          { ac_try='test -z "$ac_cxx_werror_flag"
33952                          || test ! -s conftest.err'
33953   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33954   (eval $ac_try) 2>&5
33955   ac_status=$?
33956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33957   (exit $ac_status); }; } &&
33958          { ac_try='test -s conftest.$ac_objext'
33959   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33960   (eval $ac_try) 2>&5
33961   ac_status=$?
33962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
33963   (exit $ac_status); }; }; then
33964   glibcxx_cv_func_finite_use=yes
33965 else
33966   echo "$as_me: failed program was:" >&5
33967 sed 's/^/| /' conftest.$ac_ext >&5
33968
33969 glibcxx_cv_func_finite_use=no
33970 fi
33971 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33972       ac_ext=c
33973 ac_cpp='$CPP $CPPFLAGS'
33974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33977
33978
33979 fi
33980
33981   fi
33982   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
33983 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
33984
33985   if test x$glibcxx_cv_func_finite_use = x"yes"; then
33986
33987 for ac_func in finite
33988 do
33989 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33990 echo "$as_me:$LINENO: checking for $ac_func" >&5
33991 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33992 if eval "test \"\${$as_ac_var+set}\" = set"; then
33993   echo $ECHO_N "(cached) $ECHO_C" >&6
33994 else
33995   if test x$gcc_no_link = xyes; then
33996   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33997 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33998    { (exit 1); exit 1; }; }
33999 fi
34000 cat >conftest.$ac_ext <<_ACEOF
34001 /* confdefs.h.  */
34002 _ACEOF
34003 cat confdefs.h >>conftest.$ac_ext
34004 cat >>conftest.$ac_ext <<_ACEOF
34005 /* end confdefs.h.  */
34006 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34007    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34008 #define $ac_func innocuous_$ac_func
34009
34010 /* System header to define __stub macros and hopefully few prototypes,
34011     which can conflict with char $ac_func (); below.
34012     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34013     <limits.h> exists even on freestanding compilers.  */
34014
34015 #ifdef __STDC__
34016 # include <limits.h>
34017 #else
34018 # include <assert.h>
34019 #endif
34020
34021 #undef $ac_func
34022
34023 /* Override any gcc2 internal prototype to avoid an error.  */
34024 #ifdef __cplusplus
34025 extern "C"
34026 {
34027 #endif
34028 /* We use char because int might match the return type of a gcc2
34029    builtin and then its argument prototype would still apply.  */
34030 char $ac_func ();
34031 /* The GNU C library defines this for functions which it implements
34032     to always fail with ENOSYS.  Some functions are actually named
34033     something starting with __ and the normal name is an alias.  */
34034 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34035 choke me
34036 #else
34037 char (*f) () = $ac_func;
34038 #endif
34039 #ifdef __cplusplus
34040 }
34041 #endif
34042
34043 int
34044 main ()
34045 {
34046 return f != $ac_func;
34047   ;
34048   return 0;
34049 }
34050 _ACEOF
34051 rm -f conftest.$ac_objext conftest$ac_exeext
34052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34053   (eval $ac_link) 2>conftest.er1
34054   ac_status=$?
34055   grep -v '^ *+' conftest.er1 >conftest.err
34056   rm -f conftest.er1
34057   cat conftest.err >&5
34058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34059   (exit $ac_status); } &&
34060          { ac_try='test -z "$ac_c_werror_flag"
34061                          || test ! -s conftest.err'
34062   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34063   (eval $ac_try) 2>&5
34064   ac_status=$?
34065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34066   (exit $ac_status); }; } &&
34067          { ac_try='test -s conftest$ac_exeext'
34068   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34069   (eval $ac_try) 2>&5
34070   ac_status=$?
34071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34072   (exit $ac_status); }; }; then
34073   eval "$as_ac_var=yes"
34074 else
34075   echo "$as_me: failed program was:" >&5
34076 sed 's/^/| /' conftest.$ac_ext >&5
34077
34078 eval "$as_ac_var=no"
34079 fi
34080 rm -f conftest.err conftest.$ac_objext \
34081       conftest$ac_exeext conftest.$ac_ext
34082 fi
34083 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34084 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34085 if test `eval echo '${'$as_ac_var'}'` = yes; then
34086   cat >>confdefs.h <<_ACEOF
34087 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34088 _ACEOF
34089
34090 fi
34091 done
34092
34093   else
34094
34095   echo "$as_me:$LINENO: checking for _finite declaration" >&5
34096 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
34097   if test x${glibcxx_cv_func__finite_use+set} != xset; then
34098     if test "${glibcxx_cv_func__finite_use+set}" = set; then
34099   echo $ECHO_N "(cached) $ECHO_C" >&6
34100 else
34101
34102
34103
34104       ac_ext=cc
34105 ac_cpp='$CXXCPP $CPPFLAGS'
34106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34109
34110       cat >conftest.$ac_ext <<_ACEOF
34111 /* confdefs.h.  */
34112 _ACEOF
34113 cat confdefs.h >>conftest.$ac_ext
34114 cat >>conftest.$ac_ext <<_ACEOF
34115 /* end confdefs.h.  */
34116 #include <math.h>
34117                       #ifdef HAVE_IEEEFP_H
34118                       #include <ieeefp.h>
34119                       #endif
34120
34121 int
34122 main ()
34123 {
34124  _finite(0);
34125   ;
34126   return 0;
34127 }
34128 _ACEOF
34129 rm -f conftest.$ac_objext
34130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34131   (eval $ac_compile) 2>conftest.er1
34132   ac_status=$?
34133   grep -v '^ *+' conftest.er1 >conftest.err
34134   rm -f conftest.er1
34135   cat conftest.err >&5
34136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34137   (exit $ac_status); } &&
34138          { ac_try='test -z "$ac_cxx_werror_flag"
34139                          || test ! -s conftest.err'
34140   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34141   (eval $ac_try) 2>&5
34142   ac_status=$?
34143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34144   (exit $ac_status); }; } &&
34145          { ac_try='test -s conftest.$ac_objext'
34146   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34147   (eval $ac_try) 2>&5
34148   ac_status=$?
34149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34150   (exit $ac_status); }; }; then
34151   glibcxx_cv_func__finite_use=yes
34152 else
34153   echo "$as_me: failed program was:" >&5
34154 sed 's/^/| /' conftest.$ac_ext >&5
34155
34156 glibcxx_cv_func__finite_use=no
34157 fi
34158 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34159       ac_ext=c
34160 ac_cpp='$CPP $CPPFLAGS'
34161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34164
34165
34166 fi
34167
34168   fi
34169   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
34170 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
34171
34172     if test x$glibcxx_cv_func__finite_use = x"yes"; then
34173
34174 for ac_func in _finite
34175 do
34176 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34177 echo "$as_me:$LINENO: checking for $ac_func" >&5
34178 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34179 if eval "test \"\${$as_ac_var+set}\" = set"; then
34180   echo $ECHO_N "(cached) $ECHO_C" >&6
34181 else
34182   if test x$gcc_no_link = xyes; then
34183   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34184 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34185    { (exit 1); exit 1; }; }
34186 fi
34187 cat >conftest.$ac_ext <<_ACEOF
34188 /* confdefs.h.  */
34189 _ACEOF
34190 cat confdefs.h >>conftest.$ac_ext
34191 cat >>conftest.$ac_ext <<_ACEOF
34192 /* end confdefs.h.  */
34193 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34194    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34195 #define $ac_func innocuous_$ac_func
34196
34197 /* System header to define __stub macros and hopefully few prototypes,
34198     which can conflict with char $ac_func (); below.
34199     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34200     <limits.h> exists even on freestanding compilers.  */
34201
34202 #ifdef __STDC__
34203 # include <limits.h>
34204 #else
34205 # include <assert.h>
34206 #endif
34207
34208 #undef $ac_func
34209
34210 /* Override any gcc2 internal prototype to avoid an error.  */
34211 #ifdef __cplusplus
34212 extern "C"
34213 {
34214 #endif
34215 /* We use char because int might match the return type of a gcc2
34216    builtin and then its argument prototype would still apply.  */
34217 char $ac_func ();
34218 /* The GNU C library defines this for functions which it implements
34219     to always fail with ENOSYS.  Some functions are actually named
34220     something starting with __ and the normal name is an alias.  */
34221 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34222 choke me
34223 #else
34224 char (*f) () = $ac_func;
34225 #endif
34226 #ifdef __cplusplus
34227 }
34228 #endif
34229
34230 int
34231 main ()
34232 {
34233 return f != $ac_func;
34234   ;
34235   return 0;
34236 }
34237 _ACEOF
34238 rm -f conftest.$ac_objext conftest$ac_exeext
34239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34240   (eval $ac_link) 2>conftest.er1
34241   ac_status=$?
34242   grep -v '^ *+' conftest.er1 >conftest.err
34243   rm -f conftest.er1
34244   cat conftest.err >&5
34245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34246   (exit $ac_status); } &&
34247          { ac_try='test -z "$ac_c_werror_flag"
34248                          || test ! -s conftest.err'
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); }; } &&
34254          { ac_try='test -s conftest$ac_exeext'
34255   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34256   (eval $ac_try) 2>&5
34257   ac_status=$?
34258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34259   (exit $ac_status); }; }; then
34260   eval "$as_ac_var=yes"
34261 else
34262   echo "$as_me: failed program was:" >&5
34263 sed 's/^/| /' conftest.$ac_ext >&5
34264
34265 eval "$as_ac_var=no"
34266 fi
34267 rm -f conftest.err conftest.$ac_objext \
34268       conftest$ac_exeext conftest.$ac_ext
34269 fi
34270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34271 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34272 if test `eval echo '${'$as_ac_var'}'` = yes; then
34273   cat >>confdefs.h <<_ACEOF
34274 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34275 _ACEOF
34276
34277 fi
34278 done
34279
34280     fi
34281   fi
34282
34283
34284
34285   echo "$as_me:$LINENO: checking for copysign declaration" >&5
34286 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
34287   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
34288     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
34289   echo $ECHO_N "(cached) $ECHO_C" >&6
34290 else
34291
34292
34293
34294       ac_ext=cc
34295 ac_cpp='$CXXCPP $CPPFLAGS'
34296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34299
34300       cat >conftest.$ac_ext <<_ACEOF
34301 /* confdefs.h.  */
34302 _ACEOF
34303 cat confdefs.h >>conftest.$ac_ext
34304 cat >>conftest.$ac_ext <<_ACEOF
34305 /* end confdefs.h.  */
34306 #include <math.h>
34307 int
34308 main ()
34309 {
34310  copysign(0, 0);
34311   ;
34312   return 0;
34313 }
34314 _ACEOF
34315 rm -f conftest.$ac_objext
34316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34317   (eval $ac_compile) 2>conftest.er1
34318   ac_status=$?
34319   grep -v '^ *+' conftest.er1 >conftest.err
34320   rm -f conftest.er1
34321   cat conftest.err >&5
34322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34323   (exit $ac_status); } &&
34324          { ac_try='test -z "$ac_cxx_werror_flag"
34325                          || test ! -s conftest.err'
34326   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34327   (eval $ac_try) 2>&5
34328   ac_status=$?
34329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34330   (exit $ac_status); }; } &&
34331          { ac_try='test -s conftest.$ac_objext'
34332   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34333   (eval $ac_try) 2>&5
34334   ac_status=$?
34335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34336   (exit $ac_status); }; }; then
34337   glibcxx_cv_func_copysign_use=yes
34338 else
34339   echo "$as_me: failed program was:" >&5
34340 sed 's/^/| /' conftest.$ac_ext >&5
34341
34342 glibcxx_cv_func_copysign_use=no
34343 fi
34344 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34345       ac_ext=c
34346 ac_cpp='$CPP $CPPFLAGS'
34347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34350
34351
34352 fi
34353
34354   fi
34355   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
34356 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
34357
34358   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
34359
34360 for ac_func in copysign
34361 do
34362 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34363 echo "$as_me:$LINENO: checking for $ac_func" >&5
34364 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34365 if eval "test \"\${$as_ac_var+set}\" = set"; then
34366   echo $ECHO_N "(cached) $ECHO_C" >&6
34367 else
34368   if test x$gcc_no_link = xyes; then
34369   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34370 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34371    { (exit 1); exit 1; }; }
34372 fi
34373 cat >conftest.$ac_ext <<_ACEOF
34374 /* confdefs.h.  */
34375 _ACEOF
34376 cat confdefs.h >>conftest.$ac_ext
34377 cat >>conftest.$ac_ext <<_ACEOF
34378 /* end confdefs.h.  */
34379 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34380    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34381 #define $ac_func innocuous_$ac_func
34382
34383 /* System header to define __stub macros and hopefully few prototypes,
34384     which can conflict with char $ac_func (); below.
34385     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34386     <limits.h> exists even on freestanding compilers.  */
34387
34388 #ifdef __STDC__
34389 # include <limits.h>
34390 #else
34391 # include <assert.h>
34392 #endif
34393
34394 #undef $ac_func
34395
34396 /* Override any gcc2 internal prototype to avoid an error.  */
34397 #ifdef __cplusplus
34398 extern "C"
34399 {
34400 #endif
34401 /* We use char because int might match the return type of a gcc2
34402    builtin and then its argument prototype would still apply.  */
34403 char $ac_func ();
34404 /* The GNU C library defines this for functions which it implements
34405     to always fail with ENOSYS.  Some functions are actually named
34406     something starting with __ and the normal name is an alias.  */
34407 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34408 choke me
34409 #else
34410 char (*f) () = $ac_func;
34411 #endif
34412 #ifdef __cplusplus
34413 }
34414 #endif
34415
34416 int
34417 main ()
34418 {
34419 return f != $ac_func;
34420   ;
34421   return 0;
34422 }
34423 _ACEOF
34424 rm -f conftest.$ac_objext conftest$ac_exeext
34425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34426   (eval $ac_link) 2>conftest.er1
34427   ac_status=$?
34428   grep -v '^ *+' conftest.er1 >conftest.err
34429   rm -f conftest.er1
34430   cat conftest.err >&5
34431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34432   (exit $ac_status); } &&
34433          { ac_try='test -z "$ac_c_werror_flag"
34434                          || test ! -s conftest.err'
34435   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34436   (eval $ac_try) 2>&5
34437   ac_status=$?
34438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34439   (exit $ac_status); }; } &&
34440          { ac_try='test -s conftest$ac_exeext'
34441   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34442   (eval $ac_try) 2>&5
34443   ac_status=$?
34444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34445   (exit $ac_status); }; }; then
34446   eval "$as_ac_var=yes"
34447 else
34448   echo "$as_me: failed program was:" >&5
34449 sed 's/^/| /' conftest.$ac_ext >&5
34450
34451 eval "$as_ac_var=no"
34452 fi
34453 rm -f conftest.err conftest.$ac_objext \
34454       conftest$ac_exeext conftest.$ac_ext
34455 fi
34456 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34457 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34458 if test `eval echo '${'$as_ac_var'}'` = yes; then
34459   cat >>confdefs.h <<_ACEOF
34460 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34461 _ACEOF
34462
34463 fi
34464 done
34465
34466   else
34467
34468   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
34469 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
34470   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
34471     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
34472   echo $ECHO_N "(cached) $ECHO_C" >&6
34473 else
34474
34475
34476
34477       ac_ext=cc
34478 ac_cpp='$CXXCPP $CPPFLAGS'
34479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34482
34483       cat >conftest.$ac_ext <<_ACEOF
34484 /* confdefs.h.  */
34485 _ACEOF
34486 cat confdefs.h >>conftest.$ac_ext
34487 cat >>conftest.$ac_ext <<_ACEOF
34488 /* end confdefs.h.  */
34489 #include <math.h>
34490 int
34491 main ()
34492 {
34493  _copysign(0, 0);
34494   ;
34495   return 0;
34496 }
34497 _ACEOF
34498 rm -f conftest.$ac_objext
34499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34500   (eval $ac_compile) 2>conftest.er1
34501   ac_status=$?
34502   grep -v '^ *+' conftest.er1 >conftest.err
34503   rm -f conftest.er1
34504   cat conftest.err >&5
34505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34506   (exit $ac_status); } &&
34507          { ac_try='test -z "$ac_cxx_werror_flag"
34508                          || test ! -s conftest.err'
34509   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34510   (eval $ac_try) 2>&5
34511   ac_status=$?
34512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34513   (exit $ac_status); }; } &&
34514          { ac_try='test -s conftest.$ac_objext'
34515   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34516   (eval $ac_try) 2>&5
34517   ac_status=$?
34518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34519   (exit $ac_status); }; }; then
34520   glibcxx_cv_func__copysign_use=yes
34521 else
34522   echo "$as_me: failed program was:" >&5
34523 sed 's/^/| /' conftest.$ac_ext >&5
34524
34525 glibcxx_cv_func__copysign_use=no
34526 fi
34527 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34528       ac_ext=c
34529 ac_cpp='$CPP $CPPFLAGS'
34530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34533
34534
34535 fi
34536
34537   fi
34538   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
34539 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
34540
34541     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
34542
34543 for ac_func in _copysign
34544 do
34545 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34546 echo "$as_me:$LINENO: checking for $ac_func" >&5
34547 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34548 if eval "test \"\${$as_ac_var+set}\" = set"; then
34549   echo $ECHO_N "(cached) $ECHO_C" >&6
34550 else
34551   if test x$gcc_no_link = xyes; then
34552   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34553 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34554    { (exit 1); exit 1; }; }
34555 fi
34556 cat >conftest.$ac_ext <<_ACEOF
34557 /* confdefs.h.  */
34558 _ACEOF
34559 cat confdefs.h >>conftest.$ac_ext
34560 cat >>conftest.$ac_ext <<_ACEOF
34561 /* end confdefs.h.  */
34562 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34563    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34564 #define $ac_func innocuous_$ac_func
34565
34566 /* System header to define __stub macros and hopefully few prototypes,
34567     which can conflict with char $ac_func (); below.
34568     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34569     <limits.h> exists even on freestanding compilers.  */
34570
34571 #ifdef __STDC__
34572 # include <limits.h>
34573 #else
34574 # include <assert.h>
34575 #endif
34576
34577 #undef $ac_func
34578
34579 /* Override any gcc2 internal prototype to avoid an error.  */
34580 #ifdef __cplusplus
34581 extern "C"
34582 {
34583 #endif
34584 /* We use char because int might match the return type of a gcc2
34585    builtin and then its argument prototype would still apply.  */
34586 char $ac_func ();
34587 /* The GNU C library defines this for functions which it implements
34588     to always fail with ENOSYS.  Some functions are actually named
34589     something starting with __ and the normal name is an alias.  */
34590 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34591 choke me
34592 #else
34593 char (*f) () = $ac_func;
34594 #endif
34595 #ifdef __cplusplus
34596 }
34597 #endif
34598
34599 int
34600 main ()
34601 {
34602 return f != $ac_func;
34603   ;
34604   return 0;
34605 }
34606 _ACEOF
34607 rm -f conftest.$ac_objext conftest$ac_exeext
34608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34609   (eval $ac_link) 2>conftest.er1
34610   ac_status=$?
34611   grep -v '^ *+' conftest.er1 >conftest.err
34612   rm -f conftest.er1
34613   cat conftest.err >&5
34614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34615   (exit $ac_status); } &&
34616          { ac_try='test -z "$ac_c_werror_flag"
34617                          || test ! -s conftest.err'
34618   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34619   (eval $ac_try) 2>&5
34620   ac_status=$?
34621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34622   (exit $ac_status); }; } &&
34623          { ac_try='test -s conftest$ac_exeext'
34624   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34625   (eval $ac_try) 2>&5
34626   ac_status=$?
34627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34628   (exit $ac_status); }; }; then
34629   eval "$as_ac_var=yes"
34630 else
34631   echo "$as_me: failed program was:" >&5
34632 sed 's/^/| /' conftest.$ac_ext >&5
34633
34634 eval "$as_ac_var=no"
34635 fi
34636 rm -f conftest.err conftest.$ac_objext \
34637       conftest$ac_exeext conftest.$ac_ext
34638 fi
34639 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34640 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34641 if test `eval echo '${'$as_ac_var'}'` = yes; then
34642   cat >>confdefs.h <<_ACEOF
34643 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34644 _ACEOF
34645
34646 fi
34647 done
34648
34649     fi
34650   fi
34651
34652
34653
34654   echo "$as_me:$LINENO: checking for sincos declaration" >&5
34655 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
34656   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
34657     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
34658   echo $ECHO_N "(cached) $ECHO_C" >&6
34659 else
34660
34661
34662
34663       ac_ext=cc
34664 ac_cpp='$CXXCPP $CPPFLAGS'
34665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34668
34669       cat >conftest.$ac_ext <<_ACEOF
34670 /* confdefs.h.  */
34671 _ACEOF
34672 cat confdefs.h >>conftest.$ac_ext
34673 cat >>conftest.$ac_ext <<_ACEOF
34674 /* end confdefs.h.  */
34675 #include <math.h>
34676 int
34677 main ()
34678 {
34679  sincos(0, 0, 0);
34680   ;
34681   return 0;
34682 }
34683 _ACEOF
34684 rm -f conftest.$ac_objext
34685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34686   (eval $ac_compile) 2>conftest.er1
34687   ac_status=$?
34688   grep -v '^ *+' conftest.er1 >conftest.err
34689   rm -f conftest.er1
34690   cat conftest.err >&5
34691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34692   (exit $ac_status); } &&
34693          { ac_try='test -z "$ac_cxx_werror_flag"
34694                          || test ! -s conftest.err'
34695   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34696   (eval $ac_try) 2>&5
34697   ac_status=$?
34698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34699   (exit $ac_status); }; } &&
34700          { ac_try='test -s conftest.$ac_objext'
34701   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34702   (eval $ac_try) 2>&5
34703   ac_status=$?
34704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34705   (exit $ac_status); }; }; then
34706   glibcxx_cv_func_sincos_use=yes
34707 else
34708   echo "$as_me: failed program was:" >&5
34709 sed 's/^/| /' conftest.$ac_ext >&5
34710
34711 glibcxx_cv_func_sincos_use=no
34712 fi
34713 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34714       ac_ext=c
34715 ac_cpp='$CPP $CPPFLAGS'
34716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34719
34720
34721 fi
34722
34723   fi
34724   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
34725 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
34726
34727   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
34728
34729 for ac_func in sincos
34730 do
34731 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34732 echo "$as_me:$LINENO: checking for $ac_func" >&5
34733 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34734 if eval "test \"\${$as_ac_var+set}\" = set"; then
34735   echo $ECHO_N "(cached) $ECHO_C" >&6
34736 else
34737   if test x$gcc_no_link = xyes; then
34738   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34739 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34740    { (exit 1); exit 1; }; }
34741 fi
34742 cat >conftest.$ac_ext <<_ACEOF
34743 /* confdefs.h.  */
34744 _ACEOF
34745 cat confdefs.h >>conftest.$ac_ext
34746 cat >>conftest.$ac_ext <<_ACEOF
34747 /* end confdefs.h.  */
34748 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34749    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34750 #define $ac_func innocuous_$ac_func
34751
34752 /* System header to define __stub macros and hopefully few prototypes,
34753     which can conflict with char $ac_func (); below.
34754     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34755     <limits.h> exists even on freestanding compilers.  */
34756
34757 #ifdef __STDC__
34758 # include <limits.h>
34759 #else
34760 # include <assert.h>
34761 #endif
34762
34763 #undef $ac_func
34764
34765 /* Override any gcc2 internal prototype to avoid an error.  */
34766 #ifdef __cplusplus
34767 extern "C"
34768 {
34769 #endif
34770 /* We use char because int might match the return type of a gcc2
34771    builtin and then its argument prototype would still apply.  */
34772 char $ac_func ();
34773 /* The GNU C library defines this for functions which it implements
34774     to always fail with ENOSYS.  Some functions are actually named
34775     something starting with __ and the normal name is an alias.  */
34776 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34777 choke me
34778 #else
34779 char (*f) () = $ac_func;
34780 #endif
34781 #ifdef __cplusplus
34782 }
34783 #endif
34784
34785 int
34786 main ()
34787 {
34788 return f != $ac_func;
34789   ;
34790   return 0;
34791 }
34792 _ACEOF
34793 rm -f conftest.$ac_objext conftest$ac_exeext
34794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34795   (eval $ac_link) 2>conftest.er1
34796   ac_status=$?
34797   grep -v '^ *+' conftest.er1 >conftest.err
34798   rm -f conftest.er1
34799   cat conftest.err >&5
34800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34801   (exit $ac_status); } &&
34802          { ac_try='test -z "$ac_c_werror_flag"
34803                          || test ! -s conftest.err'
34804   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34805   (eval $ac_try) 2>&5
34806   ac_status=$?
34807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34808   (exit $ac_status); }; } &&
34809          { ac_try='test -s conftest$ac_exeext'
34810   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34811   (eval $ac_try) 2>&5
34812   ac_status=$?
34813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34814   (exit $ac_status); }; }; then
34815   eval "$as_ac_var=yes"
34816 else
34817   echo "$as_me: failed program was:" >&5
34818 sed 's/^/| /' conftest.$ac_ext >&5
34819
34820 eval "$as_ac_var=no"
34821 fi
34822 rm -f conftest.err conftest.$ac_objext \
34823       conftest$ac_exeext conftest.$ac_ext
34824 fi
34825 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34826 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34827 if test `eval echo '${'$as_ac_var'}'` = yes; then
34828   cat >>confdefs.h <<_ACEOF
34829 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34830 _ACEOF
34831
34832 fi
34833 done
34834
34835   else
34836
34837   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
34838 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
34839   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
34840     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
34841   echo $ECHO_N "(cached) $ECHO_C" >&6
34842 else
34843
34844
34845
34846       ac_ext=cc
34847 ac_cpp='$CXXCPP $CPPFLAGS'
34848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34851
34852       cat >conftest.$ac_ext <<_ACEOF
34853 /* confdefs.h.  */
34854 _ACEOF
34855 cat confdefs.h >>conftest.$ac_ext
34856 cat >>conftest.$ac_ext <<_ACEOF
34857 /* end confdefs.h.  */
34858 #include <math.h>
34859 int
34860 main ()
34861 {
34862  _sincos(0, 0, 0);
34863   ;
34864   return 0;
34865 }
34866 _ACEOF
34867 rm -f conftest.$ac_objext
34868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34869   (eval $ac_compile) 2>conftest.er1
34870   ac_status=$?
34871   grep -v '^ *+' conftest.er1 >conftest.err
34872   rm -f conftest.er1
34873   cat conftest.err >&5
34874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34875   (exit $ac_status); } &&
34876          { ac_try='test -z "$ac_cxx_werror_flag"
34877                          || test ! -s conftest.err'
34878   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34879   (eval $ac_try) 2>&5
34880   ac_status=$?
34881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34882   (exit $ac_status); }; } &&
34883          { ac_try='test -s conftest.$ac_objext'
34884   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34885   (eval $ac_try) 2>&5
34886   ac_status=$?
34887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34888   (exit $ac_status); }; }; then
34889   glibcxx_cv_func__sincos_use=yes
34890 else
34891   echo "$as_me: failed program was:" >&5
34892 sed 's/^/| /' conftest.$ac_ext >&5
34893
34894 glibcxx_cv_func__sincos_use=no
34895 fi
34896 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34897       ac_ext=c
34898 ac_cpp='$CPP $CPPFLAGS'
34899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34902
34903
34904 fi
34905
34906   fi
34907   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
34908 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
34909
34910     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
34911
34912 for ac_func in _sincos
34913 do
34914 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34915 echo "$as_me:$LINENO: checking for $ac_func" >&5
34916 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34917 if eval "test \"\${$as_ac_var+set}\" = set"; then
34918   echo $ECHO_N "(cached) $ECHO_C" >&6
34919 else
34920   if test x$gcc_no_link = xyes; then
34921   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34922 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34923    { (exit 1); exit 1; }; }
34924 fi
34925 cat >conftest.$ac_ext <<_ACEOF
34926 /* confdefs.h.  */
34927 _ACEOF
34928 cat confdefs.h >>conftest.$ac_ext
34929 cat >>conftest.$ac_ext <<_ACEOF
34930 /* end confdefs.h.  */
34931 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34932    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
34933 #define $ac_func innocuous_$ac_func
34934
34935 /* System header to define __stub macros and hopefully few prototypes,
34936     which can conflict with char $ac_func (); below.
34937     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34938     <limits.h> exists even on freestanding compilers.  */
34939
34940 #ifdef __STDC__
34941 # include <limits.h>
34942 #else
34943 # include <assert.h>
34944 #endif
34945
34946 #undef $ac_func
34947
34948 /* Override any gcc2 internal prototype to avoid an error.  */
34949 #ifdef __cplusplus
34950 extern "C"
34951 {
34952 #endif
34953 /* We use char because int might match the return type of a gcc2
34954    builtin and then its argument prototype would still apply.  */
34955 char $ac_func ();
34956 /* The GNU C library defines this for functions which it implements
34957     to always fail with ENOSYS.  Some functions are actually named
34958     something starting with __ and the normal name is an alias.  */
34959 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34960 choke me
34961 #else
34962 char (*f) () = $ac_func;
34963 #endif
34964 #ifdef __cplusplus
34965 }
34966 #endif
34967
34968 int
34969 main ()
34970 {
34971 return f != $ac_func;
34972   ;
34973   return 0;
34974 }
34975 _ACEOF
34976 rm -f conftest.$ac_objext conftest$ac_exeext
34977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34978   (eval $ac_link) 2>conftest.er1
34979   ac_status=$?
34980   grep -v '^ *+' conftest.er1 >conftest.err
34981   rm -f conftest.er1
34982   cat conftest.err >&5
34983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34984   (exit $ac_status); } &&
34985          { ac_try='test -z "$ac_c_werror_flag"
34986                          || test ! -s conftest.err'
34987   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34988   (eval $ac_try) 2>&5
34989   ac_status=$?
34990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34991   (exit $ac_status); }; } &&
34992          { ac_try='test -s conftest$ac_exeext'
34993   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34994   (eval $ac_try) 2>&5
34995   ac_status=$?
34996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
34997   (exit $ac_status); }; }; then
34998   eval "$as_ac_var=yes"
34999 else
35000   echo "$as_me: failed program was:" >&5
35001 sed 's/^/| /' conftest.$ac_ext >&5
35002
35003 eval "$as_ac_var=no"
35004 fi
35005 rm -f conftest.err conftest.$ac_objext \
35006       conftest$ac_exeext conftest.$ac_ext
35007 fi
35008 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35009 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35010 if test `eval echo '${'$as_ac_var'}'` = yes; then
35011   cat >>confdefs.h <<_ACEOF
35012 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35013 _ACEOF
35014
35015 fi
35016 done
35017
35018     fi
35019   fi
35020
35021
35022
35023   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
35024 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
35025   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
35026     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
35027   echo $ECHO_N "(cached) $ECHO_C" >&6
35028 else
35029
35030
35031
35032       ac_ext=cc
35033 ac_cpp='$CXXCPP $CPPFLAGS'
35034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35037
35038       cat >conftest.$ac_ext <<_ACEOF
35039 /* confdefs.h.  */
35040 _ACEOF
35041 cat confdefs.h >>conftest.$ac_ext
35042 cat >>conftest.$ac_ext <<_ACEOF
35043 /* end confdefs.h.  */
35044 #include <math.h>
35045                       #ifdef HAVE_IEEEFP_H
35046                       #include <ieeefp.h>
35047                       #endif
35048
35049 int
35050 main ()
35051 {
35052  fpclass(0);
35053   ;
35054   return 0;
35055 }
35056 _ACEOF
35057 rm -f conftest.$ac_objext
35058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35059   (eval $ac_compile) 2>conftest.er1
35060   ac_status=$?
35061   grep -v '^ *+' conftest.er1 >conftest.err
35062   rm -f conftest.er1
35063   cat conftest.err >&5
35064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35065   (exit $ac_status); } &&
35066          { ac_try='test -z "$ac_cxx_werror_flag"
35067                          || test ! -s conftest.err'
35068   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35069   (eval $ac_try) 2>&5
35070   ac_status=$?
35071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35072   (exit $ac_status); }; } &&
35073          { ac_try='test -s conftest.$ac_objext'
35074   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35075   (eval $ac_try) 2>&5
35076   ac_status=$?
35077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35078   (exit $ac_status); }; }; then
35079   glibcxx_cv_func_fpclass_use=yes
35080 else
35081   echo "$as_me: failed program was:" >&5
35082 sed 's/^/| /' conftest.$ac_ext >&5
35083
35084 glibcxx_cv_func_fpclass_use=no
35085 fi
35086 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35087       ac_ext=c
35088 ac_cpp='$CPP $CPPFLAGS'
35089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35092
35093
35094 fi
35095
35096   fi
35097   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
35098 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
35099
35100   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
35101
35102 for ac_func in fpclass
35103 do
35104 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35105 echo "$as_me:$LINENO: checking for $ac_func" >&5
35106 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35107 if eval "test \"\${$as_ac_var+set}\" = set"; then
35108   echo $ECHO_N "(cached) $ECHO_C" >&6
35109 else
35110   if test x$gcc_no_link = xyes; then
35111   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35112 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35113    { (exit 1); exit 1; }; }
35114 fi
35115 cat >conftest.$ac_ext <<_ACEOF
35116 /* confdefs.h.  */
35117 _ACEOF
35118 cat confdefs.h >>conftest.$ac_ext
35119 cat >>conftest.$ac_ext <<_ACEOF
35120 /* end confdefs.h.  */
35121 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35122    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35123 #define $ac_func innocuous_$ac_func
35124
35125 /* System header to define __stub macros and hopefully few prototypes,
35126     which can conflict with char $ac_func (); below.
35127     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35128     <limits.h> exists even on freestanding compilers.  */
35129
35130 #ifdef __STDC__
35131 # include <limits.h>
35132 #else
35133 # include <assert.h>
35134 #endif
35135
35136 #undef $ac_func
35137
35138 /* Override any gcc2 internal prototype to avoid an error.  */
35139 #ifdef __cplusplus
35140 extern "C"
35141 {
35142 #endif
35143 /* We use char because int might match the return type of a gcc2
35144    builtin and then its argument prototype would still apply.  */
35145 char $ac_func ();
35146 /* The GNU C library defines this for functions which it implements
35147     to always fail with ENOSYS.  Some functions are actually named
35148     something starting with __ and the normal name is an alias.  */
35149 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35150 choke me
35151 #else
35152 char (*f) () = $ac_func;
35153 #endif
35154 #ifdef __cplusplus
35155 }
35156 #endif
35157
35158 int
35159 main ()
35160 {
35161 return f != $ac_func;
35162   ;
35163   return 0;
35164 }
35165 _ACEOF
35166 rm -f conftest.$ac_objext conftest$ac_exeext
35167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35168   (eval $ac_link) 2>conftest.er1
35169   ac_status=$?
35170   grep -v '^ *+' conftest.er1 >conftest.err
35171   rm -f conftest.er1
35172   cat conftest.err >&5
35173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35174   (exit $ac_status); } &&
35175          { ac_try='test -z "$ac_c_werror_flag"
35176                          || test ! -s conftest.err'
35177   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35178   (eval $ac_try) 2>&5
35179   ac_status=$?
35180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35181   (exit $ac_status); }; } &&
35182          { ac_try='test -s conftest$ac_exeext'
35183   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35184   (eval $ac_try) 2>&5
35185   ac_status=$?
35186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35187   (exit $ac_status); }; }; then
35188   eval "$as_ac_var=yes"
35189 else
35190   echo "$as_me: failed program was:" >&5
35191 sed 's/^/| /' conftest.$ac_ext >&5
35192
35193 eval "$as_ac_var=no"
35194 fi
35195 rm -f conftest.err conftest.$ac_objext \
35196       conftest$ac_exeext conftest.$ac_ext
35197 fi
35198 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35199 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35200 if test `eval echo '${'$as_ac_var'}'` = yes; then
35201   cat >>confdefs.h <<_ACEOF
35202 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35203 _ACEOF
35204
35205 fi
35206 done
35207
35208   else
35209
35210   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
35211 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
35212   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
35213     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
35214   echo $ECHO_N "(cached) $ECHO_C" >&6
35215 else
35216
35217
35218
35219       ac_ext=cc
35220 ac_cpp='$CXXCPP $CPPFLAGS'
35221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35224
35225       cat >conftest.$ac_ext <<_ACEOF
35226 /* confdefs.h.  */
35227 _ACEOF
35228 cat confdefs.h >>conftest.$ac_ext
35229 cat >>conftest.$ac_ext <<_ACEOF
35230 /* end confdefs.h.  */
35231 #include <math.h>
35232                       #ifdef HAVE_IEEEFP_H
35233                       #include <ieeefp.h>
35234                       #endif
35235
35236 int
35237 main ()
35238 {
35239  _fpclass(0);
35240   ;
35241   return 0;
35242 }
35243 _ACEOF
35244 rm -f conftest.$ac_objext
35245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35246   (eval $ac_compile) 2>conftest.er1
35247   ac_status=$?
35248   grep -v '^ *+' conftest.er1 >conftest.err
35249   rm -f conftest.er1
35250   cat conftest.err >&5
35251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35252   (exit $ac_status); } &&
35253          { ac_try='test -z "$ac_cxx_werror_flag"
35254                          || test ! -s conftest.err'
35255   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35256   (eval $ac_try) 2>&5
35257   ac_status=$?
35258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35259   (exit $ac_status); }; } &&
35260          { ac_try='test -s conftest.$ac_objext'
35261   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35262   (eval $ac_try) 2>&5
35263   ac_status=$?
35264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35265   (exit $ac_status); }; }; then
35266   glibcxx_cv_func__fpclass_use=yes
35267 else
35268   echo "$as_me: failed program was:" >&5
35269 sed 's/^/| /' conftest.$ac_ext >&5
35270
35271 glibcxx_cv_func__fpclass_use=no
35272 fi
35273 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35274       ac_ext=c
35275 ac_cpp='$CPP $CPPFLAGS'
35276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35279
35280
35281 fi
35282
35283   fi
35284   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
35285 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
35286
35287     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
35288
35289 for ac_func in _fpclass
35290 do
35291 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35292 echo "$as_me:$LINENO: checking for $ac_func" >&5
35293 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35294 if eval "test \"\${$as_ac_var+set}\" = set"; then
35295   echo $ECHO_N "(cached) $ECHO_C" >&6
35296 else
35297   if test x$gcc_no_link = xyes; then
35298   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35299 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35300    { (exit 1); exit 1; }; }
35301 fi
35302 cat >conftest.$ac_ext <<_ACEOF
35303 /* confdefs.h.  */
35304 _ACEOF
35305 cat confdefs.h >>conftest.$ac_ext
35306 cat >>conftest.$ac_ext <<_ACEOF
35307 /* end confdefs.h.  */
35308 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35309    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35310 #define $ac_func innocuous_$ac_func
35311
35312 /* System header to define __stub macros and hopefully few prototypes,
35313     which can conflict with char $ac_func (); below.
35314     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35315     <limits.h> exists even on freestanding compilers.  */
35316
35317 #ifdef __STDC__
35318 # include <limits.h>
35319 #else
35320 # include <assert.h>
35321 #endif
35322
35323 #undef $ac_func
35324
35325 /* Override any gcc2 internal prototype to avoid an error.  */
35326 #ifdef __cplusplus
35327 extern "C"
35328 {
35329 #endif
35330 /* We use char because int might match the return type of a gcc2
35331    builtin and then its argument prototype would still apply.  */
35332 char $ac_func ();
35333 /* The GNU C library defines this for functions which it implements
35334     to always fail with ENOSYS.  Some functions are actually named
35335     something starting with __ and the normal name is an alias.  */
35336 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35337 choke me
35338 #else
35339 char (*f) () = $ac_func;
35340 #endif
35341 #ifdef __cplusplus
35342 }
35343 #endif
35344
35345 int
35346 main ()
35347 {
35348 return f != $ac_func;
35349   ;
35350   return 0;
35351 }
35352 _ACEOF
35353 rm -f conftest.$ac_objext conftest$ac_exeext
35354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35355   (eval $ac_link) 2>conftest.er1
35356   ac_status=$?
35357   grep -v '^ *+' conftest.er1 >conftest.err
35358   rm -f conftest.er1
35359   cat conftest.err >&5
35360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35361   (exit $ac_status); } &&
35362          { ac_try='test -z "$ac_c_werror_flag"
35363                          || test ! -s conftest.err'
35364   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35365   (eval $ac_try) 2>&5
35366   ac_status=$?
35367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35368   (exit $ac_status); }; } &&
35369          { ac_try='test -s conftest$ac_exeext'
35370   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35371   (eval $ac_try) 2>&5
35372   ac_status=$?
35373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35374   (exit $ac_status); }; }; then
35375   eval "$as_ac_var=yes"
35376 else
35377   echo "$as_me: failed program was:" >&5
35378 sed 's/^/| /' conftest.$ac_ext >&5
35379
35380 eval "$as_ac_var=no"
35381 fi
35382 rm -f conftest.err conftest.$ac_objext \
35383       conftest$ac_exeext conftest.$ac_ext
35384 fi
35385 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35386 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35387 if test `eval echo '${'$as_ac_var'}'` = yes; then
35388   cat >>confdefs.h <<_ACEOF
35389 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35390 _ACEOF
35391
35392 fi
35393 done
35394
35395     fi
35396   fi
35397
35398
35399
35400   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
35401 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
35402   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
35403     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
35404   echo $ECHO_N "(cached) $ECHO_C" >&6
35405 else
35406
35407
35408
35409       ac_ext=cc
35410 ac_cpp='$CXXCPP $CPPFLAGS'
35411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35414
35415       cat >conftest.$ac_ext <<_ACEOF
35416 /* confdefs.h.  */
35417 _ACEOF
35418 cat confdefs.h >>conftest.$ac_ext
35419 cat >>conftest.$ac_ext <<_ACEOF
35420 /* end confdefs.h.  */
35421 #include <math.h>
35422                       #ifdef HAVE_IEEEFP_H
35423                       #include <ieeefp.h>
35424                       #endif
35425
35426 int
35427 main ()
35428 {
35429  qfpclass(0);
35430   ;
35431   return 0;
35432 }
35433 _ACEOF
35434 rm -f conftest.$ac_objext
35435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35436   (eval $ac_compile) 2>conftest.er1
35437   ac_status=$?
35438   grep -v '^ *+' conftest.er1 >conftest.err
35439   rm -f conftest.er1
35440   cat conftest.err >&5
35441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35442   (exit $ac_status); } &&
35443          { ac_try='test -z "$ac_cxx_werror_flag"
35444                          || test ! -s conftest.err'
35445   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35446   (eval $ac_try) 2>&5
35447   ac_status=$?
35448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35449   (exit $ac_status); }; } &&
35450          { ac_try='test -s conftest.$ac_objext'
35451   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35452   (eval $ac_try) 2>&5
35453   ac_status=$?
35454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35455   (exit $ac_status); }; }; then
35456   glibcxx_cv_func_qfpclass_use=yes
35457 else
35458   echo "$as_me: failed program was:" >&5
35459 sed 's/^/| /' conftest.$ac_ext >&5
35460
35461 glibcxx_cv_func_qfpclass_use=no
35462 fi
35463 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35464       ac_ext=c
35465 ac_cpp='$CPP $CPPFLAGS'
35466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35469
35470
35471 fi
35472
35473   fi
35474   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
35475 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
35476
35477   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
35478
35479 for ac_func in qfpclass
35480 do
35481 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35482 echo "$as_me:$LINENO: checking for $ac_func" >&5
35483 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35484 if eval "test \"\${$as_ac_var+set}\" = set"; then
35485   echo $ECHO_N "(cached) $ECHO_C" >&6
35486 else
35487   if test x$gcc_no_link = xyes; then
35488   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35489 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35490    { (exit 1); exit 1; }; }
35491 fi
35492 cat >conftest.$ac_ext <<_ACEOF
35493 /* confdefs.h.  */
35494 _ACEOF
35495 cat confdefs.h >>conftest.$ac_ext
35496 cat >>conftest.$ac_ext <<_ACEOF
35497 /* end confdefs.h.  */
35498 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35499    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35500 #define $ac_func innocuous_$ac_func
35501
35502 /* System header to define __stub macros and hopefully few prototypes,
35503     which can conflict with char $ac_func (); below.
35504     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35505     <limits.h> exists even on freestanding compilers.  */
35506
35507 #ifdef __STDC__
35508 # include <limits.h>
35509 #else
35510 # include <assert.h>
35511 #endif
35512
35513 #undef $ac_func
35514
35515 /* Override any gcc2 internal prototype to avoid an error.  */
35516 #ifdef __cplusplus
35517 extern "C"
35518 {
35519 #endif
35520 /* We use char because int might match the return type of a gcc2
35521    builtin and then its argument prototype would still apply.  */
35522 char $ac_func ();
35523 /* The GNU C library defines this for functions which it implements
35524     to always fail with ENOSYS.  Some functions are actually named
35525     something starting with __ and the normal name is an alias.  */
35526 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35527 choke me
35528 #else
35529 char (*f) () = $ac_func;
35530 #endif
35531 #ifdef __cplusplus
35532 }
35533 #endif
35534
35535 int
35536 main ()
35537 {
35538 return f != $ac_func;
35539   ;
35540   return 0;
35541 }
35542 _ACEOF
35543 rm -f conftest.$ac_objext conftest$ac_exeext
35544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35545   (eval $ac_link) 2>conftest.er1
35546   ac_status=$?
35547   grep -v '^ *+' conftest.er1 >conftest.err
35548   rm -f conftest.er1
35549   cat conftest.err >&5
35550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35551   (exit $ac_status); } &&
35552          { ac_try='test -z "$ac_c_werror_flag"
35553                          || test ! -s conftest.err'
35554   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35555   (eval $ac_try) 2>&5
35556   ac_status=$?
35557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35558   (exit $ac_status); }; } &&
35559          { ac_try='test -s conftest$ac_exeext'
35560   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35561   (eval $ac_try) 2>&5
35562   ac_status=$?
35563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35564   (exit $ac_status); }; }; then
35565   eval "$as_ac_var=yes"
35566 else
35567   echo "$as_me: failed program was:" >&5
35568 sed 's/^/| /' conftest.$ac_ext >&5
35569
35570 eval "$as_ac_var=no"
35571 fi
35572 rm -f conftest.err conftest.$ac_objext \
35573       conftest$ac_exeext conftest.$ac_ext
35574 fi
35575 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35576 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35577 if test `eval echo '${'$as_ac_var'}'` = yes; then
35578   cat >>confdefs.h <<_ACEOF
35579 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35580 _ACEOF
35581
35582 fi
35583 done
35584
35585   else
35586
35587   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
35588 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
35589   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
35590     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
35591   echo $ECHO_N "(cached) $ECHO_C" >&6
35592 else
35593
35594
35595
35596       ac_ext=cc
35597 ac_cpp='$CXXCPP $CPPFLAGS'
35598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35601
35602       cat >conftest.$ac_ext <<_ACEOF
35603 /* confdefs.h.  */
35604 _ACEOF
35605 cat confdefs.h >>conftest.$ac_ext
35606 cat >>conftest.$ac_ext <<_ACEOF
35607 /* end confdefs.h.  */
35608 #include <math.h>
35609                       #ifdef HAVE_IEEEFP_H
35610                       #include <ieeefp.h>
35611                       #endif
35612
35613 int
35614 main ()
35615 {
35616  _qfpclass(0);
35617   ;
35618   return 0;
35619 }
35620 _ACEOF
35621 rm -f conftest.$ac_objext
35622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35623   (eval $ac_compile) 2>conftest.er1
35624   ac_status=$?
35625   grep -v '^ *+' conftest.er1 >conftest.err
35626   rm -f conftest.er1
35627   cat conftest.err >&5
35628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35629   (exit $ac_status); } &&
35630          { ac_try='test -z "$ac_cxx_werror_flag"
35631                          || test ! -s conftest.err'
35632   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35633   (eval $ac_try) 2>&5
35634   ac_status=$?
35635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35636   (exit $ac_status); }; } &&
35637          { ac_try='test -s conftest.$ac_objext'
35638   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35639   (eval $ac_try) 2>&5
35640   ac_status=$?
35641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35642   (exit $ac_status); }; }; then
35643   glibcxx_cv_func__qfpclass_use=yes
35644 else
35645   echo "$as_me: failed program was:" >&5
35646 sed 's/^/| /' conftest.$ac_ext >&5
35647
35648 glibcxx_cv_func__qfpclass_use=no
35649 fi
35650 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35651       ac_ext=c
35652 ac_cpp='$CPP $CPPFLAGS'
35653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35656
35657
35658 fi
35659
35660   fi
35661   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
35662 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
35663
35664     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
35665
35666 for ac_func in _qfpclass
35667 do
35668 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35669 echo "$as_me:$LINENO: checking for $ac_func" >&5
35670 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35671 if eval "test \"\${$as_ac_var+set}\" = set"; then
35672   echo $ECHO_N "(cached) $ECHO_C" >&6
35673 else
35674   if test x$gcc_no_link = xyes; then
35675   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35676 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35677    { (exit 1); exit 1; }; }
35678 fi
35679 cat >conftest.$ac_ext <<_ACEOF
35680 /* confdefs.h.  */
35681 _ACEOF
35682 cat confdefs.h >>conftest.$ac_ext
35683 cat >>conftest.$ac_ext <<_ACEOF
35684 /* end confdefs.h.  */
35685 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35686    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35687 #define $ac_func innocuous_$ac_func
35688
35689 /* System header to define __stub macros and hopefully few prototypes,
35690     which can conflict with char $ac_func (); below.
35691     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35692     <limits.h> exists even on freestanding compilers.  */
35693
35694 #ifdef __STDC__
35695 # include <limits.h>
35696 #else
35697 # include <assert.h>
35698 #endif
35699
35700 #undef $ac_func
35701
35702 /* Override any gcc2 internal prototype to avoid an error.  */
35703 #ifdef __cplusplus
35704 extern "C"
35705 {
35706 #endif
35707 /* We use char because int might match the return type of a gcc2
35708    builtin and then its argument prototype would still apply.  */
35709 char $ac_func ();
35710 /* The GNU C library defines this for functions which it implements
35711     to always fail with ENOSYS.  Some functions are actually named
35712     something starting with __ and the normal name is an alias.  */
35713 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35714 choke me
35715 #else
35716 char (*f) () = $ac_func;
35717 #endif
35718 #ifdef __cplusplus
35719 }
35720 #endif
35721
35722 int
35723 main ()
35724 {
35725 return f != $ac_func;
35726   ;
35727   return 0;
35728 }
35729 _ACEOF
35730 rm -f conftest.$ac_objext conftest$ac_exeext
35731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35732   (eval $ac_link) 2>conftest.er1
35733   ac_status=$?
35734   grep -v '^ *+' conftest.er1 >conftest.err
35735   rm -f conftest.er1
35736   cat conftest.err >&5
35737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35738   (exit $ac_status); } &&
35739          { ac_try='test -z "$ac_c_werror_flag"
35740                          || test ! -s conftest.err'
35741   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35742   (eval $ac_try) 2>&5
35743   ac_status=$?
35744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35745   (exit $ac_status); }; } &&
35746          { ac_try='test -s conftest$ac_exeext'
35747   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35748   (eval $ac_try) 2>&5
35749   ac_status=$?
35750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35751   (exit $ac_status); }; }; then
35752   eval "$as_ac_var=yes"
35753 else
35754   echo "$as_me: failed program was:" >&5
35755 sed 's/^/| /' conftest.$ac_ext >&5
35756
35757 eval "$as_ac_var=no"
35758 fi
35759 rm -f conftest.err conftest.$ac_objext \
35760       conftest$ac_exeext conftest.$ac_ext
35761 fi
35762 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35763 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35764 if test `eval echo '${'$as_ac_var'}'` = yes; then
35765   cat >>confdefs.h <<_ACEOF
35766 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35767 _ACEOF
35768
35769 fi
35770 done
35771
35772     fi
35773   fi
35774
35775
35776
35777   echo "$as_me:$LINENO: checking for hypot declaration" >&5
35778 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
35779   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
35780     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
35781   echo $ECHO_N "(cached) $ECHO_C" >&6
35782 else
35783
35784
35785
35786       ac_ext=cc
35787 ac_cpp='$CXXCPP $CPPFLAGS'
35788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35791
35792       cat >conftest.$ac_ext <<_ACEOF
35793 /* confdefs.h.  */
35794 _ACEOF
35795 cat confdefs.h >>conftest.$ac_ext
35796 cat >>conftest.$ac_ext <<_ACEOF
35797 /* end confdefs.h.  */
35798 #include <math.h>
35799 int
35800 main ()
35801 {
35802  hypot(0, 0);
35803   ;
35804   return 0;
35805 }
35806 _ACEOF
35807 rm -f conftest.$ac_objext
35808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35809   (eval $ac_compile) 2>conftest.er1
35810   ac_status=$?
35811   grep -v '^ *+' conftest.er1 >conftest.err
35812   rm -f conftest.er1
35813   cat conftest.err >&5
35814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35815   (exit $ac_status); } &&
35816          { ac_try='test -z "$ac_cxx_werror_flag"
35817                          || test ! -s conftest.err'
35818   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35819   (eval $ac_try) 2>&5
35820   ac_status=$?
35821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35822   (exit $ac_status); }; } &&
35823          { ac_try='test -s conftest.$ac_objext'
35824   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35825   (eval $ac_try) 2>&5
35826   ac_status=$?
35827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35828   (exit $ac_status); }; }; then
35829   glibcxx_cv_func_hypot_use=yes
35830 else
35831   echo "$as_me: failed program was:" >&5
35832 sed 's/^/| /' conftest.$ac_ext >&5
35833
35834 glibcxx_cv_func_hypot_use=no
35835 fi
35836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35837       ac_ext=c
35838 ac_cpp='$CPP $CPPFLAGS'
35839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35842
35843
35844 fi
35845
35846   fi
35847   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
35848 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
35849
35850   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
35851
35852 for ac_func in hypot
35853 do
35854 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35855 echo "$as_me:$LINENO: checking for $ac_func" >&5
35856 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35857 if eval "test \"\${$as_ac_var+set}\" = set"; then
35858   echo $ECHO_N "(cached) $ECHO_C" >&6
35859 else
35860   if test x$gcc_no_link = xyes; then
35861   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35862 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35863    { (exit 1); exit 1; }; }
35864 fi
35865 cat >conftest.$ac_ext <<_ACEOF
35866 /* confdefs.h.  */
35867 _ACEOF
35868 cat confdefs.h >>conftest.$ac_ext
35869 cat >>conftest.$ac_ext <<_ACEOF
35870 /* end confdefs.h.  */
35871 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35872    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
35873 #define $ac_func innocuous_$ac_func
35874
35875 /* System header to define __stub macros and hopefully few prototypes,
35876     which can conflict with char $ac_func (); below.
35877     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35878     <limits.h> exists even on freestanding compilers.  */
35879
35880 #ifdef __STDC__
35881 # include <limits.h>
35882 #else
35883 # include <assert.h>
35884 #endif
35885
35886 #undef $ac_func
35887
35888 /* Override any gcc2 internal prototype to avoid an error.  */
35889 #ifdef __cplusplus
35890 extern "C"
35891 {
35892 #endif
35893 /* We use char because int might match the return type of a gcc2
35894    builtin and then its argument prototype would still apply.  */
35895 char $ac_func ();
35896 /* The GNU C library defines this for functions which it implements
35897     to always fail with ENOSYS.  Some functions are actually named
35898     something starting with __ and the normal name is an alias.  */
35899 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35900 choke me
35901 #else
35902 char (*f) () = $ac_func;
35903 #endif
35904 #ifdef __cplusplus
35905 }
35906 #endif
35907
35908 int
35909 main ()
35910 {
35911 return f != $ac_func;
35912   ;
35913   return 0;
35914 }
35915 _ACEOF
35916 rm -f conftest.$ac_objext conftest$ac_exeext
35917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35918   (eval $ac_link) 2>conftest.er1
35919   ac_status=$?
35920   grep -v '^ *+' conftest.er1 >conftest.err
35921   rm -f conftest.er1
35922   cat conftest.err >&5
35923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35924   (exit $ac_status); } &&
35925          { ac_try='test -z "$ac_c_werror_flag"
35926                          || test ! -s conftest.err'
35927   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35928   (eval $ac_try) 2>&5
35929   ac_status=$?
35930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35931   (exit $ac_status); }; } &&
35932          { ac_try='test -s conftest$ac_exeext'
35933   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35934   (eval $ac_try) 2>&5
35935   ac_status=$?
35936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35937   (exit $ac_status); }; }; then
35938   eval "$as_ac_var=yes"
35939 else
35940   echo "$as_me: failed program was:" >&5
35941 sed 's/^/| /' conftest.$ac_ext >&5
35942
35943 eval "$as_ac_var=no"
35944 fi
35945 rm -f conftest.err conftest.$ac_objext \
35946       conftest$ac_exeext conftest.$ac_ext
35947 fi
35948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35949 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35950 if test `eval echo '${'$as_ac_var'}'` = yes; then
35951   cat >>confdefs.h <<_ACEOF
35952 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35953 _ACEOF
35954
35955 fi
35956 done
35957
35958   else
35959
35960   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
35961 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
35962   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
35963     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
35964   echo $ECHO_N "(cached) $ECHO_C" >&6
35965 else
35966
35967
35968
35969       ac_ext=cc
35970 ac_cpp='$CXXCPP $CPPFLAGS'
35971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35974
35975       cat >conftest.$ac_ext <<_ACEOF
35976 /* confdefs.h.  */
35977 _ACEOF
35978 cat confdefs.h >>conftest.$ac_ext
35979 cat >>conftest.$ac_ext <<_ACEOF
35980 /* end confdefs.h.  */
35981 #include <math.h>
35982 int
35983 main ()
35984 {
35985  _hypot(0, 0);
35986   ;
35987   return 0;
35988 }
35989 _ACEOF
35990 rm -f conftest.$ac_objext
35991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35992   (eval $ac_compile) 2>conftest.er1
35993   ac_status=$?
35994   grep -v '^ *+' conftest.er1 >conftest.err
35995   rm -f conftest.er1
35996   cat conftest.err >&5
35997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
35998   (exit $ac_status); } &&
35999          { ac_try='test -z "$ac_cxx_werror_flag"
36000                          || test ! -s conftest.err'
36001   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36002   (eval $ac_try) 2>&5
36003   ac_status=$?
36004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36005   (exit $ac_status); }; } &&
36006          { ac_try='test -s conftest.$ac_objext'
36007   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36008   (eval $ac_try) 2>&5
36009   ac_status=$?
36010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36011   (exit $ac_status); }; }; then
36012   glibcxx_cv_func__hypot_use=yes
36013 else
36014   echo "$as_me: failed program was:" >&5
36015 sed 's/^/| /' conftest.$ac_ext >&5
36016
36017 glibcxx_cv_func__hypot_use=no
36018 fi
36019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36020       ac_ext=c
36021 ac_cpp='$CPP $CPPFLAGS'
36022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36025
36026
36027 fi
36028
36029   fi
36030   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
36031 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
36032
36033     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
36034
36035 for ac_func in _hypot
36036 do
36037 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36038 echo "$as_me:$LINENO: checking for $ac_func" >&5
36039 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36040 if eval "test \"\${$as_ac_var+set}\" = set"; then
36041   echo $ECHO_N "(cached) $ECHO_C" >&6
36042 else
36043   if test x$gcc_no_link = xyes; then
36044   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36045 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36046    { (exit 1); exit 1; }; }
36047 fi
36048 cat >conftest.$ac_ext <<_ACEOF
36049 /* confdefs.h.  */
36050 _ACEOF
36051 cat confdefs.h >>conftest.$ac_ext
36052 cat >>conftest.$ac_ext <<_ACEOF
36053 /* end confdefs.h.  */
36054 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36055    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36056 #define $ac_func innocuous_$ac_func
36057
36058 /* System header to define __stub macros and hopefully few prototypes,
36059     which can conflict with char $ac_func (); below.
36060     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36061     <limits.h> exists even on freestanding compilers.  */
36062
36063 #ifdef __STDC__
36064 # include <limits.h>
36065 #else
36066 # include <assert.h>
36067 #endif
36068
36069 #undef $ac_func
36070
36071 /* Override any gcc2 internal prototype to avoid an error.  */
36072 #ifdef __cplusplus
36073 extern "C"
36074 {
36075 #endif
36076 /* We use char because int might match the return type of a gcc2
36077    builtin and then its argument prototype would still apply.  */
36078 char $ac_func ();
36079 /* The GNU C library defines this for functions which it implements
36080     to always fail with ENOSYS.  Some functions are actually named
36081     something starting with __ and the normal name is an alias.  */
36082 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36083 choke me
36084 #else
36085 char (*f) () = $ac_func;
36086 #endif
36087 #ifdef __cplusplus
36088 }
36089 #endif
36090
36091 int
36092 main ()
36093 {
36094 return f != $ac_func;
36095   ;
36096   return 0;
36097 }
36098 _ACEOF
36099 rm -f conftest.$ac_objext conftest$ac_exeext
36100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36101   (eval $ac_link) 2>conftest.er1
36102   ac_status=$?
36103   grep -v '^ *+' conftest.er1 >conftest.err
36104   rm -f conftest.er1
36105   cat conftest.err >&5
36106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36107   (exit $ac_status); } &&
36108          { ac_try='test -z "$ac_c_werror_flag"
36109                          || test ! -s conftest.err'
36110   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36111   (eval $ac_try) 2>&5
36112   ac_status=$?
36113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36114   (exit $ac_status); }; } &&
36115          { ac_try='test -s conftest$ac_exeext'
36116   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36117   (eval $ac_try) 2>&5
36118   ac_status=$?
36119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36120   (exit $ac_status); }; }; then
36121   eval "$as_ac_var=yes"
36122 else
36123   echo "$as_me: failed program was:" >&5
36124 sed 's/^/| /' conftest.$ac_ext >&5
36125
36126 eval "$as_ac_var=no"
36127 fi
36128 rm -f conftest.err conftest.$ac_objext \
36129       conftest$ac_exeext conftest.$ac_ext
36130 fi
36131 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36132 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36133 if test `eval echo '${'$as_ac_var'}'` = yes; then
36134   cat >>confdefs.h <<_ACEOF
36135 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36136 _ACEOF
36137
36138 fi
36139 done
36140
36141     fi
36142   fi
36143
36144
36145
36146   echo "$as_me:$LINENO: checking for float trig functions" >&5
36147 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
36148   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
36149   echo $ECHO_N "(cached) $ECHO_C" >&6
36150 else
36151
36152
36153
36154     ac_ext=cc
36155 ac_cpp='$CXXCPP $CPPFLAGS'
36156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36159
36160     cat >conftest.$ac_ext <<_ACEOF
36161 /* confdefs.h.  */
36162 _ACEOF
36163 cat confdefs.h >>conftest.$ac_ext
36164 cat >>conftest.$ac_ext <<_ACEOF
36165 /* end confdefs.h.  */
36166 #include <math.h>
36167 int
36168 main ()
36169 {
36170  `for x in acosf asinf atanf \
36171                                           cosf sinf tanf \
36172                                           coshf sinhf tanhf; do echo "$x (0);"; done`
36173   ;
36174   return 0;
36175 }
36176 _ACEOF
36177 rm -f conftest.$ac_objext
36178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36179   (eval $ac_compile) 2>conftest.er1
36180   ac_status=$?
36181   grep -v '^ *+' conftest.er1 >conftest.err
36182   rm -f conftest.er1
36183   cat conftest.err >&5
36184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36185   (exit $ac_status); } &&
36186          { ac_try='test -z "$ac_cxx_werror_flag"
36187                          || test ! -s conftest.err'
36188   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36189   (eval $ac_try) 2>&5
36190   ac_status=$?
36191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36192   (exit $ac_status); }; } &&
36193          { ac_try='test -s conftest.$ac_objext'
36194   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36195   (eval $ac_try) 2>&5
36196   ac_status=$?
36197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36198   (exit $ac_status); }; }; then
36199   glibcxx_cv_func_float_trig_use=yes
36200 else
36201   echo "$as_me: failed program was:" >&5
36202 sed 's/^/| /' conftest.$ac_ext >&5
36203
36204 glibcxx_cv_func_float_trig_use=no
36205 fi
36206 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36207     ac_ext=c
36208 ac_cpp='$CPP $CPPFLAGS'
36209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36212
36213 fi
36214
36215   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
36216 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
36217   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
36218
36219
36220
36221
36222
36223
36224
36225
36226
36227 for ac_func in acosf asinf atanf \
36228                                           cosf sinf tanf \
36229                                           coshf sinhf tanhf
36230 do
36231 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36232 echo "$as_me:$LINENO: checking for $ac_func" >&5
36233 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36234 if eval "test \"\${$as_ac_var+set}\" = set"; then
36235   echo $ECHO_N "(cached) $ECHO_C" >&6
36236 else
36237   if test x$gcc_no_link = xyes; then
36238   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36239 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36240    { (exit 1); exit 1; }; }
36241 fi
36242 cat >conftest.$ac_ext <<_ACEOF
36243 /* confdefs.h.  */
36244 _ACEOF
36245 cat confdefs.h >>conftest.$ac_ext
36246 cat >>conftest.$ac_ext <<_ACEOF
36247 /* end confdefs.h.  */
36248 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36249    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36250 #define $ac_func innocuous_$ac_func
36251
36252 /* System header to define __stub macros and hopefully few prototypes,
36253     which can conflict with char $ac_func (); below.
36254     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36255     <limits.h> exists even on freestanding compilers.  */
36256
36257 #ifdef __STDC__
36258 # include <limits.h>
36259 #else
36260 # include <assert.h>
36261 #endif
36262
36263 #undef $ac_func
36264
36265 /* Override any gcc2 internal prototype to avoid an error.  */
36266 #ifdef __cplusplus
36267 extern "C"
36268 {
36269 #endif
36270 /* We use char because int might match the return type of a gcc2
36271    builtin and then its argument prototype would still apply.  */
36272 char $ac_func ();
36273 /* The GNU C library defines this for functions which it implements
36274     to always fail with ENOSYS.  Some functions are actually named
36275     something starting with __ and the normal name is an alias.  */
36276 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36277 choke me
36278 #else
36279 char (*f) () = $ac_func;
36280 #endif
36281 #ifdef __cplusplus
36282 }
36283 #endif
36284
36285 int
36286 main ()
36287 {
36288 return f != $ac_func;
36289   ;
36290   return 0;
36291 }
36292 _ACEOF
36293 rm -f conftest.$ac_objext conftest$ac_exeext
36294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36295   (eval $ac_link) 2>conftest.er1
36296   ac_status=$?
36297   grep -v '^ *+' conftest.er1 >conftest.err
36298   rm -f conftest.er1
36299   cat conftest.err >&5
36300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36301   (exit $ac_status); } &&
36302          { ac_try='test -z "$ac_c_werror_flag"
36303                          || test ! -s conftest.err'
36304   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36305   (eval $ac_try) 2>&5
36306   ac_status=$?
36307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36308   (exit $ac_status); }; } &&
36309          { ac_try='test -s conftest$ac_exeext'
36310   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36311   (eval $ac_try) 2>&5
36312   ac_status=$?
36313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36314   (exit $ac_status); }; }; then
36315   eval "$as_ac_var=yes"
36316 else
36317   echo "$as_me: failed program was:" >&5
36318 sed 's/^/| /' conftest.$ac_ext >&5
36319
36320 eval "$as_ac_var=no"
36321 fi
36322 rm -f conftest.err conftest.$ac_objext \
36323       conftest$ac_exeext conftest.$ac_ext
36324 fi
36325 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36326 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36327 if test `eval echo '${'$as_ac_var'}'` = yes; then
36328   cat >>confdefs.h <<_ACEOF
36329 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36330 _ACEOF
36331
36332 fi
36333 done
36334
36335   fi
36336
36337
36338   echo "$as_me:$LINENO: checking for float round functions" >&5
36339 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
36340   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
36341   echo $ECHO_N "(cached) $ECHO_C" >&6
36342 else
36343
36344
36345
36346     ac_ext=cc
36347 ac_cpp='$CXXCPP $CPPFLAGS'
36348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36351
36352     cat >conftest.$ac_ext <<_ACEOF
36353 /* confdefs.h.  */
36354 _ACEOF
36355 cat confdefs.h >>conftest.$ac_ext
36356 cat >>conftest.$ac_ext <<_ACEOF
36357 /* end confdefs.h.  */
36358 #include <math.h>
36359 int
36360 main ()
36361 {
36362  `for x in ceilf floorf; do echo "$x (0);"; done`
36363   ;
36364   return 0;
36365 }
36366 _ACEOF
36367 rm -f conftest.$ac_objext
36368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36369   (eval $ac_compile) 2>conftest.er1
36370   ac_status=$?
36371   grep -v '^ *+' conftest.er1 >conftest.err
36372   rm -f conftest.er1
36373   cat conftest.err >&5
36374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36375   (exit $ac_status); } &&
36376          { ac_try='test -z "$ac_cxx_werror_flag"
36377                          || test ! -s conftest.err'
36378   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36379   (eval $ac_try) 2>&5
36380   ac_status=$?
36381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36382   (exit $ac_status); }; } &&
36383          { ac_try='test -s conftest.$ac_objext'
36384   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36385   (eval $ac_try) 2>&5
36386   ac_status=$?
36387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36388   (exit $ac_status); }; }; then
36389   glibcxx_cv_func_float_round_use=yes
36390 else
36391   echo "$as_me: failed program was:" >&5
36392 sed 's/^/| /' conftest.$ac_ext >&5
36393
36394 glibcxx_cv_func_float_round_use=no
36395 fi
36396 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36397     ac_ext=c
36398 ac_cpp='$CPP $CPPFLAGS'
36399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36402
36403 fi
36404
36405   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
36406 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
36407   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
36408
36409
36410 for ac_func in ceilf floorf
36411 do
36412 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36413 echo "$as_me:$LINENO: checking for $ac_func" >&5
36414 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36415 if eval "test \"\${$as_ac_var+set}\" = set"; then
36416   echo $ECHO_N "(cached) $ECHO_C" >&6
36417 else
36418   if test x$gcc_no_link = xyes; then
36419   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36420 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36421    { (exit 1); exit 1; }; }
36422 fi
36423 cat >conftest.$ac_ext <<_ACEOF
36424 /* confdefs.h.  */
36425 _ACEOF
36426 cat confdefs.h >>conftest.$ac_ext
36427 cat >>conftest.$ac_ext <<_ACEOF
36428 /* end confdefs.h.  */
36429 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36430    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36431 #define $ac_func innocuous_$ac_func
36432
36433 /* System header to define __stub macros and hopefully few prototypes,
36434     which can conflict with char $ac_func (); below.
36435     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36436     <limits.h> exists even on freestanding compilers.  */
36437
36438 #ifdef __STDC__
36439 # include <limits.h>
36440 #else
36441 # include <assert.h>
36442 #endif
36443
36444 #undef $ac_func
36445
36446 /* Override any gcc2 internal prototype to avoid an error.  */
36447 #ifdef __cplusplus
36448 extern "C"
36449 {
36450 #endif
36451 /* We use char because int might match the return type of a gcc2
36452    builtin and then its argument prototype would still apply.  */
36453 char $ac_func ();
36454 /* The GNU C library defines this for functions which it implements
36455     to always fail with ENOSYS.  Some functions are actually named
36456     something starting with __ and the normal name is an alias.  */
36457 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36458 choke me
36459 #else
36460 char (*f) () = $ac_func;
36461 #endif
36462 #ifdef __cplusplus
36463 }
36464 #endif
36465
36466 int
36467 main ()
36468 {
36469 return f != $ac_func;
36470   ;
36471   return 0;
36472 }
36473 _ACEOF
36474 rm -f conftest.$ac_objext conftest$ac_exeext
36475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36476   (eval $ac_link) 2>conftest.er1
36477   ac_status=$?
36478   grep -v '^ *+' conftest.er1 >conftest.err
36479   rm -f conftest.er1
36480   cat conftest.err >&5
36481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36482   (exit $ac_status); } &&
36483          { ac_try='test -z "$ac_c_werror_flag"
36484                          || test ! -s conftest.err'
36485   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36486   (eval $ac_try) 2>&5
36487   ac_status=$?
36488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36489   (exit $ac_status); }; } &&
36490          { ac_try='test -s conftest$ac_exeext'
36491   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36492   (eval $ac_try) 2>&5
36493   ac_status=$?
36494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36495   (exit $ac_status); }; }; then
36496   eval "$as_ac_var=yes"
36497 else
36498   echo "$as_me: failed program was:" >&5
36499 sed 's/^/| /' conftest.$ac_ext >&5
36500
36501 eval "$as_ac_var=no"
36502 fi
36503 rm -f conftest.err conftest.$ac_objext \
36504       conftest$ac_exeext conftest.$ac_ext
36505 fi
36506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36507 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36508 if test `eval echo '${'$as_ac_var'}'` = yes; then
36509   cat >>confdefs.h <<_ACEOF
36510 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36511 _ACEOF
36512
36513 fi
36514 done
36515
36516   fi
36517
36518
36519
36520   echo "$as_me:$LINENO: checking for expf declaration" >&5
36521 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
36522   if test x${glibcxx_cv_func_expf_use+set} != xset; then
36523     if test "${glibcxx_cv_func_expf_use+set}" = set; then
36524   echo $ECHO_N "(cached) $ECHO_C" >&6
36525 else
36526
36527
36528
36529       ac_ext=cc
36530 ac_cpp='$CXXCPP $CPPFLAGS'
36531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36534
36535       cat >conftest.$ac_ext <<_ACEOF
36536 /* confdefs.h.  */
36537 _ACEOF
36538 cat confdefs.h >>conftest.$ac_ext
36539 cat >>conftest.$ac_ext <<_ACEOF
36540 /* end confdefs.h.  */
36541 #include <math.h>
36542                       #ifdef HAVE_IEEEFP_H
36543                       #include <ieeefp.h>
36544                       #endif
36545
36546 int
36547 main ()
36548 {
36549  expf(0);
36550   ;
36551   return 0;
36552 }
36553 _ACEOF
36554 rm -f conftest.$ac_objext
36555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36556   (eval $ac_compile) 2>conftest.er1
36557   ac_status=$?
36558   grep -v '^ *+' conftest.er1 >conftest.err
36559   rm -f conftest.er1
36560   cat conftest.err >&5
36561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36562   (exit $ac_status); } &&
36563          { ac_try='test -z "$ac_cxx_werror_flag"
36564                          || test ! -s conftest.err'
36565   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36566   (eval $ac_try) 2>&5
36567   ac_status=$?
36568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36569   (exit $ac_status); }; } &&
36570          { ac_try='test -s conftest.$ac_objext'
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   glibcxx_cv_func_expf_use=yes
36577 else
36578   echo "$as_me: failed program was:" >&5
36579 sed 's/^/| /' conftest.$ac_ext >&5
36580
36581 glibcxx_cv_func_expf_use=no
36582 fi
36583 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36584       ac_ext=c
36585 ac_cpp='$CPP $CPPFLAGS'
36586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36589
36590
36591 fi
36592
36593   fi
36594   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
36595 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
36596
36597   if test x$glibcxx_cv_func_expf_use = x"yes"; then
36598
36599 for ac_func in expf
36600 do
36601 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36602 echo "$as_me:$LINENO: checking for $ac_func" >&5
36603 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36604 if eval "test \"\${$as_ac_var+set}\" = set"; then
36605   echo $ECHO_N "(cached) $ECHO_C" >&6
36606 else
36607   if test x$gcc_no_link = xyes; then
36608   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36609 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36610    { (exit 1); exit 1; }; }
36611 fi
36612 cat >conftest.$ac_ext <<_ACEOF
36613 /* confdefs.h.  */
36614 _ACEOF
36615 cat confdefs.h >>conftest.$ac_ext
36616 cat >>conftest.$ac_ext <<_ACEOF
36617 /* end confdefs.h.  */
36618 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36619    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36620 #define $ac_func innocuous_$ac_func
36621
36622 /* System header to define __stub macros and hopefully few prototypes,
36623     which can conflict with char $ac_func (); below.
36624     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36625     <limits.h> exists even on freestanding compilers.  */
36626
36627 #ifdef __STDC__
36628 # include <limits.h>
36629 #else
36630 # include <assert.h>
36631 #endif
36632
36633 #undef $ac_func
36634
36635 /* Override any gcc2 internal prototype to avoid an error.  */
36636 #ifdef __cplusplus
36637 extern "C"
36638 {
36639 #endif
36640 /* We use char because int might match the return type of a gcc2
36641    builtin and then its argument prototype would still apply.  */
36642 char $ac_func ();
36643 /* The GNU C library defines this for functions which it implements
36644     to always fail with ENOSYS.  Some functions are actually named
36645     something starting with __ and the normal name is an alias.  */
36646 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36647 choke me
36648 #else
36649 char (*f) () = $ac_func;
36650 #endif
36651 #ifdef __cplusplus
36652 }
36653 #endif
36654
36655 int
36656 main ()
36657 {
36658 return f != $ac_func;
36659   ;
36660   return 0;
36661 }
36662 _ACEOF
36663 rm -f conftest.$ac_objext conftest$ac_exeext
36664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36665   (eval $ac_link) 2>conftest.er1
36666   ac_status=$?
36667   grep -v '^ *+' conftest.er1 >conftest.err
36668   rm -f conftest.er1
36669   cat conftest.err >&5
36670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36671   (exit $ac_status); } &&
36672          { ac_try='test -z "$ac_c_werror_flag"
36673                          || test ! -s conftest.err'
36674   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36675   (eval $ac_try) 2>&5
36676   ac_status=$?
36677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36678   (exit $ac_status); }; } &&
36679          { ac_try='test -s conftest$ac_exeext'
36680   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36681   (eval $ac_try) 2>&5
36682   ac_status=$?
36683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36684   (exit $ac_status); }; }; then
36685   eval "$as_ac_var=yes"
36686 else
36687   echo "$as_me: failed program was:" >&5
36688 sed 's/^/| /' conftest.$ac_ext >&5
36689
36690 eval "$as_ac_var=no"
36691 fi
36692 rm -f conftest.err conftest.$ac_objext \
36693       conftest$ac_exeext conftest.$ac_ext
36694 fi
36695 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36696 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36697 if test `eval echo '${'$as_ac_var'}'` = yes; then
36698   cat >>confdefs.h <<_ACEOF
36699 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36700 _ACEOF
36701
36702 fi
36703 done
36704
36705   else
36706
36707   echo "$as_me:$LINENO: checking for _expf declaration" >&5
36708 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
36709   if test x${glibcxx_cv_func__expf_use+set} != xset; then
36710     if test "${glibcxx_cv_func__expf_use+set}" = set; then
36711   echo $ECHO_N "(cached) $ECHO_C" >&6
36712 else
36713
36714
36715
36716       ac_ext=cc
36717 ac_cpp='$CXXCPP $CPPFLAGS'
36718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36721
36722       cat >conftest.$ac_ext <<_ACEOF
36723 /* confdefs.h.  */
36724 _ACEOF
36725 cat confdefs.h >>conftest.$ac_ext
36726 cat >>conftest.$ac_ext <<_ACEOF
36727 /* end confdefs.h.  */
36728 #include <math.h>
36729                       #ifdef HAVE_IEEEFP_H
36730                       #include <ieeefp.h>
36731                       #endif
36732
36733 int
36734 main ()
36735 {
36736  _expf(0);
36737   ;
36738   return 0;
36739 }
36740 _ACEOF
36741 rm -f conftest.$ac_objext
36742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36743   (eval $ac_compile) 2>conftest.er1
36744   ac_status=$?
36745   grep -v '^ *+' conftest.er1 >conftest.err
36746   rm -f conftest.er1
36747   cat conftest.err >&5
36748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36749   (exit $ac_status); } &&
36750          { ac_try='test -z "$ac_cxx_werror_flag"
36751                          || test ! -s conftest.err'
36752   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36753   (eval $ac_try) 2>&5
36754   ac_status=$?
36755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36756   (exit $ac_status); }; } &&
36757          { ac_try='test -s conftest.$ac_objext'
36758   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36759   (eval $ac_try) 2>&5
36760   ac_status=$?
36761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36762   (exit $ac_status); }; }; then
36763   glibcxx_cv_func__expf_use=yes
36764 else
36765   echo "$as_me: failed program was:" >&5
36766 sed 's/^/| /' conftest.$ac_ext >&5
36767
36768 glibcxx_cv_func__expf_use=no
36769 fi
36770 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36771       ac_ext=c
36772 ac_cpp='$CPP $CPPFLAGS'
36773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36776
36777
36778 fi
36779
36780   fi
36781   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
36782 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
36783
36784     if test x$glibcxx_cv_func__expf_use = x"yes"; then
36785
36786 for ac_func in _expf
36787 do
36788 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36789 echo "$as_me:$LINENO: checking for $ac_func" >&5
36790 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36791 if eval "test \"\${$as_ac_var+set}\" = set"; then
36792   echo $ECHO_N "(cached) $ECHO_C" >&6
36793 else
36794   if test x$gcc_no_link = xyes; then
36795   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36796 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36797    { (exit 1); exit 1; }; }
36798 fi
36799 cat >conftest.$ac_ext <<_ACEOF
36800 /* confdefs.h.  */
36801 _ACEOF
36802 cat confdefs.h >>conftest.$ac_ext
36803 cat >>conftest.$ac_ext <<_ACEOF
36804 /* end confdefs.h.  */
36805 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36806    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36807 #define $ac_func innocuous_$ac_func
36808
36809 /* System header to define __stub macros and hopefully few prototypes,
36810     which can conflict with char $ac_func (); below.
36811     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36812     <limits.h> exists even on freestanding compilers.  */
36813
36814 #ifdef __STDC__
36815 # include <limits.h>
36816 #else
36817 # include <assert.h>
36818 #endif
36819
36820 #undef $ac_func
36821
36822 /* Override any gcc2 internal prototype to avoid an error.  */
36823 #ifdef __cplusplus
36824 extern "C"
36825 {
36826 #endif
36827 /* We use char because int might match the return type of a gcc2
36828    builtin and then its argument prototype would still apply.  */
36829 char $ac_func ();
36830 /* The GNU C library defines this for functions which it implements
36831     to always fail with ENOSYS.  Some functions are actually named
36832     something starting with __ and the normal name is an alias.  */
36833 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36834 choke me
36835 #else
36836 char (*f) () = $ac_func;
36837 #endif
36838 #ifdef __cplusplus
36839 }
36840 #endif
36841
36842 int
36843 main ()
36844 {
36845 return f != $ac_func;
36846   ;
36847   return 0;
36848 }
36849 _ACEOF
36850 rm -f conftest.$ac_objext conftest$ac_exeext
36851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36852   (eval $ac_link) 2>conftest.er1
36853   ac_status=$?
36854   grep -v '^ *+' conftest.er1 >conftest.err
36855   rm -f conftest.er1
36856   cat conftest.err >&5
36857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36858   (exit $ac_status); } &&
36859          { ac_try='test -z "$ac_c_werror_flag"
36860                          || test ! -s conftest.err'
36861   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36862   (eval $ac_try) 2>&5
36863   ac_status=$?
36864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36865   (exit $ac_status); }; } &&
36866          { ac_try='test -s conftest$ac_exeext'
36867   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36868   (eval $ac_try) 2>&5
36869   ac_status=$?
36870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36871   (exit $ac_status); }; }; then
36872   eval "$as_ac_var=yes"
36873 else
36874   echo "$as_me: failed program was:" >&5
36875 sed 's/^/| /' conftest.$ac_ext >&5
36876
36877 eval "$as_ac_var=no"
36878 fi
36879 rm -f conftest.err conftest.$ac_objext \
36880       conftest$ac_exeext conftest.$ac_ext
36881 fi
36882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36883 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36884 if test `eval echo '${'$as_ac_var'}'` = yes; then
36885   cat >>confdefs.h <<_ACEOF
36886 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36887 _ACEOF
36888
36889 fi
36890 done
36891
36892     fi
36893   fi
36894
36895
36896
36897   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
36898 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
36899   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
36900     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
36901   echo $ECHO_N "(cached) $ECHO_C" >&6
36902 else
36903
36904
36905
36906       ac_ext=cc
36907 ac_cpp='$CXXCPP $CPPFLAGS'
36908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36911
36912       cat >conftest.$ac_ext <<_ACEOF
36913 /* confdefs.h.  */
36914 _ACEOF
36915 cat confdefs.h >>conftest.$ac_ext
36916 cat >>conftest.$ac_ext <<_ACEOF
36917 /* end confdefs.h.  */
36918 #include <math.h>
36919                       #ifdef HAVE_IEEEFP_H
36920                       #include <ieeefp.h>
36921                       #endif
36922
36923 int
36924 main ()
36925 {
36926  isnanf(0);
36927   ;
36928   return 0;
36929 }
36930 _ACEOF
36931 rm -f conftest.$ac_objext
36932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36933   (eval $ac_compile) 2>conftest.er1
36934   ac_status=$?
36935   grep -v '^ *+' conftest.er1 >conftest.err
36936   rm -f conftest.er1
36937   cat conftest.err >&5
36938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36939   (exit $ac_status); } &&
36940          { ac_try='test -z "$ac_cxx_werror_flag"
36941                          || test ! -s conftest.err'
36942   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36943   (eval $ac_try) 2>&5
36944   ac_status=$?
36945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36946   (exit $ac_status); }; } &&
36947          { ac_try='test -s conftest.$ac_objext'
36948   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36949   (eval $ac_try) 2>&5
36950   ac_status=$?
36951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
36952   (exit $ac_status); }; }; then
36953   glibcxx_cv_func_isnanf_use=yes
36954 else
36955   echo "$as_me: failed program was:" >&5
36956 sed 's/^/| /' conftest.$ac_ext >&5
36957
36958 glibcxx_cv_func_isnanf_use=no
36959 fi
36960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36961       ac_ext=c
36962 ac_cpp='$CPP $CPPFLAGS'
36963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36966
36967
36968 fi
36969
36970   fi
36971   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
36972 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
36973
36974   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
36975
36976 for ac_func in isnanf
36977 do
36978 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36979 echo "$as_me:$LINENO: checking for $ac_func" >&5
36980 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36981 if eval "test \"\${$as_ac_var+set}\" = set"; then
36982   echo $ECHO_N "(cached) $ECHO_C" >&6
36983 else
36984   if test x$gcc_no_link = xyes; then
36985   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36986 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36987    { (exit 1); exit 1; }; }
36988 fi
36989 cat >conftest.$ac_ext <<_ACEOF
36990 /* confdefs.h.  */
36991 _ACEOF
36992 cat confdefs.h >>conftest.$ac_ext
36993 cat >>conftest.$ac_ext <<_ACEOF
36994 /* end confdefs.h.  */
36995 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36996    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
36997 #define $ac_func innocuous_$ac_func
36998
36999 /* System header to define __stub macros and hopefully few prototypes,
37000     which can conflict with char $ac_func (); below.
37001     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37002     <limits.h> exists even on freestanding compilers.  */
37003
37004 #ifdef __STDC__
37005 # include <limits.h>
37006 #else
37007 # include <assert.h>
37008 #endif
37009
37010 #undef $ac_func
37011
37012 /* Override any gcc2 internal prototype to avoid an error.  */
37013 #ifdef __cplusplus
37014 extern "C"
37015 {
37016 #endif
37017 /* We use char because int might match the return type of a gcc2
37018    builtin and then its argument prototype would still apply.  */
37019 char $ac_func ();
37020 /* The GNU C library defines this for functions which it implements
37021     to always fail with ENOSYS.  Some functions are actually named
37022     something starting with __ and the normal name is an alias.  */
37023 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37024 choke me
37025 #else
37026 char (*f) () = $ac_func;
37027 #endif
37028 #ifdef __cplusplus
37029 }
37030 #endif
37031
37032 int
37033 main ()
37034 {
37035 return f != $ac_func;
37036   ;
37037   return 0;
37038 }
37039 _ACEOF
37040 rm -f conftest.$ac_objext conftest$ac_exeext
37041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37042   (eval $ac_link) 2>conftest.er1
37043   ac_status=$?
37044   grep -v '^ *+' conftest.er1 >conftest.err
37045   rm -f conftest.er1
37046   cat conftest.err >&5
37047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37048   (exit $ac_status); } &&
37049          { ac_try='test -z "$ac_c_werror_flag"
37050                          || test ! -s conftest.err'
37051   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37052   (eval $ac_try) 2>&5
37053   ac_status=$?
37054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37055   (exit $ac_status); }; } &&
37056          { ac_try='test -s conftest$ac_exeext'
37057   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37058   (eval $ac_try) 2>&5
37059   ac_status=$?
37060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37061   (exit $ac_status); }; }; then
37062   eval "$as_ac_var=yes"
37063 else
37064   echo "$as_me: failed program was:" >&5
37065 sed 's/^/| /' conftest.$ac_ext >&5
37066
37067 eval "$as_ac_var=no"
37068 fi
37069 rm -f conftest.err conftest.$ac_objext \
37070       conftest$ac_exeext conftest.$ac_ext
37071 fi
37072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37073 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37074 if test `eval echo '${'$as_ac_var'}'` = yes; then
37075   cat >>confdefs.h <<_ACEOF
37076 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37077 _ACEOF
37078
37079 fi
37080 done
37081
37082   else
37083
37084   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
37085 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
37086   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
37087     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
37088   echo $ECHO_N "(cached) $ECHO_C" >&6
37089 else
37090
37091
37092
37093       ac_ext=cc
37094 ac_cpp='$CXXCPP $CPPFLAGS'
37095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37098
37099       cat >conftest.$ac_ext <<_ACEOF
37100 /* confdefs.h.  */
37101 _ACEOF
37102 cat confdefs.h >>conftest.$ac_ext
37103 cat >>conftest.$ac_ext <<_ACEOF
37104 /* end confdefs.h.  */
37105 #include <math.h>
37106                       #ifdef HAVE_IEEEFP_H
37107                       #include <ieeefp.h>
37108                       #endif
37109
37110 int
37111 main ()
37112 {
37113  _isnanf(0);
37114   ;
37115   return 0;
37116 }
37117 _ACEOF
37118 rm -f conftest.$ac_objext
37119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37120   (eval $ac_compile) 2>conftest.er1
37121   ac_status=$?
37122   grep -v '^ *+' conftest.er1 >conftest.err
37123   rm -f conftest.er1
37124   cat conftest.err >&5
37125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37126   (exit $ac_status); } &&
37127          { ac_try='test -z "$ac_cxx_werror_flag"
37128                          || test ! -s conftest.err'
37129   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37130   (eval $ac_try) 2>&5
37131   ac_status=$?
37132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37133   (exit $ac_status); }; } &&
37134          { ac_try='test -s conftest.$ac_objext'
37135   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37136   (eval $ac_try) 2>&5
37137   ac_status=$?
37138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37139   (exit $ac_status); }; }; then
37140   glibcxx_cv_func__isnanf_use=yes
37141 else
37142   echo "$as_me: failed program was:" >&5
37143 sed 's/^/| /' conftest.$ac_ext >&5
37144
37145 glibcxx_cv_func__isnanf_use=no
37146 fi
37147 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37148       ac_ext=c
37149 ac_cpp='$CPP $CPPFLAGS'
37150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37153
37154
37155 fi
37156
37157   fi
37158   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
37159 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
37160
37161     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
37162
37163 for ac_func in _isnanf
37164 do
37165 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37166 echo "$as_me:$LINENO: checking for $ac_func" >&5
37167 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37168 if eval "test \"\${$as_ac_var+set}\" = set"; then
37169   echo $ECHO_N "(cached) $ECHO_C" >&6
37170 else
37171   if test x$gcc_no_link = xyes; then
37172   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37173 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37174    { (exit 1); exit 1; }; }
37175 fi
37176 cat >conftest.$ac_ext <<_ACEOF
37177 /* confdefs.h.  */
37178 _ACEOF
37179 cat confdefs.h >>conftest.$ac_ext
37180 cat >>conftest.$ac_ext <<_ACEOF
37181 /* end confdefs.h.  */
37182 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37183    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37184 #define $ac_func innocuous_$ac_func
37185
37186 /* System header to define __stub macros and hopefully few prototypes,
37187     which can conflict with char $ac_func (); below.
37188     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37189     <limits.h> exists even on freestanding compilers.  */
37190
37191 #ifdef __STDC__
37192 # include <limits.h>
37193 #else
37194 # include <assert.h>
37195 #endif
37196
37197 #undef $ac_func
37198
37199 /* Override any gcc2 internal prototype to avoid an error.  */
37200 #ifdef __cplusplus
37201 extern "C"
37202 {
37203 #endif
37204 /* We use char because int might match the return type of a gcc2
37205    builtin and then its argument prototype would still apply.  */
37206 char $ac_func ();
37207 /* The GNU C library defines this for functions which it implements
37208     to always fail with ENOSYS.  Some functions are actually named
37209     something starting with __ and the normal name is an alias.  */
37210 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37211 choke me
37212 #else
37213 char (*f) () = $ac_func;
37214 #endif
37215 #ifdef __cplusplus
37216 }
37217 #endif
37218
37219 int
37220 main ()
37221 {
37222 return f != $ac_func;
37223   ;
37224   return 0;
37225 }
37226 _ACEOF
37227 rm -f conftest.$ac_objext conftest$ac_exeext
37228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37229   (eval $ac_link) 2>conftest.er1
37230   ac_status=$?
37231   grep -v '^ *+' conftest.er1 >conftest.err
37232   rm -f conftest.er1
37233   cat conftest.err >&5
37234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37235   (exit $ac_status); } &&
37236          { ac_try='test -z "$ac_c_werror_flag"
37237                          || test ! -s conftest.err'
37238   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37239   (eval $ac_try) 2>&5
37240   ac_status=$?
37241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37242   (exit $ac_status); }; } &&
37243          { ac_try='test -s conftest$ac_exeext'
37244   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37245   (eval $ac_try) 2>&5
37246   ac_status=$?
37247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37248   (exit $ac_status); }; }; then
37249   eval "$as_ac_var=yes"
37250 else
37251   echo "$as_me: failed program was:" >&5
37252 sed 's/^/| /' conftest.$ac_ext >&5
37253
37254 eval "$as_ac_var=no"
37255 fi
37256 rm -f conftest.err conftest.$ac_objext \
37257       conftest$ac_exeext conftest.$ac_ext
37258 fi
37259 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37260 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37261 if test `eval echo '${'$as_ac_var'}'` = yes; then
37262   cat >>confdefs.h <<_ACEOF
37263 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37264 _ACEOF
37265
37266 fi
37267 done
37268
37269     fi
37270   fi
37271
37272
37273
37274   echo "$as_me:$LINENO: checking for isinff declaration" >&5
37275 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
37276   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
37277     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
37278   echo $ECHO_N "(cached) $ECHO_C" >&6
37279 else
37280
37281
37282
37283       ac_ext=cc
37284 ac_cpp='$CXXCPP $CPPFLAGS'
37285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37288
37289       cat >conftest.$ac_ext <<_ACEOF
37290 /* confdefs.h.  */
37291 _ACEOF
37292 cat confdefs.h >>conftest.$ac_ext
37293 cat >>conftest.$ac_ext <<_ACEOF
37294 /* end confdefs.h.  */
37295 #include <math.h>
37296                       #ifdef HAVE_IEEEFP_H
37297                       #include <ieeefp.h>
37298                       #endif
37299
37300 int
37301 main ()
37302 {
37303  isinff(0);
37304   ;
37305   return 0;
37306 }
37307 _ACEOF
37308 rm -f conftest.$ac_objext
37309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37310   (eval $ac_compile) 2>conftest.er1
37311   ac_status=$?
37312   grep -v '^ *+' conftest.er1 >conftest.err
37313   rm -f conftest.er1
37314   cat conftest.err >&5
37315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37316   (exit $ac_status); } &&
37317          { ac_try='test -z "$ac_cxx_werror_flag"
37318                          || test ! -s conftest.err'
37319   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37320   (eval $ac_try) 2>&5
37321   ac_status=$?
37322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37323   (exit $ac_status); }; } &&
37324          { ac_try='test -s conftest.$ac_objext'
37325   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37326   (eval $ac_try) 2>&5
37327   ac_status=$?
37328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37329   (exit $ac_status); }; }; then
37330   glibcxx_cv_func_isinff_use=yes
37331 else
37332   echo "$as_me: failed program was:" >&5
37333 sed 's/^/| /' conftest.$ac_ext >&5
37334
37335 glibcxx_cv_func_isinff_use=no
37336 fi
37337 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37338       ac_ext=c
37339 ac_cpp='$CPP $CPPFLAGS'
37340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37343
37344
37345 fi
37346
37347   fi
37348   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
37349 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
37350
37351   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
37352
37353 for ac_func in isinff
37354 do
37355 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37356 echo "$as_me:$LINENO: checking for $ac_func" >&5
37357 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37358 if eval "test \"\${$as_ac_var+set}\" = set"; then
37359   echo $ECHO_N "(cached) $ECHO_C" >&6
37360 else
37361   if test x$gcc_no_link = xyes; then
37362   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37363 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37364    { (exit 1); exit 1; }; }
37365 fi
37366 cat >conftest.$ac_ext <<_ACEOF
37367 /* confdefs.h.  */
37368 _ACEOF
37369 cat confdefs.h >>conftest.$ac_ext
37370 cat >>conftest.$ac_ext <<_ACEOF
37371 /* end confdefs.h.  */
37372 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37373    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37374 #define $ac_func innocuous_$ac_func
37375
37376 /* System header to define __stub macros and hopefully few prototypes,
37377     which can conflict with char $ac_func (); below.
37378     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37379     <limits.h> exists even on freestanding compilers.  */
37380
37381 #ifdef __STDC__
37382 # include <limits.h>
37383 #else
37384 # include <assert.h>
37385 #endif
37386
37387 #undef $ac_func
37388
37389 /* Override any gcc2 internal prototype to avoid an error.  */
37390 #ifdef __cplusplus
37391 extern "C"
37392 {
37393 #endif
37394 /* We use char because int might match the return type of a gcc2
37395    builtin and then its argument prototype would still apply.  */
37396 char $ac_func ();
37397 /* The GNU C library defines this for functions which it implements
37398     to always fail with ENOSYS.  Some functions are actually named
37399     something starting with __ and the normal name is an alias.  */
37400 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37401 choke me
37402 #else
37403 char (*f) () = $ac_func;
37404 #endif
37405 #ifdef __cplusplus
37406 }
37407 #endif
37408
37409 int
37410 main ()
37411 {
37412 return f != $ac_func;
37413   ;
37414   return 0;
37415 }
37416 _ACEOF
37417 rm -f conftest.$ac_objext conftest$ac_exeext
37418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37419   (eval $ac_link) 2>conftest.er1
37420   ac_status=$?
37421   grep -v '^ *+' conftest.er1 >conftest.err
37422   rm -f conftest.er1
37423   cat conftest.err >&5
37424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37425   (exit $ac_status); } &&
37426          { ac_try='test -z "$ac_c_werror_flag"
37427                          || test ! -s conftest.err'
37428   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37429   (eval $ac_try) 2>&5
37430   ac_status=$?
37431   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37432   (exit $ac_status); }; } &&
37433          { ac_try='test -s conftest$ac_exeext'
37434   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37435   (eval $ac_try) 2>&5
37436   ac_status=$?
37437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37438   (exit $ac_status); }; }; then
37439   eval "$as_ac_var=yes"
37440 else
37441   echo "$as_me: failed program was:" >&5
37442 sed 's/^/| /' conftest.$ac_ext >&5
37443
37444 eval "$as_ac_var=no"
37445 fi
37446 rm -f conftest.err conftest.$ac_objext \
37447       conftest$ac_exeext conftest.$ac_ext
37448 fi
37449 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37450 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37451 if test `eval echo '${'$as_ac_var'}'` = yes; then
37452   cat >>confdefs.h <<_ACEOF
37453 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37454 _ACEOF
37455
37456 fi
37457 done
37458
37459   else
37460
37461   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
37462 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
37463   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
37464     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
37465   echo $ECHO_N "(cached) $ECHO_C" >&6
37466 else
37467
37468
37469
37470       ac_ext=cc
37471 ac_cpp='$CXXCPP $CPPFLAGS'
37472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37475
37476       cat >conftest.$ac_ext <<_ACEOF
37477 /* confdefs.h.  */
37478 _ACEOF
37479 cat confdefs.h >>conftest.$ac_ext
37480 cat >>conftest.$ac_ext <<_ACEOF
37481 /* end confdefs.h.  */
37482 #include <math.h>
37483                       #ifdef HAVE_IEEEFP_H
37484                       #include <ieeefp.h>
37485                       #endif
37486
37487 int
37488 main ()
37489 {
37490  _isinff(0);
37491   ;
37492   return 0;
37493 }
37494 _ACEOF
37495 rm -f conftest.$ac_objext
37496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37497   (eval $ac_compile) 2>conftest.er1
37498   ac_status=$?
37499   grep -v '^ *+' conftest.er1 >conftest.err
37500   rm -f conftest.er1
37501   cat conftest.err >&5
37502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37503   (exit $ac_status); } &&
37504          { ac_try='test -z "$ac_cxx_werror_flag"
37505                          || test ! -s conftest.err'
37506   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37507   (eval $ac_try) 2>&5
37508   ac_status=$?
37509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37510   (exit $ac_status); }; } &&
37511          { ac_try='test -s conftest.$ac_objext'
37512   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37513   (eval $ac_try) 2>&5
37514   ac_status=$?
37515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37516   (exit $ac_status); }; }; then
37517   glibcxx_cv_func__isinff_use=yes
37518 else
37519   echo "$as_me: failed program was:" >&5
37520 sed 's/^/| /' conftest.$ac_ext >&5
37521
37522 glibcxx_cv_func__isinff_use=no
37523 fi
37524 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37525       ac_ext=c
37526 ac_cpp='$CPP $CPPFLAGS'
37527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37530
37531
37532 fi
37533
37534   fi
37535   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
37536 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
37537
37538     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
37539
37540 for ac_func in _isinff
37541 do
37542 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37543 echo "$as_me:$LINENO: checking for $ac_func" >&5
37544 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37545 if eval "test \"\${$as_ac_var+set}\" = set"; then
37546   echo $ECHO_N "(cached) $ECHO_C" >&6
37547 else
37548   if test x$gcc_no_link = xyes; then
37549   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37550 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37551    { (exit 1); exit 1; }; }
37552 fi
37553 cat >conftest.$ac_ext <<_ACEOF
37554 /* confdefs.h.  */
37555 _ACEOF
37556 cat confdefs.h >>conftest.$ac_ext
37557 cat >>conftest.$ac_ext <<_ACEOF
37558 /* end confdefs.h.  */
37559 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37560    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37561 #define $ac_func innocuous_$ac_func
37562
37563 /* System header to define __stub macros and hopefully few prototypes,
37564     which can conflict with char $ac_func (); below.
37565     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37566     <limits.h> exists even on freestanding compilers.  */
37567
37568 #ifdef __STDC__
37569 # include <limits.h>
37570 #else
37571 # include <assert.h>
37572 #endif
37573
37574 #undef $ac_func
37575
37576 /* Override any gcc2 internal prototype to avoid an error.  */
37577 #ifdef __cplusplus
37578 extern "C"
37579 {
37580 #endif
37581 /* We use char because int might match the return type of a gcc2
37582    builtin and then its argument prototype would still apply.  */
37583 char $ac_func ();
37584 /* The GNU C library defines this for functions which it implements
37585     to always fail with ENOSYS.  Some functions are actually named
37586     something starting with __ and the normal name is an alias.  */
37587 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37588 choke me
37589 #else
37590 char (*f) () = $ac_func;
37591 #endif
37592 #ifdef __cplusplus
37593 }
37594 #endif
37595
37596 int
37597 main ()
37598 {
37599 return f != $ac_func;
37600   ;
37601   return 0;
37602 }
37603 _ACEOF
37604 rm -f conftest.$ac_objext conftest$ac_exeext
37605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37606   (eval $ac_link) 2>conftest.er1
37607   ac_status=$?
37608   grep -v '^ *+' conftest.er1 >conftest.err
37609   rm -f conftest.er1
37610   cat conftest.err >&5
37611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37612   (exit $ac_status); } &&
37613          { ac_try='test -z "$ac_c_werror_flag"
37614                          || test ! -s conftest.err'
37615   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37616   (eval $ac_try) 2>&5
37617   ac_status=$?
37618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37619   (exit $ac_status); }; } &&
37620          { ac_try='test -s conftest$ac_exeext'
37621   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37622   (eval $ac_try) 2>&5
37623   ac_status=$?
37624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37625   (exit $ac_status); }; }; then
37626   eval "$as_ac_var=yes"
37627 else
37628   echo "$as_me: failed program was:" >&5
37629 sed 's/^/| /' conftest.$ac_ext >&5
37630
37631 eval "$as_ac_var=no"
37632 fi
37633 rm -f conftest.err conftest.$ac_objext \
37634       conftest$ac_exeext conftest.$ac_ext
37635 fi
37636 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37637 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37638 if test `eval echo '${'$as_ac_var'}'` = yes; then
37639   cat >>confdefs.h <<_ACEOF
37640 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37641 _ACEOF
37642
37643 fi
37644 done
37645
37646     fi
37647   fi
37648
37649
37650
37651   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
37652 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
37653   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
37654     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
37655   echo $ECHO_N "(cached) $ECHO_C" >&6
37656 else
37657
37658
37659
37660       ac_ext=cc
37661 ac_cpp='$CXXCPP $CPPFLAGS'
37662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37665
37666       cat >conftest.$ac_ext <<_ACEOF
37667 /* confdefs.h.  */
37668 _ACEOF
37669 cat confdefs.h >>conftest.$ac_ext
37670 cat >>conftest.$ac_ext <<_ACEOF
37671 /* end confdefs.h.  */
37672 #include <math.h>
37673 int
37674 main ()
37675 {
37676  atan2f(0, 0);
37677   ;
37678   return 0;
37679 }
37680 _ACEOF
37681 rm -f conftest.$ac_objext
37682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37683   (eval $ac_compile) 2>conftest.er1
37684   ac_status=$?
37685   grep -v '^ *+' conftest.er1 >conftest.err
37686   rm -f conftest.er1
37687   cat conftest.err >&5
37688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37689   (exit $ac_status); } &&
37690          { ac_try='test -z "$ac_cxx_werror_flag"
37691                          || test ! -s conftest.err'
37692   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37693   (eval $ac_try) 2>&5
37694   ac_status=$?
37695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37696   (exit $ac_status); }; } &&
37697          { ac_try='test -s conftest.$ac_objext'
37698   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37699   (eval $ac_try) 2>&5
37700   ac_status=$?
37701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37702   (exit $ac_status); }; }; then
37703   glibcxx_cv_func_atan2f_use=yes
37704 else
37705   echo "$as_me: failed program was:" >&5
37706 sed 's/^/| /' conftest.$ac_ext >&5
37707
37708 glibcxx_cv_func_atan2f_use=no
37709 fi
37710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37711       ac_ext=c
37712 ac_cpp='$CPP $CPPFLAGS'
37713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37716
37717
37718 fi
37719
37720   fi
37721   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
37722 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
37723
37724   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
37725
37726 for ac_func in atan2f
37727 do
37728 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37729 echo "$as_me:$LINENO: checking for $ac_func" >&5
37730 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37731 if eval "test \"\${$as_ac_var+set}\" = set"; then
37732   echo $ECHO_N "(cached) $ECHO_C" >&6
37733 else
37734   if test x$gcc_no_link = xyes; then
37735   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37736 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37737    { (exit 1); exit 1; }; }
37738 fi
37739 cat >conftest.$ac_ext <<_ACEOF
37740 /* confdefs.h.  */
37741 _ACEOF
37742 cat confdefs.h >>conftest.$ac_ext
37743 cat >>conftest.$ac_ext <<_ACEOF
37744 /* end confdefs.h.  */
37745 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37746    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37747 #define $ac_func innocuous_$ac_func
37748
37749 /* System header to define __stub macros and hopefully few prototypes,
37750     which can conflict with char $ac_func (); below.
37751     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37752     <limits.h> exists even on freestanding compilers.  */
37753
37754 #ifdef __STDC__
37755 # include <limits.h>
37756 #else
37757 # include <assert.h>
37758 #endif
37759
37760 #undef $ac_func
37761
37762 /* Override any gcc2 internal prototype to avoid an error.  */
37763 #ifdef __cplusplus
37764 extern "C"
37765 {
37766 #endif
37767 /* We use char because int might match the return type of a gcc2
37768    builtin and then its argument prototype would still apply.  */
37769 char $ac_func ();
37770 /* The GNU C library defines this for functions which it implements
37771     to always fail with ENOSYS.  Some functions are actually named
37772     something starting with __ and the normal name is an alias.  */
37773 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37774 choke me
37775 #else
37776 char (*f) () = $ac_func;
37777 #endif
37778 #ifdef __cplusplus
37779 }
37780 #endif
37781
37782 int
37783 main ()
37784 {
37785 return f != $ac_func;
37786   ;
37787   return 0;
37788 }
37789 _ACEOF
37790 rm -f conftest.$ac_objext conftest$ac_exeext
37791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37792   (eval $ac_link) 2>conftest.er1
37793   ac_status=$?
37794   grep -v '^ *+' conftest.er1 >conftest.err
37795   rm -f conftest.er1
37796   cat conftest.err >&5
37797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37798   (exit $ac_status); } &&
37799          { ac_try='test -z "$ac_c_werror_flag"
37800                          || test ! -s conftest.err'
37801   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37802   (eval $ac_try) 2>&5
37803   ac_status=$?
37804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37805   (exit $ac_status); }; } &&
37806          { ac_try='test -s conftest$ac_exeext'
37807   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37808   (eval $ac_try) 2>&5
37809   ac_status=$?
37810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37811   (exit $ac_status); }; }; then
37812   eval "$as_ac_var=yes"
37813 else
37814   echo "$as_me: failed program was:" >&5
37815 sed 's/^/| /' conftest.$ac_ext >&5
37816
37817 eval "$as_ac_var=no"
37818 fi
37819 rm -f conftest.err conftest.$ac_objext \
37820       conftest$ac_exeext conftest.$ac_ext
37821 fi
37822 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37823 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37824 if test `eval echo '${'$as_ac_var'}'` = yes; then
37825   cat >>confdefs.h <<_ACEOF
37826 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37827 _ACEOF
37828
37829 fi
37830 done
37831
37832   else
37833
37834   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
37835 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
37836   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
37837     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
37838   echo $ECHO_N "(cached) $ECHO_C" >&6
37839 else
37840
37841
37842
37843       ac_ext=cc
37844 ac_cpp='$CXXCPP $CPPFLAGS'
37845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37848
37849       cat >conftest.$ac_ext <<_ACEOF
37850 /* confdefs.h.  */
37851 _ACEOF
37852 cat confdefs.h >>conftest.$ac_ext
37853 cat >>conftest.$ac_ext <<_ACEOF
37854 /* end confdefs.h.  */
37855 #include <math.h>
37856 int
37857 main ()
37858 {
37859  _atan2f(0, 0);
37860   ;
37861   return 0;
37862 }
37863 _ACEOF
37864 rm -f conftest.$ac_objext
37865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37866   (eval $ac_compile) 2>conftest.er1
37867   ac_status=$?
37868   grep -v '^ *+' conftest.er1 >conftest.err
37869   rm -f conftest.er1
37870   cat conftest.err >&5
37871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37872   (exit $ac_status); } &&
37873          { ac_try='test -z "$ac_cxx_werror_flag"
37874                          || test ! -s conftest.err'
37875   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37876   (eval $ac_try) 2>&5
37877   ac_status=$?
37878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37879   (exit $ac_status); }; } &&
37880          { ac_try='test -s conftest.$ac_objext'
37881   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37882   (eval $ac_try) 2>&5
37883   ac_status=$?
37884   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37885   (exit $ac_status); }; }; then
37886   glibcxx_cv_func__atan2f_use=yes
37887 else
37888   echo "$as_me: failed program was:" >&5
37889 sed 's/^/| /' conftest.$ac_ext >&5
37890
37891 glibcxx_cv_func__atan2f_use=no
37892 fi
37893 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37894       ac_ext=c
37895 ac_cpp='$CPP $CPPFLAGS'
37896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37899
37900
37901 fi
37902
37903   fi
37904   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
37905 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
37906
37907     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
37908
37909 for ac_func in _atan2f
37910 do
37911 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37912 echo "$as_me:$LINENO: checking for $ac_func" >&5
37913 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37914 if eval "test \"\${$as_ac_var+set}\" = set"; then
37915   echo $ECHO_N "(cached) $ECHO_C" >&6
37916 else
37917   if test x$gcc_no_link = xyes; then
37918   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37919 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37920    { (exit 1); exit 1; }; }
37921 fi
37922 cat >conftest.$ac_ext <<_ACEOF
37923 /* confdefs.h.  */
37924 _ACEOF
37925 cat confdefs.h >>conftest.$ac_ext
37926 cat >>conftest.$ac_ext <<_ACEOF
37927 /* end confdefs.h.  */
37928 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37929    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
37930 #define $ac_func innocuous_$ac_func
37931
37932 /* System header to define __stub macros and hopefully few prototypes,
37933     which can conflict with char $ac_func (); below.
37934     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37935     <limits.h> exists even on freestanding compilers.  */
37936
37937 #ifdef __STDC__
37938 # include <limits.h>
37939 #else
37940 # include <assert.h>
37941 #endif
37942
37943 #undef $ac_func
37944
37945 /* Override any gcc2 internal prototype to avoid an error.  */
37946 #ifdef __cplusplus
37947 extern "C"
37948 {
37949 #endif
37950 /* We use char because int might match the return type of a gcc2
37951    builtin and then its argument prototype would still apply.  */
37952 char $ac_func ();
37953 /* The GNU C library defines this for functions which it implements
37954     to always fail with ENOSYS.  Some functions are actually named
37955     something starting with __ and the normal name is an alias.  */
37956 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37957 choke me
37958 #else
37959 char (*f) () = $ac_func;
37960 #endif
37961 #ifdef __cplusplus
37962 }
37963 #endif
37964
37965 int
37966 main ()
37967 {
37968 return f != $ac_func;
37969   ;
37970   return 0;
37971 }
37972 _ACEOF
37973 rm -f conftest.$ac_objext conftest$ac_exeext
37974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37975   (eval $ac_link) 2>conftest.er1
37976   ac_status=$?
37977   grep -v '^ *+' conftest.er1 >conftest.err
37978   rm -f conftest.er1
37979   cat conftest.err >&5
37980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37981   (exit $ac_status); } &&
37982          { ac_try='test -z "$ac_c_werror_flag"
37983                          || test ! -s conftest.err'
37984   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37985   (eval $ac_try) 2>&5
37986   ac_status=$?
37987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37988   (exit $ac_status); }; } &&
37989          { ac_try='test -s conftest$ac_exeext'
37990   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37991   (eval $ac_try) 2>&5
37992   ac_status=$?
37993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
37994   (exit $ac_status); }; }; then
37995   eval "$as_ac_var=yes"
37996 else
37997   echo "$as_me: failed program was:" >&5
37998 sed 's/^/| /' conftest.$ac_ext >&5
37999
38000 eval "$as_ac_var=no"
38001 fi
38002 rm -f conftest.err conftest.$ac_objext \
38003       conftest$ac_exeext conftest.$ac_ext
38004 fi
38005 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38006 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38007 if test `eval echo '${'$as_ac_var'}'` = yes; then
38008   cat >>confdefs.h <<_ACEOF
38009 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38010 _ACEOF
38011
38012 fi
38013 done
38014
38015     fi
38016   fi
38017
38018
38019
38020   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
38021 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
38022   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
38023     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
38024   echo $ECHO_N "(cached) $ECHO_C" >&6
38025 else
38026
38027
38028
38029       ac_ext=cc
38030 ac_cpp='$CXXCPP $CPPFLAGS'
38031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38034
38035       cat >conftest.$ac_ext <<_ACEOF
38036 /* confdefs.h.  */
38037 _ACEOF
38038 cat confdefs.h >>conftest.$ac_ext
38039 cat >>conftest.$ac_ext <<_ACEOF
38040 /* end confdefs.h.  */
38041 #include <math.h>
38042                       #ifdef HAVE_IEEEFP_H
38043                       #include <ieeefp.h>
38044                       #endif
38045
38046 int
38047 main ()
38048 {
38049  fabsf(0);
38050   ;
38051   return 0;
38052 }
38053 _ACEOF
38054 rm -f conftest.$ac_objext
38055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38056   (eval $ac_compile) 2>conftest.er1
38057   ac_status=$?
38058   grep -v '^ *+' conftest.er1 >conftest.err
38059   rm -f conftest.er1
38060   cat conftest.err >&5
38061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38062   (exit $ac_status); } &&
38063          { ac_try='test -z "$ac_cxx_werror_flag"
38064                          || test ! -s conftest.err'
38065   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38066   (eval $ac_try) 2>&5
38067   ac_status=$?
38068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38069   (exit $ac_status); }; } &&
38070          { ac_try='test -s conftest.$ac_objext'
38071   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38072   (eval $ac_try) 2>&5
38073   ac_status=$?
38074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38075   (exit $ac_status); }; }; then
38076   glibcxx_cv_func_fabsf_use=yes
38077 else
38078   echo "$as_me: failed program was:" >&5
38079 sed 's/^/| /' conftest.$ac_ext >&5
38080
38081 glibcxx_cv_func_fabsf_use=no
38082 fi
38083 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38084       ac_ext=c
38085 ac_cpp='$CPP $CPPFLAGS'
38086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38089
38090
38091 fi
38092
38093   fi
38094   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
38095 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
38096
38097   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
38098
38099 for ac_func in fabsf
38100 do
38101 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38102 echo "$as_me:$LINENO: checking for $ac_func" >&5
38103 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38104 if eval "test \"\${$as_ac_var+set}\" = set"; then
38105   echo $ECHO_N "(cached) $ECHO_C" >&6
38106 else
38107   if test x$gcc_no_link = xyes; then
38108   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38109 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38110    { (exit 1); exit 1; }; }
38111 fi
38112 cat >conftest.$ac_ext <<_ACEOF
38113 /* confdefs.h.  */
38114 _ACEOF
38115 cat confdefs.h >>conftest.$ac_ext
38116 cat >>conftest.$ac_ext <<_ACEOF
38117 /* end confdefs.h.  */
38118 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38119    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38120 #define $ac_func innocuous_$ac_func
38121
38122 /* System header to define __stub macros and hopefully few prototypes,
38123     which can conflict with char $ac_func (); below.
38124     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38125     <limits.h> exists even on freestanding compilers.  */
38126
38127 #ifdef __STDC__
38128 # include <limits.h>
38129 #else
38130 # include <assert.h>
38131 #endif
38132
38133 #undef $ac_func
38134
38135 /* Override any gcc2 internal prototype to avoid an error.  */
38136 #ifdef __cplusplus
38137 extern "C"
38138 {
38139 #endif
38140 /* We use char because int might match the return type of a gcc2
38141    builtin and then its argument prototype would still apply.  */
38142 char $ac_func ();
38143 /* The GNU C library defines this for functions which it implements
38144     to always fail with ENOSYS.  Some functions are actually named
38145     something starting with __ and the normal name is an alias.  */
38146 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38147 choke me
38148 #else
38149 char (*f) () = $ac_func;
38150 #endif
38151 #ifdef __cplusplus
38152 }
38153 #endif
38154
38155 int
38156 main ()
38157 {
38158 return f != $ac_func;
38159   ;
38160   return 0;
38161 }
38162 _ACEOF
38163 rm -f conftest.$ac_objext conftest$ac_exeext
38164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38165   (eval $ac_link) 2>conftest.er1
38166   ac_status=$?
38167   grep -v '^ *+' conftest.er1 >conftest.err
38168   rm -f conftest.er1
38169   cat conftest.err >&5
38170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38171   (exit $ac_status); } &&
38172          { ac_try='test -z "$ac_c_werror_flag"
38173                          || test ! -s conftest.err'
38174   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38175   (eval $ac_try) 2>&5
38176   ac_status=$?
38177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38178   (exit $ac_status); }; } &&
38179          { ac_try='test -s conftest$ac_exeext'
38180   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38181   (eval $ac_try) 2>&5
38182   ac_status=$?
38183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38184   (exit $ac_status); }; }; then
38185   eval "$as_ac_var=yes"
38186 else
38187   echo "$as_me: failed program was:" >&5
38188 sed 's/^/| /' conftest.$ac_ext >&5
38189
38190 eval "$as_ac_var=no"
38191 fi
38192 rm -f conftest.err conftest.$ac_objext \
38193       conftest$ac_exeext conftest.$ac_ext
38194 fi
38195 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38196 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38197 if test `eval echo '${'$as_ac_var'}'` = yes; then
38198   cat >>confdefs.h <<_ACEOF
38199 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38200 _ACEOF
38201
38202 fi
38203 done
38204
38205   else
38206
38207   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
38208 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
38209   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
38210     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
38211   echo $ECHO_N "(cached) $ECHO_C" >&6
38212 else
38213
38214
38215
38216       ac_ext=cc
38217 ac_cpp='$CXXCPP $CPPFLAGS'
38218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38221
38222       cat >conftest.$ac_ext <<_ACEOF
38223 /* confdefs.h.  */
38224 _ACEOF
38225 cat confdefs.h >>conftest.$ac_ext
38226 cat >>conftest.$ac_ext <<_ACEOF
38227 /* end confdefs.h.  */
38228 #include <math.h>
38229                       #ifdef HAVE_IEEEFP_H
38230                       #include <ieeefp.h>
38231                       #endif
38232
38233 int
38234 main ()
38235 {
38236  _fabsf(0);
38237   ;
38238   return 0;
38239 }
38240 _ACEOF
38241 rm -f conftest.$ac_objext
38242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38243   (eval $ac_compile) 2>conftest.er1
38244   ac_status=$?
38245   grep -v '^ *+' conftest.er1 >conftest.err
38246   rm -f conftest.er1
38247   cat conftest.err >&5
38248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38249   (exit $ac_status); } &&
38250          { ac_try='test -z "$ac_cxx_werror_flag"
38251                          || test ! -s conftest.err'
38252   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38253   (eval $ac_try) 2>&5
38254   ac_status=$?
38255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38256   (exit $ac_status); }; } &&
38257          { ac_try='test -s conftest.$ac_objext'
38258   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38259   (eval $ac_try) 2>&5
38260   ac_status=$?
38261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38262   (exit $ac_status); }; }; then
38263   glibcxx_cv_func__fabsf_use=yes
38264 else
38265   echo "$as_me: failed program was:" >&5
38266 sed 's/^/| /' conftest.$ac_ext >&5
38267
38268 glibcxx_cv_func__fabsf_use=no
38269 fi
38270 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38271       ac_ext=c
38272 ac_cpp='$CPP $CPPFLAGS'
38273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38276
38277
38278 fi
38279
38280   fi
38281   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
38282 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
38283
38284     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
38285
38286 for ac_func in _fabsf
38287 do
38288 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38289 echo "$as_me:$LINENO: checking for $ac_func" >&5
38290 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38291 if eval "test \"\${$as_ac_var+set}\" = set"; then
38292   echo $ECHO_N "(cached) $ECHO_C" >&6
38293 else
38294   if test x$gcc_no_link = xyes; then
38295   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38296 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38297    { (exit 1); exit 1; }; }
38298 fi
38299 cat >conftest.$ac_ext <<_ACEOF
38300 /* confdefs.h.  */
38301 _ACEOF
38302 cat confdefs.h >>conftest.$ac_ext
38303 cat >>conftest.$ac_ext <<_ACEOF
38304 /* end confdefs.h.  */
38305 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38306    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38307 #define $ac_func innocuous_$ac_func
38308
38309 /* System header to define __stub macros and hopefully few prototypes,
38310     which can conflict with char $ac_func (); below.
38311     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38312     <limits.h> exists even on freestanding compilers.  */
38313
38314 #ifdef __STDC__
38315 # include <limits.h>
38316 #else
38317 # include <assert.h>
38318 #endif
38319
38320 #undef $ac_func
38321
38322 /* Override any gcc2 internal prototype to avoid an error.  */
38323 #ifdef __cplusplus
38324 extern "C"
38325 {
38326 #endif
38327 /* We use char because int might match the return type of a gcc2
38328    builtin and then its argument prototype would still apply.  */
38329 char $ac_func ();
38330 /* The GNU C library defines this for functions which it implements
38331     to always fail with ENOSYS.  Some functions are actually named
38332     something starting with __ and the normal name is an alias.  */
38333 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38334 choke me
38335 #else
38336 char (*f) () = $ac_func;
38337 #endif
38338 #ifdef __cplusplus
38339 }
38340 #endif
38341
38342 int
38343 main ()
38344 {
38345 return f != $ac_func;
38346   ;
38347   return 0;
38348 }
38349 _ACEOF
38350 rm -f conftest.$ac_objext conftest$ac_exeext
38351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38352   (eval $ac_link) 2>conftest.er1
38353   ac_status=$?
38354   grep -v '^ *+' conftest.er1 >conftest.err
38355   rm -f conftest.er1
38356   cat conftest.err >&5
38357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38358   (exit $ac_status); } &&
38359          { ac_try='test -z "$ac_c_werror_flag"
38360                          || test ! -s conftest.err'
38361   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38362   (eval $ac_try) 2>&5
38363   ac_status=$?
38364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38365   (exit $ac_status); }; } &&
38366          { ac_try='test -s conftest$ac_exeext'
38367   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38368   (eval $ac_try) 2>&5
38369   ac_status=$?
38370   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38371   (exit $ac_status); }; }; then
38372   eval "$as_ac_var=yes"
38373 else
38374   echo "$as_me: failed program was:" >&5
38375 sed 's/^/| /' conftest.$ac_ext >&5
38376
38377 eval "$as_ac_var=no"
38378 fi
38379 rm -f conftest.err conftest.$ac_objext \
38380       conftest$ac_exeext conftest.$ac_ext
38381 fi
38382 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38383 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38384 if test `eval echo '${'$as_ac_var'}'` = yes; then
38385   cat >>confdefs.h <<_ACEOF
38386 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38387 _ACEOF
38388
38389 fi
38390 done
38391
38392     fi
38393   fi
38394
38395
38396
38397   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
38398 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
38399   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
38400     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
38401   echo $ECHO_N "(cached) $ECHO_C" >&6
38402 else
38403
38404
38405
38406       ac_ext=cc
38407 ac_cpp='$CXXCPP $CPPFLAGS'
38408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38411
38412       cat >conftest.$ac_ext <<_ACEOF
38413 /* confdefs.h.  */
38414 _ACEOF
38415 cat confdefs.h >>conftest.$ac_ext
38416 cat >>conftest.$ac_ext <<_ACEOF
38417 /* end confdefs.h.  */
38418 #include <math.h>
38419 int
38420 main ()
38421 {
38422  fmodf(0, 0);
38423   ;
38424   return 0;
38425 }
38426 _ACEOF
38427 rm -f conftest.$ac_objext
38428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38429   (eval $ac_compile) 2>conftest.er1
38430   ac_status=$?
38431   grep -v '^ *+' conftest.er1 >conftest.err
38432   rm -f conftest.er1
38433   cat conftest.err >&5
38434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38435   (exit $ac_status); } &&
38436          { ac_try='test -z "$ac_cxx_werror_flag"
38437                          || test ! -s conftest.err'
38438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38439   (eval $ac_try) 2>&5
38440   ac_status=$?
38441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38442   (exit $ac_status); }; } &&
38443          { ac_try='test -s conftest.$ac_objext'
38444   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38445   (eval $ac_try) 2>&5
38446   ac_status=$?
38447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38448   (exit $ac_status); }; }; then
38449   glibcxx_cv_func_fmodf_use=yes
38450 else
38451   echo "$as_me: failed program was:" >&5
38452 sed 's/^/| /' conftest.$ac_ext >&5
38453
38454 glibcxx_cv_func_fmodf_use=no
38455 fi
38456 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38457       ac_ext=c
38458 ac_cpp='$CPP $CPPFLAGS'
38459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38462
38463
38464 fi
38465
38466   fi
38467   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
38468 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
38469
38470   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
38471
38472 for ac_func in fmodf
38473 do
38474 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38475 echo "$as_me:$LINENO: checking for $ac_func" >&5
38476 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38477 if eval "test \"\${$as_ac_var+set}\" = set"; then
38478   echo $ECHO_N "(cached) $ECHO_C" >&6
38479 else
38480   if test x$gcc_no_link = xyes; then
38481   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38482 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38483    { (exit 1); exit 1; }; }
38484 fi
38485 cat >conftest.$ac_ext <<_ACEOF
38486 /* confdefs.h.  */
38487 _ACEOF
38488 cat confdefs.h >>conftest.$ac_ext
38489 cat >>conftest.$ac_ext <<_ACEOF
38490 /* end confdefs.h.  */
38491 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38492    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38493 #define $ac_func innocuous_$ac_func
38494
38495 /* System header to define __stub macros and hopefully few prototypes,
38496     which can conflict with char $ac_func (); below.
38497     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38498     <limits.h> exists even on freestanding compilers.  */
38499
38500 #ifdef __STDC__
38501 # include <limits.h>
38502 #else
38503 # include <assert.h>
38504 #endif
38505
38506 #undef $ac_func
38507
38508 /* Override any gcc2 internal prototype to avoid an error.  */
38509 #ifdef __cplusplus
38510 extern "C"
38511 {
38512 #endif
38513 /* We use char because int might match the return type of a gcc2
38514    builtin and then its argument prototype would still apply.  */
38515 char $ac_func ();
38516 /* The GNU C library defines this for functions which it implements
38517     to always fail with ENOSYS.  Some functions are actually named
38518     something starting with __ and the normal name is an alias.  */
38519 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38520 choke me
38521 #else
38522 char (*f) () = $ac_func;
38523 #endif
38524 #ifdef __cplusplus
38525 }
38526 #endif
38527
38528 int
38529 main ()
38530 {
38531 return f != $ac_func;
38532   ;
38533   return 0;
38534 }
38535 _ACEOF
38536 rm -f conftest.$ac_objext conftest$ac_exeext
38537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38538   (eval $ac_link) 2>conftest.er1
38539   ac_status=$?
38540   grep -v '^ *+' conftest.er1 >conftest.err
38541   rm -f conftest.er1
38542   cat conftest.err >&5
38543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38544   (exit $ac_status); } &&
38545          { ac_try='test -z "$ac_c_werror_flag"
38546                          || test ! -s conftest.err'
38547   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38548   (eval $ac_try) 2>&5
38549   ac_status=$?
38550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38551   (exit $ac_status); }; } &&
38552          { ac_try='test -s conftest$ac_exeext'
38553   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38554   (eval $ac_try) 2>&5
38555   ac_status=$?
38556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38557   (exit $ac_status); }; }; then
38558   eval "$as_ac_var=yes"
38559 else
38560   echo "$as_me: failed program was:" >&5
38561 sed 's/^/| /' conftest.$ac_ext >&5
38562
38563 eval "$as_ac_var=no"
38564 fi
38565 rm -f conftest.err conftest.$ac_objext \
38566       conftest$ac_exeext conftest.$ac_ext
38567 fi
38568 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38569 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38570 if test `eval echo '${'$as_ac_var'}'` = yes; then
38571   cat >>confdefs.h <<_ACEOF
38572 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38573 _ACEOF
38574
38575 fi
38576 done
38577
38578   else
38579
38580   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
38581 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
38582   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
38583     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
38584   echo $ECHO_N "(cached) $ECHO_C" >&6
38585 else
38586
38587
38588
38589       ac_ext=cc
38590 ac_cpp='$CXXCPP $CPPFLAGS'
38591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38594
38595       cat >conftest.$ac_ext <<_ACEOF
38596 /* confdefs.h.  */
38597 _ACEOF
38598 cat confdefs.h >>conftest.$ac_ext
38599 cat >>conftest.$ac_ext <<_ACEOF
38600 /* end confdefs.h.  */
38601 #include <math.h>
38602 int
38603 main ()
38604 {
38605  _fmodf(0, 0);
38606   ;
38607   return 0;
38608 }
38609 _ACEOF
38610 rm -f conftest.$ac_objext
38611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38612   (eval $ac_compile) 2>conftest.er1
38613   ac_status=$?
38614   grep -v '^ *+' conftest.er1 >conftest.err
38615   rm -f conftest.er1
38616   cat conftest.err >&5
38617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38618   (exit $ac_status); } &&
38619          { ac_try='test -z "$ac_cxx_werror_flag"
38620                          || test ! -s conftest.err'
38621   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38622   (eval $ac_try) 2>&5
38623   ac_status=$?
38624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38625   (exit $ac_status); }; } &&
38626          { ac_try='test -s conftest.$ac_objext'
38627   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38628   (eval $ac_try) 2>&5
38629   ac_status=$?
38630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38631   (exit $ac_status); }; }; then
38632   glibcxx_cv_func__fmodf_use=yes
38633 else
38634   echo "$as_me: failed program was:" >&5
38635 sed 's/^/| /' conftest.$ac_ext >&5
38636
38637 glibcxx_cv_func__fmodf_use=no
38638 fi
38639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38640       ac_ext=c
38641 ac_cpp='$CPP $CPPFLAGS'
38642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38645
38646
38647 fi
38648
38649   fi
38650   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
38651 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
38652
38653     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
38654
38655 for ac_func in _fmodf
38656 do
38657 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38658 echo "$as_me:$LINENO: checking for $ac_func" >&5
38659 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38660 if eval "test \"\${$as_ac_var+set}\" = set"; then
38661   echo $ECHO_N "(cached) $ECHO_C" >&6
38662 else
38663   if test x$gcc_no_link = xyes; then
38664   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38665 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38666    { (exit 1); exit 1; }; }
38667 fi
38668 cat >conftest.$ac_ext <<_ACEOF
38669 /* confdefs.h.  */
38670 _ACEOF
38671 cat confdefs.h >>conftest.$ac_ext
38672 cat >>conftest.$ac_ext <<_ACEOF
38673 /* end confdefs.h.  */
38674 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38675    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38676 #define $ac_func innocuous_$ac_func
38677
38678 /* System header to define __stub macros and hopefully few prototypes,
38679     which can conflict with char $ac_func (); below.
38680     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38681     <limits.h> exists even on freestanding compilers.  */
38682
38683 #ifdef __STDC__
38684 # include <limits.h>
38685 #else
38686 # include <assert.h>
38687 #endif
38688
38689 #undef $ac_func
38690
38691 /* Override any gcc2 internal prototype to avoid an error.  */
38692 #ifdef __cplusplus
38693 extern "C"
38694 {
38695 #endif
38696 /* We use char because int might match the return type of a gcc2
38697    builtin and then its argument prototype would still apply.  */
38698 char $ac_func ();
38699 /* The GNU C library defines this for functions which it implements
38700     to always fail with ENOSYS.  Some functions are actually named
38701     something starting with __ and the normal name is an alias.  */
38702 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38703 choke me
38704 #else
38705 char (*f) () = $ac_func;
38706 #endif
38707 #ifdef __cplusplus
38708 }
38709 #endif
38710
38711 int
38712 main ()
38713 {
38714 return f != $ac_func;
38715   ;
38716   return 0;
38717 }
38718 _ACEOF
38719 rm -f conftest.$ac_objext conftest$ac_exeext
38720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38721   (eval $ac_link) 2>conftest.er1
38722   ac_status=$?
38723   grep -v '^ *+' conftest.er1 >conftest.err
38724   rm -f conftest.er1
38725   cat conftest.err >&5
38726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38727   (exit $ac_status); } &&
38728          { ac_try='test -z "$ac_c_werror_flag"
38729                          || test ! -s conftest.err'
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); }; } &&
38735          { ac_try='test -s conftest$ac_exeext'
38736   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38737   (eval $ac_try) 2>&5
38738   ac_status=$?
38739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38740   (exit $ac_status); }; }; then
38741   eval "$as_ac_var=yes"
38742 else
38743   echo "$as_me: failed program was:" >&5
38744 sed 's/^/| /' conftest.$ac_ext >&5
38745
38746 eval "$as_ac_var=no"
38747 fi
38748 rm -f conftest.err conftest.$ac_objext \
38749       conftest$ac_exeext conftest.$ac_ext
38750 fi
38751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38752 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38753 if test `eval echo '${'$as_ac_var'}'` = yes; then
38754   cat >>confdefs.h <<_ACEOF
38755 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38756 _ACEOF
38757
38758 fi
38759 done
38760
38761     fi
38762   fi
38763
38764
38765
38766   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
38767 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
38768   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
38769     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
38770   echo $ECHO_N "(cached) $ECHO_C" >&6
38771 else
38772
38773
38774
38775       ac_ext=cc
38776 ac_cpp='$CXXCPP $CPPFLAGS'
38777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38780
38781       cat >conftest.$ac_ext <<_ACEOF
38782 /* confdefs.h.  */
38783 _ACEOF
38784 cat confdefs.h >>conftest.$ac_ext
38785 cat >>conftest.$ac_ext <<_ACEOF
38786 /* end confdefs.h.  */
38787 #include <math.h>
38788 int
38789 main ()
38790 {
38791  frexpf(0, 0);
38792   ;
38793   return 0;
38794 }
38795 _ACEOF
38796 rm -f conftest.$ac_objext
38797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38798   (eval $ac_compile) 2>conftest.er1
38799   ac_status=$?
38800   grep -v '^ *+' conftest.er1 >conftest.err
38801   rm -f conftest.er1
38802   cat conftest.err >&5
38803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38804   (exit $ac_status); } &&
38805          { ac_try='test -z "$ac_cxx_werror_flag"
38806                          || test ! -s conftest.err'
38807   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38808   (eval $ac_try) 2>&5
38809   ac_status=$?
38810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38811   (exit $ac_status); }; } &&
38812          { ac_try='test -s conftest.$ac_objext'
38813   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38814   (eval $ac_try) 2>&5
38815   ac_status=$?
38816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38817   (exit $ac_status); }; }; then
38818   glibcxx_cv_func_frexpf_use=yes
38819 else
38820   echo "$as_me: failed program was:" >&5
38821 sed 's/^/| /' conftest.$ac_ext >&5
38822
38823 glibcxx_cv_func_frexpf_use=no
38824 fi
38825 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38826       ac_ext=c
38827 ac_cpp='$CPP $CPPFLAGS'
38828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38831
38832
38833 fi
38834
38835   fi
38836   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
38837 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
38838
38839   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
38840
38841 for ac_func in frexpf
38842 do
38843 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38844 echo "$as_me:$LINENO: checking for $ac_func" >&5
38845 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38846 if eval "test \"\${$as_ac_var+set}\" = set"; then
38847   echo $ECHO_N "(cached) $ECHO_C" >&6
38848 else
38849   if test x$gcc_no_link = xyes; then
38850   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38851 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38852    { (exit 1); exit 1; }; }
38853 fi
38854 cat >conftest.$ac_ext <<_ACEOF
38855 /* confdefs.h.  */
38856 _ACEOF
38857 cat confdefs.h >>conftest.$ac_ext
38858 cat >>conftest.$ac_ext <<_ACEOF
38859 /* end confdefs.h.  */
38860 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38861    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
38862 #define $ac_func innocuous_$ac_func
38863
38864 /* System header to define __stub macros and hopefully few prototypes,
38865     which can conflict with char $ac_func (); below.
38866     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38867     <limits.h> exists even on freestanding compilers.  */
38868
38869 #ifdef __STDC__
38870 # include <limits.h>
38871 #else
38872 # include <assert.h>
38873 #endif
38874
38875 #undef $ac_func
38876
38877 /* Override any gcc2 internal prototype to avoid an error.  */
38878 #ifdef __cplusplus
38879 extern "C"
38880 {
38881 #endif
38882 /* We use char because int might match the return type of a gcc2
38883    builtin and then its argument prototype would still apply.  */
38884 char $ac_func ();
38885 /* The GNU C library defines this for functions which it implements
38886     to always fail with ENOSYS.  Some functions are actually named
38887     something starting with __ and the normal name is an alias.  */
38888 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38889 choke me
38890 #else
38891 char (*f) () = $ac_func;
38892 #endif
38893 #ifdef __cplusplus
38894 }
38895 #endif
38896
38897 int
38898 main ()
38899 {
38900 return f != $ac_func;
38901   ;
38902   return 0;
38903 }
38904 _ACEOF
38905 rm -f conftest.$ac_objext conftest$ac_exeext
38906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38907   (eval $ac_link) 2>conftest.er1
38908   ac_status=$?
38909   grep -v '^ *+' conftest.er1 >conftest.err
38910   rm -f conftest.er1
38911   cat conftest.err >&5
38912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38913   (exit $ac_status); } &&
38914          { ac_try='test -z "$ac_c_werror_flag"
38915                          || test ! -s conftest.err'
38916   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38917   (eval $ac_try) 2>&5
38918   ac_status=$?
38919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38920   (exit $ac_status); }; } &&
38921          { ac_try='test -s conftest$ac_exeext'
38922   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38923   (eval $ac_try) 2>&5
38924   ac_status=$?
38925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38926   (exit $ac_status); }; }; then
38927   eval "$as_ac_var=yes"
38928 else
38929   echo "$as_me: failed program was:" >&5
38930 sed 's/^/| /' conftest.$ac_ext >&5
38931
38932 eval "$as_ac_var=no"
38933 fi
38934 rm -f conftest.err conftest.$ac_objext \
38935       conftest$ac_exeext conftest.$ac_ext
38936 fi
38937 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38938 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38939 if test `eval echo '${'$as_ac_var'}'` = yes; then
38940   cat >>confdefs.h <<_ACEOF
38941 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38942 _ACEOF
38943
38944 fi
38945 done
38946
38947   else
38948
38949   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
38950 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
38951   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
38952     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
38953   echo $ECHO_N "(cached) $ECHO_C" >&6
38954 else
38955
38956
38957
38958       ac_ext=cc
38959 ac_cpp='$CXXCPP $CPPFLAGS'
38960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38963
38964       cat >conftest.$ac_ext <<_ACEOF
38965 /* confdefs.h.  */
38966 _ACEOF
38967 cat confdefs.h >>conftest.$ac_ext
38968 cat >>conftest.$ac_ext <<_ACEOF
38969 /* end confdefs.h.  */
38970 #include <math.h>
38971 int
38972 main ()
38973 {
38974  _frexpf(0, 0);
38975   ;
38976   return 0;
38977 }
38978 _ACEOF
38979 rm -f conftest.$ac_objext
38980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38981   (eval $ac_compile) 2>conftest.er1
38982   ac_status=$?
38983   grep -v '^ *+' conftest.er1 >conftest.err
38984   rm -f conftest.er1
38985   cat conftest.err >&5
38986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38987   (exit $ac_status); } &&
38988          { ac_try='test -z "$ac_cxx_werror_flag"
38989                          || test ! -s conftest.err'
38990   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38991   (eval $ac_try) 2>&5
38992   ac_status=$?
38993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
38994   (exit $ac_status); }; } &&
38995          { ac_try='test -s conftest.$ac_objext'
38996   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38997   (eval $ac_try) 2>&5
38998   ac_status=$?
38999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39000   (exit $ac_status); }; }; then
39001   glibcxx_cv_func__frexpf_use=yes
39002 else
39003   echo "$as_me: failed program was:" >&5
39004 sed 's/^/| /' conftest.$ac_ext >&5
39005
39006 glibcxx_cv_func__frexpf_use=no
39007 fi
39008 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39009       ac_ext=c
39010 ac_cpp='$CPP $CPPFLAGS'
39011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39014
39015
39016 fi
39017
39018   fi
39019   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
39020 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
39021
39022     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
39023
39024 for ac_func in _frexpf
39025 do
39026 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39027 echo "$as_me:$LINENO: checking for $ac_func" >&5
39028 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39029 if eval "test \"\${$as_ac_var+set}\" = set"; then
39030   echo $ECHO_N "(cached) $ECHO_C" >&6
39031 else
39032   if test x$gcc_no_link = xyes; then
39033   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39034 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39035    { (exit 1); exit 1; }; }
39036 fi
39037 cat >conftest.$ac_ext <<_ACEOF
39038 /* confdefs.h.  */
39039 _ACEOF
39040 cat confdefs.h >>conftest.$ac_ext
39041 cat >>conftest.$ac_ext <<_ACEOF
39042 /* end confdefs.h.  */
39043 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39044    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39045 #define $ac_func innocuous_$ac_func
39046
39047 /* System header to define __stub macros and hopefully few prototypes,
39048     which can conflict with char $ac_func (); below.
39049     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39050     <limits.h> exists even on freestanding compilers.  */
39051
39052 #ifdef __STDC__
39053 # include <limits.h>
39054 #else
39055 # include <assert.h>
39056 #endif
39057
39058 #undef $ac_func
39059
39060 /* Override any gcc2 internal prototype to avoid an error.  */
39061 #ifdef __cplusplus
39062 extern "C"
39063 {
39064 #endif
39065 /* We use char because int might match the return type of a gcc2
39066    builtin and then its argument prototype would still apply.  */
39067 char $ac_func ();
39068 /* The GNU C library defines this for functions which it implements
39069     to always fail with ENOSYS.  Some functions are actually named
39070     something starting with __ and the normal name is an alias.  */
39071 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39072 choke me
39073 #else
39074 char (*f) () = $ac_func;
39075 #endif
39076 #ifdef __cplusplus
39077 }
39078 #endif
39079
39080 int
39081 main ()
39082 {
39083 return f != $ac_func;
39084   ;
39085   return 0;
39086 }
39087 _ACEOF
39088 rm -f conftest.$ac_objext conftest$ac_exeext
39089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39090   (eval $ac_link) 2>conftest.er1
39091   ac_status=$?
39092   grep -v '^ *+' conftest.er1 >conftest.err
39093   rm -f conftest.er1
39094   cat conftest.err >&5
39095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39096   (exit $ac_status); } &&
39097          { ac_try='test -z "$ac_c_werror_flag"
39098                          || test ! -s conftest.err'
39099   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39100   (eval $ac_try) 2>&5
39101   ac_status=$?
39102   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39103   (exit $ac_status); }; } &&
39104          { ac_try='test -s conftest$ac_exeext'
39105   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39106   (eval $ac_try) 2>&5
39107   ac_status=$?
39108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39109   (exit $ac_status); }; }; then
39110   eval "$as_ac_var=yes"
39111 else
39112   echo "$as_me: failed program was:" >&5
39113 sed 's/^/| /' conftest.$ac_ext >&5
39114
39115 eval "$as_ac_var=no"
39116 fi
39117 rm -f conftest.err conftest.$ac_objext \
39118       conftest$ac_exeext conftest.$ac_ext
39119 fi
39120 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39121 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39122 if test `eval echo '${'$as_ac_var'}'` = yes; then
39123   cat >>confdefs.h <<_ACEOF
39124 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39125 _ACEOF
39126
39127 fi
39128 done
39129
39130     fi
39131   fi
39132
39133
39134
39135   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
39136 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
39137   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
39138     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
39139   echo $ECHO_N "(cached) $ECHO_C" >&6
39140 else
39141
39142
39143
39144       ac_ext=cc
39145 ac_cpp='$CXXCPP $CPPFLAGS'
39146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39149
39150       cat >conftest.$ac_ext <<_ACEOF
39151 /* confdefs.h.  */
39152 _ACEOF
39153 cat confdefs.h >>conftest.$ac_ext
39154 cat >>conftest.$ac_ext <<_ACEOF
39155 /* end confdefs.h.  */
39156 #include <math.h>
39157 int
39158 main ()
39159 {
39160  hypotf(0, 0);
39161   ;
39162   return 0;
39163 }
39164 _ACEOF
39165 rm -f conftest.$ac_objext
39166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39167   (eval $ac_compile) 2>conftest.er1
39168   ac_status=$?
39169   grep -v '^ *+' conftest.er1 >conftest.err
39170   rm -f conftest.er1
39171   cat conftest.err >&5
39172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39173   (exit $ac_status); } &&
39174          { ac_try='test -z "$ac_cxx_werror_flag"
39175                          || test ! -s conftest.err'
39176   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39177   (eval $ac_try) 2>&5
39178   ac_status=$?
39179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39180   (exit $ac_status); }; } &&
39181          { ac_try='test -s conftest.$ac_objext'
39182   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39183   (eval $ac_try) 2>&5
39184   ac_status=$?
39185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39186   (exit $ac_status); }; }; then
39187   glibcxx_cv_func_hypotf_use=yes
39188 else
39189   echo "$as_me: failed program was:" >&5
39190 sed 's/^/| /' conftest.$ac_ext >&5
39191
39192 glibcxx_cv_func_hypotf_use=no
39193 fi
39194 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39195       ac_ext=c
39196 ac_cpp='$CPP $CPPFLAGS'
39197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39200
39201
39202 fi
39203
39204   fi
39205   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
39206 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
39207
39208   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
39209
39210 for ac_func in hypotf
39211 do
39212 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39213 echo "$as_me:$LINENO: checking for $ac_func" >&5
39214 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39215 if eval "test \"\${$as_ac_var+set}\" = set"; then
39216   echo $ECHO_N "(cached) $ECHO_C" >&6
39217 else
39218   if test x$gcc_no_link = xyes; then
39219   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39220 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39221    { (exit 1); exit 1; }; }
39222 fi
39223 cat >conftest.$ac_ext <<_ACEOF
39224 /* confdefs.h.  */
39225 _ACEOF
39226 cat confdefs.h >>conftest.$ac_ext
39227 cat >>conftest.$ac_ext <<_ACEOF
39228 /* end confdefs.h.  */
39229 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39230    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39231 #define $ac_func innocuous_$ac_func
39232
39233 /* System header to define __stub macros and hopefully few prototypes,
39234     which can conflict with char $ac_func (); below.
39235     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39236     <limits.h> exists even on freestanding compilers.  */
39237
39238 #ifdef __STDC__
39239 # include <limits.h>
39240 #else
39241 # include <assert.h>
39242 #endif
39243
39244 #undef $ac_func
39245
39246 /* Override any gcc2 internal prototype to avoid an error.  */
39247 #ifdef __cplusplus
39248 extern "C"
39249 {
39250 #endif
39251 /* We use char because int might match the return type of a gcc2
39252    builtin and then its argument prototype would still apply.  */
39253 char $ac_func ();
39254 /* The GNU C library defines this for functions which it implements
39255     to always fail with ENOSYS.  Some functions are actually named
39256     something starting with __ and the normal name is an alias.  */
39257 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39258 choke me
39259 #else
39260 char (*f) () = $ac_func;
39261 #endif
39262 #ifdef __cplusplus
39263 }
39264 #endif
39265
39266 int
39267 main ()
39268 {
39269 return f != $ac_func;
39270   ;
39271   return 0;
39272 }
39273 _ACEOF
39274 rm -f conftest.$ac_objext conftest$ac_exeext
39275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39276   (eval $ac_link) 2>conftest.er1
39277   ac_status=$?
39278   grep -v '^ *+' conftest.er1 >conftest.err
39279   rm -f conftest.er1
39280   cat conftest.err >&5
39281   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39282   (exit $ac_status); } &&
39283          { ac_try='test -z "$ac_c_werror_flag"
39284                          || test ! -s conftest.err'
39285   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39286   (eval $ac_try) 2>&5
39287   ac_status=$?
39288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39289   (exit $ac_status); }; } &&
39290          { ac_try='test -s conftest$ac_exeext'
39291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39292   (eval $ac_try) 2>&5
39293   ac_status=$?
39294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39295   (exit $ac_status); }; }; then
39296   eval "$as_ac_var=yes"
39297 else
39298   echo "$as_me: failed program was:" >&5
39299 sed 's/^/| /' conftest.$ac_ext >&5
39300
39301 eval "$as_ac_var=no"
39302 fi
39303 rm -f conftest.err conftest.$ac_objext \
39304       conftest$ac_exeext conftest.$ac_ext
39305 fi
39306 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39307 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39308 if test `eval echo '${'$as_ac_var'}'` = yes; then
39309   cat >>confdefs.h <<_ACEOF
39310 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39311 _ACEOF
39312
39313 fi
39314 done
39315
39316   else
39317
39318   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
39319 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
39320   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
39321     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
39322   echo $ECHO_N "(cached) $ECHO_C" >&6
39323 else
39324
39325
39326
39327       ac_ext=cc
39328 ac_cpp='$CXXCPP $CPPFLAGS'
39329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39332
39333       cat >conftest.$ac_ext <<_ACEOF
39334 /* confdefs.h.  */
39335 _ACEOF
39336 cat confdefs.h >>conftest.$ac_ext
39337 cat >>conftest.$ac_ext <<_ACEOF
39338 /* end confdefs.h.  */
39339 #include <math.h>
39340 int
39341 main ()
39342 {
39343  _hypotf(0, 0);
39344   ;
39345   return 0;
39346 }
39347 _ACEOF
39348 rm -f conftest.$ac_objext
39349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39350   (eval $ac_compile) 2>conftest.er1
39351   ac_status=$?
39352   grep -v '^ *+' conftest.er1 >conftest.err
39353   rm -f conftest.er1
39354   cat conftest.err >&5
39355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39356   (exit $ac_status); } &&
39357          { ac_try='test -z "$ac_cxx_werror_flag"
39358                          || test ! -s conftest.err'
39359   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39360   (eval $ac_try) 2>&5
39361   ac_status=$?
39362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39363   (exit $ac_status); }; } &&
39364          { ac_try='test -s conftest.$ac_objext'
39365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39366   (eval $ac_try) 2>&5
39367   ac_status=$?
39368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39369   (exit $ac_status); }; }; then
39370   glibcxx_cv_func__hypotf_use=yes
39371 else
39372   echo "$as_me: failed program was:" >&5
39373 sed 's/^/| /' conftest.$ac_ext >&5
39374
39375 glibcxx_cv_func__hypotf_use=no
39376 fi
39377 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39378       ac_ext=c
39379 ac_cpp='$CPP $CPPFLAGS'
39380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39383
39384
39385 fi
39386
39387   fi
39388   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
39389 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
39390
39391     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
39392
39393 for ac_func in _hypotf
39394 do
39395 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39396 echo "$as_me:$LINENO: checking for $ac_func" >&5
39397 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39398 if eval "test \"\${$as_ac_var+set}\" = set"; then
39399   echo $ECHO_N "(cached) $ECHO_C" >&6
39400 else
39401   if test x$gcc_no_link = xyes; then
39402   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39403 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39404    { (exit 1); exit 1; }; }
39405 fi
39406 cat >conftest.$ac_ext <<_ACEOF
39407 /* confdefs.h.  */
39408 _ACEOF
39409 cat confdefs.h >>conftest.$ac_ext
39410 cat >>conftest.$ac_ext <<_ACEOF
39411 /* end confdefs.h.  */
39412 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39413    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39414 #define $ac_func innocuous_$ac_func
39415
39416 /* System header to define __stub macros and hopefully few prototypes,
39417     which can conflict with char $ac_func (); below.
39418     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39419     <limits.h> exists even on freestanding compilers.  */
39420
39421 #ifdef __STDC__
39422 # include <limits.h>
39423 #else
39424 # include <assert.h>
39425 #endif
39426
39427 #undef $ac_func
39428
39429 /* Override any gcc2 internal prototype to avoid an error.  */
39430 #ifdef __cplusplus
39431 extern "C"
39432 {
39433 #endif
39434 /* We use char because int might match the return type of a gcc2
39435    builtin and then its argument prototype would still apply.  */
39436 char $ac_func ();
39437 /* The GNU C library defines this for functions which it implements
39438     to always fail with ENOSYS.  Some functions are actually named
39439     something starting with __ and the normal name is an alias.  */
39440 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39441 choke me
39442 #else
39443 char (*f) () = $ac_func;
39444 #endif
39445 #ifdef __cplusplus
39446 }
39447 #endif
39448
39449 int
39450 main ()
39451 {
39452 return f != $ac_func;
39453   ;
39454   return 0;
39455 }
39456 _ACEOF
39457 rm -f conftest.$ac_objext conftest$ac_exeext
39458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39459   (eval $ac_link) 2>conftest.er1
39460   ac_status=$?
39461   grep -v '^ *+' conftest.er1 >conftest.err
39462   rm -f conftest.er1
39463   cat conftest.err >&5
39464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39465   (exit $ac_status); } &&
39466          { ac_try='test -z "$ac_c_werror_flag"
39467                          || test ! -s conftest.err'
39468   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39469   (eval $ac_try) 2>&5
39470   ac_status=$?
39471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39472   (exit $ac_status); }; } &&
39473          { ac_try='test -s conftest$ac_exeext'
39474   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39475   (eval $ac_try) 2>&5
39476   ac_status=$?
39477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39478   (exit $ac_status); }; }; then
39479   eval "$as_ac_var=yes"
39480 else
39481   echo "$as_me: failed program was:" >&5
39482 sed 's/^/| /' conftest.$ac_ext >&5
39483
39484 eval "$as_ac_var=no"
39485 fi
39486 rm -f conftest.err conftest.$ac_objext \
39487       conftest$ac_exeext conftest.$ac_ext
39488 fi
39489 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39490 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39491 if test `eval echo '${'$as_ac_var'}'` = yes; then
39492   cat >>confdefs.h <<_ACEOF
39493 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39494 _ACEOF
39495
39496 fi
39497 done
39498
39499     fi
39500   fi
39501
39502
39503
39504   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
39505 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
39506   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
39507     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
39508   echo $ECHO_N "(cached) $ECHO_C" >&6
39509 else
39510
39511
39512
39513       ac_ext=cc
39514 ac_cpp='$CXXCPP $CPPFLAGS'
39515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39518
39519       cat >conftest.$ac_ext <<_ACEOF
39520 /* confdefs.h.  */
39521 _ACEOF
39522 cat confdefs.h >>conftest.$ac_ext
39523 cat >>conftest.$ac_ext <<_ACEOF
39524 /* end confdefs.h.  */
39525 #include <math.h>
39526 int
39527 main ()
39528 {
39529  ldexpf(0, 0);
39530   ;
39531   return 0;
39532 }
39533 _ACEOF
39534 rm -f conftest.$ac_objext
39535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39536   (eval $ac_compile) 2>conftest.er1
39537   ac_status=$?
39538   grep -v '^ *+' conftest.er1 >conftest.err
39539   rm -f conftest.er1
39540   cat conftest.err >&5
39541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39542   (exit $ac_status); } &&
39543          { ac_try='test -z "$ac_cxx_werror_flag"
39544                          || test ! -s conftest.err'
39545   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39546   (eval $ac_try) 2>&5
39547   ac_status=$?
39548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39549   (exit $ac_status); }; } &&
39550          { ac_try='test -s conftest.$ac_objext'
39551   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39552   (eval $ac_try) 2>&5
39553   ac_status=$?
39554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39555   (exit $ac_status); }; }; then
39556   glibcxx_cv_func_ldexpf_use=yes
39557 else
39558   echo "$as_me: failed program was:" >&5
39559 sed 's/^/| /' conftest.$ac_ext >&5
39560
39561 glibcxx_cv_func_ldexpf_use=no
39562 fi
39563 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39564       ac_ext=c
39565 ac_cpp='$CPP $CPPFLAGS'
39566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39569
39570
39571 fi
39572
39573   fi
39574   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
39575 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
39576
39577   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
39578
39579 for ac_func in ldexpf
39580 do
39581 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39582 echo "$as_me:$LINENO: checking for $ac_func" >&5
39583 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39584 if eval "test \"\${$as_ac_var+set}\" = set"; then
39585   echo $ECHO_N "(cached) $ECHO_C" >&6
39586 else
39587   if test x$gcc_no_link = xyes; then
39588   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39589 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39590    { (exit 1); exit 1; }; }
39591 fi
39592 cat >conftest.$ac_ext <<_ACEOF
39593 /* confdefs.h.  */
39594 _ACEOF
39595 cat confdefs.h >>conftest.$ac_ext
39596 cat >>conftest.$ac_ext <<_ACEOF
39597 /* end confdefs.h.  */
39598 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39599    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39600 #define $ac_func innocuous_$ac_func
39601
39602 /* System header to define __stub macros and hopefully few prototypes,
39603     which can conflict with char $ac_func (); below.
39604     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39605     <limits.h> exists even on freestanding compilers.  */
39606
39607 #ifdef __STDC__
39608 # include <limits.h>
39609 #else
39610 # include <assert.h>
39611 #endif
39612
39613 #undef $ac_func
39614
39615 /* Override any gcc2 internal prototype to avoid an error.  */
39616 #ifdef __cplusplus
39617 extern "C"
39618 {
39619 #endif
39620 /* We use char because int might match the return type of a gcc2
39621    builtin and then its argument prototype would still apply.  */
39622 char $ac_func ();
39623 /* The GNU C library defines this for functions which it implements
39624     to always fail with ENOSYS.  Some functions are actually named
39625     something starting with __ and the normal name is an alias.  */
39626 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39627 choke me
39628 #else
39629 char (*f) () = $ac_func;
39630 #endif
39631 #ifdef __cplusplus
39632 }
39633 #endif
39634
39635 int
39636 main ()
39637 {
39638 return f != $ac_func;
39639   ;
39640   return 0;
39641 }
39642 _ACEOF
39643 rm -f conftest.$ac_objext conftest$ac_exeext
39644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39645   (eval $ac_link) 2>conftest.er1
39646   ac_status=$?
39647   grep -v '^ *+' conftest.er1 >conftest.err
39648   rm -f conftest.er1
39649   cat conftest.err >&5
39650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39651   (exit $ac_status); } &&
39652          { ac_try='test -z "$ac_c_werror_flag"
39653                          || test ! -s conftest.err'
39654   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39655   (eval $ac_try) 2>&5
39656   ac_status=$?
39657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39658   (exit $ac_status); }; } &&
39659          { ac_try='test -s conftest$ac_exeext'
39660   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39661   (eval $ac_try) 2>&5
39662   ac_status=$?
39663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39664   (exit $ac_status); }; }; then
39665   eval "$as_ac_var=yes"
39666 else
39667   echo "$as_me: failed program was:" >&5
39668 sed 's/^/| /' conftest.$ac_ext >&5
39669
39670 eval "$as_ac_var=no"
39671 fi
39672 rm -f conftest.err conftest.$ac_objext \
39673       conftest$ac_exeext conftest.$ac_ext
39674 fi
39675 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39676 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39677 if test `eval echo '${'$as_ac_var'}'` = yes; then
39678   cat >>confdefs.h <<_ACEOF
39679 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39680 _ACEOF
39681
39682 fi
39683 done
39684
39685   else
39686
39687   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
39688 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
39689   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
39690     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
39691   echo $ECHO_N "(cached) $ECHO_C" >&6
39692 else
39693
39694
39695
39696       ac_ext=cc
39697 ac_cpp='$CXXCPP $CPPFLAGS'
39698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39701
39702       cat >conftest.$ac_ext <<_ACEOF
39703 /* confdefs.h.  */
39704 _ACEOF
39705 cat confdefs.h >>conftest.$ac_ext
39706 cat >>conftest.$ac_ext <<_ACEOF
39707 /* end confdefs.h.  */
39708 #include <math.h>
39709 int
39710 main ()
39711 {
39712  _ldexpf(0, 0);
39713   ;
39714   return 0;
39715 }
39716 _ACEOF
39717 rm -f conftest.$ac_objext
39718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39719   (eval $ac_compile) 2>conftest.er1
39720   ac_status=$?
39721   grep -v '^ *+' conftest.er1 >conftest.err
39722   rm -f conftest.er1
39723   cat conftest.err >&5
39724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39725   (exit $ac_status); } &&
39726          { ac_try='test -z "$ac_cxx_werror_flag"
39727                          || test ! -s conftest.err'
39728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39729   (eval $ac_try) 2>&5
39730   ac_status=$?
39731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39732   (exit $ac_status); }; } &&
39733          { ac_try='test -s conftest.$ac_objext'
39734   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39735   (eval $ac_try) 2>&5
39736   ac_status=$?
39737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39738   (exit $ac_status); }; }; then
39739   glibcxx_cv_func__ldexpf_use=yes
39740 else
39741   echo "$as_me: failed program was:" >&5
39742 sed 's/^/| /' conftest.$ac_ext >&5
39743
39744 glibcxx_cv_func__ldexpf_use=no
39745 fi
39746 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39747       ac_ext=c
39748 ac_cpp='$CPP $CPPFLAGS'
39749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39752
39753
39754 fi
39755
39756   fi
39757   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
39758 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
39759
39760     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
39761
39762 for ac_func in _ldexpf
39763 do
39764 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39765 echo "$as_me:$LINENO: checking for $ac_func" >&5
39766 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39767 if eval "test \"\${$as_ac_var+set}\" = set"; then
39768   echo $ECHO_N "(cached) $ECHO_C" >&6
39769 else
39770   if test x$gcc_no_link = xyes; then
39771   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39772 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39773    { (exit 1); exit 1; }; }
39774 fi
39775 cat >conftest.$ac_ext <<_ACEOF
39776 /* confdefs.h.  */
39777 _ACEOF
39778 cat confdefs.h >>conftest.$ac_ext
39779 cat >>conftest.$ac_ext <<_ACEOF
39780 /* end confdefs.h.  */
39781 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39782    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39783 #define $ac_func innocuous_$ac_func
39784
39785 /* System header to define __stub macros and hopefully few prototypes,
39786     which can conflict with char $ac_func (); below.
39787     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39788     <limits.h> exists even on freestanding compilers.  */
39789
39790 #ifdef __STDC__
39791 # include <limits.h>
39792 #else
39793 # include <assert.h>
39794 #endif
39795
39796 #undef $ac_func
39797
39798 /* Override any gcc2 internal prototype to avoid an error.  */
39799 #ifdef __cplusplus
39800 extern "C"
39801 {
39802 #endif
39803 /* We use char because int might match the return type of a gcc2
39804    builtin and then its argument prototype would still apply.  */
39805 char $ac_func ();
39806 /* The GNU C library defines this for functions which it implements
39807     to always fail with ENOSYS.  Some functions are actually named
39808     something starting with __ and the normal name is an alias.  */
39809 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39810 choke me
39811 #else
39812 char (*f) () = $ac_func;
39813 #endif
39814 #ifdef __cplusplus
39815 }
39816 #endif
39817
39818 int
39819 main ()
39820 {
39821 return f != $ac_func;
39822   ;
39823   return 0;
39824 }
39825 _ACEOF
39826 rm -f conftest.$ac_objext conftest$ac_exeext
39827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39828   (eval $ac_link) 2>conftest.er1
39829   ac_status=$?
39830   grep -v '^ *+' conftest.er1 >conftest.err
39831   rm -f conftest.er1
39832   cat conftest.err >&5
39833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39834   (exit $ac_status); } &&
39835          { ac_try='test -z "$ac_c_werror_flag"
39836                          || test ! -s conftest.err'
39837   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39838   (eval $ac_try) 2>&5
39839   ac_status=$?
39840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39841   (exit $ac_status); }; } &&
39842          { ac_try='test -s conftest$ac_exeext'
39843   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39844   (eval $ac_try) 2>&5
39845   ac_status=$?
39846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39847   (exit $ac_status); }; }; then
39848   eval "$as_ac_var=yes"
39849 else
39850   echo "$as_me: failed program was:" >&5
39851 sed 's/^/| /' conftest.$ac_ext >&5
39852
39853 eval "$as_ac_var=no"
39854 fi
39855 rm -f conftest.err conftest.$ac_objext \
39856       conftest$ac_exeext conftest.$ac_ext
39857 fi
39858 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39859 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39860 if test `eval echo '${'$as_ac_var'}'` = yes; then
39861   cat >>confdefs.h <<_ACEOF
39862 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39863 _ACEOF
39864
39865 fi
39866 done
39867
39868     fi
39869   fi
39870
39871
39872
39873   echo "$as_me:$LINENO: checking for logf declaration" >&5
39874 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
39875   if test x${glibcxx_cv_func_logf_use+set} != xset; then
39876     if test "${glibcxx_cv_func_logf_use+set}" = set; then
39877   echo $ECHO_N "(cached) $ECHO_C" >&6
39878 else
39879
39880
39881
39882       ac_ext=cc
39883 ac_cpp='$CXXCPP $CPPFLAGS'
39884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39887
39888       cat >conftest.$ac_ext <<_ACEOF
39889 /* confdefs.h.  */
39890 _ACEOF
39891 cat confdefs.h >>conftest.$ac_ext
39892 cat >>conftest.$ac_ext <<_ACEOF
39893 /* end confdefs.h.  */
39894 #include <math.h>
39895                       #ifdef HAVE_IEEEFP_H
39896                       #include <ieeefp.h>
39897                       #endif
39898
39899 int
39900 main ()
39901 {
39902  logf(0);
39903   ;
39904   return 0;
39905 }
39906 _ACEOF
39907 rm -f conftest.$ac_objext
39908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39909   (eval $ac_compile) 2>conftest.er1
39910   ac_status=$?
39911   grep -v '^ *+' conftest.er1 >conftest.err
39912   rm -f conftest.er1
39913   cat conftest.err >&5
39914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39915   (exit $ac_status); } &&
39916          { ac_try='test -z "$ac_cxx_werror_flag"
39917                          || test ! -s conftest.err'
39918   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39919   (eval $ac_try) 2>&5
39920   ac_status=$?
39921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39922   (exit $ac_status); }; } &&
39923          { ac_try='test -s conftest.$ac_objext'
39924   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39925   (eval $ac_try) 2>&5
39926   ac_status=$?
39927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
39928   (exit $ac_status); }; }; then
39929   glibcxx_cv_func_logf_use=yes
39930 else
39931   echo "$as_me: failed program was:" >&5
39932 sed 's/^/| /' conftest.$ac_ext >&5
39933
39934 glibcxx_cv_func_logf_use=no
39935 fi
39936 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39937       ac_ext=c
39938 ac_cpp='$CPP $CPPFLAGS'
39939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39942
39943
39944 fi
39945
39946   fi
39947   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
39948 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
39949
39950   if test x$glibcxx_cv_func_logf_use = x"yes"; then
39951
39952 for ac_func in logf
39953 do
39954 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39955 echo "$as_me:$LINENO: checking for $ac_func" >&5
39956 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39957 if eval "test \"\${$as_ac_var+set}\" = set"; then
39958   echo $ECHO_N "(cached) $ECHO_C" >&6
39959 else
39960   if test x$gcc_no_link = xyes; then
39961   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39962 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39963    { (exit 1); exit 1; }; }
39964 fi
39965 cat >conftest.$ac_ext <<_ACEOF
39966 /* confdefs.h.  */
39967 _ACEOF
39968 cat confdefs.h >>conftest.$ac_ext
39969 cat >>conftest.$ac_ext <<_ACEOF
39970 /* end confdefs.h.  */
39971 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39972    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
39973 #define $ac_func innocuous_$ac_func
39974
39975 /* System header to define __stub macros and hopefully few prototypes,
39976     which can conflict with char $ac_func (); below.
39977     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39978     <limits.h> exists even on freestanding compilers.  */
39979
39980 #ifdef __STDC__
39981 # include <limits.h>
39982 #else
39983 # include <assert.h>
39984 #endif
39985
39986 #undef $ac_func
39987
39988 /* Override any gcc2 internal prototype to avoid an error.  */
39989 #ifdef __cplusplus
39990 extern "C"
39991 {
39992 #endif
39993 /* We use char because int might match the return type of a gcc2
39994    builtin and then its argument prototype would still apply.  */
39995 char $ac_func ();
39996 /* The GNU C library defines this for functions which it implements
39997     to always fail with ENOSYS.  Some functions are actually named
39998     something starting with __ and the normal name is an alias.  */
39999 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40000 choke me
40001 #else
40002 char (*f) () = $ac_func;
40003 #endif
40004 #ifdef __cplusplus
40005 }
40006 #endif
40007
40008 int
40009 main ()
40010 {
40011 return f != $ac_func;
40012   ;
40013   return 0;
40014 }
40015 _ACEOF
40016 rm -f conftest.$ac_objext conftest$ac_exeext
40017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40018   (eval $ac_link) 2>conftest.er1
40019   ac_status=$?
40020   grep -v '^ *+' conftest.er1 >conftest.err
40021   rm -f conftest.er1
40022   cat conftest.err >&5
40023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40024   (exit $ac_status); } &&
40025          { ac_try='test -z "$ac_c_werror_flag"
40026                          || test ! -s conftest.err'
40027   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40028   (eval $ac_try) 2>&5
40029   ac_status=$?
40030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40031   (exit $ac_status); }; } &&
40032          { ac_try='test -s conftest$ac_exeext'
40033   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40034   (eval $ac_try) 2>&5
40035   ac_status=$?
40036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40037   (exit $ac_status); }; }; then
40038   eval "$as_ac_var=yes"
40039 else
40040   echo "$as_me: failed program was:" >&5
40041 sed 's/^/| /' conftest.$ac_ext >&5
40042
40043 eval "$as_ac_var=no"
40044 fi
40045 rm -f conftest.err conftest.$ac_objext \
40046       conftest$ac_exeext conftest.$ac_ext
40047 fi
40048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40049 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40050 if test `eval echo '${'$as_ac_var'}'` = yes; then
40051   cat >>confdefs.h <<_ACEOF
40052 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40053 _ACEOF
40054
40055 fi
40056 done
40057
40058   else
40059
40060   echo "$as_me:$LINENO: checking for _logf declaration" >&5
40061 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
40062   if test x${glibcxx_cv_func__logf_use+set} != xset; then
40063     if test "${glibcxx_cv_func__logf_use+set}" = set; then
40064   echo $ECHO_N "(cached) $ECHO_C" >&6
40065 else
40066
40067
40068
40069       ac_ext=cc
40070 ac_cpp='$CXXCPP $CPPFLAGS'
40071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40074
40075       cat >conftest.$ac_ext <<_ACEOF
40076 /* confdefs.h.  */
40077 _ACEOF
40078 cat confdefs.h >>conftest.$ac_ext
40079 cat >>conftest.$ac_ext <<_ACEOF
40080 /* end confdefs.h.  */
40081 #include <math.h>
40082                       #ifdef HAVE_IEEEFP_H
40083                       #include <ieeefp.h>
40084                       #endif
40085
40086 int
40087 main ()
40088 {
40089  _logf(0);
40090   ;
40091   return 0;
40092 }
40093 _ACEOF
40094 rm -f conftest.$ac_objext
40095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40096   (eval $ac_compile) 2>conftest.er1
40097   ac_status=$?
40098   grep -v '^ *+' conftest.er1 >conftest.err
40099   rm -f conftest.er1
40100   cat conftest.err >&5
40101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40102   (exit $ac_status); } &&
40103          { ac_try='test -z "$ac_cxx_werror_flag"
40104                          || test ! -s conftest.err'
40105   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40106   (eval $ac_try) 2>&5
40107   ac_status=$?
40108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40109   (exit $ac_status); }; } &&
40110          { ac_try='test -s conftest.$ac_objext'
40111   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40112   (eval $ac_try) 2>&5
40113   ac_status=$?
40114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40115   (exit $ac_status); }; }; then
40116   glibcxx_cv_func__logf_use=yes
40117 else
40118   echo "$as_me: failed program was:" >&5
40119 sed 's/^/| /' conftest.$ac_ext >&5
40120
40121 glibcxx_cv_func__logf_use=no
40122 fi
40123 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40124       ac_ext=c
40125 ac_cpp='$CPP $CPPFLAGS'
40126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40129
40130
40131 fi
40132
40133   fi
40134   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
40135 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
40136
40137     if test x$glibcxx_cv_func__logf_use = x"yes"; then
40138
40139 for ac_func in _logf
40140 do
40141 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40142 echo "$as_me:$LINENO: checking for $ac_func" >&5
40143 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40144 if eval "test \"\${$as_ac_var+set}\" = set"; then
40145   echo $ECHO_N "(cached) $ECHO_C" >&6
40146 else
40147   if test x$gcc_no_link = xyes; then
40148   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40149 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40150    { (exit 1); exit 1; }; }
40151 fi
40152 cat >conftest.$ac_ext <<_ACEOF
40153 /* confdefs.h.  */
40154 _ACEOF
40155 cat confdefs.h >>conftest.$ac_ext
40156 cat >>conftest.$ac_ext <<_ACEOF
40157 /* end confdefs.h.  */
40158 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40159    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40160 #define $ac_func innocuous_$ac_func
40161
40162 /* System header to define __stub macros and hopefully few prototypes,
40163     which can conflict with char $ac_func (); below.
40164     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40165     <limits.h> exists even on freestanding compilers.  */
40166
40167 #ifdef __STDC__
40168 # include <limits.h>
40169 #else
40170 # include <assert.h>
40171 #endif
40172
40173 #undef $ac_func
40174
40175 /* Override any gcc2 internal prototype to avoid an error.  */
40176 #ifdef __cplusplus
40177 extern "C"
40178 {
40179 #endif
40180 /* We use char because int might match the return type of a gcc2
40181    builtin and then its argument prototype would still apply.  */
40182 char $ac_func ();
40183 /* The GNU C library defines this for functions which it implements
40184     to always fail with ENOSYS.  Some functions are actually named
40185     something starting with __ and the normal name is an alias.  */
40186 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40187 choke me
40188 #else
40189 char (*f) () = $ac_func;
40190 #endif
40191 #ifdef __cplusplus
40192 }
40193 #endif
40194
40195 int
40196 main ()
40197 {
40198 return f != $ac_func;
40199   ;
40200   return 0;
40201 }
40202 _ACEOF
40203 rm -f conftest.$ac_objext conftest$ac_exeext
40204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40205   (eval $ac_link) 2>conftest.er1
40206   ac_status=$?
40207   grep -v '^ *+' conftest.er1 >conftest.err
40208   rm -f conftest.er1
40209   cat conftest.err >&5
40210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40211   (exit $ac_status); } &&
40212          { ac_try='test -z "$ac_c_werror_flag"
40213                          || test ! -s conftest.err'
40214   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40215   (eval $ac_try) 2>&5
40216   ac_status=$?
40217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40218   (exit $ac_status); }; } &&
40219          { ac_try='test -s conftest$ac_exeext'
40220   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40221   (eval $ac_try) 2>&5
40222   ac_status=$?
40223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40224   (exit $ac_status); }; }; then
40225   eval "$as_ac_var=yes"
40226 else
40227   echo "$as_me: failed program was:" >&5
40228 sed 's/^/| /' conftest.$ac_ext >&5
40229
40230 eval "$as_ac_var=no"
40231 fi
40232 rm -f conftest.err conftest.$ac_objext \
40233       conftest$ac_exeext conftest.$ac_ext
40234 fi
40235 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40236 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40237 if test `eval echo '${'$as_ac_var'}'` = yes; then
40238   cat >>confdefs.h <<_ACEOF
40239 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40240 _ACEOF
40241
40242 fi
40243 done
40244
40245     fi
40246   fi
40247
40248
40249
40250   echo "$as_me:$LINENO: checking for log10f declaration" >&5
40251 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
40252   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
40253     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
40254   echo $ECHO_N "(cached) $ECHO_C" >&6
40255 else
40256
40257
40258
40259       ac_ext=cc
40260 ac_cpp='$CXXCPP $CPPFLAGS'
40261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40264
40265       cat >conftest.$ac_ext <<_ACEOF
40266 /* confdefs.h.  */
40267 _ACEOF
40268 cat confdefs.h >>conftest.$ac_ext
40269 cat >>conftest.$ac_ext <<_ACEOF
40270 /* end confdefs.h.  */
40271 #include <math.h>
40272                       #ifdef HAVE_IEEEFP_H
40273                       #include <ieeefp.h>
40274                       #endif
40275
40276 int
40277 main ()
40278 {
40279  log10f(0);
40280   ;
40281   return 0;
40282 }
40283 _ACEOF
40284 rm -f conftest.$ac_objext
40285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40286   (eval $ac_compile) 2>conftest.er1
40287   ac_status=$?
40288   grep -v '^ *+' conftest.er1 >conftest.err
40289   rm -f conftest.er1
40290   cat conftest.err >&5
40291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40292   (exit $ac_status); } &&
40293          { ac_try='test -z "$ac_cxx_werror_flag"
40294                          || test ! -s conftest.err'
40295   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40296   (eval $ac_try) 2>&5
40297   ac_status=$?
40298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40299   (exit $ac_status); }; } &&
40300          { ac_try='test -s conftest.$ac_objext'
40301   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40302   (eval $ac_try) 2>&5
40303   ac_status=$?
40304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40305   (exit $ac_status); }; }; then
40306   glibcxx_cv_func_log10f_use=yes
40307 else
40308   echo "$as_me: failed program was:" >&5
40309 sed 's/^/| /' conftest.$ac_ext >&5
40310
40311 glibcxx_cv_func_log10f_use=no
40312 fi
40313 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40314       ac_ext=c
40315 ac_cpp='$CPP $CPPFLAGS'
40316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40319
40320
40321 fi
40322
40323   fi
40324   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
40325 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
40326
40327   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
40328
40329 for ac_func in log10f
40330 do
40331 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40332 echo "$as_me:$LINENO: checking for $ac_func" >&5
40333 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40334 if eval "test \"\${$as_ac_var+set}\" = set"; then
40335   echo $ECHO_N "(cached) $ECHO_C" >&6
40336 else
40337   if test x$gcc_no_link = xyes; then
40338   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40339 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40340    { (exit 1); exit 1; }; }
40341 fi
40342 cat >conftest.$ac_ext <<_ACEOF
40343 /* confdefs.h.  */
40344 _ACEOF
40345 cat confdefs.h >>conftest.$ac_ext
40346 cat >>conftest.$ac_ext <<_ACEOF
40347 /* end confdefs.h.  */
40348 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40349    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40350 #define $ac_func innocuous_$ac_func
40351
40352 /* System header to define __stub macros and hopefully few prototypes,
40353     which can conflict with char $ac_func (); below.
40354     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40355     <limits.h> exists even on freestanding compilers.  */
40356
40357 #ifdef __STDC__
40358 # include <limits.h>
40359 #else
40360 # include <assert.h>
40361 #endif
40362
40363 #undef $ac_func
40364
40365 /* Override any gcc2 internal prototype to avoid an error.  */
40366 #ifdef __cplusplus
40367 extern "C"
40368 {
40369 #endif
40370 /* We use char because int might match the return type of a gcc2
40371    builtin and then its argument prototype would still apply.  */
40372 char $ac_func ();
40373 /* The GNU C library defines this for functions which it implements
40374     to always fail with ENOSYS.  Some functions are actually named
40375     something starting with __ and the normal name is an alias.  */
40376 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40377 choke me
40378 #else
40379 char (*f) () = $ac_func;
40380 #endif
40381 #ifdef __cplusplus
40382 }
40383 #endif
40384
40385 int
40386 main ()
40387 {
40388 return f != $ac_func;
40389   ;
40390   return 0;
40391 }
40392 _ACEOF
40393 rm -f conftest.$ac_objext conftest$ac_exeext
40394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40395   (eval $ac_link) 2>conftest.er1
40396   ac_status=$?
40397   grep -v '^ *+' conftest.er1 >conftest.err
40398   rm -f conftest.er1
40399   cat conftest.err >&5
40400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40401   (exit $ac_status); } &&
40402          { ac_try='test -z "$ac_c_werror_flag"
40403                          || test ! -s conftest.err'
40404   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40405   (eval $ac_try) 2>&5
40406   ac_status=$?
40407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40408   (exit $ac_status); }; } &&
40409          { ac_try='test -s conftest$ac_exeext'
40410   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40411   (eval $ac_try) 2>&5
40412   ac_status=$?
40413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40414   (exit $ac_status); }; }; then
40415   eval "$as_ac_var=yes"
40416 else
40417   echo "$as_me: failed program was:" >&5
40418 sed 's/^/| /' conftest.$ac_ext >&5
40419
40420 eval "$as_ac_var=no"
40421 fi
40422 rm -f conftest.err conftest.$ac_objext \
40423       conftest$ac_exeext conftest.$ac_ext
40424 fi
40425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40426 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40427 if test `eval echo '${'$as_ac_var'}'` = yes; then
40428   cat >>confdefs.h <<_ACEOF
40429 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40430 _ACEOF
40431
40432 fi
40433 done
40434
40435   else
40436
40437   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
40438 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
40439   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
40440     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
40441   echo $ECHO_N "(cached) $ECHO_C" >&6
40442 else
40443
40444
40445
40446       ac_ext=cc
40447 ac_cpp='$CXXCPP $CPPFLAGS'
40448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40451
40452       cat >conftest.$ac_ext <<_ACEOF
40453 /* confdefs.h.  */
40454 _ACEOF
40455 cat confdefs.h >>conftest.$ac_ext
40456 cat >>conftest.$ac_ext <<_ACEOF
40457 /* end confdefs.h.  */
40458 #include <math.h>
40459                       #ifdef HAVE_IEEEFP_H
40460                       #include <ieeefp.h>
40461                       #endif
40462
40463 int
40464 main ()
40465 {
40466  _log10f(0);
40467   ;
40468   return 0;
40469 }
40470 _ACEOF
40471 rm -f conftest.$ac_objext
40472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40473   (eval $ac_compile) 2>conftest.er1
40474   ac_status=$?
40475   grep -v '^ *+' conftest.er1 >conftest.err
40476   rm -f conftest.er1
40477   cat conftest.err >&5
40478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40479   (exit $ac_status); } &&
40480          { ac_try='test -z "$ac_cxx_werror_flag"
40481                          || test ! -s conftest.err'
40482   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40483   (eval $ac_try) 2>&5
40484   ac_status=$?
40485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40486   (exit $ac_status); }; } &&
40487          { ac_try='test -s conftest.$ac_objext'
40488   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40489   (eval $ac_try) 2>&5
40490   ac_status=$?
40491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40492   (exit $ac_status); }; }; then
40493   glibcxx_cv_func__log10f_use=yes
40494 else
40495   echo "$as_me: failed program was:" >&5
40496 sed 's/^/| /' conftest.$ac_ext >&5
40497
40498 glibcxx_cv_func__log10f_use=no
40499 fi
40500 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40501       ac_ext=c
40502 ac_cpp='$CPP $CPPFLAGS'
40503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40506
40507
40508 fi
40509
40510   fi
40511   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
40512 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
40513
40514     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
40515
40516 for ac_func in _log10f
40517 do
40518 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40519 echo "$as_me:$LINENO: checking for $ac_func" >&5
40520 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40521 if eval "test \"\${$as_ac_var+set}\" = set"; then
40522   echo $ECHO_N "(cached) $ECHO_C" >&6
40523 else
40524   if test x$gcc_no_link = xyes; then
40525   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40526 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40527    { (exit 1); exit 1; }; }
40528 fi
40529 cat >conftest.$ac_ext <<_ACEOF
40530 /* confdefs.h.  */
40531 _ACEOF
40532 cat confdefs.h >>conftest.$ac_ext
40533 cat >>conftest.$ac_ext <<_ACEOF
40534 /* end confdefs.h.  */
40535 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40536    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40537 #define $ac_func innocuous_$ac_func
40538
40539 /* System header to define __stub macros and hopefully few prototypes,
40540     which can conflict with char $ac_func (); below.
40541     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40542     <limits.h> exists even on freestanding compilers.  */
40543
40544 #ifdef __STDC__
40545 # include <limits.h>
40546 #else
40547 # include <assert.h>
40548 #endif
40549
40550 #undef $ac_func
40551
40552 /* Override any gcc2 internal prototype to avoid an error.  */
40553 #ifdef __cplusplus
40554 extern "C"
40555 {
40556 #endif
40557 /* We use char because int might match the return type of a gcc2
40558    builtin and then its argument prototype would still apply.  */
40559 char $ac_func ();
40560 /* The GNU C library defines this for functions which it implements
40561     to always fail with ENOSYS.  Some functions are actually named
40562     something starting with __ and the normal name is an alias.  */
40563 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40564 choke me
40565 #else
40566 char (*f) () = $ac_func;
40567 #endif
40568 #ifdef __cplusplus
40569 }
40570 #endif
40571
40572 int
40573 main ()
40574 {
40575 return f != $ac_func;
40576   ;
40577   return 0;
40578 }
40579 _ACEOF
40580 rm -f conftest.$ac_objext conftest$ac_exeext
40581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40582   (eval $ac_link) 2>conftest.er1
40583   ac_status=$?
40584   grep -v '^ *+' conftest.er1 >conftest.err
40585   rm -f conftest.er1
40586   cat conftest.err >&5
40587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40588   (exit $ac_status); } &&
40589          { ac_try='test -z "$ac_c_werror_flag"
40590                          || test ! -s conftest.err'
40591   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40592   (eval $ac_try) 2>&5
40593   ac_status=$?
40594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40595   (exit $ac_status); }; } &&
40596          { ac_try='test -s conftest$ac_exeext'
40597   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40598   (eval $ac_try) 2>&5
40599   ac_status=$?
40600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40601   (exit $ac_status); }; }; then
40602   eval "$as_ac_var=yes"
40603 else
40604   echo "$as_me: failed program was:" >&5
40605 sed 's/^/| /' conftest.$ac_ext >&5
40606
40607 eval "$as_ac_var=no"
40608 fi
40609 rm -f conftest.err conftest.$ac_objext \
40610       conftest$ac_exeext conftest.$ac_ext
40611 fi
40612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40613 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40614 if test `eval echo '${'$as_ac_var'}'` = yes; then
40615   cat >>confdefs.h <<_ACEOF
40616 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40617 _ACEOF
40618
40619 fi
40620 done
40621
40622     fi
40623   fi
40624
40625
40626
40627   echo "$as_me:$LINENO: checking for modff declaration" >&5
40628 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
40629   if test x${glibcxx_cv_func_modff_use+set} != xset; then
40630     if test "${glibcxx_cv_func_modff_use+set}" = set; then
40631   echo $ECHO_N "(cached) $ECHO_C" >&6
40632 else
40633
40634
40635
40636       ac_ext=cc
40637 ac_cpp='$CXXCPP $CPPFLAGS'
40638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40641
40642       cat >conftest.$ac_ext <<_ACEOF
40643 /* confdefs.h.  */
40644 _ACEOF
40645 cat confdefs.h >>conftest.$ac_ext
40646 cat >>conftest.$ac_ext <<_ACEOF
40647 /* end confdefs.h.  */
40648 #include <math.h>
40649 int
40650 main ()
40651 {
40652  modff(0, 0);
40653   ;
40654   return 0;
40655 }
40656 _ACEOF
40657 rm -f conftest.$ac_objext
40658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40659   (eval $ac_compile) 2>conftest.er1
40660   ac_status=$?
40661   grep -v '^ *+' conftest.er1 >conftest.err
40662   rm -f conftest.er1
40663   cat conftest.err >&5
40664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40665   (exit $ac_status); } &&
40666          { ac_try='test -z "$ac_cxx_werror_flag"
40667                          || test ! -s conftest.err'
40668   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40669   (eval $ac_try) 2>&5
40670   ac_status=$?
40671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40672   (exit $ac_status); }; } &&
40673          { ac_try='test -s conftest.$ac_objext'
40674   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40675   (eval $ac_try) 2>&5
40676   ac_status=$?
40677   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40678   (exit $ac_status); }; }; then
40679   glibcxx_cv_func_modff_use=yes
40680 else
40681   echo "$as_me: failed program was:" >&5
40682 sed 's/^/| /' conftest.$ac_ext >&5
40683
40684 glibcxx_cv_func_modff_use=no
40685 fi
40686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40687       ac_ext=c
40688 ac_cpp='$CPP $CPPFLAGS'
40689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40692
40693
40694 fi
40695
40696   fi
40697   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
40698 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
40699
40700   if test x$glibcxx_cv_func_modff_use = x"yes"; then
40701
40702 for ac_func in modff
40703 do
40704 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40705 echo "$as_me:$LINENO: checking for $ac_func" >&5
40706 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40707 if eval "test \"\${$as_ac_var+set}\" = set"; then
40708   echo $ECHO_N "(cached) $ECHO_C" >&6
40709 else
40710   if test x$gcc_no_link = xyes; then
40711   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40712 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40713    { (exit 1); exit 1; }; }
40714 fi
40715 cat >conftest.$ac_ext <<_ACEOF
40716 /* confdefs.h.  */
40717 _ACEOF
40718 cat confdefs.h >>conftest.$ac_ext
40719 cat >>conftest.$ac_ext <<_ACEOF
40720 /* end confdefs.h.  */
40721 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40722    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40723 #define $ac_func innocuous_$ac_func
40724
40725 /* System header to define __stub macros and hopefully few prototypes,
40726     which can conflict with char $ac_func (); below.
40727     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40728     <limits.h> exists even on freestanding compilers.  */
40729
40730 #ifdef __STDC__
40731 # include <limits.h>
40732 #else
40733 # include <assert.h>
40734 #endif
40735
40736 #undef $ac_func
40737
40738 /* Override any gcc2 internal prototype to avoid an error.  */
40739 #ifdef __cplusplus
40740 extern "C"
40741 {
40742 #endif
40743 /* We use char because int might match the return type of a gcc2
40744    builtin and then its argument prototype would still apply.  */
40745 char $ac_func ();
40746 /* The GNU C library defines this for functions which it implements
40747     to always fail with ENOSYS.  Some functions are actually named
40748     something starting with __ and the normal name is an alias.  */
40749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40750 choke me
40751 #else
40752 char (*f) () = $ac_func;
40753 #endif
40754 #ifdef __cplusplus
40755 }
40756 #endif
40757
40758 int
40759 main ()
40760 {
40761 return f != $ac_func;
40762   ;
40763   return 0;
40764 }
40765 _ACEOF
40766 rm -f conftest.$ac_objext conftest$ac_exeext
40767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40768   (eval $ac_link) 2>conftest.er1
40769   ac_status=$?
40770   grep -v '^ *+' conftest.er1 >conftest.err
40771   rm -f conftest.er1
40772   cat conftest.err >&5
40773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40774   (exit $ac_status); } &&
40775          { ac_try='test -z "$ac_c_werror_flag"
40776                          || test ! -s conftest.err'
40777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40778   (eval $ac_try) 2>&5
40779   ac_status=$?
40780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40781   (exit $ac_status); }; } &&
40782          { ac_try='test -s conftest$ac_exeext'
40783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40784   (eval $ac_try) 2>&5
40785   ac_status=$?
40786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40787   (exit $ac_status); }; }; then
40788   eval "$as_ac_var=yes"
40789 else
40790   echo "$as_me: failed program was:" >&5
40791 sed 's/^/| /' conftest.$ac_ext >&5
40792
40793 eval "$as_ac_var=no"
40794 fi
40795 rm -f conftest.err conftest.$ac_objext \
40796       conftest$ac_exeext conftest.$ac_ext
40797 fi
40798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40799 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40800 if test `eval echo '${'$as_ac_var'}'` = yes; then
40801   cat >>confdefs.h <<_ACEOF
40802 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40803 _ACEOF
40804
40805 fi
40806 done
40807
40808   else
40809
40810   echo "$as_me:$LINENO: checking for _modff declaration" >&5
40811 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
40812   if test x${glibcxx_cv_func__modff_use+set} != xset; then
40813     if test "${glibcxx_cv_func__modff_use+set}" = set; then
40814   echo $ECHO_N "(cached) $ECHO_C" >&6
40815 else
40816
40817
40818
40819       ac_ext=cc
40820 ac_cpp='$CXXCPP $CPPFLAGS'
40821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40824
40825       cat >conftest.$ac_ext <<_ACEOF
40826 /* confdefs.h.  */
40827 _ACEOF
40828 cat confdefs.h >>conftest.$ac_ext
40829 cat >>conftest.$ac_ext <<_ACEOF
40830 /* end confdefs.h.  */
40831 #include <math.h>
40832 int
40833 main ()
40834 {
40835  _modff(0, 0);
40836   ;
40837   return 0;
40838 }
40839 _ACEOF
40840 rm -f conftest.$ac_objext
40841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40842   (eval $ac_compile) 2>conftest.er1
40843   ac_status=$?
40844   grep -v '^ *+' conftest.er1 >conftest.err
40845   rm -f conftest.er1
40846   cat conftest.err >&5
40847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40848   (exit $ac_status); } &&
40849          { ac_try='test -z "$ac_cxx_werror_flag"
40850                          || test ! -s conftest.err'
40851   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40852   (eval $ac_try) 2>&5
40853   ac_status=$?
40854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40855   (exit $ac_status); }; } &&
40856          { ac_try='test -s conftest.$ac_objext'
40857   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40858   (eval $ac_try) 2>&5
40859   ac_status=$?
40860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40861   (exit $ac_status); }; }; then
40862   glibcxx_cv_func__modff_use=yes
40863 else
40864   echo "$as_me: failed program was:" >&5
40865 sed 's/^/| /' conftest.$ac_ext >&5
40866
40867 glibcxx_cv_func__modff_use=no
40868 fi
40869 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40870       ac_ext=c
40871 ac_cpp='$CPP $CPPFLAGS'
40872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40875
40876
40877 fi
40878
40879   fi
40880   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
40881 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
40882
40883     if test x$glibcxx_cv_func__modff_use = x"yes"; then
40884
40885 for ac_func in _modff
40886 do
40887 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40888 echo "$as_me:$LINENO: checking for $ac_func" >&5
40889 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40890 if eval "test \"\${$as_ac_var+set}\" = set"; then
40891   echo $ECHO_N "(cached) $ECHO_C" >&6
40892 else
40893   if test x$gcc_no_link = xyes; then
40894   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40895 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40896    { (exit 1); exit 1; }; }
40897 fi
40898 cat >conftest.$ac_ext <<_ACEOF
40899 /* confdefs.h.  */
40900 _ACEOF
40901 cat confdefs.h >>conftest.$ac_ext
40902 cat >>conftest.$ac_ext <<_ACEOF
40903 /* end confdefs.h.  */
40904 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40905    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
40906 #define $ac_func innocuous_$ac_func
40907
40908 /* System header to define __stub macros and hopefully few prototypes,
40909     which can conflict with char $ac_func (); below.
40910     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40911     <limits.h> exists even on freestanding compilers.  */
40912
40913 #ifdef __STDC__
40914 # include <limits.h>
40915 #else
40916 # include <assert.h>
40917 #endif
40918
40919 #undef $ac_func
40920
40921 /* Override any gcc2 internal prototype to avoid an error.  */
40922 #ifdef __cplusplus
40923 extern "C"
40924 {
40925 #endif
40926 /* We use char because int might match the return type of a gcc2
40927    builtin and then its argument prototype would still apply.  */
40928 char $ac_func ();
40929 /* The GNU C library defines this for functions which it implements
40930     to always fail with ENOSYS.  Some functions are actually named
40931     something starting with __ and the normal name is an alias.  */
40932 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40933 choke me
40934 #else
40935 char (*f) () = $ac_func;
40936 #endif
40937 #ifdef __cplusplus
40938 }
40939 #endif
40940
40941 int
40942 main ()
40943 {
40944 return f != $ac_func;
40945   ;
40946   return 0;
40947 }
40948 _ACEOF
40949 rm -f conftest.$ac_objext conftest$ac_exeext
40950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40951   (eval $ac_link) 2>conftest.er1
40952   ac_status=$?
40953   grep -v '^ *+' conftest.er1 >conftest.err
40954   rm -f conftest.er1
40955   cat conftest.err >&5
40956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40957   (exit $ac_status); } &&
40958          { ac_try='test -z "$ac_c_werror_flag"
40959                          || test ! -s conftest.err'
40960   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40961   (eval $ac_try) 2>&5
40962   ac_status=$?
40963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40964   (exit $ac_status); }; } &&
40965          { ac_try='test -s conftest$ac_exeext'
40966   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40967   (eval $ac_try) 2>&5
40968   ac_status=$?
40969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
40970   (exit $ac_status); }; }; then
40971   eval "$as_ac_var=yes"
40972 else
40973   echo "$as_me: failed program was:" >&5
40974 sed 's/^/| /' conftest.$ac_ext >&5
40975
40976 eval "$as_ac_var=no"
40977 fi
40978 rm -f conftest.err conftest.$ac_objext \
40979       conftest$ac_exeext conftest.$ac_ext
40980 fi
40981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40982 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40983 if test `eval echo '${'$as_ac_var'}'` = yes; then
40984   cat >>confdefs.h <<_ACEOF
40985 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40986 _ACEOF
40987
40988 fi
40989 done
40990
40991     fi
40992   fi
40993
40994
40995
40996   echo "$as_me:$LINENO: checking for powf declaration" >&5
40997 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
40998   if test x${glibcxx_cv_func_powf_use+set} != xset; then
40999     if test "${glibcxx_cv_func_powf_use+set}" = set; then
41000   echo $ECHO_N "(cached) $ECHO_C" >&6
41001 else
41002
41003
41004
41005       ac_ext=cc
41006 ac_cpp='$CXXCPP $CPPFLAGS'
41007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41010
41011       cat >conftest.$ac_ext <<_ACEOF
41012 /* confdefs.h.  */
41013 _ACEOF
41014 cat confdefs.h >>conftest.$ac_ext
41015 cat >>conftest.$ac_ext <<_ACEOF
41016 /* end confdefs.h.  */
41017 #include <math.h>
41018 int
41019 main ()
41020 {
41021  powf(0, 0);
41022   ;
41023   return 0;
41024 }
41025 _ACEOF
41026 rm -f conftest.$ac_objext
41027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41028   (eval $ac_compile) 2>conftest.er1
41029   ac_status=$?
41030   grep -v '^ *+' conftest.er1 >conftest.err
41031   rm -f conftest.er1
41032   cat conftest.err >&5
41033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41034   (exit $ac_status); } &&
41035          { ac_try='test -z "$ac_cxx_werror_flag"
41036                          || test ! -s conftest.err'
41037   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41038   (eval $ac_try) 2>&5
41039   ac_status=$?
41040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41041   (exit $ac_status); }; } &&
41042          { ac_try='test -s conftest.$ac_objext'
41043   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41044   (eval $ac_try) 2>&5
41045   ac_status=$?
41046   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41047   (exit $ac_status); }; }; then
41048   glibcxx_cv_func_powf_use=yes
41049 else
41050   echo "$as_me: failed program was:" >&5
41051 sed 's/^/| /' conftest.$ac_ext >&5
41052
41053 glibcxx_cv_func_powf_use=no
41054 fi
41055 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41056       ac_ext=c
41057 ac_cpp='$CPP $CPPFLAGS'
41058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41061
41062
41063 fi
41064
41065   fi
41066   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
41067 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
41068
41069   if test x$glibcxx_cv_func_powf_use = x"yes"; then
41070
41071 for ac_func in powf
41072 do
41073 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41074 echo "$as_me:$LINENO: checking for $ac_func" >&5
41075 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41076 if eval "test \"\${$as_ac_var+set}\" = set"; then
41077   echo $ECHO_N "(cached) $ECHO_C" >&6
41078 else
41079   if test x$gcc_no_link = xyes; then
41080   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41081 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41082    { (exit 1); exit 1; }; }
41083 fi
41084 cat >conftest.$ac_ext <<_ACEOF
41085 /* confdefs.h.  */
41086 _ACEOF
41087 cat confdefs.h >>conftest.$ac_ext
41088 cat >>conftest.$ac_ext <<_ACEOF
41089 /* end confdefs.h.  */
41090 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41091    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41092 #define $ac_func innocuous_$ac_func
41093
41094 /* System header to define __stub macros and hopefully few prototypes,
41095     which can conflict with char $ac_func (); below.
41096     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41097     <limits.h> exists even on freestanding compilers.  */
41098
41099 #ifdef __STDC__
41100 # include <limits.h>
41101 #else
41102 # include <assert.h>
41103 #endif
41104
41105 #undef $ac_func
41106
41107 /* Override any gcc2 internal prototype to avoid an error.  */
41108 #ifdef __cplusplus
41109 extern "C"
41110 {
41111 #endif
41112 /* We use char because int might match the return type of a gcc2
41113    builtin and then its argument prototype would still apply.  */
41114 char $ac_func ();
41115 /* The GNU C library defines this for functions which it implements
41116     to always fail with ENOSYS.  Some functions are actually named
41117     something starting with __ and the normal name is an alias.  */
41118 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41119 choke me
41120 #else
41121 char (*f) () = $ac_func;
41122 #endif
41123 #ifdef __cplusplus
41124 }
41125 #endif
41126
41127 int
41128 main ()
41129 {
41130 return f != $ac_func;
41131   ;
41132   return 0;
41133 }
41134 _ACEOF
41135 rm -f conftest.$ac_objext conftest$ac_exeext
41136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41137   (eval $ac_link) 2>conftest.er1
41138   ac_status=$?
41139   grep -v '^ *+' conftest.er1 >conftest.err
41140   rm -f conftest.er1
41141   cat conftest.err >&5
41142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41143   (exit $ac_status); } &&
41144          { ac_try='test -z "$ac_c_werror_flag"
41145                          || test ! -s conftest.err'
41146   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41147   (eval $ac_try) 2>&5
41148   ac_status=$?
41149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41150   (exit $ac_status); }; } &&
41151          { ac_try='test -s conftest$ac_exeext'
41152   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41153   (eval $ac_try) 2>&5
41154   ac_status=$?
41155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41156   (exit $ac_status); }; }; then
41157   eval "$as_ac_var=yes"
41158 else
41159   echo "$as_me: failed program was:" >&5
41160 sed 's/^/| /' conftest.$ac_ext >&5
41161
41162 eval "$as_ac_var=no"
41163 fi
41164 rm -f conftest.err conftest.$ac_objext \
41165       conftest$ac_exeext conftest.$ac_ext
41166 fi
41167 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41168 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41169 if test `eval echo '${'$as_ac_var'}'` = yes; then
41170   cat >>confdefs.h <<_ACEOF
41171 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41172 _ACEOF
41173
41174 fi
41175 done
41176
41177   else
41178
41179   echo "$as_me:$LINENO: checking for _powf declaration" >&5
41180 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
41181   if test x${glibcxx_cv_func__powf_use+set} != xset; then
41182     if test "${glibcxx_cv_func__powf_use+set}" = set; then
41183   echo $ECHO_N "(cached) $ECHO_C" >&6
41184 else
41185
41186
41187
41188       ac_ext=cc
41189 ac_cpp='$CXXCPP $CPPFLAGS'
41190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41193
41194       cat >conftest.$ac_ext <<_ACEOF
41195 /* confdefs.h.  */
41196 _ACEOF
41197 cat confdefs.h >>conftest.$ac_ext
41198 cat >>conftest.$ac_ext <<_ACEOF
41199 /* end confdefs.h.  */
41200 #include <math.h>
41201 int
41202 main ()
41203 {
41204  _powf(0, 0);
41205   ;
41206   return 0;
41207 }
41208 _ACEOF
41209 rm -f conftest.$ac_objext
41210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41211   (eval $ac_compile) 2>conftest.er1
41212   ac_status=$?
41213   grep -v '^ *+' conftest.er1 >conftest.err
41214   rm -f conftest.er1
41215   cat conftest.err >&5
41216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41217   (exit $ac_status); } &&
41218          { ac_try='test -z "$ac_cxx_werror_flag"
41219                          || test ! -s conftest.err'
41220   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41221   (eval $ac_try) 2>&5
41222   ac_status=$?
41223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41224   (exit $ac_status); }; } &&
41225          { ac_try='test -s conftest.$ac_objext'
41226   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41227   (eval $ac_try) 2>&5
41228   ac_status=$?
41229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41230   (exit $ac_status); }; }; then
41231   glibcxx_cv_func__powf_use=yes
41232 else
41233   echo "$as_me: failed program was:" >&5
41234 sed 's/^/| /' conftest.$ac_ext >&5
41235
41236 glibcxx_cv_func__powf_use=no
41237 fi
41238 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41239       ac_ext=c
41240 ac_cpp='$CPP $CPPFLAGS'
41241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41244
41245
41246 fi
41247
41248   fi
41249   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
41250 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
41251
41252     if test x$glibcxx_cv_func__powf_use = x"yes"; then
41253
41254 for ac_func in _powf
41255 do
41256 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41257 echo "$as_me:$LINENO: checking for $ac_func" >&5
41258 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41259 if eval "test \"\${$as_ac_var+set}\" = set"; then
41260   echo $ECHO_N "(cached) $ECHO_C" >&6
41261 else
41262   if test x$gcc_no_link = xyes; then
41263   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41264 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41265    { (exit 1); exit 1; }; }
41266 fi
41267 cat >conftest.$ac_ext <<_ACEOF
41268 /* confdefs.h.  */
41269 _ACEOF
41270 cat confdefs.h >>conftest.$ac_ext
41271 cat >>conftest.$ac_ext <<_ACEOF
41272 /* end confdefs.h.  */
41273 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41274    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41275 #define $ac_func innocuous_$ac_func
41276
41277 /* System header to define __stub macros and hopefully few prototypes,
41278     which can conflict with char $ac_func (); below.
41279     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41280     <limits.h> exists even on freestanding compilers.  */
41281
41282 #ifdef __STDC__
41283 # include <limits.h>
41284 #else
41285 # include <assert.h>
41286 #endif
41287
41288 #undef $ac_func
41289
41290 /* Override any gcc2 internal prototype to avoid an error.  */
41291 #ifdef __cplusplus
41292 extern "C"
41293 {
41294 #endif
41295 /* We use char because int might match the return type of a gcc2
41296    builtin and then its argument prototype would still apply.  */
41297 char $ac_func ();
41298 /* The GNU C library defines this for functions which it implements
41299     to always fail with ENOSYS.  Some functions are actually named
41300     something starting with __ and the normal name is an alias.  */
41301 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41302 choke me
41303 #else
41304 char (*f) () = $ac_func;
41305 #endif
41306 #ifdef __cplusplus
41307 }
41308 #endif
41309
41310 int
41311 main ()
41312 {
41313 return f != $ac_func;
41314   ;
41315   return 0;
41316 }
41317 _ACEOF
41318 rm -f conftest.$ac_objext conftest$ac_exeext
41319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41320   (eval $ac_link) 2>conftest.er1
41321   ac_status=$?
41322   grep -v '^ *+' conftest.er1 >conftest.err
41323   rm -f conftest.er1
41324   cat conftest.err >&5
41325   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41326   (exit $ac_status); } &&
41327          { ac_try='test -z "$ac_c_werror_flag"
41328                          || test ! -s conftest.err'
41329   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41330   (eval $ac_try) 2>&5
41331   ac_status=$?
41332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41333   (exit $ac_status); }; } &&
41334          { ac_try='test -s conftest$ac_exeext'
41335   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41336   (eval $ac_try) 2>&5
41337   ac_status=$?
41338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41339   (exit $ac_status); }; }; then
41340   eval "$as_ac_var=yes"
41341 else
41342   echo "$as_me: failed program was:" >&5
41343 sed 's/^/| /' conftest.$ac_ext >&5
41344
41345 eval "$as_ac_var=no"
41346 fi
41347 rm -f conftest.err conftest.$ac_objext \
41348       conftest$ac_exeext conftest.$ac_ext
41349 fi
41350 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41351 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41352 if test `eval echo '${'$as_ac_var'}'` = yes; then
41353   cat >>confdefs.h <<_ACEOF
41354 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41355 _ACEOF
41356
41357 fi
41358 done
41359
41360     fi
41361   fi
41362
41363
41364
41365   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
41366 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
41367   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
41368     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
41369   echo $ECHO_N "(cached) $ECHO_C" >&6
41370 else
41371
41372
41373
41374       ac_ext=cc
41375 ac_cpp='$CXXCPP $CPPFLAGS'
41376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41379
41380       cat >conftest.$ac_ext <<_ACEOF
41381 /* confdefs.h.  */
41382 _ACEOF
41383 cat confdefs.h >>conftest.$ac_ext
41384 cat >>conftest.$ac_ext <<_ACEOF
41385 /* end confdefs.h.  */
41386 #include <math.h>
41387                       #ifdef HAVE_IEEEFP_H
41388                       #include <ieeefp.h>
41389                       #endif
41390
41391 int
41392 main ()
41393 {
41394  sqrtf(0);
41395   ;
41396   return 0;
41397 }
41398 _ACEOF
41399 rm -f conftest.$ac_objext
41400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41401   (eval $ac_compile) 2>conftest.er1
41402   ac_status=$?
41403   grep -v '^ *+' conftest.er1 >conftest.err
41404   rm -f conftest.er1
41405   cat conftest.err >&5
41406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41407   (exit $ac_status); } &&
41408          { ac_try='test -z "$ac_cxx_werror_flag"
41409                          || test ! -s conftest.err'
41410   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41411   (eval $ac_try) 2>&5
41412   ac_status=$?
41413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41414   (exit $ac_status); }; } &&
41415          { ac_try='test -s conftest.$ac_objext'
41416   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41417   (eval $ac_try) 2>&5
41418   ac_status=$?
41419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41420   (exit $ac_status); }; }; then
41421   glibcxx_cv_func_sqrtf_use=yes
41422 else
41423   echo "$as_me: failed program was:" >&5
41424 sed 's/^/| /' conftest.$ac_ext >&5
41425
41426 glibcxx_cv_func_sqrtf_use=no
41427 fi
41428 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41429       ac_ext=c
41430 ac_cpp='$CPP $CPPFLAGS'
41431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41434
41435
41436 fi
41437
41438   fi
41439   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
41440 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
41441
41442   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
41443
41444 for ac_func in sqrtf
41445 do
41446 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41447 echo "$as_me:$LINENO: checking for $ac_func" >&5
41448 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41449 if eval "test \"\${$as_ac_var+set}\" = set"; then
41450   echo $ECHO_N "(cached) $ECHO_C" >&6
41451 else
41452   if test x$gcc_no_link = xyes; then
41453   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41454 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41455    { (exit 1); exit 1; }; }
41456 fi
41457 cat >conftest.$ac_ext <<_ACEOF
41458 /* confdefs.h.  */
41459 _ACEOF
41460 cat confdefs.h >>conftest.$ac_ext
41461 cat >>conftest.$ac_ext <<_ACEOF
41462 /* end confdefs.h.  */
41463 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41464    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41465 #define $ac_func innocuous_$ac_func
41466
41467 /* System header to define __stub macros and hopefully few prototypes,
41468     which can conflict with char $ac_func (); below.
41469     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41470     <limits.h> exists even on freestanding compilers.  */
41471
41472 #ifdef __STDC__
41473 # include <limits.h>
41474 #else
41475 # include <assert.h>
41476 #endif
41477
41478 #undef $ac_func
41479
41480 /* Override any gcc2 internal prototype to avoid an error.  */
41481 #ifdef __cplusplus
41482 extern "C"
41483 {
41484 #endif
41485 /* We use char because int might match the return type of a gcc2
41486    builtin and then its argument prototype would still apply.  */
41487 char $ac_func ();
41488 /* The GNU C library defines this for functions which it implements
41489     to always fail with ENOSYS.  Some functions are actually named
41490     something starting with __ and the normal name is an alias.  */
41491 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41492 choke me
41493 #else
41494 char (*f) () = $ac_func;
41495 #endif
41496 #ifdef __cplusplus
41497 }
41498 #endif
41499
41500 int
41501 main ()
41502 {
41503 return f != $ac_func;
41504   ;
41505   return 0;
41506 }
41507 _ACEOF
41508 rm -f conftest.$ac_objext conftest$ac_exeext
41509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41510   (eval $ac_link) 2>conftest.er1
41511   ac_status=$?
41512   grep -v '^ *+' conftest.er1 >conftest.err
41513   rm -f conftest.er1
41514   cat conftest.err >&5
41515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41516   (exit $ac_status); } &&
41517          { ac_try='test -z "$ac_c_werror_flag"
41518                          || test ! -s conftest.err'
41519   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41520   (eval $ac_try) 2>&5
41521   ac_status=$?
41522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41523   (exit $ac_status); }; } &&
41524          { ac_try='test -s conftest$ac_exeext'
41525   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41526   (eval $ac_try) 2>&5
41527   ac_status=$?
41528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41529   (exit $ac_status); }; }; then
41530   eval "$as_ac_var=yes"
41531 else
41532   echo "$as_me: failed program was:" >&5
41533 sed 's/^/| /' conftest.$ac_ext >&5
41534
41535 eval "$as_ac_var=no"
41536 fi
41537 rm -f conftest.err conftest.$ac_objext \
41538       conftest$ac_exeext conftest.$ac_ext
41539 fi
41540 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41541 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41542 if test `eval echo '${'$as_ac_var'}'` = yes; then
41543   cat >>confdefs.h <<_ACEOF
41544 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41545 _ACEOF
41546
41547 fi
41548 done
41549
41550   else
41551
41552   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
41553 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
41554   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
41555     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
41556   echo $ECHO_N "(cached) $ECHO_C" >&6
41557 else
41558
41559
41560
41561       ac_ext=cc
41562 ac_cpp='$CXXCPP $CPPFLAGS'
41563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41566
41567       cat >conftest.$ac_ext <<_ACEOF
41568 /* confdefs.h.  */
41569 _ACEOF
41570 cat confdefs.h >>conftest.$ac_ext
41571 cat >>conftest.$ac_ext <<_ACEOF
41572 /* end confdefs.h.  */
41573 #include <math.h>
41574                       #ifdef HAVE_IEEEFP_H
41575                       #include <ieeefp.h>
41576                       #endif
41577
41578 int
41579 main ()
41580 {
41581  _sqrtf(0);
41582   ;
41583   return 0;
41584 }
41585 _ACEOF
41586 rm -f conftest.$ac_objext
41587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41588   (eval $ac_compile) 2>conftest.er1
41589   ac_status=$?
41590   grep -v '^ *+' conftest.er1 >conftest.err
41591   rm -f conftest.er1
41592   cat conftest.err >&5
41593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41594   (exit $ac_status); } &&
41595          { ac_try='test -z "$ac_cxx_werror_flag"
41596                          || test ! -s conftest.err'
41597   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41598   (eval $ac_try) 2>&5
41599   ac_status=$?
41600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41601   (exit $ac_status); }; } &&
41602          { ac_try='test -s conftest.$ac_objext'
41603   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41604   (eval $ac_try) 2>&5
41605   ac_status=$?
41606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41607   (exit $ac_status); }; }; then
41608   glibcxx_cv_func__sqrtf_use=yes
41609 else
41610   echo "$as_me: failed program was:" >&5
41611 sed 's/^/| /' conftest.$ac_ext >&5
41612
41613 glibcxx_cv_func__sqrtf_use=no
41614 fi
41615 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41616       ac_ext=c
41617 ac_cpp='$CPP $CPPFLAGS'
41618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41621
41622
41623 fi
41624
41625   fi
41626   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
41627 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
41628
41629     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
41630
41631 for ac_func in _sqrtf
41632 do
41633 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41634 echo "$as_me:$LINENO: checking for $ac_func" >&5
41635 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41636 if eval "test \"\${$as_ac_var+set}\" = set"; then
41637   echo $ECHO_N "(cached) $ECHO_C" >&6
41638 else
41639   if test x$gcc_no_link = xyes; then
41640   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41641 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41642    { (exit 1); exit 1; }; }
41643 fi
41644 cat >conftest.$ac_ext <<_ACEOF
41645 /* confdefs.h.  */
41646 _ACEOF
41647 cat confdefs.h >>conftest.$ac_ext
41648 cat >>conftest.$ac_ext <<_ACEOF
41649 /* end confdefs.h.  */
41650 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41651    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41652 #define $ac_func innocuous_$ac_func
41653
41654 /* System header to define __stub macros and hopefully few prototypes,
41655     which can conflict with char $ac_func (); below.
41656     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41657     <limits.h> exists even on freestanding compilers.  */
41658
41659 #ifdef __STDC__
41660 # include <limits.h>
41661 #else
41662 # include <assert.h>
41663 #endif
41664
41665 #undef $ac_func
41666
41667 /* Override any gcc2 internal prototype to avoid an error.  */
41668 #ifdef __cplusplus
41669 extern "C"
41670 {
41671 #endif
41672 /* We use char because int might match the return type of a gcc2
41673    builtin and then its argument prototype would still apply.  */
41674 char $ac_func ();
41675 /* The GNU C library defines this for functions which it implements
41676     to always fail with ENOSYS.  Some functions are actually named
41677     something starting with __ and the normal name is an alias.  */
41678 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41679 choke me
41680 #else
41681 char (*f) () = $ac_func;
41682 #endif
41683 #ifdef __cplusplus
41684 }
41685 #endif
41686
41687 int
41688 main ()
41689 {
41690 return f != $ac_func;
41691   ;
41692   return 0;
41693 }
41694 _ACEOF
41695 rm -f conftest.$ac_objext conftest$ac_exeext
41696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41697   (eval $ac_link) 2>conftest.er1
41698   ac_status=$?
41699   grep -v '^ *+' conftest.er1 >conftest.err
41700   rm -f conftest.er1
41701   cat conftest.err >&5
41702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41703   (exit $ac_status); } &&
41704          { ac_try='test -z "$ac_c_werror_flag"
41705                          || test ! -s conftest.err'
41706   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41707   (eval $ac_try) 2>&5
41708   ac_status=$?
41709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41710   (exit $ac_status); }; } &&
41711          { ac_try='test -s conftest$ac_exeext'
41712   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41713   (eval $ac_try) 2>&5
41714   ac_status=$?
41715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41716   (exit $ac_status); }; }; then
41717   eval "$as_ac_var=yes"
41718 else
41719   echo "$as_me: failed program was:" >&5
41720 sed 's/^/| /' conftest.$ac_ext >&5
41721
41722 eval "$as_ac_var=no"
41723 fi
41724 rm -f conftest.err conftest.$ac_objext \
41725       conftest$ac_exeext conftest.$ac_ext
41726 fi
41727 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41728 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41729 if test `eval echo '${'$as_ac_var'}'` = yes; then
41730   cat >>confdefs.h <<_ACEOF
41731 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41732 _ACEOF
41733
41734 fi
41735 done
41736
41737     fi
41738   fi
41739
41740
41741
41742   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
41743 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
41744   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
41745     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
41746   echo $ECHO_N "(cached) $ECHO_C" >&6
41747 else
41748
41749
41750
41751       ac_ext=cc
41752 ac_cpp='$CXXCPP $CPPFLAGS'
41753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41756
41757       cat >conftest.$ac_ext <<_ACEOF
41758 /* confdefs.h.  */
41759 _ACEOF
41760 cat confdefs.h >>conftest.$ac_ext
41761 cat >>conftest.$ac_ext <<_ACEOF
41762 /* end confdefs.h.  */
41763 #include <math.h>
41764 int
41765 main ()
41766 {
41767  sincosf(0, 0, 0);
41768   ;
41769   return 0;
41770 }
41771 _ACEOF
41772 rm -f conftest.$ac_objext
41773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41774   (eval $ac_compile) 2>conftest.er1
41775   ac_status=$?
41776   grep -v '^ *+' conftest.er1 >conftest.err
41777   rm -f conftest.er1
41778   cat conftest.err >&5
41779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41780   (exit $ac_status); } &&
41781          { ac_try='test -z "$ac_cxx_werror_flag"
41782                          || test ! -s conftest.err'
41783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41784   (eval $ac_try) 2>&5
41785   ac_status=$?
41786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41787   (exit $ac_status); }; } &&
41788          { ac_try='test -s conftest.$ac_objext'
41789   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41790   (eval $ac_try) 2>&5
41791   ac_status=$?
41792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41793   (exit $ac_status); }; }; then
41794   glibcxx_cv_func_sincosf_use=yes
41795 else
41796   echo "$as_me: failed program was:" >&5
41797 sed 's/^/| /' conftest.$ac_ext >&5
41798
41799 glibcxx_cv_func_sincosf_use=no
41800 fi
41801 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41802       ac_ext=c
41803 ac_cpp='$CPP $CPPFLAGS'
41804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41807
41808
41809 fi
41810
41811   fi
41812   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
41813 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
41814
41815   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
41816
41817 for ac_func in sincosf
41818 do
41819 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41820 echo "$as_me:$LINENO: checking for $ac_func" >&5
41821 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41822 if eval "test \"\${$as_ac_var+set}\" = set"; then
41823   echo $ECHO_N "(cached) $ECHO_C" >&6
41824 else
41825   if test x$gcc_no_link = xyes; then
41826   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41827 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41828    { (exit 1); exit 1; }; }
41829 fi
41830 cat >conftest.$ac_ext <<_ACEOF
41831 /* confdefs.h.  */
41832 _ACEOF
41833 cat confdefs.h >>conftest.$ac_ext
41834 cat >>conftest.$ac_ext <<_ACEOF
41835 /* end confdefs.h.  */
41836 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41837    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
41838 #define $ac_func innocuous_$ac_func
41839
41840 /* System header to define __stub macros and hopefully few prototypes,
41841     which can conflict with char $ac_func (); below.
41842     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41843     <limits.h> exists even on freestanding compilers.  */
41844
41845 #ifdef __STDC__
41846 # include <limits.h>
41847 #else
41848 # include <assert.h>
41849 #endif
41850
41851 #undef $ac_func
41852
41853 /* Override any gcc2 internal prototype to avoid an error.  */
41854 #ifdef __cplusplus
41855 extern "C"
41856 {
41857 #endif
41858 /* We use char because int might match the return type of a gcc2
41859    builtin and then its argument prototype would still apply.  */
41860 char $ac_func ();
41861 /* The GNU C library defines this for functions which it implements
41862     to always fail with ENOSYS.  Some functions are actually named
41863     something starting with __ and the normal name is an alias.  */
41864 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41865 choke me
41866 #else
41867 char (*f) () = $ac_func;
41868 #endif
41869 #ifdef __cplusplus
41870 }
41871 #endif
41872
41873 int
41874 main ()
41875 {
41876 return f != $ac_func;
41877   ;
41878   return 0;
41879 }
41880 _ACEOF
41881 rm -f conftest.$ac_objext conftest$ac_exeext
41882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41883   (eval $ac_link) 2>conftest.er1
41884   ac_status=$?
41885   grep -v '^ *+' conftest.er1 >conftest.err
41886   rm -f conftest.er1
41887   cat conftest.err >&5
41888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41889   (exit $ac_status); } &&
41890          { ac_try='test -z "$ac_c_werror_flag"
41891                          || test ! -s conftest.err'
41892   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41893   (eval $ac_try) 2>&5
41894   ac_status=$?
41895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41896   (exit $ac_status); }; } &&
41897          { ac_try='test -s conftest$ac_exeext'
41898   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41899   (eval $ac_try) 2>&5
41900   ac_status=$?
41901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41902   (exit $ac_status); }; }; then
41903   eval "$as_ac_var=yes"
41904 else
41905   echo "$as_me: failed program was:" >&5
41906 sed 's/^/| /' conftest.$ac_ext >&5
41907
41908 eval "$as_ac_var=no"
41909 fi
41910 rm -f conftest.err conftest.$ac_objext \
41911       conftest$ac_exeext conftest.$ac_ext
41912 fi
41913 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41914 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41915 if test `eval echo '${'$as_ac_var'}'` = yes; then
41916   cat >>confdefs.h <<_ACEOF
41917 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41918 _ACEOF
41919
41920 fi
41921 done
41922
41923   else
41924
41925   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
41926 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
41927   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
41928     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
41929   echo $ECHO_N "(cached) $ECHO_C" >&6
41930 else
41931
41932
41933
41934       ac_ext=cc
41935 ac_cpp='$CXXCPP $CPPFLAGS'
41936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41939
41940       cat >conftest.$ac_ext <<_ACEOF
41941 /* confdefs.h.  */
41942 _ACEOF
41943 cat confdefs.h >>conftest.$ac_ext
41944 cat >>conftest.$ac_ext <<_ACEOF
41945 /* end confdefs.h.  */
41946 #include <math.h>
41947 int
41948 main ()
41949 {
41950  _sincosf(0, 0, 0);
41951   ;
41952   return 0;
41953 }
41954 _ACEOF
41955 rm -f conftest.$ac_objext
41956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41957   (eval $ac_compile) 2>conftest.er1
41958   ac_status=$?
41959   grep -v '^ *+' conftest.er1 >conftest.err
41960   rm -f conftest.er1
41961   cat conftest.err >&5
41962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41963   (exit $ac_status); } &&
41964          { ac_try='test -z "$ac_cxx_werror_flag"
41965                          || test ! -s conftest.err'
41966   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41967   (eval $ac_try) 2>&5
41968   ac_status=$?
41969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41970   (exit $ac_status); }; } &&
41971          { ac_try='test -s conftest.$ac_objext'
41972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41973   (eval $ac_try) 2>&5
41974   ac_status=$?
41975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
41976   (exit $ac_status); }; }; then
41977   glibcxx_cv_func__sincosf_use=yes
41978 else
41979   echo "$as_me: failed program was:" >&5
41980 sed 's/^/| /' conftest.$ac_ext >&5
41981
41982 glibcxx_cv_func__sincosf_use=no
41983 fi
41984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41985       ac_ext=c
41986 ac_cpp='$CPP $CPPFLAGS'
41987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41990
41991
41992 fi
41993
41994   fi
41995   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
41996 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
41997
41998     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
41999
42000 for ac_func in _sincosf
42001 do
42002 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42003 echo "$as_me:$LINENO: checking for $ac_func" >&5
42004 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42005 if eval "test \"\${$as_ac_var+set}\" = set"; then
42006   echo $ECHO_N "(cached) $ECHO_C" >&6
42007 else
42008   if test x$gcc_no_link = xyes; then
42009   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42010 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42011    { (exit 1); exit 1; }; }
42012 fi
42013 cat >conftest.$ac_ext <<_ACEOF
42014 /* confdefs.h.  */
42015 _ACEOF
42016 cat confdefs.h >>conftest.$ac_ext
42017 cat >>conftest.$ac_ext <<_ACEOF
42018 /* end confdefs.h.  */
42019 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42020    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42021 #define $ac_func innocuous_$ac_func
42022
42023 /* System header to define __stub macros and hopefully few prototypes,
42024     which can conflict with char $ac_func (); below.
42025     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42026     <limits.h> exists even on freestanding compilers.  */
42027
42028 #ifdef __STDC__
42029 # include <limits.h>
42030 #else
42031 # include <assert.h>
42032 #endif
42033
42034 #undef $ac_func
42035
42036 /* Override any gcc2 internal prototype to avoid an error.  */
42037 #ifdef __cplusplus
42038 extern "C"
42039 {
42040 #endif
42041 /* We use char because int might match the return type of a gcc2
42042    builtin and then its argument prototype would still apply.  */
42043 char $ac_func ();
42044 /* The GNU C library defines this for functions which it implements
42045     to always fail with ENOSYS.  Some functions are actually named
42046     something starting with __ and the normal name is an alias.  */
42047 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42048 choke me
42049 #else
42050 char (*f) () = $ac_func;
42051 #endif
42052 #ifdef __cplusplus
42053 }
42054 #endif
42055
42056 int
42057 main ()
42058 {
42059 return f != $ac_func;
42060   ;
42061   return 0;
42062 }
42063 _ACEOF
42064 rm -f conftest.$ac_objext conftest$ac_exeext
42065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42066   (eval $ac_link) 2>conftest.er1
42067   ac_status=$?
42068   grep -v '^ *+' conftest.er1 >conftest.err
42069   rm -f conftest.er1
42070   cat conftest.err >&5
42071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42072   (exit $ac_status); } &&
42073          { ac_try='test -z "$ac_c_werror_flag"
42074                          || test ! -s conftest.err'
42075   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42076   (eval $ac_try) 2>&5
42077   ac_status=$?
42078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42079   (exit $ac_status); }; } &&
42080          { ac_try='test -s conftest$ac_exeext'
42081   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42082   (eval $ac_try) 2>&5
42083   ac_status=$?
42084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42085   (exit $ac_status); }; }; then
42086   eval "$as_ac_var=yes"
42087 else
42088   echo "$as_me: failed program was:" >&5
42089 sed 's/^/| /' conftest.$ac_ext >&5
42090
42091 eval "$as_ac_var=no"
42092 fi
42093 rm -f conftest.err conftest.$ac_objext \
42094       conftest$ac_exeext conftest.$ac_ext
42095 fi
42096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42097 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42098 if test `eval echo '${'$as_ac_var'}'` = yes; then
42099   cat >>confdefs.h <<_ACEOF
42100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42101 _ACEOF
42102
42103 fi
42104 done
42105
42106     fi
42107   fi
42108
42109
42110
42111   echo "$as_me:$LINENO: checking for finitef declaration" >&5
42112 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
42113   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
42114     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
42115   echo $ECHO_N "(cached) $ECHO_C" >&6
42116 else
42117
42118
42119
42120       ac_ext=cc
42121 ac_cpp='$CXXCPP $CPPFLAGS'
42122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42125
42126       cat >conftest.$ac_ext <<_ACEOF
42127 /* confdefs.h.  */
42128 _ACEOF
42129 cat confdefs.h >>conftest.$ac_ext
42130 cat >>conftest.$ac_ext <<_ACEOF
42131 /* end confdefs.h.  */
42132 #include <math.h>
42133                       #ifdef HAVE_IEEEFP_H
42134                       #include <ieeefp.h>
42135                       #endif
42136
42137 int
42138 main ()
42139 {
42140  finitef(0);
42141   ;
42142   return 0;
42143 }
42144 _ACEOF
42145 rm -f conftest.$ac_objext
42146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42147   (eval $ac_compile) 2>conftest.er1
42148   ac_status=$?
42149   grep -v '^ *+' conftest.er1 >conftest.err
42150   rm -f conftest.er1
42151   cat conftest.err >&5
42152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42153   (exit $ac_status); } &&
42154          { ac_try='test -z "$ac_cxx_werror_flag"
42155                          || test ! -s conftest.err'
42156   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42157   (eval $ac_try) 2>&5
42158   ac_status=$?
42159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42160   (exit $ac_status); }; } &&
42161          { ac_try='test -s conftest.$ac_objext'
42162   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42163   (eval $ac_try) 2>&5
42164   ac_status=$?
42165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42166   (exit $ac_status); }; }; then
42167   glibcxx_cv_func_finitef_use=yes
42168 else
42169   echo "$as_me: failed program was:" >&5
42170 sed 's/^/| /' conftest.$ac_ext >&5
42171
42172 glibcxx_cv_func_finitef_use=no
42173 fi
42174 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42175       ac_ext=c
42176 ac_cpp='$CPP $CPPFLAGS'
42177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42180
42181
42182 fi
42183
42184   fi
42185   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
42186 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
42187
42188   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
42189
42190 for ac_func in finitef
42191 do
42192 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42193 echo "$as_me:$LINENO: checking for $ac_func" >&5
42194 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42195 if eval "test \"\${$as_ac_var+set}\" = set"; then
42196   echo $ECHO_N "(cached) $ECHO_C" >&6
42197 else
42198   if test x$gcc_no_link = xyes; then
42199   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42200 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42201    { (exit 1); exit 1; }; }
42202 fi
42203 cat >conftest.$ac_ext <<_ACEOF
42204 /* confdefs.h.  */
42205 _ACEOF
42206 cat confdefs.h >>conftest.$ac_ext
42207 cat >>conftest.$ac_ext <<_ACEOF
42208 /* end confdefs.h.  */
42209 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42210    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42211 #define $ac_func innocuous_$ac_func
42212
42213 /* System header to define __stub macros and hopefully few prototypes,
42214     which can conflict with char $ac_func (); below.
42215     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42216     <limits.h> exists even on freestanding compilers.  */
42217
42218 #ifdef __STDC__
42219 # include <limits.h>
42220 #else
42221 # include <assert.h>
42222 #endif
42223
42224 #undef $ac_func
42225
42226 /* Override any gcc2 internal prototype to avoid an error.  */
42227 #ifdef __cplusplus
42228 extern "C"
42229 {
42230 #endif
42231 /* We use char because int might match the return type of a gcc2
42232    builtin and then its argument prototype would still apply.  */
42233 char $ac_func ();
42234 /* The GNU C library defines this for functions which it implements
42235     to always fail with ENOSYS.  Some functions are actually named
42236     something starting with __ and the normal name is an alias.  */
42237 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42238 choke me
42239 #else
42240 char (*f) () = $ac_func;
42241 #endif
42242 #ifdef __cplusplus
42243 }
42244 #endif
42245
42246 int
42247 main ()
42248 {
42249 return f != $ac_func;
42250   ;
42251   return 0;
42252 }
42253 _ACEOF
42254 rm -f conftest.$ac_objext conftest$ac_exeext
42255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42256   (eval $ac_link) 2>conftest.er1
42257   ac_status=$?
42258   grep -v '^ *+' conftest.er1 >conftest.err
42259   rm -f conftest.er1
42260   cat conftest.err >&5
42261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42262   (exit $ac_status); } &&
42263          { ac_try='test -z "$ac_c_werror_flag"
42264                          || test ! -s conftest.err'
42265   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42266   (eval $ac_try) 2>&5
42267   ac_status=$?
42268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42269   (exit $ac_status); }; } &&
42270          { ac_try='test -s conftest$ac_exeext'
42271   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42272   (eval $ac_try) 2>&5
42273   ac_status=$?
42274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42275   (exit $ac_status); }; }; then
42276   eval "$as_ac_var=yes"
42277 else
42278   echo "$as_me: failed program was:" >&5
42279 sed 's/^/| /' conftest.$ac_ext >&5
42280
42281 eval "$as_ac_var=no"
42282 fi
42283 rm -f conftest.err conftest.$ac_objext \
42284       conftest$ac_exeext conftest.$ac_ext
42285 fi
42286 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42287 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42288 if test `eval echo '${'$as_ac_var'}'` = yes; then
42289   cat >>confdefs.h <<_ACEOF
42290 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42291 _ACEOF
42292
42293 fi
42294 done
42295
42296   else
42297
42298   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
42299 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
42300   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
42301     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
42302   echo $ECHO_N "(cached) $ECHO_C" >&6
42303 else
42304
42305
42306
42307       ac_ext=cc
42308 ac_cpp='$CXXCPP $CPPFLAGS'
42309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42312
42313       cat >conftest.$ac_ext <<_ACEOF
42314 /* confdefs.h.  */
42315 _ACEOF
42316 cat confdefs.h >>conftest.$ac_ext
42317 cat >>conftest.$ac_ext <<_ACEOF
42318 /* end confdefs.h.  */
42319 #include <math.h>
42320                       #ifdef HAVE_IEEEFP_H
42321                       #include <ieeefp.h>
42322                       #endif
42323
42324 int
42325 main ()
42326 {
42327  _finitef(0);
42328   ;
42329   return 0;
42330 }
42331 _ACEOF
42332 rm -f conftest.$ac_objext
42333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42334   (eval $ac_compile) 2>conftest.er1
42335   ac_status=$?
42336   grep -v '^ *+' conftest.er1 >conftest.err
42337   rm -f conftest.er1
42338   cat conftest.err >&5
42339   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42340   (exit $ac_status); } &&
42341          { ac_try='test -z "$ac_cxx_werror_flag"
42342                          || test ! -s conftest.err'
42343   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42344   (eval $ac_try) 2>&5
42345   ac_status=$?
42346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42347   (exit $ac_status); }; } &&
42348          { ac_try='test -s conftest.$ac_objext'
42349   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42350   (eval $ac_try) 2>&5
42351   ac_status=$?
42352   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42353   (exit $ac_status); }; }; then
42354   glibcxx_cv_func__finitef_use=yes
42355 else
42356   echo "$as_me: failed program was:" >&5
42357 sed 's/^/| /' conftest.$ac_ext >&5
42358
42359 glibcxx_cv_func__finitef_use=no
42360 fi
42361 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42362       ac_ext=c
42363 ac_cpp='$CPP $CPPFLAGS'
42364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42367
42368
42369 fi
42370
42371   fi
42372   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
42373 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
42374
42375     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
42376
42377 for ac_func in _finitef
42378 do
42379 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42380 echo "$as_me:$LINENO: checking for $ac_func" >&5
42381 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42382 if eval "test \"\${$as_ac_var+set}\" = set"; then
42383   echo $ECHO_N "(cached) $ECHO_C" >&6
42384 else
42385   if test x$gcc_no_link = xyes; then
42386   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42387 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42388    { (exit 1); exit 1; }; }
42389 fi
42390 cat >conftest.$ac_ext <<_ACEOF
42391 /* confdefs.h.  */
42392 _ACEOF
42393 cat confdefs.h >>conftest.$ac_ext
42394 cat >>conftest.$ac_ext <<_ACEOF
42395 /* end confdefs.h.  */
42396 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42397    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42398 #define $ac_func innocuous_$ac_func
42399
42400 /* System header to define __stub macros and hopefully few prototypes,
42401     which can conflict with char $ac_func (); below.
42402     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42403     <limits.h> exists even on freestanding compilers.  */
42404
42405 #ifdef __STDC__
42406 # include <limits.h>
42407 #else
42408 # include <assert.h>
42409 #endif
42410
42411 #undef $ac_func
42412
42413 /* Override any gcc2 internal prototype to avoid an error.  */
42414 #ifdef __cplusplus
42415 extern "C"
42416 {
42417 #endif
42418 /* We use char because int might match the return type of a gcc2
42419    builtin and then its argument prototype would still apply.  */
42420 char $ac_func ();
42421 /* The GNU C library defines this for functions which it implements
42422     to always fail with ENOSYS.  Some functions are actually named
42423     something starting with __ and the normal name is an alias.  */
42424 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42425 choke me
42426 #else
42427 char (*f) () = $ac_func;
42428 #endif
42429 #ifdef __cplusplus
42430 }
42431 #endif
42432
42433 int
42434 main ()
42435 {
42436 return f != $ac_func;
42437   ;
42438   return 0;
42439 }
42440 _ACEOF
42441 rm -f conftest.$ac_objext conftest$ac_exeext
42442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42443   (eval $ac_link) 2>conftest.er1
42444   ac_status=$?
42445   grep -v '^ *+' conftest.er1 >conftest.err
42446   rm -f conftest.er1
42447   cat conftest.err >&5
42448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42449   (exit $ac_status); } &&
42450          { ac_try='test -z "$ac_c_werror_flag"
42451                          || test ! -s conftest.err'
42452   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42453   (eval $ac_try) 2>&5
42454   ac_status=$?
42455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42456   (exit $ac_status); }; } &&
42457          { ac_try='test -s conftest$ac_exeext'
42458   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42459   (eval $ac_try) 2>&5
42460   ac_status=$?
42461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42462   (exit $ac_status); }; }; then
42463   eval "$as_ac_var=yes"
42464 else
42465   echo "$as_me: failed program was:" >&5
42466 sed 's/^/| /' conftest.$ac_ext >&5
42467
42468 eval "$as_ac_var=no"
42469 fi
42470 rm -f conftest.err conftest.$ac_objext \
42471       conftest$ac_exeext conftest.$ac_ext
42472 fi
42473 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42474 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42475 if test `eval echo '${'$as_ac_var'}'` = yes; then
42476   cat >>confdefs.h <<_ACEOF
42477 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42478 _ACEOF
42479
42480 fi
42481 done
42482
42483     fi
42484   fi
42485
42486
42487
42488   echo "$as_me:$LINENO: checking for long double trig functions" >&5
42489 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
42490   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
42491   echo $ECHO_N "(cached) $ECHO_C" >&6
42492 else
42493
42494
42495
42496     ac_ext=cc
42497 ac_cpp='$CXXCPP $CPPFLAGS'
42498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42501
42502     cat >conftest.$ac_ext <<_ACEOF
42503 /* confdefs.h.  */
42504 _ACEOF
42505 cat confdefs.h >>conftest.$ac_ext
42506 cat >>conftest.$ac_ext <<_ACEOF
42507 /* end confdefs.h.  */
42508 #include <math.h>
42509 int
42510 main ()
42511 {
42512  `for x in acosl asinl atanl \
42513                                           cosl sinl tanl \
42514                                           coshl sinhl tanhl; do echo "$x (0);"; done`
42515   ;
42516   return 0;
42517 }
42518 _ACEOF
42519 rm -f conftest.$ac_objext
42520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42521   (eval $ac_compile) 2>conftest.er1
42522   ac_status=$?
42523   grep -v '^ *+' conftest.er1 >conftest.err
42524   rm -f conftest.er1
42525   cat conftest.err >&5
42526   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42527   (exit $ac_status); } &&
42528          { ac_try='test -z "$ac_cxx_werror_flag"
42529                          || test ! -s conftest.err'
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); }; } &&
42535          { ac_try='test -s conftest.$ac_objext'
42536   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42537   (eval $ac_try) 2>&5
42538   ac_status=$?
42539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42540   (exit $ac_status); }; }; then
42541   glibcxx_cv_func_long_double_trig_use=yes
42542 else
42543   echo "$as_me: failed program was:" >&5
42544 sed 's/^/| /' conftest.$ac_ext >&5
42545
42546 glibcxx_cv_func_long_double_trig_use=no
42547 fi
42548 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42549     ac_ext=c
42550 ac_cpp='$CPP $CPPFLAGS'
42551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42554
42555 fi
42556
42557   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
42558 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
42559   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
42560
42561
42562
42563
42564
42565
42566
42567
42568
42569 for ac_func in acosl asinl atanl \
42570                                           cosl sinl tanl \
42571                                           coshl sinhl tanhl
42572 do
42573 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42574 echo "$as_me:$LINENO: checking for $ac_func" >&5
42575 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42576 if eval "test \"\${$as_ac_var+set}\" = set"; then
42577   echo $ECHO_N "(cached) $ECHO_C" >&6
42578 else
42579   if test x$gcc_no_link = xyes; then
42580   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42581 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42582    { (exit 1); exit 1; }; }
42583 fi
42584 cat >conftest.$ac_ext <<_ACEOF
42585 /* confdefs.h.  */
42586 _ACEOF
42587 cat confdefs.h >>conftest.$ac_ext
42588 cat >>conftest.$ac_ext <<_ACEOF
42589 /* end confdefs.h.  */
42590 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42591    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42592 #define $ac_func innocuous_$ac_func
42593
42594 /* System header to define __stub macros and hopefully few prototypes,
42595     which can conflict with char $ac_func (); below.
42596     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42597     <limits.h> exists even on freestanding compilers.  */
42598
42599 #ifdef __STDC__
42600 # include <limits.h>
42601 #else
42602 # include <assert.h>
42603 #endif
42604
42605 #undef $ac_func
42606
42607 /* Override any gcc2 internal prototype to avoid an error.  */
42608 #ifdef __cplusplus
42609 extern "C"
42610 {
42611 #endif
42612 /* We use char because int might match the return type of a gcc2
42613    builtin and then its argument prototype would still apply.  */
42614 char $ac_func ();
42615 /* The GNU C library defines this for functions which it implements
42616     to always fail with ENOSYS.  Some functions are actually named
42617     something starting with __ and the normal name is an alias.  */
42618 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42619 choke me
42620 #else
42621 char (*f) () = $ac_func;
42622 #endif
42623 #ifdef __cplusplus
42624 }
42625 #endif
42626
42627 int
42628 main ()
42629 {
42630 return f != $ac_func;
42631   ;
42632   return 0;
42633 }
42634 _ACEOF
42635 rm -f conftest.$ac_objext conftest$ac_exeext
42636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42637   (eval $ac_link) 2>conftest.er1
42638   ac_status=$?
42639   grep -v '^ *+' conftest.er1 >conftest.err
42640   rm -f conftest.er1
42641   cat conftest.err >&5
42642   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42643   (exit $ac_status); } &&
42644          { ac_try='test -z "$ac_c_werror_flag"
42645                          || test ! -s conftest.err'
42646   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42647   (eval $ac_try) 2>&5
42648   ac_status=$?
42649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42650   (exit $ac_status); }; } &&
42651          { ac_try='test -s conftest$ac_exeext'
42652   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42653   (eval $ac_try) 2>&5
42654   ac_status=$?
42655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42656   (exit $ac_status); }; }; then
42657   eval "$as_ac_var=yes"
42658 else
42659   echo "$as_me: failed program was:" >&5
42660 sed 's/^/| /' conftest.$ac_ext >&5
42661
42662 eval "$as_ac_var=no"
42663 fi
42664 rm -f conftest.err conftest.$ac_objext \
42665       conftest$ac_exeext conftest.$ac_ext
42666 fi
42667 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42668 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42669 if test `eval echo '${'$as_ac_var'}'` = yes; then
42670   cat >>confdefs.h <<_ACEOF
42671 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42672 _ACEOF
42673
42674 fi
42675 done
42676
42677   fi
42678
42679
42680   echo "$as_me:$LINENO: checking for long double round functions" >&5
42681 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
42682   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
42683   echo $ECHO_N "(cached) $ECHO_C" >&6
42684 else
42685
42686
42687
42688     ac_ext=cc
42689 ac_cpp='$CXXCPP $CPPFLAGS'
42690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42693
42694     cat >conftest.$ac_ext <<_ACEOF
42695 /* confdefs.h.  */
42696 _ACEOF
42697 cat confdefs.h >>conftest.$ac_ext
42698 cat >>conftest.$ac_ext <<_ACEOF
42699 /* end confdefs.h.  */
42700 #include <math.h>
42701 int
42702 main ()
42703 {
42704  `for x in ceill floorl; do echo "$x (0);"; done`
42705   ;
42706   return 0;
42707 }
42708 _ACEOF
42709 rm -f conftest.$ac_objext
42710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42711   (eval $ac_compile) 2>conftest.er1
42712   ac_status=$?
42713   grep -v '^ *+' conftest.er1 >conftest.err
42714   rm -f conftest.er1
42715   cat conftest.err >&5
42716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42717   (exit $ac_status); } &&
42718          { ac_try='test -z "$ac_cxx_werror_flag"
42719                          || test ! -s conftest.err'
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); }; } &&
42725          { ac_try='test -s conftest.$ac_objext'
42726   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42727   (eval $ac_try) 2>&5
42728   ac_status=$?
42729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42730   (exit $ac_status); }; }; then
42731   glibcxx_cv_func_long_double_round_use=yes
42732 else
42733   echo "$as_me: failed program was:" >&5
42734 sed 's/^/| /' conftest.$ac_ext >&5
42735
42736 glibcxx_cv_func_long_double_round_use=no
42737 fi
42738 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42739     ac_ext=c
42740 ac_cpp='$CPP $CPPFLAGS'
42741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42744
42745 fi
42746
42747   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
42748 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
42749   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
42750
42751
42752 for ac_func in ceill floorl
42753 do
42754 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42755 echo "$as_me:$LINENO: checking for $ac_func" >&5
42756 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42757 if eval "test \"\${$as_ac_var+set}\" = set"; then
42758   echo $ECHO_N "(cached) $ECHO_C" >&6
42759 else
42760   if test x$gcc_no_link = xyes; then
42761   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42762 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42763    { (exit 1); exit 1; }; }
42764 fi
42765 cat >conftest.$ac_ext <<_ACEOF
42766 /* confdefs.h.  */
42767 _ACEOF
42768 cat confdefs.h >>conftest.$ac_ext
42769 cat >>conftest.$ac_ext <<_ACEOF
42770 /* end confdefs.h.  */
42771 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42772    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42773 #define $ac_func innocuous_$ac_func
42774
42775 /* System header to define __stub macros and hopefully few prototypes,
42776     which can conflict with char $ac_func (); below.
42777     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42778     <limits.h> exists even on freestanding compilers.  */
42779
42780 #ifdef __STDC__
42781 # include <limits.h>
42782 #else
42783 # include <assert.h>
42784 #endif
42785
42786 #undef $ac_func
42787
42788 /* Override any gcc2 internal prototype to avoid an error.  */
42789 #ifdef __cplusplus
42790 extern "C"
42791 {
42792 #endif
42793 /* We use char because int might match the return type of a gcc2
42794    builtin and then its argument prototype would still apply.  */
42795 char $ac_func ();
42796 /* The GNU C library defines this for functions which it implements
42797     to always fail with ENOSYS.  Some functions are actually named
42798     something starting with __ and the normal name is an alias.  */
42799 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42800 choke me
42801 #else
42802 char (*f) () = $ac_func;
42803 #endif
42804 #ifdef __cplusplus
42805 }
42806 #endif
42807
42808 int
42809 main ()
42810 {
42811 return f != $ac_func;
42812   ;
42813   return 0;
42814 }
42815 _ACEOF
42816 rm -f conftest.$ac_objext conftest$ac_exeext
42817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42818   (eval $ac_link) 2>conftest.er1
42819   ac_status=$?
42820   grep -v '^ *+' conftest.er1 >conftest.err
42821   rm -f conftest.er1
42822   cat conftest.err >&5
42823   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42824   (exit $ac_status); } &&
42825          { ac_try='test -z "$ac_c_werror_flag"
42826                          || test ! -s conftest.err'
42827   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42828   (eval $ac_try) 2>&5
42829   ac_status=$?
42830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42831   (exit $ac_status); }; } &&
42832          { ac_try='test -s conftest$ac_exeext'
42833   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42834   (eval $ac_try) 2>&5
42835   ac_status=$?
42836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42837   (exit $ac_status); }; }; then
42838   eval "$as_ac_var=yes"
42839 else
42840   echo "$as_me: failed program was:" >&5
42841 sed 's/^/| /' conftest.$ac_ext >&5
42842
42843 eval "$as_ac_var=no"
42844 fi
42845 rm -f conftest.err conftest.$ac_objext \
42846       conftest$ac_exeext conftest.$ac_ext
42847 fi
42848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42849 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42850 if test `eval echo '${'$as_ac_var'}'` = yes; then
42851   cat >>confdefs.h <<_ACEOF
42852 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42853 _ACEOF
42854
42855 fi
42856 done
42857
42858   fi
42859
42860
42861
42862   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
42863 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
42864   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
42865     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
42866   echo $ECHO_N "(cached) $ECHO_C" >&6
42867 else
42868
42869
42870
42871       ac_ext=cc
42872 ac_cpp='$CXXCPP $CPPFLAGS'
42873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42876
42877       cat >conftest.$ac_ext <<_ACEOF
42878 /* confdefs.h.  */
42879 _ACEOF
42880 cat confdefs.h >>conftest.$ac_ext
42881 cat >>conftest.$ac_ext <<_ACEOF
42882 /* end confdefs.h.  */
42883 #include <math.h>
42884                       #ifdef HAVE_IEEEFP_H
42885                       #include <ieeefp.h>
42886                       #endif
42887
42888 int
42889 main ()
42890 {
42891  isnanl(0);
42892   ;
42893   return 0;
42894 }
42895 _ACEOF
42896 rm -f conftest.$ac_objext
42897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42898   (eval $ac_compile) 2>conftest.er1
42899   ac_status=$?
42900   grep -v '^ *+' conftest.er1 >conftest.err
42901   rm -f conftest.er1
42902   cat conftest.err >&5
42903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42904   (exit $ac_status); } &&
42905          { ac_try='test -z "$ac_cxx_werror_flag"
42906                          || test ! -s conftest.err'
42907   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42908   (eval $ac_try) 2>&5
42909   ac_status=$?
42910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42911   (exit $ac_status); }; } &&
42912          { ac_try='test -s conftest.$ac_objext'
42913   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42914   (eval $ac_try) 2>&5
42915   ac_status=$?
42916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
42917   (exit $ac_status); }; }; then
42918   glibcxx_cv_func_isnanl_use=yes
42919 else
42920   echo "$as_me: failed program was:" >&5
42921 sed 's/^/| /' conftest.$ac_ext >&5
42922
42923 glibcxx_cv_func_isnanl_use=no
42924 fi
42925 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42926       ac_ext=c
42927 ac_cpp='$CPP $CPPFLAGS'
42928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42931
42932
42933 fi
42934
42935   fi
42936   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
42937 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
42938
42939   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
42940
42941 for ac_func in isnanl
42942 do
42943 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42944 echo "$as_me:$LINENO: checking for $ac_func" >&5
42945 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42946 if eval "test \"\${$as_ac_var+set}\" = set"; then
42947   echo $ECHO_N "(cached) $ECHO_C" >&6
42948 else
42949   if test x$gcc_no_link = xyes; then
42950   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42951 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42952    { (exit 1); exit 1; }; }
42953 fi
42954 cat >conftest.$ac_ext <<_ACEOF
42955 /* confdefs.h.  */
42956 _ACEOF
42957 cat confdefs.h >>conftest.$ac_ext
42958 cat >>conftest.$ac_ext <<_ACEOF
42959 /* end confdefs.h.  */
42960 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42961    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
42962 #define $ac_func innocuous_$ac_func
42963
42964 /* System header to define __stub macros and hopefully few prototypes,
42965     which can conflict with char $ac_func (); below.
42966     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42967     <limits.h> exists even on freestanding compilers.  */
42968
42969 #ifdef __STDC__
42970 # include <limits.h>
42971 #else
42972 # include <assert.h>
42973 #endif
42974
42975 #undef $ac_func
42976
42977 /* Override any gcc2 internal prototype to avoid an error.  */
42978 #ifdef __cplusplus
42979 extern "C"
42980 {
42981 #endif
42982 /* We use char because int might match the return type of a gcc2
42983    builtin and then its argument prototype would still apply.  */
42984 char $ac_func ();
42985 /* The GNU C library defines this for functions which it implements
42986     to always fail with ENOSYS.  Some functions are actually named
42987     something starting with __ and the normal name is an alias.  */
42988 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42989 choke me
42990 #else
42991 char (*f) () = $ac_func;
42992 #endif
42993 #ifdef __cplusplus
42994 }
42995 #endif
42996
42997 int
42998 main ()
42999 {
43000 return f != $ac_func;
43001   ;
43002   return 0;
43003 }
43004 _ACEOF
43005 rm -f conftest.$ac_objext conftest$ac_exeext
43006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43007   (eval $ac_link) 2>conftest.er1
43008   ac_status=$?
43009   grep -v '^ *+' conftest.er1 >conftest.err
43010   rm -f conftest.er1
43011   cat conftest.err >&5
43012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43013   (exit $ac_status); } &&
43014          { ac_try='test -z "$ac_c_werror_flag"
43015                          || test ! -s conftest.err'
43016   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43017   (eval $ac_try) 2>&5
43018   ac_status=$?
43019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43020   (exit $ac_status); }; } &&
43021          { ac_try='test -s conftest$ac_exeext'
43022   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43023   (eval $ac_try) 2>&5
43024   ac_status=$?
43025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43026   (exit $ac_status); }; }; then
43027   eval "$as_ac_var=yes"
43028 else
43029   echo "$as_me: failed program was:" >&5
43030 sed 's/^/| /' conftest.$ac_ext >&5
43031
43032 eval "$as_ac_var=no"
43033 fi
43034 rm -f conftest.err conftest.$ac_objext \
43035       conftest$ac_exeext conftest.$ac_ext
43036 fi
43037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43038 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43039 if test `eval echo '${'$as_ac_var'}'` = yes; then
43040   cat >>confdefs.h <<_ACEOF
43041 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43042 _ACEOF
43043
43044 fi
43045 done
43046
43047   else
43048
43049   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
43050 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
43051   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
43052     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
43053   echo $ECHO_N "(cached) $ECHO_C" >&6
43054 else
43055
43056
43057
43058       ac_ext=cc
43059 ac_cpp='$CXXCPP $CPPFLAGS'
43060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43063
43064       cat >conftest.$ac_ext <<_ACEOF
43065 /* confdefs.h.  */
43066 _ACEOF
43067 cat confdefs.h >>conftest.$ac_ext
43068 cat >>conftest.$ac_ext <<_ACEOF
43069 /* end confdefs.h.  */
43070 #include <math.h>
43071                       #ifdef HAVE_IEEEFP_H
43072                       #include <ieeefp.h>
43073                       #endif
43074
43075 int
43076 main ()
43077 {
43078  _isnanl(0);
43079   ;
43080   return 0;
43081 }
43082 _ACEOF
43083 rm -f conftest.$ac_objext
43084 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43085   (eval $ac_compile) 2>conftest.er1
43086   ac_status=$?
43087   grep -v '^ *+' conftest.er1 >conftest.err
43088   rm -f conftest.er1
43089   cat conftest.err >&5
43090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43091   (exit $ac_status); } &&
43092          { ac_try='test -z "$ac_cxx_werror_flag"
43093                          || test ! -s conftest.err'
43094   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43095   (eval $ac_try) 2>&5
43096   ac_status=$?
43097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43098   (exit $ac_status); }; } &&
43099          { ac_try='test -s conftest.$ac_objext'
43100   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43101   (eval $ac_try) 2>&5
43102   ac_status=$?
43103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43104   (exit $ac_status); }; }; then
43105   glibcxx_cv_func__isnanl_use=yes
43106 else
43107   echo "$as_me: failed program was:" >&5
43108 sed 's/^/| /' conftest.$ac_ext >&5
43109
43110 glibcxx_cv_func__isnanl_use=no
43111 fi
43112 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43113       ac_ext=c
43114 ac_cpp='$CPP $CPPFLAGS'
43115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43118
43119
43120 fi
43121
43122   fi
43123   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
43124 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
43125
43126     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
43127
43128 for ac_func in _isnanl
43129 do
43130 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43131 echo "$as_me:$LINENO: checking for $ac_func" >&5
43132 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43133 if eval "test \"\${$as_ac_var+set}\" = set"; then
43134   echo $ECHO_N "(cached) $ECHO_C" >&6
43135 else
43136   if test x$gcc_no_link = xyes; then
43137   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43138 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43139    { (exit 1); exit 1; }; }
43140 fi
43141 cat >conftest.$ac_ext <<_ACEOF
43142 /* confdefs.h.  */
43143 _ACEOF
43144 cat confdefs.h >>conftest.$ac_ext
43145 cat >>conftest.$ac_ext <<_ACEOF
43146 /* end confdefs.h.  */
43147 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43148    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43149 #define $ac_func innocuous_$ac_func
43150
43151 /* System header to define __stub macros and hopefully few prototypes,
43152     which can conflict with char $ac_func (); below.
43153     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43154     <limits.h> exists even on freestanding compilers.  */
43155
43156 #ifdef __STDC__
43157 # include <limits.h>
43158 #else
43159 # include <assert.h>
43160 #endif
43161
43162 #undef $ac_func
43163
43164 /* Override any gcc2 internal prototype to avoid an error.  */
43165 #ifdef __cplusplus
43166 extern "C"
43167 {
43168 #endif
43169 /* We use char because int might match the return type of a gcc2
43170    builtin and then its argument prototype would still apply.  */
43171 char $ac_func ();
43172 /* The GNU C library defines this for functions which it implements
43173     to always fail with ENOSYS.  Some functions are actually named
43174     something starting with __ and the normal name is an alias.  */
43175 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43176 choke me
43177 #else
43178 char (*f) () = $ac_func;
43179 #endif
43180 #ifdef __cplusplus
43181 }
43182 #endif
43183
43184 int
43185 main ()
43186 {
43187 return f != $ac_func;
43188   ;
43189   return 0;
43190 }
43191 _ACEOF
43192 rm -f conftest.$ac_objext conftest$ac_exeext
43193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43194   (eval $ac_link) 2>conftest.er1
43195   ac_status=$?
43196   grep -v '^ *+' conftest.er1 >conftest.err
43197   rm -f conftest.er1
43198   cat conftest.err >&5
43199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43200   (exit $ac_status); } &&
43201          { ac_try='test -z "$ac_c_werror_flag"
43202                          || test ! -s conftest.err'
43203   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43204   (eval $ac_try) 2>&5
43205   ac_status=$?
43206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43207   (exit $ac_status); }; } &&
43208          { ac_try='test -s conftest$ac_exeext'
43209   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43210   (eval $ac_try) 2>&5
43211   ac_status=$?
43212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43213   (exit $ac_status); }; }; then
43214   eval "$as_ac_var=yes"
43215 else
43216   echo "$as_me: failed program was:" >&5
43217 sed 's/^/| /' conftest.$ac_ext >&5
43218
43219 eval "$as_ac_var=no"
43220 fi
43221 rm -f conftest.err conftest.$ac_objext \
43222       conftest$ac_exeext conftest.$ac_ext
43223 fi
43224 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43225 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43226 if test `eval echo '${'$as_ac_var'}'` = yes; then
43227   cat >>confdefs.h <<_ACEOF
43228 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43229 _ACEOF
43230
43231 fi
43232 done
43233
43234     fi
43235   fi
43236
43237
43238
43239   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
43240 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
43241   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
43242     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
43243   echo $ECHO_N "(cached) $ECHO_C" >&6
43244 else
43245
43246
43247
43248       ac_ext=cc
43249 ac_cpp='$CXXCPP $CPPFLAGS'
43250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43253
43254       cat >conftest.$ac_ext <<_ACEOF
43255 /* confdefs.h.  */
43256 _ACEOF
43257 cat confdefs.h >>conftest.$ac_ext
43258 cat >>conftest.$ac_ext <<_ACEOF
43259 /* end confdefs.h.  */
43260 #include <math.h>
43261                       #ifdef HAVE_IEEEFP_H
43262                       #include <ieeefp.h>
43263                       #endif
43264
43265 int
43266 main ()
43267 {
43268  isinfl(0);
43269   ;
43270   return 0;
43271 }
43272 _ACEOF
43273 rm -f conftest.$ac_objext
43274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43275   (eval $ac_compile) 2>conftest.er1
43276   ac_status=$?
43277   grep -v '^ *+' conftest.er1 >conftest.err
43278   rm -f conftest.er1
43279   cat conftest.err >&5
43280   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43281   (exit $ac_status); } &&
43282          { ac_try='test -z "$ac_cxx_werror_flag"
43283                          || test ! -s conftest.err'
43284   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43285   (eval $ac_try) 2>&5
43286   ac_status=$?
43287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43288   (exit $ac_status); }; } &&
43289          { ac_try='test -s conftest.$ac_objext'
43290   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43291   (eval $ac_try) 2>&5
43292   ac_status=$?
43293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43294   (exit $ac_status); }; }; then
43295   glibcxx_cv_func_isinfl_use=yes
43296 else
43297   echo "$as_me: failed program was:" >&5
43298 sed 's/^/| /' conftest.$ac_ext >&5
43299
43300 glibcxx_cv_func_isinfl_use=no
43301 fi
43302 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43303       ac_ext=c
43304 ac_cpp='$CPP $CPPFLAGS'
43305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43308
43309
43310 fi
43311
43312   fi
43313   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
43314 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
43315
43316   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
43317
43318 for ac_func in isinfl
43319 do
43320 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43321 echo "$as_me:$LINENO: checking for $ac_func" >&5
43322 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43323 if eval "test \"\${$as_ac_var+set}\" = set"; then
43324   echo $ECHO_N "(cached) $ECHO_C" >&6
43325 else
43326   if test x$gcc_no_link = xyes; then
43327   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43328 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43329    { (exit 1); exit 1; }; }
43330 fi
43331 cat >conftest.$ac_ext <<_ACEOF
43332 /* confdefs.h.  */
43333 _ACEOF
43334 cat confdefs.h >>conftest.$ac_ext
43335 cat >>conftest.$ac_ext <<_ACEOF
43336 /* end confdefs.h.  */
43337 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43338    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43339 #define $ac_func innocuous_$ac_func
43340
43341 /* System header to define __stub macros and hopefully few prototypes,
43342     which can conflict with char $ac_func (); below.
43343     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43344     <limits.h> exists even on freestanding compilers.  */
43345
43346 #ifdef __STDC__
43347 # include <limits.h>
43348 #else
43349 # include <assert.h>
43350 #endif
43351
43352 #undef $ac_func
43353
43354 /* Override any gcc2 internal prototype to avoid an error.  */
43355 #ifdef __cplusplus
43356 extern "C"
43357 {
43358 #endif
43359 /* We use char because int might match the return type of a gcc2
43360    builtin and then its argument prototype would still apply.  */
43361 char $ac_func ();
43362 /* The GNU C library defines this for functions which it implements
43363     to always fail with ENOSYS.  Some functions are actually named
43364     something starting with __ and the normal name is an alias.  */
43365 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43366 choke me
43367 #else
43368 char (*f) () = $ac_func;
43369 #endif
43370 #ifdef __cplusplus
43371 }
43372 #endif
43373
43374 int
43375 main ()
43376 {
43377 return f != $ac_func;
43378   ;
43379   return 0;
43380 }
43381 _ACEOF
43382 rm -f conftest.$ac_objext conftest$ac_exeext
43383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43384   (eval $ac_link) 2>conftest.er1
43385   ac_status=$?
43386   grep -v '^ *+' conftest.er1 >conftest.err
43387   rm -f conftest.er1
43388   cat conftest.err >&5
43389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43390   (exit $ac_status); } &&
43391          { ac_try='test -z "$ac_c_werror_flag"
43392                          || test ! -s conftest.err'
43393   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43394   (eval $ac_try) 2>&5
43395   ac_status=$?
43396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43397   (exit $ac_status); }; } &&
43398          { ac_try='test -s conftest$ac_exeext'
43399   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43400   (eval $ac_try) 2>&5
43401   ac_status=$?
43402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43403   (exit $ac_status); }; }; then
43404   eval "$as_ac_var=yes"
43405 else
43406   echo "$as_me: failed program was:" >&5
43407 sed 's/^/| /' conftest.$ac_ext >&5
43408
43409 eval "$as_ac_var=no"
43410 fi
43411 rm -f conftest.err conftest.$ac_objext \
43412       conftest$ac_exeext conftest.$ac_ext
43413 fi
43414 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43415 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43416 if test `eval echo '${'$as_ac_var'}'` = yes; then
43417   cat >>confdefs.h <<_ACEOF
43418 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43419 _ACEOF
43420
43421 fi
43422 done
43423
43424   else
43425
43426   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
43427 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
43428   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
43429     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
43430   echo $ECHO_N "(cached) $ECHO_C" >&6
43431 else
43432
43433
43434
43435       ac_ext=cc
43436 ac_cpp='$CXXCPP $CPPFLAGS'
43437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43440
43441       cat >conftest.$ac_ext <<_ACEOF
43442 /* confdefs.h.  */
43443 _ACEOF
43444 cat confdefs.h >>conftest.$ac_ext
43445 cat >>conftest.$ac_ext <<_ACEOF
43446 /* end confdefs.h.  */
43447 #include <math.h>
43448                       #ifdef HAVE_IEEEFP_H
43449                       #include <ieeefp.h>
43450                       #endif
43451
43452 int
43453 main ()
43454 {
43455  _isinfl(0);
43456   ;
43457   return 0;
43458 }
43459 _ACEOF
43460 rm -f conftest.$ac_objext
43461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43462   (eval $ac_compile) 2>conftest.er1
43463   ac_status=$?
43464   grep -v '^ *+' conftest.er1 >conftest.err
43465   rm -f conftest.er1
43466   cat conftest.err >&5
43467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43468   (exit $ac_status); } &&
43469          { ac_try='test -z "$ac_cxx_werror_flag"
43470                          || test ! -s conftest.err'
43471   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43472   (eval $ac_try) 2>&5
43473   ac_status=$?
43474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43475   (exit $ac_status); }; } &&
43476          { ac_try='test -s conftest.$ac_objext'
43477   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43478   (eval $ac_try) 2>&5
43479   ac_status=$?
43480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43481   (exit $ac_status); }; }; then
43482   glibcxx_cv_func__isinfl_use=yes
43483 else
43484   echo "$as_me: failed program was:" >&5
43485 sed 's/^/| /' conftest.$ac_ext >&5
43486
43487 glibcxx_cv_func__isinfl_use=no
43488 fi
43489 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43490       ac_ext=c
43491 ac_cpp='$CPP $CPPFLAGS'
43492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43495
43496
43497 fi
43498
43499   fi
43500   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
43501 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
43502
43503     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
43504
43505 for ac_func in _isinfl
43506 do
43507 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43508 echo "$as_me:$LINENO: checking for $ac_func" >&5
43509 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43510 if eval "test \"\${$as_ac_var+set}\" = set"; then
43511   echo $ECHO_N "(cached) $ECHO_C" >&6
43512 else
43513   if test x$gcc_no_link = xyes; then
43514   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43515 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43516    { (exit 1); exit 1; }; }
43517 fi
43518 cat >conftest.$ac_ext <<_ACEOF
43519 /* confdefs.h.  */
43520 _ACEOF
43521 cat confdefs.h >>conftest.$ac_ext
43522 cat >>conftest.$ac_ext <<_ACEOF
43523 /* end confdefs.h.  */
43524 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43525    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43526 #define $ac_func innocuous_$ac_func
43527
43528 /* System header to define __stub macros and hopefully few prototypes,
43529     which can conflict with char $ac_func (); below.
43530     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43531     <limits.h> exists even on freestanding compilers.  */
43532
43533 #ifdef __STDC__
43534 # include <limits.h>
43535 #else
43536 # include <assert.h>
43537 #endif
43538
43539 #undef $ac_func
43540
43541 /* Override any gcc2 internal prototype to avoid an error.  */
43542 #ifdef __cplusplus
43543 extern "C"
43544 {
43545 #endif
43546 /* We use char because int might match the return type of a gcc2
43547    builtin and then its argument prototype would still apply.  */
43548 char $ac_func ();
43549 /* The GNU C library defines this for functions which it implements
43550     to always fail with ENOSYS.  Some functions are actually named
43551     something starting with __ and the normal name is an alias.  */
43552 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43553 choke me
43554 #else
43555 char (*f) () = $ac_func;
43556 #endif
43557 #ifdef __cplusplus
43558 }
43559 #endif
43560
43561 int
43562 main ()
43563 {
43564 return f != $ac_func;
43565   ;
43566   return 0;
43567 }
43568 _ACEOF
43569 rm -f conftest.$ac_objext conftest$ac_exeext
43570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43571   (eval $ac_link) 2>conftest.er1
43572   ac_status=$?
43573   grep -v '^ *+' conftest.er1 >conftest.err
43574   rm -f conftest.er1
43575   cat conftest.err >&5
43576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43577   (exit $ac_status); } &&
43578          { ac_try='test -z "$ac_c_werror_flag"
43579                          || test ! -s conftest.err'
43580   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43581   (eval $ac_try) 2>&5
43582   ac_status=$?
43583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43584   (exit $ac_status); }; } &&
43585          { ac_try='test -s conftest$ac_exeext'
43586   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43587   (eval $ac_try) 2>&5
43588   ac_status=$?
43589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43590   (exit $ac_status); }; }; then
43591   eval "$as_ac_var=yes"
43592 else
43593   echo "$as_me: failed program was:" >&5
43594 sed 's/^/| /' conftest.$ac_ext >&5
43595
43596 eval "$as_ac_var=no"
43597 fi
43598 rm -f conftest.err conftest.$ac_objext \
43599       conftest$ac_exeext conftest.$ac_ext
43600 fi
43601 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43602 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43603 if test `eval echo '${'$as_ac_var'}'` = yes; then
43604   cat >>confdefs.h <<_ACEOF
43605 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43606 _ACEOF
43607
43608 fi
43609 done
43610
43611     fi
43612   fi
43613
43614
43615
43616   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
43617 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
43618   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
43619     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
43620   echo $ECHO_N "(cached) $ECHO_C" >&6
43621 else
43622
43623
43624
43625       ac_ext=cc
43626 ac_cpp='$CXXCPP $CPPFLAGS'
43627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43630
43631       cat >conftest.$ac_ext <<_ACEOF
43632 /* confdefs.h.  */
43633 _ACEOF
43634 cat confdefs.h >>conftest.$ac_ext
43635 cat >>conftest.$ac_ext <<_ACEOF
43636 /* end confdefs.h.  */
43637 #include <math.h>
43638 int
43639 main ()
43640 {
43641  copysignl(0, 0);
43642   ;
43643   return 0;
43644 }
43645 _ACEOF
43646 rm -f conftest.$ac_objext
43647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43648   (eval $ac_compile) 2>conftest.er1
43649   ac_status=$?
43650   grep -v '^ *+' conftest.er1 >conftest.err
43651   rm -f conftest.er1
43652   cat conftest.err >&5
43653   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43654   (exit $ac_status); } &&
43655          { ac_try='test -z "$ac_cxx_werror_flag"
43656                          || test ! -s conftest.err'
43657   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43658   (eval $ac_try) 2>&5
43659   ac_status=$?
43660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43661   (exit $ac_status); }; } &&
43662          { ac_try='test -s conftest.$ac_objext'
43663   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43664   (eval $ac_try) 2>&5
43665   ac_status=$?
43666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43667   (exit $ac_status); }; }; then
43668   glibcxx_cv_func_copysignl_use=yes
43669 else
43670   echo "$as_me: failed program was:" >&5
43671 sed 's/^/| /' conftest.$ac_ext >&5
43672
43673 glibcxx_cv_func_copysignl_use=no
43674 fi
43675 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43676       ac_ext=c
43677 ac_cpp='$CPP $CPPFLAGS'
43678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43681
43682
43683 fi
43684
43685   fi
43686   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
43687 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
43688
43689   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
43690
43691 for ac_func in copysignl
43692 do
43693 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43694 echo "$as_me:$LINENO: checking for $ac_func" >&5
43695 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43696 if eval "test \"\${$as_ac_var+set}\" = set"; then
43697   echo $ECHO_N "(cached) $ECHO_C" >&6
43698 else
43699   if test x$gcc_no_link = xyes; then
43700   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43701 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43702    { (exit 1); exit 1; }; }
43703 fi
43704 cat >conftest.$ac_ext <<_ACEOF
43705 /* confdefs.h.  */
43706 _ACEOF
43707 cat confdefs.h >>conftest.$ac_ext
43708 cat >>conftest.$ac_ext <<_ACEOF
43709 /* end confdefs.h.  */
43710 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43711    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43712 #define $ac_func innocuous_$ac_func
43713
43714 /* System header to define __stub macros and hopefully few prototypes,
43715     which can conflict with char $ac_func (); below.
43716     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43717     <limits.h> exists even on freestanding compilers.  */
43718
43719 #ifdef __STDC__
43720 # include <limits.h>
43721 #else
43722 # include <assert.h>
43723 #endif
43724
43725 #undef $ac_func
43726
43727 /* Override any gcc2 internal prototype to avoid an error.  */
43728 #ifdef __cplusplus
43729 extern "C"
43730 {
43731 #endif
43732 /* We use char because int might match the return type of a gcc2
43733    builtin and then its argument prototype would still apply.  */
43734 char $ac_func ();
43735 /* The GNU C library defines this for functions which it implements
43736     to always fail with ENOSYS.  Some functions are actually named
43737     something starting with __ and the normal name is an alias.  */
43738 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43739 choke me
43740 #else
43741 char (*f) () = $ac_func;
43742 #endif
43743 #ifdef __cplusplus
43744 }
43745 #endif
43746
43747 int
43748 main ()
43749 {
43750 return f != $ac_func;
43751   ;
43752   return 0;
43753 }
43754 _ACEOF
43755 rm -f conftest.$ac_objext conftest$ac_exeext
43756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43757   (eval $ac_link) 2>conftest.er1
43758   ac_status=$?
43759   grep -v '^ *+' conftest.er1 >conftest.err
43760   rm -f conftest.er1
43761   cat conftest.err >&5
43762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43763   (exit $ac_status); } &&
43764          { ac_try='test -z "$ac_c_werror_flag"
43765                          || test ! -s conftest.err'
43766   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43767   (eval $ac_try) 2>&5
43768   ac_status=$?
43769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43770   (exit $ac_status); }; } &&
43771          { ac_try='test -s conftest$ac_exeext'
43772   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43773   (eval $ac_try) 2>&5
43774   ac_status=$?
43775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43776   (exit $ac_status); }; }; then
43777   eval "$as_ac_var=yes"
43778 else
43779   echo "$as_me: failed program was:" >&5
43780 sed 's/^/| /' conftest.$ac_ext >&5
43781
43782 eval "$as_ac_var=no"
43783 fi
43784 rm -f conftest.err conftest.$ac_objext \
43785       conftest$ac_exeext conftest.$ac_ext
43786 fi
43787 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43788 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43789 if test `eval echo '${'$as_ac_var'}'` = yes; then
43790   cat >>confdefs.h <<_ACEOF
43791 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43792 _ACEOF
43793
43794 fi
43795 done
43796
43797   else
43798
43799   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
43800 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
43801   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
43802     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
43803   echo $ECHO_N "(cached) $ECHO_C" >&6
43804 else
43805
43806
43807
43808       ac_ext=cc
43809 ac_cpp='$CXXCPP $CPPFLAGS'
43810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43813
43814       cat >conftest.$ac_ext <<_ACEOF
43815 /* confdefs.h.  */
43816 _ACEOF
43817 cat confdefs.h >>conftest.$ac_ext
43818 cat >>conftest.$ac_ext <<_ACEOF
43819 /* end confdefs.h.  */
43820 #include <math.h>
43821 int
43822 main ()
43823 {
43824  _copysignl(0, 0);
43825   ;
43826   return 0;
43827 }
43828 _ACEOF
43829 rm -f conftest.$ac_objext
43830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43831   (eval $ac_compile) 2>conftest.er1
43832   ac_status=$?
43833   grep -v '^ *+' conftest.er1 >conftest.err
43834   rm -f conftest.er1
43835   cat conftest.err >&5
43836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43837   (exit $ac_status); } &&
43838          { ac_try='test -z "$ac_cxx_werror_flag"
43839                          || test ! -s conftest.err'
43840   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43841   (eval $ac_try) 2>&5
43842   ac_status=$?
43843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43844   (exit $ac_status); }; } &&
43845          { ac_try='test -s conftest.$ac_objext'
43846   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43847   (eval $ac_try) 2>&5
43848   ac_status=$?
43849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43850   (exit $ac_status); }; }; then
43851   glibcxx_cv_func__copysignl_use=yes
43852 else
43853   echo "$as_me: failed program was:" >&5
43854 sed 's/^/| /' conftest.$ac_ext >&5
43855
43856 glibcxx_cv_func__copysignl_use=no
43857 fi
43858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43859       ac_ext=c
43860 ac_cpp='$CPP $CPPFLAGS'
43861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43864
43865
43866 fi
43867
43868   fi
43869   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
43870 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
43871
43872     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
43873
43874 for ac_func in _copysignl
43875 do
43876 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43877 echo "$as_me:$LINENO: checking for $ac_func" >&5
43878 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43879 if eval "test \"\${$as_ac_var+set}\" = set"; then
43880   echo $ECHO_N "(cached) $ECHO_C" >&6
43881 else
43882   if test x$gcc_no_link = xyes; then
43883   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43884 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43885    { (exit 1); exit 1; }; }
43886 fi
43887 cat >conftest.$ac_ext <<_ACEOF
43888 /* confdefs.h.  */
43889 _ACEOF
43890 cat confdefs.h >>conftest.$ac_ext
43891 cat >>conftest.$ac_ext <<_ACEOF
43892 /* end confdefs.h.  */
43893 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43894    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
43895 #define $ac_func innocuous_$ac_func
43896
43897 /* System header to define __stub macros and hopefully few prototypes,
43898     which can conflict with char $ac_func (); below.
43899     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43900     <limits.h> exists even on freestanding compilers.  */
43901
43902 #ifdef __STDC__
43903 # include <limits.h>
43904 #else
43905 # include <assert.h>
43906 #endif
43907
43908 #undef $ac_func
43909
43910 /* Override any gcc2 internal prototype to avoid an error.  */
43911 #ifdef __cplusplus
43912 extern "C"
43913 {
43914 #endif
43915 /* We use char because int might match the return type of a gcc2
43916    builtin and then its argument prototype would still apply.  */
43917 char $ac_func ();
43918 /* The GNU C library defines this for functions which it implements
43919     to always fail with ENOSYS.  Some functions are actually named
43920     something starting with __ and the normal name is an alias.  */
43921 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43922 choke me
43923 #else
43924 char (*f) () = $ac_func;
43925 #endif
43926 #ifdef __cplusplus
43927 }
43928 #endif
43929
43930 int
43931 main ()
43932 {
43933 return f != $ac_func;
43934   ;
43935   return 0;
43936 }
43937 _ACEOF
43938 rm -f conftest.$ac_objext conftest$ac_exeext
43939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43940   (eval $ac_link) 2>conftest.er1
43941   ac_status=$?
43942   grep -v '^ *+' conftest.er1 >conftest.err
43943   rm -f conftest.er1
43944   cat conftest.err >&5
43945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43946   (exit $ac_status); } &&
43947          { ac_try='test -z "$ac_c_werror_flag"
43948                          || test ! -s conftest.err'
43949   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43950   (eval $ac_try) 2>&5
43951   ac_status=$?
43952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43953   (exit $ac_status); }; } &&
43954          { ac_try='test -s conftest$ac_exeext'
43955   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43956   (eval $ac_try) 2>&5
43957   ac_status=$?
43958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
43959   (exit $ac_status); }; }; then
43960   eval "$as_ac_var=yes"
43961 else
43962   echo "$as_me: failed program was:" >&5
43963 sed 's/^/| /' conftest.$ac_ext >&5
43964
43965 eval "$as_ac_var=no"
43966 fi
43967 rm -f conftest.err conftest.$ac_objext \
43968       conftest$ac_exeext conftest.$ac_ext
43969 fi
43970 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43971 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43972 if test `eval echo '${'$as_ac_var'}'` = yes; then
43973   cat >>confdefs.h <<_ACEOF
43974 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43975 _ACEOF
43976
43977 fi
43978 done
43979
43980     fi
43981   fi
43982
43983
43984
43985   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
43986 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
43987   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
43988     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
43989   echo $ECHO_N "(cached) $ECHO_C" >&6
43990 else
43991
43992
43993
43994       ac_ext=cc
43995 ac_cpp='$CXXCPP $CPPFLAGS'
43996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43999
44000       cat >conftest.$ac_ext <<_ACEOF
44001 /* confdefs.h.  */
44002 _ACEOF
44003 cat confdefs.h >>conftest.$ac_ext
44004 cat >>conftest.$ac_ext <<_ACEOF
44005 /* end confdefs.h.  */
44006 #include <math.h>
44007 int
44008 main ()
44009 {
44010  atan2l(0, 0);
44011   ;
44012   return 0;
44013 }
44014 _ACEOF
44015 rm -f conftest.$ac_objext
44016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44017   (eval $ac_compile) 2>conftest.er1
44018   ac_status=$?
44019   grep -v '^ *+' conftest.er1 >conftest.err
44020   rm -f conftest.er1
44021   cat conftest.err >&5
44022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44023   (exit $ac_status); } &&
44024          { ac_try='test -z "$ac_cxx_werror_flag"
44025                          || test ! -s conftest.err'
44026   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44027   (eval $ac_try) 2>&5
44028   ac_status=$?
44029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44030   (exit $ac_status); }; } &&
44031          { ac_try='test -s conftest.$ac_objext'
44032   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44033   (eval $ac_try) 2>&5
44034   ac_status=$?
44035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44036   (exit $ac_status); }; }; then
44037   glibcxx_cv_func_atan2l_use=yes
44038 else
44039   echo "$as_me: failed program was:" >&5
44040 sed 's/^/| /' conftest.$ac_ext >&5
44041
44042 glibcxx_cv_func_atan2l_use=no
44043 fi
44044 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44045       ac_ext=c
44046 ac_cpp='$CPP $CPPFLAGS'
44047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44050
44051
44052 fi
44053
44054   fi
44055   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
44056 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
44057
44058   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
44059
44060 for ac_func in atan2l
44061 do
44062 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44063 echo "$as_me:$LINENO: checking for $ac_func" >&5
44064 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44065 if eval "test \"\${$as_ac_var+set}\" = set"; then
44066   echo $ECHO_N "(cached) $ECHO_C" >&6
44067 else
44068   if test x$gcc_no_link = xyes; then
44069   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44070 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44071    { (exit 1); exit 1; }; }
44072 fi
44073 cat >conftest.$ac_ext <<_ACEOF
44074 /* confdefs.h.  */
44075 _ACEOF
44076 cat confdefs.h >>conftest.$ac_ext
44077 cat >>conftest.$ac_ext <<_ACEOF
44078 /* end confdefs.h.  */
44079 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44080    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44081 #define $ac_func innocuous_$ac_func
44082
44083 /* System header to define __stub macros and hopefully few prototypes,
44084     which can conflict with char $ac_func (); below.
44085     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44086     <limits.h> exists even on freestanding compilers.  */
44087
44088 #ifdef __STDC__
44089 # include <limits.h>
44090 #else
44091 # include <assert.h>
44092 #endif
44093
44094 #undef $ac_func
44095
44096 /* Override any gcc2 internal prototype to avoid an error.  */
44097 #ifdef __cplusplus
44098 extern "C"
44099 {
44100 #endif
44101 /* We use char because int might match the return type of a gcc2
44102    builtin and then its argument prototype would still apply.  */
44103 char $ac_func ();
44104 /* The GNU C library defines this for functions which it implements
44105     to always fail with ENOSYS.  Some functions are actually named
44106     something starting with __ and the normal name is an alias.  */
44107 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44108 choke me
44109 #else
44110 char (*f) () = $ac_func;
44111 #endif
44112 #ifdef __cplusplus
44113 }
44114 #endif
44115
44116 int
44117 main ()
44118 {
44119 return f != $ac_func;
44120   ;
44121   return 0;
44122 }
44123 _ACEOF
44124 rm -f conftest.$ac_objext conftest$ac_exeext
44125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44126   (eval $ac_link) 2>conftest.er1
44127   ac_status=$?
44128   grep -v '^ *+' conftest.er1 >conftest.err
44129   rm -f conftest.er1
44130   cat conftest.err >&5
44131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44132   (exit $ac_status); } &&
44133          { ac_try='test -z "$ac_c_werror_flag"
44134                          || test ! -s conftest.err'
44135   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44136   (eval $ac_try) 2>&5
44137   ac_status=$?
44138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44139   (exit $ac_status); }; } &&
44140          { ac_try='test -s conftest$ac_exeext'
44141   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44142   (eval $ac_try) 2>&5
44143   ac_status=$?
44144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44145   (exit $ac_status); }; }; then
44146   eval "$as_ac_var=yes"
44147 else
44148   echo "$as_me: failed program was:" >&5
44149 sed 's/^/| /' conftest.$ac_ext >&5
44150
44151 eval "$as_ac_var=no"
44152 fi
44153 rm -f conftest.err conftest.$ac_objext \
44154       conftest$ac_exeext conftest.$ac_ext
44155 fi
44156 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44157 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44158 if test `eval echo '${'$as_ac_var'}'` = yes; then
44159   cat >>confdefs.h <<_ACEOF
44160 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44161 _ACEOF
44162
44163 fi
44164 done
44165
44166   else
44167
44168   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
44169 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
44170   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
44171     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
44172   echo $ECHO_N "(cached) $ECHO_C" >&6
44173 else
44174
44175
44176
44177       ac_ext=cc
44178 ac_cpp='$CXXCPP $CPPFLAGS'
44179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44182
44183       cat >conftest.$ac_ext <<_ACEOF
44184 /* confdefs.h.  */
44185 _ACEOF
44186 cat confdefs.h >>conftest.$ac_ext
44187 cat >>conftest.$ac_ext <<_ACEOF
44188 /* end confdefs.h.  */
44189 #include <math.h>
44190 int
44191 main ()
44192 {
44193  _atan2l(0, 0);
44194   ;
44195   return 0;
44196 }
44197 _ACEOF
44198 rm -f conftest.$ac_objext
44199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44200   (eval $ac_compile) 2>conftest.er1
44201   ac_status=$?
44202   grep -v '^ *+' conftest.er1 >conftest.err
44203   rm -f conftest.er1
44204   cat conftest.err >&5
44205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44206   (exit $ac_status); } &&
44207          { ac_try='test -z "$ac_cxx_werror_flag"
44208                          || test ! -s conftest.err'
44209   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44210   (eval $ac_try) 2>&5
44211   ac_status=$?
44212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44213   (exit $ac_status); }; } &&
44214          { ac_try='test -s conftest.$ac_objext'
44215   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44216   (eval $ac_try) 2>&5
44217   ac_status=$?
44218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44219   (exit $ac_status); }; }; then
44220   glibcxx_cv_func__atan2l_use=yes
44221 else
44222   echo "$as_me: failed program was:" >&5
44223 sed 's/^/| /' conftest.$ac_ext >&5
44224
44225 glibcxx_cv_func__atan2l_use=no
44226 fi
44227 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44228       ac_ext=c
44229 ac_cpp='$CPP $CPPFLAGS'
44230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44233
44234
44235 fi
44236
44237   fi
44238   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
44239 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
44240
44241     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
44242
44243 for ac_func in _atan2l
44244 do
44245 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44246 echo "$as_me:$LINENO: checking for $ac_func" >&5
44247 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44248 if eval "test \"\${$as_ac_var+set}\" = set"; then
44249   echo $ECHO_N "(cached) $ECHO_C" >&6
44250 else
44251   if test x$gcc_no_link = xyes; then
44252   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44253 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44254    { (exit 1); exit 1; }; }
44255 fi
44256 cat >conftest.$ac_ext <<_ACEOF
44257 /* confdefs.h.  */
44258 _ACEOF
44259 cat confdefs.h >>conftest.$ac_ext
44260 cat >>conftest.$ac_ext <<_ACEOF
44261 /* end confdefs.h.  */
44262 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44263    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44264 #define $ac_func innocuous_$ac_func
44265
44266 /* System header to define __stub macros and hopefully few prototypes,
44267     which can conflict with char $ac_func (); below.
44268     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44269     <limits.h> exists even on freestanding compilers.  */
44270
44271 #ifdef __STDC__
44272 # include <limits.h>
44273 #else
44274 # include <assert.h>
44275 #endif
44276
44277 #undef $ac_func
44278
44279 /* Override any gcc2 internal prototype to avoid an error.  */
44280 #ifdef __cplusplus
44281 extern "C"
44282 {
44283 #endif
44284 /* We use char because int might match the return type of a gcc2
44285    builtin and then its argument prototype would still apply.  */
44286 char $ac_func ();
44287 /* The GNU C library defines this for functions which it implements
44288     to always fail with ENOSYS.  Some functions are actually named
44289     something starting with __ and the normal name is an alias.  */
44290 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44291 choke me
44292 #else
44293 char (*f) () = $ac_func;
44294 #endif
44295 #ifdef __cplusplus
44296 }
44297 #endif
44298
44299 int
44300 main ()
44301 {
44302 return f != $ac_func;
44303   ;
44304   return 0;
44305 }
44306 _ACEOF
44307 rm -f conftest.$ac_objext conftest$ac_exeext
44308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44309   (eval $ac_link) 2>conftest.er1
44310   ac_status=$?
44311   grep -v '^ *+' conftest.er1 >conftest.err
44312   rm -f conftest.er1
44313   cat conftest.err >&5
44314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44315   (exit $ac_status); } &&
44316          { ac_try='test -z "$ac_c_werror_flag"
44317                          || test ! -s conftest.err'
44318   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44319   (eval $ac_try) 2>&5
44320   ac_status=$?
44321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44322   (exit $ac_status); }; } &&
44323          { ac_try='test -s conftest$ac_exeext'
44324   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44325   (eval $ac_try) 2>&5
44326   ac_status=$?
44327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44328   (exit $ac_status); }; }; then
44329   eval "$as_ac_var=yes"
44330 else
44331   echo "$as_me: failed program was:" >&5
44332 sed 's/^/| /' conftest.$ac_ext >&5
44333
44334 eval "$as_ac_var=no"
44335 fi
44336 rm -f conftest.err conftest.$ac_objext \
44337       conftest$ac_exeext conftest.$ac_ext
44338 fi
44339 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44340 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44341 if test `eval echo '${'$as_ac_var'}'` = yes; then
44342   cat >>confdefs.h <<_ACEOF
44343 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44344 _ACEOF
44345
44346 fi
44347 done
44348
44349     fi
44350   fi
44351
44352
44353
44354   echo "$as_me:$LINENO: checking for expl declaration" >&5
44355 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
44356   if test x${glibcxx_cv_func_expl_use+set} != xset; then
44357     if test "${glibcxx_cv_func_expl_use+set}" = set; then
44358   echo $ECHO_N "(cached) $ECHO_C" >&6
44359 else
44360
44361
44362
44363       ac_ext=cc
44364 ac_cpp='$CXXCPP $CPPFLAGS'
44365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44368
44369       cat >conftest.$ac_ext <<_ACEOF
44370 /* confdefs.h.  */
44371 _ACEOF
44372 cat confdefs.h >>conftest.$ac_ext
44373 cat >>conftest.$ac_ext <<_ACEOF
44374 /* end confdefs.h.  */
44375 #include <math.h>
44376                       #ifdef HAVE_IEEEFP_H
44377                       #include <ieeefp.h>
44378                       #endif
44379
44380 int
44381 main ()
44382 {
44383  expl(0);
44384   ;
44385   return 0;
44386 }
44387 _ACEOF
44388 rm -f conftest.$ac_objext
44389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44390   (eval $ac_compile) 2>conftest.er1
44391   ac_status=$?
44392   grep -v '^ *+' conftest.er1 >conftest.err
44393   rm -f conftest.er1
44394   cat conftest.err >&5
44395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44396   (exit $ac_status); } &&
44397          { ac_try='test -z "$ac_cxx_werror_flag"
44398                          || test ! -s conftest.err'
44399   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44400   (eval $ac_try) 2>&5
44401   ac_status=$?
44402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44403   (exit $ac_status); }; } &&
44404          { ac_try='test -s conftest.$ac_objext'
44405   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44406   (eval $ac_try) 2>&5
44407   ac_status=$?
44408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44409   (exit $ac_status); }; }; then
44410   glibcxx_cv_func_expl_use=yes
44411 else
44412   echo "$as_me: failed program was:" >&5
44413 sed 's/^/| /' conftest.$ac_ext >&5
44414
44415 glibcxx_cv_func_expl_use=no
44416 fi
44417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44418       ac_ext=c
44419 ac_cpp='$CPP $CPPFLAGS'
44420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44423
44424
44425 fi
44426
44427   fi
44428   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
44429 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
44430
44431   if test x$glibcxx_cv_func_expl_use = x"yes"; then
44432
44433 for ac_func in expl
44434 do
44435 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44436 echo "$as_me:$LINENO: checking for $ac_func" >&5
44437 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44438 if eval "test \"\${$as_ac_var+set}\" = set"; then
44439   echo $ECHO_N "(cached) $ECHO_C" >&6
44440 else
44441   if test x$gcc_no_link = xyes; then
44442   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44443 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44444    { (exit 1); exit 1; }; }
44445 fi
44446 cat >conftest.$ac_ext <<_ACEOF
44447 /* confdefs.h.  */
44448 _ACEOF
44449 cat confdefs.h >>conftest.$ac_ext
44450 cat >>conftest.$ac_ext <<_ACEOF
44451 /* end confdefs.h.  */
44452 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44453    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44454 #define $ac_func innocuous_$ac_func
44455
44456 /* System header to define __stub macros and hopefully few prototypes,
44457     which can conflict with char $ac_func (); below.
44458     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44459     <limits.h> exists even on freestanding compilers.  */
44460
44461 #ifdef __STDC__
44462 # include <limits.h>
44463 #else
44464 # include <assert.h>
44465 #endif
44466
44467 #undef $ac_func
44468
44469 /* Override any gcc2 internal prototype to avoid an error.  */
44470 #ifdef __cplusplus
44471 extern "C"
44472 {
44473 #endif
44474 /* We use char because int might match the return type of a gcc2
44475    builtin and then its argument prototype would still apply.  */
44476 char $ac_func ();
44477 /* The GNU C library defines this for functions which it implements
44478     to always fail with ENOSYS.  Some functions are actually named
44479     something starting with __ and the normal name is an alias.  */
44480 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44481 choke me
44482 #else
44483 char (*f) () = $ac_func;
44484 #endif
44485 #ifdef __cplusplus
44486 }
44487 #endif
44488
44489 int
44490 main ()
44491 {
44492 return f != $ac_func;
44493   ;
44494   return 0;
44495 }
44496 _ACEOF
44497 rm -f conftest.$ac_objext conftest$ac_exeext
44498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44499   (eval $ac_link) 2>conftest.er1
44500   ac_status=$?
44501   grep -v '^ *+' conftest.er1 >conftest.err
44502   rm -f conftest.er1
44503   cat conftest.err >&5
44504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44505   (exit $ac_status); } &&
44506          { ac_try='test -z "$ac_c_werror_flag"
44507                          || test ! -s conftest.err'
44508   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44509   (eval $ac_try) 2>&5
44510   ac_status=$?
44511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44512   (exit $ac_status); }; } &&
44513          { ac_try='test -s conftest$ac_exeext'
44514   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44515   (eval $ac_try) 2>&5
44516   ac_status=$?
44517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44518   (exit $ac_status); }; }; then
44519   eval "$as_ac_var=yes"
44520 else
44521   echo "$as_me: failed program was:" >&5
44522 sed 's/^/| /' conftest.$ac_ext >&5
44523
44524 eval "$as_ac_var=no"
44525 fi
44526 rm -f conftest.err conftest.$ac_objext \
44527       conftest$ac_exeext conftest.$ac_ext
44528 fi
44529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44530 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44531 if test `eval echo '${'$as_ac_var'}'` = yes; then
44532   cat >>confdefs.h <<_ACEOF
44533 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44534 _ACEOF
44535
44536 fi
44537 done
44538
44539   else
44540
44541   echo "$as_me:$LINENO: checking for _expl declaration" >&5
44542 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
44543   if test x${glibcxx_cv_func__expl_use+set} != xset; then
44544     if test "${glibcxx_cv_func__expl_use+set}" = set; then
44545   echo $ECHO_N "(cached) $ECHO_C" >&6
44546 else
44547
44548
44549
44550       ac_ext=cc
44551 ac_cpp='$CXXCPP $CPPFLAGS'
44552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44555
44556       cat >conftest.$ac_ext <<_ACEOF
44557 /* confdefs.h.  */
44558 _ACEOF
44559 cat confdefs.h >>conftest.$ac_ext
44560 cat >>conftest.$ac_ext <<_ACEOF
44561 /* end confdefs.h.  */
44562 #include <math.h>
44563                       #ifdef HAVE_IEEEFP_H
44564                       #include <ieeefp.h>
44565                       #endif
44566
44567 int
44568 main ()
44569 {
44570  _expl(0);
44571   ;
44572   return 0;
44573 }
44574 _ACEOF
44575 rm -f conftest.$ac_objext
44576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44577   (eval $ac_compile) 2>conftest.er1
44578   ac_status=$?
44579   grep -v '^ *+' conftest.er1 >conftest.err
44580   rm -f conftest.er1
44581   cat conftest.err >&5
44582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44583   (exit $ac_status); } &&
44584          { ac_try='test -z "$ac_cxx_werror_flag"
44585                          || test ! -s conftest.err'
44586   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44587   (eval $ac_try) 2>&5
44588   ac_status=$?
44589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44590   (exit $ac_status); }; } &&
44591          { ac_try='test -s conftest.$ac_objext'
44592   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44593   (eval $ac_try) 2>&5
44594   ac_status=$?
44595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44596   (exit $ac_status); }; }; then
44597   glibcxx_cv_func__expl_use=yes
44598 else
44599   echo "$as_me: failed program was:" >&5
44600 sed 's/^/| /' conftest.$ac_ext >&5
44601
44602 glibcxx_cv_func__expl_use=no
44603 fi
44604 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44605       ac_ext=c
44606 ac_cpp='$CPP $CPPFLAGS'
44607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44610
44611
44612 fi
44613
44614   fi
44615   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
44616 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
44617
44618     if test x$glibcxx_cv_func__expl_use = x"yes"; then
44619
44620 for ac_func in _expl
44621 do
44622 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44623 echo "$as_me:$LINENO: checking for $ac_func" >&5
44624 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44625 if eval "test \"\${$as_ac_var+set}\" = set"; then
44626   echo $ECHO_N "(cached) $ECHO_C" >&6
44627 else
44628   if test x$gcc_no_link = xyes; then
44629   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44630 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44631    { (exit 1); exit 1; }; }
44632 fi
44633 cat >conftest.$ac_ext <<_ACEOF
44634 /* confdefs.h.  */
44635 _ACEOF
44636 cat confdefs.h >>conftest.$ac_ext
44637 cat >>conftest.$ac_ext <<_ACEOF
44638 /* end confdefs.h.  */
44639 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44640    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44641 #define $ac_func innocuous_$ac_func
44642
44643 /* System header to define __stub macros and hopefully few prototypes,
44644     which can conflict with char $ac_func (); below.
44645     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44646     <limits.h> exists even on freestanding compilers.  */
44647
44648 #ifdef __STDC__
44649 # include <limits.h>
44650 #else
44651 # include <assert.h>
44652 #endif
44653
44654 #undef $ac_func
44655
44656 /* Override any gcc2 internal prototype to avoid an error.  */
44657 #ifdef __cplusplus
44658 extern "C"
44659 {
44660 #endif
44661 /* We use char because int might match the return type of a gcc2
44662    builtin and then its argument prototype would still apply.  */
44663 char $ac_func ();
44664 /* The GNU C library defines this for functions which it implements
44665     to always fail with ENOSYS.  Some functions are actually named
44666     something starting with __ and the normal name is an alias.  */
44667 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44668 choke me
44669 #else
44670 char (*f) () = $ac_func;
44671 #endif
44672 #ifdef __cplusplus
44673 }
44674 #endif
44675
44676 int
44677 main ()
44678 {
44679 return f != $ac_func;
44680   ;
44681   return 0;
44682 }
44683 _ACEOF
44684 rm -f conftest.$ac_objext conftest$ac_exeext
44685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44686   (eval $ac_link) 2>conftest.er1
44687   ac_status=$?
44688   grep -v '^ *+' conftest.er1 >conftest.err
44689   rm -f conftest.er1
44690   cat conftest.err >&5
44691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44692   (exit $ac_status); } &&
44693          { ac_try='test -z "$ac_c_werror_flag"
44694                          || test ! -s conftest.err'
44695   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44696   (eval $ac_try) 2>&5
44697   ac_status=$?
44698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44699   (exit $ac_status); }; } &&
44700          { ac_try='test -s conftest$ac_exeext'
44701   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44702   (eval $ac_try) 2>&5
44703   ac_status=$?
44704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44705   (exit $ac_status); }; }; then
44706   eval "$as_ac_var=yes"
44707 else
44708   echo "$as_me: failed program was:" >&5
44709 sed 's/^/| /' conftest.$ac_ext >&5
44710
44711 eval "$as_ac_var=no"
44712 fi
44713 rm -f conftest.err conftest.$ac_objext \
44714       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   fi
44728
44729
44730
44731   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
44732 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
44733   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
44734     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
44735   echo $ECHO_N "(cached) $ECHO_C" >&6
44736 else
44737
44738
44739
44740       ac_ext=cc
44741 ac_cpp='$CXXCPP $CPPFLAGS'
44742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44745
44746       cat >conftest.$ac_ext <<_ACEOF
44747 /* confdefs.h.  */
44748 _ACEOF
44749 cat confdefs.h >>conftest.$ac_ext
44750 cat >>conftest.$ac_ext <<_ACEOF
44751 /* end confdefs.h.  */
44752 #include <math.h>
44753                       #ifdef HAVE_IEEEFP_H
44754                       #include <ieeefp.h>
44755                       #endif
44756
44757 int
44758 main ()
44759 {
44760  fabsl(0);
44761   ;
44762   return 0;
44763 }
44764 _ACEOF
44765 rm -f conftest.$ac_objext
44766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44767   (eval $ac_compile) 2>conftest.er1
44768   ac_status=$?
44769   grep -v '^ *+' conftest.er1 >conftest.err
44770   rm -f conftest.er1
44771   cat conftest.err >&5
44772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44773   (exit $ac_status); } &&
44774          { ac_try='test -z "$ac_cxx_werror_flag"
44775                          || test ! -s conftest.err'
44776   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44777   (eval $ac_try) 2>&5
44778   ac_status=$?
44779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44780   (exit $ac_status); }; } &&
44781          { ac_try='test -s conftest.$ac_objext'
44782   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44783   (eval $ac_try) 2>&5
44784   ac_status=$?
44785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44786   (exit $ac_status); }; }; then
44787   glibcxx_cv_func_fabsl_use=yes
44788 else
44789   echo "$as_me: failed program was:" >&5
44790 sed 's/^/| /' conftest.$ac_ext >&5
44791
44792 glibcxx_cv_func_fabsl_use=no
44793 fi
44794 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44795       ac_ext=c
44796 ac_cpp='$CPP $CPPFLAGS'
44797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44800
44801
44802 fi
44803
44804   fi
44805   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
44806 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
44807
44808   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
44809
44810 for ac_func in fabsl
44811 do
44812 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44813 echo "$as_me:$LINENO: checking for $ac_func" >&5
44814 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44815 if eval "test \"\${$as_ac_var+set}\" = set"; then
44816   echo $ECHO_N "(cached) $ECHO_C" >&6
44817 else
44818   if test x$gcc_no_link = xyes; then
44819   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44820 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44821    { (exit 1); exit 1; }; }
44822 fi
44823 cat >conftest.$ac_ext <<_ACEOF
44824 /* confdefs.h.  */
44825 _ACEOF
44826 cat confdefs.h >>conftest.$ac_ext
44827 cat >>conftest.$ac_ext <<_ACEOF
44828 /* end confdefs.h.  */
44829 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44830    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
44831 #define $ac_func innocuous_$ac_func
44832
44833 /* System header to define __stub macros and hopefully few prototypes,
44834     which can conflict with char $ac_func (); below.
44835     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44836     <limits.h> exists even on freestanding compilers.  */
44837
44838 #ifdef __STDC__
44839 # include <limits.h>
44840 #else
44841 # include <assert.h>
44842 #endif
44843
44844 #undef $ac_func
44845
44846 /* Override any gcc2 internal prototype to avoid an error.  */
44847 #ifdef __cplusplus
44848 extern "C"
44849 {
44850 #endif
44851 /* We use char because int might match the return type of a gcc2
44852    builtin and then its argument prototype would still apply.  */
44853 char $ac_func ();
44854 /* The GNU C library defines this for functions which it implements
44855     to always fail with ENOSYS.  Some functions are actually named
44856     something starting with __ and the normal name is an alias.  */
44857 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44858 choke me
44859 #else
44860 char (*f) () = $ac_func;
44861 #endif
44862 #ifdef __cplusplus
44863 }
44864 #endif
44865
44866 int
44867 main ()
44868 {
44869 return f != $ac_func;
44870   ;
44871   return 0;
44872 }
44873 _ACEOF
44874 rm -f conftest.$ac_objext conftest$ac_exeext
44875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44876   (eval $ac_link) 2>conftest.er1
44877   ac_status=$?
44878   grep -v '^ *+' conftest.er1 >conftest.err
44879   rm -f conftest.er1
44880   cat conftest.err >&5
44881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44882   (exit $ac_status); } &&
44883          { ac_try='test -z "$ac_c_werror_flag"
44884                          || test ! -s conftest.err'
44885   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44886   (eval $ac_try) 2>&5
44887   ac_status=$?
44888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44889   (exit $ac_status); }; } &&
44890          { ac_try='test -s conftest$ac_exeext'
44891   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44892   (eval $ac_try) 2>&5
44893   ac_status=$?
44894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44895   (exit $ac_status); }; }; then
44896   eval "$as_ac_var=yes"
44897 else
44898   echo "$as_me: failed program was:" >&5
44899 sed 's/^/| /' conftest.$ac_ext >&5
44900
44901 eval "$as_ac_var=no"
44902 fi
44903 rm -f conftest.err conftest.$ac_objext \
44904       conftest$ac_exeext conftest.$ac_ext
44905 fi
44906 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44907 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44908 if test `eval echo '${'$as_ac_var'}'` = yes; then
44909   cat >>confdefs.h <<_ACEOF
44910 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44911 _ACEOF
44912
44913 fi
44914 done
44915
44916   else
44917
44918   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
44919 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
44920   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
44921     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
44922   echo $ECHO_N "(cached) $ECHO_C" >&6
44923 else
44924
44925
44926
44927       ac_ext=cc
44928 ac_cpp='$CXXCPP $CPPFLAGS'
44929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44932
44933       cat >conftest.$ac_ext <<_ACEOF
44934 /* confdefs.h.  */
44935 _ACEOF
44936 cat confdefs.h >>conftest.$ac_ext
44937 cat >>conftest.$ac_ext <<_ACEOF
44938 /* end confdefs.h.  */
44939 #include <math.h>
44940                       #ifdef HAVE_IEEEFP_H
44941                       #include <ieeefp.h>
44942                       #endif
44943
44944 int
44945 main ()
44946 {
44947  _fabsl(0);
44948   ;
44949   return 0;
44950 }
44951 _ACEOF
44952 rm -f conftest.$ac_objext
44953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44954   (eval $ac_compile) 2>conftest.er1
44955   ac_status=$?
44956   grep -v '^ *+' conftest.er1 >conftest.err
44957   rm -f conftest.er1
44958   cat conftest.err >&5
44959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44960   (exit $ac_status); } &&
44961          { ac_try='test -z "$ac_cxx_werror_flag"
44962                          || test ! -s conftest.err'
44963   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44964   (eval $ac_try) 2>&5
44965   ac_status=$?
44966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44967   (exit $ac_status); }; } &&
44968          { ac_try='test -s conftest.$ac_objext'
44969   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44970   (eval $ac_try) 2>&5
44971   ac_status=$?
44972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
44973   (exit $ac_status); }; }; then
44974   glibcxx_cv_func__fabsl_use=yes
44975 else
44976   echo "$as_me: failed program was:" >&5
44977 sed 's/^/| /' conftest.$ac_ext >&5
44978
44979 glibcxx_cv_func__fabsl_use=no
44980 fi
44981 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44982       ac_ext=c
44983 ac_cpp='$CPP $CPPFLAGS'
44984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44987
44988
44989 fi
44990
44991   fi
44992   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
44993 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
44994
44995     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
44996
44997 for ac_func in _fabsl
44998 do
44999 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45000 echo "$as_me:$LINENO: checking for $ac_func" >&5
45001 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45002 if eval "test \"\${$as_ac_var+set}\" = set"; then
45003   echo $ECHO_N "(cached) $ECHO_C" >&6
45004 else
45005   if test x$gcc_no_link = xyes; then
45006   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45007 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45008    { (exit 1); exit 1; }; }
45009 fi
45010 cat >conftest.$ac_ext <<_ACEOF
45011 /* confdefs.h.  */
45012 _ACEOF
45013 cat confdefs.h >>conftest.$ac_ext
45014 cat >>conftest.$ac_ext <<_ACEOF
45015 /* end confdefs.h.  */
45016 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45017    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45018 #define $ac_func innocuous_$ac_func
45019
45020 /* System header to define __stub macros and hopefully few prototypes,
45021     which can conflict with char $ac_func (); below.
45022     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45023     <limits.h> exists even on freestanding compilers.  */
45024
45025 #ifdef __STDC__
45026 # include <limits.h>
45027 #else
45028 # include <assert.h>
45029 #endif
45030
45031 #undef $ac_func
45032
45033 /* Override any gcc2 internal prototype to avoid an error.  */
45034 #ifdef __cplusplus
45035 extern "C"
45036 {
45037 #endif
45038 /* We use char because int might match the return type of a gcc2
45039    builtin and then its argument prototype would still apply.  */
45040 char $ac_func ();
45041 /* The GNU C library defines this for functions which it implements
45042     to always fail with ENOSYS.  Some functions are actually named
45043     something starting with __ and the normal name is an alias.  */
45044 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45045 choke me
45046 #else
45047 char (*f) () = $ac_func;
45048 #endif
45049 #ifdef __cplusplus
45050 }
45051 #endif
45052
45053 int
45054 main ()
45055 {
45056 return f != $ac_func;
45057   ;
45058   return 0;
45059 }
45060 _ACEOF
45061 rm -f conftest.$ac_objext conftest$ac_exeext
45062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45063   (eval $ac_link) 2>conftest.er1
45064   ac_status=$?
45065   grep -v '^ *+' conftest.er1 >conftest.err
45066   rm -f conftest.er1
45067   cat conftest.err >&5
45068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45069   (exit $ac_status); } &&
45070          { ac_try='test -z "$ac_c_werror_flag"
45071                          || test ! -s conftest.err'
45072   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45073   (eval $ac_try) 2>&5
45074   ac_status=$?
45075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45076   (exit $ac_status); }; } &&
45077          { ac_try='test -s conftest$ac_exeext'
45078   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45079   (eval $ac_try) 2>&5
45080   ac_status=$?
45081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45082   (exit $ac_status); }; }; then
45083   eval "$as_ac_var=yes"
45084 else
45085   echo "$as_me: failed program was:" >&5
45086 sed 's/^/| /' conftest.$ac_ext >&5
45087
45088 eval "$as_ac_var=no"
45089 fi
45090 rm -f conftest.err conftest.$ac_objext \
45091       conftest$ac_exeext conftest.$ac_ext
45092 fi
45093 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45094 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45095 if test `eval echo '${'$as_ac_var'}'` = yes; then
45096   cat >>confdefs.h <<_ACEOF
45097 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45098 _ACEOF
45099
45100 fi
45101 done
45102
45103     fi
45104   fi
45105
45106
45107
45108   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
45109 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
45110   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
45111     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
45112   echo $ECHO_N "(cached) $ECHO_C" >&6
45113 else
45114
45115
45116
45117       ac_ext=cc
45118 ac_cpp='$CXXCPP $CPPFLAGS'
45119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45122
45123       cat >conftest.$ac_ext <<_ACEOF
45124 /* confdefs.h.  */
45125 _ACEOF
45126 cat confdefs.h >>conftest.$ac_ext
45127 cat >>conftest.$ac_ext <<_ACEOF
45128 /* end confdefs.h.  */
45129 #include <math.h>
45130 int
45131 main ()
45132 {
45133  fmodl(0, 0);
45134   ;
45135   return 0;
45136 }
45137 _ACEOF
45138 rm -f conftest.$ac_objext
45139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45140   (eval $ac_compile) 2>conftest.er1
45141   ac_status=$?
45142   grep -v '^ *+' conftest.er1 >conftest.err
45143   rm -f conftest.er1
45144   cat conftest.err >&5
45145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45146   (exit $ac_status); } &&
45147          { ac_try='test -z "$ac_cxx_werror_flag"
45148                          || test ! -s conftest.err'
45149   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45150   (eval $ac_try) 2>&5
45151   ac_status=$?
45152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45153   (exit $ac_status); }; } &&
45154          { ac_try='test -s conftest.$ac_objext'
45155   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45156   (eval $ac_try) 2>&5
45157   ac_status=$?
45158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45159   (exit $ac_status); }; }; then
45160   glibcxx_cv_func_fmodl_use=yes
45161 else
45162   echo "$as_me: failed program was:" >&5
45163 sed 's/^/| /' conftest.$ac_ext >&5
45164
45165 glibcxx_cv_func_fmodl_use=no
45166 fi
45167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45168       ac_ext=c
45169 ac_cpp='$CPP $CPPFLAGS'
45170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45173
45174
45175 fi
45176
45177   fi
45178   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
45179 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
45180
45181   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
45182
45183 for ac_func in fmodl
45184 do
45185 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45186 echo "$as_me:$LINENO: checking for $ac_func" >&5
45187 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45188 if eval "test \"\${$as_ac_var+set}\" = set"; then
45189   echo $ECHO_N "(cached) $ECHO_C" >&6
45190 else
45191   if test x$gcc_no_link = xyes; then
45192   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45193 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45194    { (exit 1); exit 1; }; }
45195 fi
45196 cat >conftest.$ac_ext <<_ACEOF
45197 /* confdefs.h.  */
45198 _ACEOF
45199 cat confdefs.h >>conftest.$ac_ext
45200 cat >>conftest.$ac_ext <<_ACEOF
45201 /* end confdefs.h.  */
45202 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45203    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45204 #define $ac_func innocuous_$ac_func
45205
45206 /* System header to define __stub macros and hopefully few prototypes,
45207     which can conflict with char $ac_func (); below.
45208     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45209     <limits.h> exists even on freestanding compilers.  */
45210
45211 #ifdef __STDC__
45212 # include <limits.h>
45213 #else
45214 # include <assert.h>
45215 #endif
45216
45217 #undef $ac_func
45218
45219 /* Override any gcc2 internal prototype to avoid an error.  */
45220 #ifdef __cplusplus
45221 extern "C"
45222 {
45223 #endif
45224 /* We use char because int might match the return type of a gcc2
45225    builtin and then its argument prototype would still apply.  */
45226 char $ac_func ();
45227 /* The GNU C library defines this for functions which it implements
45228     to always fail with ENOSYS.  Some functions are actually named
45229     something starting with __ and the normal name is an alias.  */
45230 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45231 choke me
45232 #else
45233 char (*f) () = $ac_func;
45234 #endif
45235 #ifdef __cplusplus
45236 }
45237 #endif
45238
45239 int
45240 main ()
45241 {
45242 return f != $ac_func;
45243   ;
45244   return 0;
45245 }
45246 _ACEOF
45247 rm -f conftest.$ac_objext conftest$ac_exeext
45248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45249   (eval $ac_link) 2>conftest.er1
45250   ac_status=$?
45251   grep -v '^ *+' conftest.er1 >conftest.err
45252   rm -f conftest.er1
45253   cat conftest.err >&5
45254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45255   (exit $ac_status); } &&
45256          { ac_try='test -z "$ac_c_werror_flag"
45257                          || test ! -s conftest.err'
45258   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45259   (eval $ac_try) 2>&5
45260   ac_status=$?
45261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45262   (exit $ac_status); }; } &&
45263          { ac_try='test -s conftest$ac_exeext'
45264   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45265   (eval $ac_try) 2>&5
45266   ac_status=$?
45267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45268   (exit $ac_status); }; }; then
45269   eval "$as_ac_var=yes"
45270 else
45271   echo "$as_me: failed program was:" >&5
45272 sed 's/^/| /' conftest.$ac_ext >&5
45273
45274 eval "$as_ac_var=no"
45275 fi
45276 rm -f conftest.err conftest.$ac_objext \
45277       conftest$ac_exeext conftest.$ac_ext
45278 fi
45279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45280 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45281 if test `eval echo '${'$as_ac_var'}'` = yes; then
45282   cat >>confdefs.h <<_ACEOF
45283 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45284 _ACEOF
45285
45286 fi
45287 done
45288
45289   else
45290
45291   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
45292 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
45293   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
45294     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
45295   echo $ECHO_N "(cached) $ECHO_C" >&6
45296 else
45297
45298
45299
45300       ac_ext=cc
45301 ac_cpp='$CXXCPP $CPPFLAGS'
45302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45305
45306       cat >conftest.$ac_ext <<_ACEOF
45307 /* confdefs.h.  */
45308 _ACEOF
45309 cat confdefs.h >>conftest.$ac_ext
45310 cat >>conftest.$ac_ext <<_ACEOF
45311 /* end confdefs.h.  */
45312 #include <math.h>
45313 int
45314 main ()
45315 {
45316  _fmodl(0, 0);
45317   ;
45318   return 0;
45319 }
45320 _ACEOF
45321 rm -f conftest.$ac_objext
45322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45323   (eval $ac_compile) 2>conftest.er1
45324   ac_status=$?
45325   grep -v '^ *+' conftest.er1 >conftest.err
45326   rm -f conftest.er1
45327   cat conftest.err >&5
45328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45329   (exit $ac_status); } &&
45330          { ac_try='test -z "$ac_cxx_werror_flag"
45331                          || test ! -s conftest.err'
45332   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45333   (eval $ac_try) 2>&5
45334   ac_status=$?
45335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45336   (exit $ac_status); }; } &&
45337          { ac_try='test -s conftest.$ac_objext'
45338   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45339   (eval $ac_try) 2>&5
45340   ac_status=$?
45341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45342   (exit $ac_status); }; }; then
45343   glibcxx_cv_func__fmodl_use=yes
45344 else
45345   echo "$as_me: failed program was:" >&5
45346 sed 's/^/| /' conftest.$ac_ext >&5
45347
45348 glibcxx_cv_func__fmodl_use=no
45349 fi
45350 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45351       ac_ext=c
45352 ac_cpp='$CPP $CPPFLAGS'
45353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45356
45357
45358 fi
45359
45360   fi
45361   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
45362 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
45363
45364     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
45365
45366 for ac_func in _fmodl
45367 do
45368 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45369 echo "$as_me:$LINENO: checking for $ac_func" >&5
45370 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45371 if eval "test \"\${$as_ac_var+set}\" = set"; then
45372   echo $ECHO_N "(cached) $ECHO_C" >&6
45373 else
45374   if test x$gcc_no_link = xyes; then
45375   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45376 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45377    { (exit 1); exit 1; }; }
45378 fi
45379 cat >conftest.$ac_ext <<_ACEOF
45380 /* confdefs.h.  */
45381 _ACEOF
45382 cat confdefs.h >>conftest.$ac_ext
45383 cat >>conftest.$ac_ext <<_ACEOF
45384 /* end confdefs.h.  */
45385 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45386    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45387 #define $ac_func innocuous_$ac_func
45388
45389 /* System header to define __stub macros and hopefully few prototypes,
45390     which can conflict with char $ac_func (); below.
45391     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45392     <limits.h> exists even on freestanding compilers.  */
45393
45394 #ifdef __STDC__
45395 # include <limits.h>
45396 #else
45397 # include <assert.h>
45398 #endif
45399
45400 #undef $ac_func
45401
45402 /* Override any gcc2 internal prototype to avoid an error.  */
45403 #ifdef __cplusplus
45404 extern "C"
45405 {
45406 #endif
45407 /* We use char because int might match the return type of a gcc2
45408    builtin and then its argument prototype would still apply.  */
45409 char $ac_func ();
45410 /* The GNU C library defines this for functions which it implements
45411     to always fail with ENOSYS.  Some functions are actually named
45412     something starting with __ and the normal name is an alias.  */
45413 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45414 choke me
45415 #else
45416 char (*f) () = $ac_func;
45417 #endif
45418 #ifdef __cplusplus
45419 }
45420 #endif
45421
45422 int
45423 main ()
45424 {
45425 return f != $ac_func;
45426   ;
45427   return 0;
45428 }
45429 _ACEOF
45430 rm -f conftest.$ac_objext conftest$ac_exeext
45431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45432   (eval $ac_link) 2>conftest.er1
45433   ac_status=$?
45434   grep -v '^ *+' conftest.er1 >conftest.err
45435   rm -f conftest.er1
45436   cat conftest.err >&5
45437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45438   (exit $ac_status); } &&
45439          { ac_try='test -z "$ac_c_werror_flag"
45440                          || test ! -s conftest.err'
45441   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45442   (eval $ac_try) 2>&5
45443   ac_status=$?
45444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45445   (exit $ac_status); }; } &&
45446          { ac_try='test -s conftest$ac_exeext'
45447   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45448   (eval $ac_try) 2>&5
45449   ac_status=$?
45450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45451   (exit $ac_status); }; }; then
45452   eval "$as_ac_var=yes"
45453 else
45454   echo "$as_me: failed program was:" >&5
45455 sed 's/^/| /' conftest.$ac_ext >&5
45456
45457 eval "$as_ac_var=no"
45458 fi
45459 rm -f conftest.err conftest.$ac_objext \
45460       conftest$ac_exeext conftest.$ac_ext
45461 fi
45462 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45463 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45464 if test `eval echo '${'$as_ac_var'}'` = yes; then
45465   cat >>confdefs.h <<_ACEOF
45466 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45467 _ACEOF
45468
45469 fi
45470 done
45471
45472     fi
45473   fi
45474
45475
45476
45477   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
45478 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
45479   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
45480     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
45481   echo $ECHO_N "(cached) $ECHO_C" >&6
45482 else
45483
45484
45485
45486       ac_ext=cc
45487 ac_cpp='$CXXCPP $CPPFLAGS'
45488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45491
45492       cat >conftest.$ac_ext <<_ACEOF
45493 /* confdefs.h.  */
45494 _ACEOF
45495 cat confdefs.h >>conftest.$ac_ext
45496 cat >>conftest.$ac_ext <<_ACEOF
45497 /* end confdefs.h.  */
45498 #include <math.h>
45499 int
45500 main ()
45501 {
45502  frexpl(0, 0);
45503   ;
45504   return 0;
45505 }
45506 _ACEOF
45507 rm -f conftest.$ac_objext
45508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45509   (eval $ac_compile) 2>conftest.er1
45510   ac_status=$?
45511   grep -v '^ *+' conftest.er1 >conftest.err
45512   rm -f conftest.er1
45513   cat conftest.err >&5
45514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45515   (exit $ac_status); } &&
45516          { ac_try='test -z "$ac_cxx_werror_flag"
45517                          || test ! -s conftest.err'
45518   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45519   (eval $ac_try) 2>&5
45520   ac_status=$?
45521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45522   (exit $ac_status); }; } &&
45523          { ac_try='test -s conftest.$ac_objext'
45524   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45525   (eval $ac_try) 2>&5
45526   ac_status=$?
45527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45528   (exit $ac_status); }; }; then
45529   glibcxx_cv_func_frexpl_use=yes
45530 else
45531   echo "$as_me: failed program was:" >&5
45532 sed 's/^/| /' conftest.$ac_ext >&5
45533
45534 glibcxx_cv_func_frexpl_use=no
45535 fi
45536 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45537       ac_ext=c
45538 ac_cpp='$CPP $CPPFLAGS'
45539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45542
45543
45544 fi
45545
45546   fi
45547   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
45548 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
45549
45550   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
45551
45552 for ac_func in frexpl
45553 do
45554 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45555 echo "$as_me:$LINENO: checking for $ac_func" >&5
45556 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45557 if eval "test \"\${$as_ac_var+set}\" = set"; then
45558   echo $ECHO_N "(cached) $ECHO_C" >&6
45559 else
45560   if test x$gcc_no_link = xyes; then
45561   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45562 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45563    { (exit 1); exit 1; }; }
45564 fi
45565 cat >conftest.$ac_ext <<_ACEOF
45566 /* confdefs.h.  */
45567 _ACEOF
45568 cat confdefs.h >>conftest.$ac_ext
45569 cat >>conftest.$ac_ext <<_ACEOF
45570 /* end confdefs.h.  */
45571 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45572    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45573 #define $ac_func innocuous_$ac_func
45574
45575 /* System header to define __stub macros and hopefully few prototypes,
45576     which can conflict with char $ac_func (); below.
45577     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45578     <limits.h> exists even on freestanding compilers.  */
45579
45580 #ifdef __STDC__
45581 # include <limits.h>
45582 #else
45583 # include <assert.h>
45584 #endif
45585
45586 #undef $ac_func
45587
45588 /* Override any gcc2 internal prototype to avoid an error.  */
45589 #ifdef __cplusplus
45590 extern "C"
45591 {
45592 #endif
45593 /* We use char because int might match the return type of a gcc2
45594    builtin and then its argument prototype would still apply.  */
45595 char $ac_func ();
45596 /* The GNU C library defines this for functions which it implements
45597     to always fail with ENOSYS.  Some functions are actually named
45598     something starting with __ and the normal name is an alias.  */
45599 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45600 choke me
45601 #else
45602 char (*f) () = $ac_func;
45603 #endif
45604 #ifdef __cplusplus
45605 }
45606 #endif
45607
45608 int
45609 main ()
45610 {
45611 return f != $ac_func;
45612   ;
45613   return 0;
45614 }
45615 _ACEOF
45616 rm -f conftest.$ac_objext conftest$ac_exeext
45617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45618   (eval $ac_link) 2>conftest.er1
45619   ac_status=$?
45620   grep -v '^ *+' conftest.er1 >conftest.err
45621   rm -f conftest.er1
45622   cat conftest.err >&5
45623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45624   (exit $ac_status); } &&
45625          { ac_try='test -z "$ac_c_werror_flag"
45626                          || test ! -s conftest.err'
45627   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45628   (eval $ac_try) 2>&5
45629   ac_status=$?
45630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45631   (exit $ac_status); }; } &&
45632          { ac_try='test -s conftest$ac_exeext'
45633   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45634   (eval $ac_try) 2>&5
45635   ac_status=$?
45636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45637   (exit $ac_status); }; }; then
45638   eval "$as_ac_var=yes"
45639 else
45640   echo "$as_me: failed program was:" >&5
45641 sed 's/^/| /' conftest.$ac_ext >&5
45642
45643 eval "$as_ac_var=no"
45644 fi
45645 rm -f conftest.err conftest.$ac_objext \
45646       conftest$ac_exeext conftest.$ac_ext
45647 fi
45648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45649 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45650 if test `eval echo '${'$as_ac_var'}'` = yes; then
45651   cat >>confdefs.h <<_ACEOF
45652 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45653 _ACEOF
45654
45655 fi
45656 done
45657
45658   else
45659
45660   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
45661 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
45662   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
45663     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
45664   echo $ECHO_N "(cached) $ECHO_C" >&6
45665 else
45666
45667
45668
45669       ac_ext=cc
45670 ac_cpp='$CXXCPP $CPPFLAGS'
45671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45674
45675       cat >conftest.$ac_ext <<_ACEOF
45676 /* confdefs.h.  */
45677 _ACEOF
45678 cat confdefs.h >>conftest.$ac_ext
45679 cat >>conftest.$ac_ext <<_ACEOF
45680 /* end confdefs.h.  */
45681 #include <math.h>
45682 int
45683 main ()
45684 {
45685  _frexpl(0, 0);
45686   ;
45687   return 0;
45688 }
45689 _ACEOF
45690 rm -f conftest.$ac_objext
45691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45692   (eval $ac_compile) 2>conftest.er1
45693   ac_status=$?
45694   grep -v '^ *+' conftest.er1 >conftest.err
45695   rm -f conftest.er1
45696   cat conftest.err >&5
45697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45698   (exit $ac_status); } &&
45699          { ac_try='test -z "$ac_cxx_werror_flag"
45700                          || test ! -s conftest.err'
45701   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45702   (eval $ac_try) 2>&5
45703   ac_status=$?
45704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45705   (exit $ac_status); }; } &&
45706          { ac_try='test -s conftest.$ac_objext'
45707   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45708   (eval $ac_try) 2>&5
45709   ac_status=$?
45710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45711   (exit $ac_status); }; }; then
45712   glibcxx_cv_func__frexpl_use=yes
45713 else
45714   echo "$as_me: failed program was:" >&5
45715 sed 's/^/| /' conftest.$ac_ext >&5
45716
45717 glibcxx_cv_func__frexpl_use=no
45718 fi
45719 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45720       ac_ext=c
45721 ac_cpp='$CPP $CPPFLAGS'
45722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45725
45726
45727 fi
45728
45729   fi
45730   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
45731 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
45732
45733     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
45734
45735 for ac_func in _frexpl
45736 do
45737 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45738 echo "$as_me:$LINENO: checking for $ac_func" >&5
45739 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45740 if eval "test \"\${$as_ac_var+set}\" = set"; then
45741   echo $ECHO_N "(cached) $ECHO_C" >&6
45742 else
45743   if test x$gcc_no_link = xyes; then
45744   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45745 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45746    { (exit 1); exit 1; }; }
45747 fi
45748 cat >conftest.$ac_ext <<_ACEOF
45749 /* confdefs.h.  */
45750 _ACEOF
45751 cat confdefs.h >>conftest.$ac_ext
45752 cat >>conftest.$ac_ext <<_ACEOF
45753 /* end confdefs.h.  */
45754 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45755    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45756 #define $ac_func innocuous_$ac_func
45757
45758 /* System header to define __stub macros and hopefully few prototypes,
45759     which can conflict with char $ac_func (); below.
45760     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45761     <limits.h> exists even on freestanding compilers.  */
45762
45763 #ifdef __STDC__
45764 # include <limits.h>
45765 #else
45766 # include <assert.h>
45767 #endif
45768
45769 #undef $ac_func
45770
45771 /* Override any gcc2 internal prototype to avoid an error.  */
45772 #ifdef __cplusplus
45773 extern "C"
45774 {
45775 #endif
45776 /* We use char because int might match the return type of a gcc2
45777    builtin and then its argument prototype would still apply.  */
45778 char $ac_func ();
45779 /* The GNU C library defines this for functions which it implements
45780     to always fail with ENOSYS.  Some functions are actually named
45781     something starting with __ and the normal name is an alias.  */
45782 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45783 choke me
45784 #else
45785 char (*f) () = $ac_func;
45786 #endif
45787 #ifdef __cplusplus
45788 }
45789 #endif
45790
45791 int
45792 main ()
45793 {
45794 return f != $ac_func;
45795   ;
45796   return 0;
45797 }
45798 _ACEOF
45799 rm -f conftest.$ac_objext conftest$ac_exeext
45800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45801   (eval $ac_link) 2>conftest.er1
45802   ac_status=$?
45803   grep -v '^ *+' conftest.er1 >conftest.err
45804   rm -f conftest.er1
45805   cat conftest.err >&5
45806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45807   (exit $ac_status); } &&
45808          { ac_try='test -z "$ac_c_werror_flag"
45809                          || test ! -s conftest.err'
45810   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45811   (eval $ac_try) 2>&5
45812   ac_status=$?
45813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45814   (exit $ac_status); }; } &&
45815          { ac_try='test -s conftest$ac_exeext'
45816   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45817   (eval $ac_try) 2>&5
45818   ac_status=$?
45819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45820   (exit $ac_status); }; }; then
45821   eval "$as_ac_var=yes"
45822 else
45823   echo "$as_me: failed program was:" >&5
45824 sed 's/^/| /' conftest.$ac_ext >&5
45825
45826 eval "$as_ac_var=no"
45827 fi
45828 rm -f conftest.err conftest.$ac_objext \
45829       conftest$ac_exeext conftest.$ac_ext
45830 fi
45831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45832 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45833 if test `eval echo '${'$as_ac_var'}'` = yes; then
45834   cat >>confdefs.h <<_ACEOF
45835 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45836 _ACEOF
45837
45838 fi
45839 done
45840
45841     fi
45842   fi
45843
45844
45845
45846   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
45847 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
45848   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
45849     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
45850   echo $ECHO_N "(cached) $ECHO_C" >&6
45851 else
45852
45853
45854
45855       ac_ext=cc
45856 ac_cpp='$CXXCPP $CPPFLAGS'
45857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45860
45861       cat >conftest.$ac_ext <<_ACEOF
45862 /* confdefs.h.  */
45863 _ACEOF
45864 cat confdefs.h >>conftest.$ac_ext
45865 cat >>conftest.$ac_ext <<_ACEOF
45866 /* end confdefs.h.  */
45867 #include <math.h>
45868 int
45869 main ()
45870 {
45871  hypotl(0, 0);
45872   ;
45873   return 0;
45874 }
45875 _ACEOF
45876 rm -f conftest.$ac_objext
45877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45878   (eval $ac_compile) 2>conftest.er1
45879   ac_status=$?
45880   grep -v '^ *+' conftest.er1 >conftest.err
45881   rm -f conftest.er1
45882   cat conftest.err >&5
45883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45884   (exit $ac_status); } &&
45885          { ac_try='test -z "$ac_cxx_werror_flag"
45886                          || test ! -s conftest.err'
45887   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45888   (eval $ac_try) 2>&5
45889   ac_status=$?
45890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45891   (exit $ac_status); }; } &&
45892          { ac_try='test -s conftest.$ac_objext'
45893   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45894   (eval $ac_try) 2>&5
45895   ac_status=$?
45896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45897   (exit $ac_status); }; }; then
45898   glibcxx_cv_func_hypotl_use=yes
45899 else
45900   echo "$as_me: failed program was:" >&5
45901 sed 's/^/| /' conftest.$ac_ext >&5
45902
45903 glibcxx_cv_func_hypotl_use=no
45904 fi
45905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45906       ac_ext=c
45907 ac_cpp='$CPP $CPPFLAGS'
45908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45911
45912
45913 fi
45914
45915   fi
45916   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
45917 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
45918
45919   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
45920
45921 for ac_func in hypotl
45922 do
45923 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45924 echo "$as_me:$LINENO: checking for $ac_func" >&5
45925 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45926 if eval "test \"\${$as_ac_var+set}\" = set"; then
45927   echo $ECHO_N "(cached) $ECHO_C" >&6
45928 else
45929   if test x$gcc_no_link = xyes; then
45930   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45931 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45932    { (exit 1); exit 1; }; }
45933 fi
45934 cat >conftest.$ac_ext <<_ACEOF
45935 /* confdefs.h.  */
45936 _ACEOF
45937 cat confdefs.h >>conftest.$ac_ext
45938 cat >>conftest.$ac_ext <<_ACEOF
45939 /* end confdefs.h.  */
45940 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45941    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
45942 #define $ac_func innocuous_$ac_func
45943
45944 /* System header to define __stub macros and hopefully few prototypes,
45945     which can conflict with char $ac_func (); below.
45946     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45947     <limits.h> exists even on freestanding compilers.  */
45948
45949 #ifdef __STDC__
45950 # include <limits.h>
45951 #else
45952 # include <assert.h>
45953 #endif
45954
45955 #undef $ac_func
45956
45957 /* Override any gcc2 internal prototype to avoid an error.  */
45958 #ifdef __cplusplus
45959 extern "C"
45960 {
45961 #endif
45962 /* We use char because int might match the return type of a gcc2
45963    builtin and then its argument prototype would still apply.  */
45964 char $ac_func ();
45965 /* The GNU C library defines this for functions which it implements
45966     to always fail with ENOSYS.  Some functions are actually named
45967     something starting with __ and the normal name is an alias.  */
45968 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45969 choke me
45970 #else
45971 char (*f) () = $ac_func;
45972 #endif
45973 #ifdef __cplusplus
45974 }
45975 #endif
45976
45977 int
45978 main ()
45979 {
45980 return f != $ac_func;
45981   ;
45982   return 0;
45983 }
45984 _ACEOF
45985 rm -f conftest.$ac_objext conftest$ac_exeext
45986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45987   (eval $ac_link) 2>conftest.er1
45988   ac_status=$?
45989   grep -v '^ *+' conftest.er1 >conftest.err
45990   rm -f conftest.er1
45991   cat conftest.err >&5
45992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
45993   (exit $ac_status); } &&
45994          { ac_try='test -z "$ac_c_werror_flag"
45995                          || test ! -s conftest.err'
45996   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45997   (eval $ac_try) 2>&5
45998   ac_status=$?
45999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46000   (exit $ac_status); }; } &&
46001          { ac_try='test -s conftest$ac_exeext'
46002   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46003   (eval $ac_try) 2>&5
46004   ac_status=$?
46005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46006   (exit $ac_status); }; }; then
46007   eval "$as_ac_var=yes"
46008 else
46009   echo "$as_me: failed program was:" >&5
46010 sed 's/^/| /' conftest.$ac_ext >&5
46011
46012 eval "$as_ac_var=no"
46013 fi
46014 rm -f conftest.err conftest.$ac_objext \
46015       conftest$ac_exeext conftest.$ac_ext
46016 fi
46017 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46018 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46019 if test `eval echo '${'$as_ac_var'}'` = yes; then
46020   cat >>confdefs.h <<_ACEOF
46021 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46022 _ACEOF
46023
46024 fi
46025 done
46026
46027   else
46028
46029   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
46030 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
46031   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
46032     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
46033   echo $ECHO_N "(cached) $ECHO_C" >&6
46034 else
46035
46036
46037
46038       ac_ext=cc
46039 ac_cpp='$CXXCPP $CPPFLAGS'
46040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46043
46044       cat >conftest.$ac_ext <<_ACEOF
46045 /* confdefs.h.  */
46046 _ACEOF
46047 cat confdefs.h >>conftest.$ac_ext
46048 cat >>conftest.$ac_ext <<_ACEOF
46049 /* end confdefs.h.  */
46050 #include <math.h>
46051 int
46052 main ()
46053 {
46054  _hypotl(0, 0);
46055   ;
46056   return 0;
46057 }
46058 _ACEOF
46059 rm -f conftest.$ac_objext
46060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46061   (eval $ac_compile) 2>conftest.er1
46062   ac_status=$?
46063   grep -v '^ *+' conftest.er1 >conftest.err
46064   rm -f conftest.er1
46065   cat conftest.err >&5
46066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46067   (exit $ac_status); } &&
46068          { ac_try='test -z "$ac_cxx_werror_flag"
46069                          || test ! -s conftest.err'
46070   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46071   (eval $ac_try) 2>&5
46072   ac_status=$?
46073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46074   (exit $ac_status); }; } &&
46075          { ac_try='test -s conftest.$ac_objext'
46076   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46077   (eval $ac_try) 2>&5
46078   ac_status=$?
46079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46080   (exit $ac_status); }; }; then
46081   glibcxx_cv_func__hypotl_use=yes
46082 else
46083   echo "$as_me: failed program was:" >&5
46084 sed 's/^/| /' conftest.$ac_ext >&5
46085
46086 glibcxx_cv_func__hypotl_use=no
46087 fi
46088 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46089       ac_ext=c
46090 ac_cpp='$CPP $CPPFLAGS'
46091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46094
46095
46096 fi
46097
46098   fi
46099   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
46100 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
46101
46102     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
46103
46104 for ac_func in _hypotl
46105 do
46106 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46107 echo "$as_me:$LINENO: checking for $ac_func" >&5
46108 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46109 if eval "test \"\${$as_ac_var+set}\" = set"; then
46110   echo $ECHO_N "(cached) $ECHO_C" >&6
46111 else
46112   if test x$gcc_no_link = xyes; then
46113   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46114 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46115    { (exit 1); exit 1; }; }
46116 fi
46117 cat >conftest.$ac_ext <<_ACEOF
46118 /* confdefs.h.  */
46119 _ACEOF
46120 cat confdefs.h >>conftest.$ac_ext
46121 cat >>conftest.$ac_ext <<_ACEOF
46122 /* end confdefs.h.  */
46123 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46124    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46125 #define $ac_func innocuous_$ac_func
46126
46127 /* System header to define __stub macros and hopefully few prototypes,
46128     which can conflict with char $ac_func (); below.
46129     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46130     <limits.h> exists even on freestanding compilers.  */
46131
46132 #ifdef __STDC__
46133 # include <limits.h>
46134 #else
46135 # include <assert.h>
46136 #endif
46137
46138 #undef $ac_func
46139
46140 /* Override any gcc2 internal prototype to avoid an error.  */
46141 #ifdef __cplusplus
46142 extern "C"
46143 {
46144 #endif
46145 /* We use char because int might match the return type of a gcc2
46146    builtin and then its argument prototype would still apply.  */
46147 char $ac_func ();
46148 /* The GNU C library defines this for functions which it implements
46149     to always fail with ENOSYS.  Some functions are actually named
46150     something starting with __ and the normal name is an alias.  */
46151 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46152 choke me
46153 #else
46154 char (*f) () = $ac_func;
46155 #endif
46156 #ifdef __cplusplus
46157 }
46158 #endif
46159
46160 int
46161 main ()
46162 {
46163 return f != $ac_func;
46164   ;
46165   return 0;
46166 }
46167 _ACEOF
46168 rm -f conftest.$ac_objext conftest$ac_exeext
46169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46170   (eval $ac_link) 2>conftest.er1
46171   ac_status=$?
46172   grep -v '^ *+' conftest.er1 >conftest.err
46173   rm -f conftest.er1
46174   cat conftest.err >&5
46175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46176   (exit $ac_status); } &&
46177          { ac_try='test -z "$ac_c_werror_flag"
46178                          || test ! -s conftest.err'
46179   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46180   (eval $ac_try) 2>&5
46181   ac_status=$?
46182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46183   (exit $ac_status); }; } &&
46184          { ac_try='test -s conftest$ac_exeext'
46185   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46186   (eval $ac_try) 2>&5
46187   ac_status=$?
46188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46189   (exit $ac_status); }; }; then
46190   eval "$as_ac_var=yes"
46191 else
46192   echo "$as_me: failed program was:" >&5
46193 sed 's/^/| /' conftest.$ac_ext >&5
46194
46195 eval "$as_ac_var=no"
46196 fi
46197 rm -f conftest.err conftest.$ac_objext \
46198       conftest$ac_exeext conftest.$ac_ext
46199 fi
46200 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46201 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46202 if test `eval echo '${'$as_ac_var'}'` = yes; then
46203   cat >>confdefs.h <<_ACEOF
46204 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46205 _ACEOF
46206
46207 fi
46208 done
46209
46210     fi
46211   fi
46212
46213
46214
46215   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
46216 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
46217   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
46218     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
46219   echo $ECHO_N "(cached) $ECHO_C" >&6
46220 else
46221
46222
46223
46224       ac_ext=cc
46225 ac_cpp='$CXXCPP $CPPFLAGS'
46226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46229
46230       cat >conftest.$ac_ext <<_ACEOF
46231 /* confdefs.h.  */
46232 _ACEOF
46233 cat confdefs.h >>conftest.$ac_ext
46234 cat >>conftest.$ac_ext <<_ACEOF
46235 /* end confdefs.h.  */
46236 #include <math.h>
46237 int
46238 main ()
46239 {
46240  ldexpl(0, 0);
46241   ;
46242   return 0;
46243 }
46244 _ACEOF
46245 rm -f conftest.$ac_objext
46246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46247   (eval $ac_compile) 2>conftest.er1
46248   ac_status=$?
46249   grep -v '^ *+' conftest.er1 >conftest.err
46250   rm -f conftest.er1
46251   cat conftest.err >&5
46252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46253   (exit $ac_status); } &&
46254          { ac_try='test -z "$ac_cxx_werror_flag"
46255                          || test ! -s conftest.err'
46256   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46257   (eval $ac_try) 2>&5
46258   ac_status=$?
46259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46260   (exit $ac_status); }; } &&
46261          { ac_try='test -s conftest.$ac_objext'
46262   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46263   (eval $ac_try) 2>&5
46264   ac_status=$?
46265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46266   (exit $ac_status); }; }; then
46267   glibcxx_cv_func_ldexpl_use=yes
46268 else
46269   echo "$as_me: failed program was:" >&5
46270 sed 's/^/| /' conftest.$ac_ext >&5
46271
46272 glibcxx_cv_func_ldexpl_use=no
46273 fi
46274 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46275       ac_ext=c
46276 ac_cpp='$CPP $CPPFLAGS'
46277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46280
46281
46282 fi
46283
46284   fi
46285   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
46286 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
46287
46288   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
46289
46290 for ac_func in ldexpl
46291 do
46292 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46293 echo "$as_me:$LINENO: checking for $ac_func" >&5
46294 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46295 if eval "test \"\${$as_ac_var+set}\" = set"; then
46296   echo $ECHO_N "(cached) $ECHO_C" >&6
46297 else
46298   if test x$gcc_no_link = xyes; then
46299   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46300 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46301    { (exit 1); exit 1; }; }
46302 fi
46303 cat >conftest.$ac_ext <<_ACEOF
46304 /* confdefs.h.  */
46305 _ACEOF
46306 cat confdefs.h >>conftest.$ac_ext
46307 cat >>conftest.$ac_ext <<_ACEOF
46308 /* end confdefs.h.  */
46309 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46310    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46311 #define $ac_func innocuous_$ac_func
46312
46313 /* System header to define __stub macros and hopefully few prototypes,
46314     which can conflict with char $ac_func (); below.
46315     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46316     <limits.h> exists even on freestanding compilers.  */
46317
46318 #ifdef __STDC__
46319 # include <limits.h>
46320 #else
46321 # include <assert.h>
46322 #endif
46323
46324 #undef $ac_func
46325
46326 /* Override any gcc2 internal prototype to avoid an error.  */
46327 #ifdef __cplusplus
46328 extern "C"
46329 {
46330 #endif
46331 /* We use char because int might match the return type of a gcc2
46332    builtin and then its argument prototype would still apply.  */
46333 char $ac_func ();
46334 /* The GNU C library defines this for functions which it implements
46335     to always fail with ENOSYS.  Some functions are actually named
46336     something starting with __ and the normal name is an alias.  */
46337 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46338 choke me
46339 #else
46340 char (*f) () = $ac_func;
46341 #endif
46342 #ifdef __cplusplus
46343 }
46344 #endif
46345
46346 int
46347 main ()
46348 {
46349 return f != $ac_func;
46350   ;
46351   return 0;
46352 }
46353 _ACEOF
46354 rm -f conftest.$ac_objext conftest$ac_exeext
46355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46356   (eval $ac_link) 2>conftest.er1
46357   ac_status=$?
46358   grep -v '^ *+' conftest.er1 >conftest.err
46359   rm -f conftest.er1
46360   cat conftest.err >&5
46361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46362   (exit $ac_status); } &&
46363          { ac_try='test -z "$ac_c_werror_flag"
46364                          || test ! -s conftest.err'
46365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46366   (eval $ac_try) 2>&5
46367   ac_status=$?
46368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46369   (exit $ac_status); }; } &&
46370          { ac_try='test -s conftest$ac_exeext'
46371   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46372   (eval $ac_try) 2>&5
46373   ac_status=$?
46374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46375   (exit $ac_status); }; }; then
46376   eval "$as_ac_var=yes"
46377 else
46378   echo "$as_me: failed program was:" >&5
46379 sed 's/^/| /' conftest.$ac_ext >&5
46380
46381 eval "$as_ac_var=no"
46382 fi
46383 rm -f conftest.err conftest.$ac_objext \
46384       conftest$ac_exeext conftest.$ac_ext
46385 fi
46386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46387 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46388 if test `eval echo '${'$as_ac_var'}'` = yes; then
46389   cat >>confdefs.h <<_ACEOF
46390 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46391 _ACEOF
46392
46393 fi
46394 done
46395
46396   else
46397
46398   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
46399 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
46400   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
46401     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
46402   echo $ECHO_N "(cached) $ECHO_C" >&6
46403 else
46404
46405
46406
46407       ac_ext=cc
46408 ac_cpp='$CXXCPP $CPPFLAGS'
46409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46412
46413       cat >conftest.$ac_ext <<_ACEOF
46414 /* confdefs.h.  */
46415 _ACEOF
46416 cat confdefs.h >>conftest.$ac_ext
46417 cat >>conftest.$ac_ext <<_ACEOF
46418 /* end confdefs.h.  */
46419 #include <math.h>
46420 int
46421 main ()
46422 {
46423  _ldexpl(0, 0);
46424   ;
46425   return 0;
46426 }
46427 _ACEOF
46428 rm -f conftest.$ac_objext
46429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46430   (eval $ac_compile) 2>conftest.er1
46431   ac_status=$?
46432   grep -v '^ *+' conftest.er1 >conftest.err
46433   rm -f conftest.er1
46434   cat conftest.err >&5
46435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46436   (exit $ac_status); } &&
46437          { ac_try='test -z "$ac_cxx_werror_flag"
46438                          || test ! -s conftest.err'
46439   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46440   (eval $ac_try) 2>&5
46441   ac_status=$?
46442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46443   (exit $ac_status); }; } &&
46444          { ac_try='test -s conftest.$ac_objext'
46445   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46446   (eval $ac_try) 2>&5
46447   ac_status=$?
46448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46449   (exit $ac_status); }; }; then
46450   glibcxx_cv_func__ldexpl_use=yes
46451 else
46452   echo "$as_me: failed program was:" >&5
46453 sed 's/^/| /' conftest.$ac_ext >&5
46454
46455 glibcxx_cv_func__ldexpl_use=no
46456 fi
46457 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46458       ac_ext=c
46459 ac_cpp='$CPP $CPPFLAGS'
46460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46463
46464
46465 fi
46466
46467   fi
46468   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
46469 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
46470
46471     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
46472
46473 for ac_func in _ldexpl
46474 do
46475 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46476 echo "$as_me:$LINENO: checking for $ac_func" >&5
46477 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46478 if eval "test \"\${$as_ac_var+set}\" = set"; then
46479   echo $ECHO_N "(cached) $ECHO_C" >&6
46480 else
46481   if test x$gcc_no_link = xyes; then
46482   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46483 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46484    { (exit 1); exit 1; }; }
46485 fi
46486 cat >conftest.$ac_ext <<_ACEOF
46487 /* confdefs.h.  */
46488 _ACEOF
46489 cat confdefs.h >>conftest.$ac_ext
46490 cat >>conftest.$ac_ext <<_ACEOF
46491 /* end confdefs.h.  */
46492 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46493    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46494 #define $ac_func innocuous_$ac_func
46495
46496 /* System header to define __stub macros and hopefully few prototypes,
46497     which can conflict with char $ac_func (); below.
46498     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46499     <limits.h> exists even on freestanding compilers.  */
46500
46501 #ifdef __STDC__
46502 # include <limits.h>
46503 #else
46504 # include <assert.h>
46505 #endif
46506
46507 #undef $ac_func
46508
46509 /* Override any gcc2 internal prototype to avoid an error.  */
46510 #ifdef __cplusplus
46511 extern "C"
46512 {
46513 #endif
46514 /* We use char because int might match the return type of a gcc2
46515    builtin and then its argument prototype would still apply.  */
46516 char $ac_func ();
46517 /* The GNU C library defines this for functions which it implements
46518     to always fail with ENOSYS.  Some functions are actually named
46519     something starting with __ and the normal name is an alias.  */
46520 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46521 choke me
46522 #else
46523 char (*f) () = $ac_func;
46524 #endif
46525 #ifdef __cplusplus
46526 }
46527 #endif
46528
46529 int
46530 main ()
46531 {
46532 return f != $ac_func;
46533   ;
46534   return 0;
46535 }
46536 _ACEOF
46537 rm -f conftest.$ac_objext conftest$ac_exeext
46538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46539   (eval $ac_link) 2>conftest.er1
46540   ac_status=$?
46541   grep -v '^ *+' conftest.er1 >conftest.err
46542   rm -f conftest.er1
46543   cat conftest.err >&5
46544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46545   (exit $ac_status); } &&
46546          { ac_try='test -z "$ac_c_werror_flag"
46547                          || test ! -s conftest.err'
46548   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46549   (eval $ac_try) 2>&5
46550   ac_status=$?
46551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46552   (exit $ac_status); }; } &&
46553          { ac_try='test -s conftest$ac_exeext'
46554   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46555   (eval $ac_try) 2>&5
46556   ac_status=$?
46557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46558   (exit $ac_status); }; }; then
46559   eval "$as_ac_var=yes"
46560 else
46561   echo "$as_me: failed program was:" >&5
46562 sed 's/^/| /' conftest.$ac_ext >&5
46563
46564 eval "$as_ac_var=no"
46565 fi
46566 rm -f conftest.err conftest.$ac_objext \
46567       conftest$ac_exeext conftest.$ac_ext
46568 fi
46569 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46570 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46571 if test `eval echo '${'$as_ac_var'}'` = yes; then
46572   cat >>confdefs.h <<_ACEOF
46573 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46574 _ACEOF
46575
46576 fi
46577 done
46578
46579     fi
46580   fi
46581
46582
46583
46584   echo "$as_me:$LINENO: checking for logl declaration" >&5
46585 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
46586   if test x${glibcxx_cv_func_logl_use+set} != xset; then
46587     if test "${glibcxx_cv_func_logl_use+set}" = set; then
46588   echo $ECHO_N "(cached) $ECHO_C" >&6
46589 else
46590
46591
46592
46593       ac_ext=cc
46594 ac_cpp='$CXXCPP $CPPFLAGS'
46595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46598
46599       cat >conftest.$ac_ext <<_ACEOF
46600 /* confdefs.h.  */
46601 _ACEOF
46602 cat confdefs.h >>conftest.$ac_ext
46603 cat >>conftest.$ac_ext <<_ACEOF
46604 /* end confdefs.h.  */
46605 #include <math.h>
46606                       #ifdef HAVE_IEEEFP_H
46607                       #include <ieeefp.h>
46608                       #endif
46609
46610 int
46611 main ()
46612 {
46613  logl(0);
46614   ;
46615   return 0;
46616 }
46617 _ACEOF
46618 rm -f conftest.$ac_objext
46619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46620   (eval $ac_compile) 2>conftest.er1
46621   ac_status=$?
46622   grep -v '^ *+' conftest.er1 >conftest.err
46623   rm -f conftest.er1
46624   cat conftest.err >&5
46625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46626   (exit $ac_status); } &&
46627          { ac_try='test -z "$ac_cxx_werror_flag"
46628                          || test ! -s conftest.err'
46629   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46630   (eval $ac_try) 2>&5
46631   ac_status=$?
46632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46633   (exit $ac_status); }; } &&
46634          { ac_try='test -s conftest.$ac_objext'
46635   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46636   (eval $ac_try) 2>&5
46637   ac_status=$?
46638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46639   (exit $ac_status); }; }; then
46640   glibcxx_cv_func_logl_use=yes
46641 else
46642   echo "$as_me: failed program was:" >&5
46643 sed 's/^/| /' conftest.$ac_ext >&5
46644
46645 glibcxx_cv_func_logl_use=no
46646 fi
46647 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46648       ac_ext=c
46649 ac_cpp='$CPP $CPPFLAGS'
46650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46653
46654
46655 fi
46656
46657   fi
46658   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
46659 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
46660
46661   if test x$glibcxx_cv_func_logl_use = x"yes"; then
46662
46663 for ac_func in logl
46664 do
46665 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46666 echo "$as_me:$LINENO: checking for $ac_func" >&5
46667 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46668 if eval "test \"\${$as_ac_var+set}\" = set"; then
46669   echo $ECHO_N "(cached) $ECHO_C" >&6
46670 else
46671   if test x$gcc_no_link = xyes; then
46672   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46673 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46674    { (exit 1); exit 1; }; }
46675 fi
46676 cat >conftest.$ac_ext <<_ACEOF
46677 /* confdefs.h.  */
46678 _ACEOF
46679 cat confdefs.h >>conftest.$ac_ext
46680 cat >>conftest.$ac_ext <<_ACEOF
46681 /* end confdefs.h.  */
46682 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46683    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46684 #define $ac_func innocuous_$ac_func
46685
46686 /* System header to define __stub macros and hopefully few prototypes,
46687     which can conflict with char $ac_func (); below.
46688     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46689     <limits.h> exists even on freestanding compilers.  */
46690
46691 #ifdef __STDC__
46692 # include <limits.h>
46693 #else
46694 # include <assert.h>
46695 #endif
46696
46697 #undef $ac_func
46698
46699 /* Override any gcc2 internal prototype to avoid an error.  */
46700 #ifdef __cplusplus
46701 extern "C"
46702 {
46703 #endif
46704 /* We use char because int might match the return type of a gcc2
46705    builtin and then its argument prototype would still apply.  */
46706 char $ac_func ();
46707 /* The GNU C library defines this for functions which it implements
46708     to always fail with ENOSYS.  Some functions are actually named
46709     something starting with __ and the normal name is an alias.  */
46710 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46711 choke me
46712 #else
46713 char (*f) () = $ac_func;
46714 #endif
46715 #ifdef __cplusplus
46716 }
46717 #endif
46718
46719 int
46720 main ()
46721 {
46722 return f != $ac_func;
46723   ;
46724   return 0;
46725 }
46726 _ACEOF
46727 rm -f conftest.$ac_objext conftest$ac_exeext
46728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46729   (eval $ac_link) 2>conftest.er1
46730   ac_status=$?
46731   grep -v '^ *+' conftest.er1 >conftest.err
46732   rm -f conftest.er1
46733   cat conftest.err >&5
46734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46735   (exit $ac_status); } &&
46736          { ac_try='test -z "$ac_c_werror_flag"
46737                          || test ! -s conftest.err'
46738   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46739   (eval $ac_try) 2>&5
46740   ac_status=$?
46741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46742   (exit $ac_status); }; } &&
46743          { ac_try='test -s conftest$ac_exeext'
46744   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46745   (eval $ac_try) 2>&5
46746   ac_status=$?
46747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46748   (exit $ac_status); }; }; then
46749   eval "$as_ac_var=yes"
46750 else
46751   echo "$as_me: failed program was:" >&5
46752 sed 's/^/| /' conftest.$ac_ext >&5
46753
46754 eval "$as_ac_var=no"
46755 fi
46756 rm -f conftest.err conftest.$ac_objext \
46757       conftest$ac_exeext conftest.$ac_ext
46758 fi
46759 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46760 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46761 if test `eval echo '${'$as_ac_var'}'` = yes; then
46762   cat >>confdefs.h <<_ACEOF
46763 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46764 _ACEOF
46765
46766 fi
46767 done
46768
46769   else
46770
46771   echo "$as_me:$LINENO: checking for _logl declaration" >&5
46772 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
46773   if test x${glibcxx_cv_func__logl_use+set} != xset; then
46774     if test "${glibcxx_cv_func__logl_use+set}" = set; then
46775   echo $ECHO_N "(cached) $ECHO_C" >&6
46776 else
46777
46778
46779
46780       ac_ext=cc
46781 ac_cpp='$CXXCPP $CPPFLAGS'
46782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46785
46786       cat >conftest.$ac_ext <<_ACEOF
46787 /* confdefs.h.  */
46788 _ACEOF
46789 cat confdefs.h >>conftest.$ac_ext
46790 cat >>conftest.$ac_ext <<_ACEOF
46791 /* end confdefs.h.  */
46792 #include <math.h>
46793                       #ifdef HAVE_IEEEFP_H
46794                       #include <ieeefp.h>
46795                       #endif
46796
46797 int
46798 main ()
46799 {
46800  _logl(0);
46801   ;
46802   return 0;
46803 }
46804 _ACEOF
46805 rm -f conftest.$ac_objext
46806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46807   (eval $ac_compile) 2>conftest.er1
46808   ac_status=$?
46809   grep -v '^ *+' conftest.er1 >conftest.err
46810   rm -f conftest.er1
46811   cat conftest.err >&5
46812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46813   (exit $ac_status); } &&
46814          { ac_try='test -z "$ac_cxx_werror_flag"
46815                          || test ! -s conftest.err'
46816   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46817   (eval $ac_try) 2>&5
46818   ac_status=$?
46819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46820   (exit $ac_status); }; } &&
46821          { ac_try='test -s conftest.$ac_objext'
46822   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46823   (eval $ac_try) 2>&5
46824   ac_status=$?
46825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46826   (exit $ac_status); }; }; then
46827   glibcxx_cv_func__logl_use=yes
46828 else
46829   echo "$as_me: failed program was:" >&5
46830 sed 's/^/| /' conftest.$ac_ext >&5
46831
46832 glibcxx_cv_func__logl_use=no
46833 fi
46834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46835       ac_ext=c
46836 ac_cpp='$CPP $CPPFLAGS'
46837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46840
46841
46842 fi
46843
46844   fi
46845   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
46846 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
46847
46848     if test x$glibcxx_cv_func__logl_use = x"yes"; then
46849
46850 for ac_func in _logl
46851 do
46852 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46853 echo "$as_me:$LINENO: checking for $ac_func" >&5
46854 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46855 if eval "test \"\${$as_ac_var+set}\" = set"; then
46856   echo $ECHO_N "(cached) $ECHO_C" >&6
46857 else
46858   if test x$gcc_no_link = xyes; then
46859   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46860 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46861    { (exit 1); exit 1; }; }
46862 fi
46863 cat >conftest.$ac_ext <<_ACEOF
46864 /* confdefs.h.  */
46865 _ACEOF
46866 cat confdefs.h >>conftest.$ac_ext
46867 cat >>conftest.$ac_ext <<_ACEOF
46868 /* end confdefs.h.  */
46869 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46870    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
46871 #define $ac_func innocuous_$ac_func
46872
46873 /* System header to define __stub macros and hopefully few prototypes,
46874     which can conflict with char $ac_func (); below.
46875     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46876     <limits.h> exists even on freestanding compilers.  */
46877
46878 #ifdef __STDC__
46879 # include <limits.h>
46880 #else
46881 # include <assert.h>
46882 #endif
46883
46884 #undef $ac_func
46885
46886 /* Override any gcc2 internal prototype to avoid an error.  */
46887 #ifdef __cplusplus
46888 extern "C"
46889 {
46890 #endif
46891 /* We use char because int might match the return type of a gcc2
46892    builtin and then its argument prototype would still apply.  */
46893 char $ac_func ();
46894 /* The GNU C library defines this for functions which it implements
46895     to always fail with ENOSYS.  Some functions are actually named
46896     something starting with __ and the normal name is an alias.  */
46897 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46898 choke me
46899 #else
46900 char (*f) () = $ac_func;
46901 #endif
46902 #ifdef __cplusplus
46903 }
46904 #endif
46905
46906 int
46907 main ()
46908 {
46909 return f != $ac_func;
46910   ;
46911   return 0;
46912 }
46913 _ACEOF
46914 rm -f conftest.$ac_objext conftest$ac_exeext
46915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46916   (eval $ac_link) 2>conftest.er1
46917   ac_status=$?
46918   grep -v '^ *+' conftest.er1 >conftest.err
46919   rm -f conftest.er1
46920   cat conftest.err >&5
46921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46922   (exit $ac_status); } &&
46923          { ac_try='test -z "$ac_c_werror_flag"
46924                          || test ! -s conftest.err'
46925   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46926   (eval $ac_try) 2>&5
46927   ac_status=$?
46928   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46929   (exit $ac_status); }; } &&
46930          { ac_try='test -s conftest$ac_exeext'
46931   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46932   (eval $ac_try) 2>&5
46933   ac_status=$?
46934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
46935   (exit $ac_status); }; }; then
46936   eval "$as_ac_var=yes"
46937 else
46938   echo "$as_me: failed program was:" >&5
46939 sed 's/^/| /' conftest.$ac_ext >&5
46940
46941 eval "$as_ac_var=no"
46942 fi
46943 rm -f conftest.err conftest.$ac_objext \
46944       conftest$ac_exeext conftest.$ac_ext
46945 fi
46946 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46947 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46948 if test `eval echo '${'$as_ac_var'}'` = yes; then
46949   cat >>confdefs.h <<_ACEOF
46950 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46951 _ACEOF
46952
46953 fi
46954 done
46955
46956     fi
46957   fi
46958
46959
46960
46961   echo "$as_me:$LINENO: checking for log10l declaration" >&5
46962 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
46963   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
46964     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
46965   echo $ECHO_N "(cached) $ECHO_C" >&6
46966 else
46967
46968
46969
46970       ac_ext=cc
46971 ac_cpp='$CXXCPP $CPPFLAGS'
46972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46975
46976       cat >conftest.$ac_ext <<_ACEOF
46977 /* confdefs.h.  */
46978 _ACEOF
46979 cat confdefs.h >>conftest.$ac_ext
46980 cat >>conftest.$ac_ext <<_ACEOF
46981 /* end confdefs.h.  */
46982 #include <math.h>
46983                       #ifdef HAVE_IEEEFP_H
46984                       #include <ieeefp.h>
46985                       #endif
46986
46987 int
46988 main ()
46989 {
46990  log10l(0);
46991   ;
46992   return 0;
46993 }
46994 _ACEOF
46995 rm -f conftest.$ac_objext
46996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46997   (eval $ac_compile) 2>conftest.er1
46998   ac_status=$?
46999   grep -v '^ *+' conftest.er1 >conftest.err
47000   rm -f conftest.er1
47001   cat conftest.err >&5
47002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47003   (exit $ac_status); } &&
47004          { ac_try='test -z "$ac_cxx_werror_flag"
47005                          || test ! -s conftest.err'
47006   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47007   (eval $ac_try) 2>&5
47008   ac_status=$?
47009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47010   (exit $ac_status); }; } &&
47011          { ac_try='test -s conftest.$ac_objext'
47012   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47013   (eval $ac_try) 2>&5
47014   ac_status=$?
47015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47016   (exit $ac_status); }; }; then
47017   glibcxx_cv_func_log10l_use=yes
47018 else
47019   echo "$as_me: failed program was:" >&5
47020 sed 's/^/| /' conftest.$ac_ext >&5
47021
47022 glibcxx_cv_func_log10l_use=no
47023 fi
47024 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47025       ac_ext=c
47026 ac_cpp='$CPP $CPPFLAGS'
47027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47030
47031
47032 fi
47033
47034   fi
47035   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
47036 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
47037
47038   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
47039
47040 for ac_func in log10l
47041 do
47042 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47043 echo "$as_me:$LINENO: checking for $ac_func" >&5
47044 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47045 if eval "test \"\${$as_ac_var+set}\" = set"; then
47046   echo $ECHO_N "(cached) $ECHO_C" >&6
47047 else
47048   if test x$gcc_no_link = xyes; then
47049   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47050 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47051    { (exit 1); exit 1; }; }
47052 fi
47053 cat >conftest.$ac_ext <<_ACEOF
47054 /* confdefs.h.  */
47055 _ACEOF
47056 cat confdefs.h >>conftest.$ac_ext
47057 cat >>conftest.$ac_ext <<_ACEOF
47058 /* end confdefs.h.  */
47059 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47060    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47061 #define $ac_func innocuous_$ac_func
47062
47063 /* System header to define __stub macros and hopefully few prototypes,
47064     which can conflict with char $ac_func (); below.
47065     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47066     <limits.h> exists even on freestanding compilers.  */
47067
47068 #ifdef __STDC__
47069 # include <limits.h>
47070 #else
47071 # include <assert.h>
47072 #endif
47073
47074 #undef $ac_func
47075
47076 /* Override any gcc2 internal prototype to avoid an error.  */
47077 #ifdef __cplusplus
47078 extern "C"
47079 {
47080 #endif
47081 /* We use char because int might match the return type of a gcc2
47082    builtin and then its argument prototype would still apply.  */
47083 char $ac_func ();
47084 /* The GNU C library defines this for functions which it implements
47085     to always fail with ENOSYS.  Some functions are actually named
47086     something starting with __ and the normal name is an alias.  */
47087 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47088 choke me
47089 #else
47090 char (*f) () = $ac_func;
47091 #endif
47092 #ifdef __cplusplus
47093 }
47094 #endif
47095
47096 int
47097 main ()
47098 {
47099 return f != $ac_func;
47100   ;
47101   return 0;
47102 }
47103 _ACEOF
47104 rm -f conftest.$ac_objext conftest$ac_exeext
47105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47106   (eval $ac_link) 2>conftest.er1
47107   ac_status=$?
47108   grep -v '^ *+' conftest.er1 >conftest.err
47109   rm -f conftest.er1
47110   cat conftest.err >&5
47111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47112   (exit $ac_status); } &&
47113          { ac_try='test -z "$ac_c_werror_flag"
47114                          || test ! -s conftest.err'
47115   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47116   (eval $ac_try) 2>&5
47117   ac_status=$?
47118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47119   (exit $ac_status); }; } &&
47120          { ac_try='test -s conftest$ac_exeext'
47121   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47122   (eval $ac_try) 2>&5
47123   ac_status=$?
47124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47125   (exit $ac_status); }; }; then
47126   eval "$as_ac_var=yes"
47127 else
47128   echo "$as_me: failed program was:" >&5
47129 sed 's/^/| /' conftest.$ac_ext >&5
47130
47131 eval "$as_ac_var=no"
47132 fi
47133 rm -f conftest.err conftest.$ac_objext \
47134       conftest$ac_exeext conftest.$ac_ext
47135 fi
47136 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47137 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47138 if test `eval echo '${'$as_ac_var'}'` = yes; then
47139   cat >>confdefs.h <<_ACEOF
47140 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47141 _ACEOF
47142
47143 fi
47144 done
47145
47146   else
47147
47148   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
47149 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
47150   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
47151     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
47152   echo $ECHO_N "(cached) $ECHO_C" >&6
47153 else
47154
47155
47156
47157       ac_ext=cc
47158 ac_cpp='$CXXCPP $CPPFLAGS'
47159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47162
47163       cat >conftest.$ac_ext <<_ACEOF
47164 /* confdefs.h.  */
47165 _ACEOF
47166 cat confdefs.h >>conftest.$ac_ext
47167 cat >>conftest.$ac_ext <<_ACEOF
47168 /* end confdefs.h.  */
47169 #include <math.h>
47170                       #ifdef HAVE_IEEEFP_H
47171                       #include <ieeefp.h>
47172                       #endif
47173
47174 int
47175 main ()
47176 {
47177  _log10l(0);
47178   ;
47179   return 0;
47180 }
47181 _ACEOF
47182 rm -f conftest.$ac_objext
47183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47184   (eval $ac_compile) 2>conftest.er1
47185   ac_status=$?
47186   grep -v '^ *+' conftest.er1 >conftest.err
47187   rm -f conftest.er1
47188   cat conftest.err >&5
47189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47190   (exit $ac_status); } &&
47191          { ac_try='test -z "$ac_cxx_werror_flag"
47192                          || test ! -s conftest.err'
47193   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47194   (eval $ac_try) 2>&5
47195   ac_status=$?
47196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47197   (exit $ac_status); }; } &&
47198          { ac_try='test -s conftest.$ac_objext'
47199   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47200   (eval $ac_try) 2>&5
47201   ac_status=$?
47202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47203   (exit $ac_status); }; }; then
47204   glibcxx_cv_func__log10l_use=yes
47205 else
47206   echo "$as_me: failed program was:" >&5
47207 sed 's/^/| /' conftest.$ac_ext >&5
47208
47209 glibcxx_cv_func__log10l_use=no
47210 fi
47211 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47212       ac_ext=c
47213 ac_cpp='$CPP $CPPFLAGS'
47214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47217
47218
47219 fi
47220
47221   fi
47222   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
47223 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
47224
47225     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
47226
47227 for ac_func in _log10l
47228 do
47229 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47230 echo "$as_me:$LINENO: checking for $ac_func" >&5
47231 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47232 if eval "test \"\${$as_ac_var+set}\" = set"; then
47233   echo $ECHO_N "(cached) $ECHO_C" >&6
47234 else
47235   if test x$gcc_no_link = xyes; then
47236   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47237 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47238    { (exit 1); exit 1; }; }
47239 fi
47240 cat >conftest.$ac_ext <<_ACEOF
47241 /* confdefs.h.  */
47242 _ACEOF
47243 cat confdefs.h >>conftest.$ac_ext
47244 cat >>conftest.$ac_ext <<_ACEOF
47245 /* end confdefs.h.  */
47246 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47247    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47248 #define $ac_func innocuous_$ac_func
47249
47250 /* System header to define __stub macros and hopefully few prototypes,
47251     which can conflict with char $ac_func (); below.
47252     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47253     <limits.h> exists even on freestanding compilers.  */
47254
47255 #ifdef __STDC__
47256 # include <limits.h>
47257 #else
47258 # include <assert.h>
47259 #endif
47260
47261 #undef $ac_func
47262
47263 /* Override any gcc2 internal prototype to avoid an error.  */
47264 #ifdef __cplusplus
47265 extern "C"
47266 {
47267 #endif
47268 /* We use char because int might match the return type of a gcc2
47269    builtin and then its argument prototype would still apply.  */
47270 char $ac_func ();
47271 /* The GNU C library defines this for functions which it implements
47272     to always fail with ENOSYS.  Some functions are actually named
47273     something starting with __ and the normal name is an alias.  */
47274 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47275 choke me
47276 #else
47277 char (*f) () = $ac_func;
47278 #endif
47279 #ifdef __cplusplus
47280 }
47281 #endif
47282
47283 int
47284 main ()
47285 {
47286 return f != $ac_func;
47287   ;
47288   return 0;
47289 }
47290 _ACEOF
47291 rm -f conftest.$ac_objext conftest$ac_exeext
47292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47293   (eval $ac_link) 2>conftest.er1
47294   ac_status=$?
47295   grep -v '^ *+' conftest.er1 >conftest.err
47296   rm -f conftest.er1
47297   cat conftest.err >&5
47298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47299   (exit $ac_status); } &&
47300          { ac_try='test -z "$ac_c_werror_flag"
47301                          || test ! -s conftest.err'
47302   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47303   (eval $ac_try) 2>&5
47304   ac_status=$?
47305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47306   (exit $ac_status); }; } &&
47307          { ac_try='test -s conftest$ac_exeext'
47308   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47309   (eval $ac_try) 2>&5
47310   ac_status=$?
47311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47312   (exit $ac_status); }; }; then
47313   eval "$as_ac_var=yes"
47314 else
47315   echo "$as_me: failed program was:" >&5
47316 sed 's/^/| /' conftest.$ac_ext >&5
47317
47318 eval "$as_ac_var=no"
47319 fi
47320 rm -f conftest.err conftest.$ac_objext \
47321       conftest$ac_exeext conftest.$ac_ext
47322 fi
47323 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47324 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47325 if test `eval echo '${'$as_ac_var'}'` = yes; then
47326   cat >>confdefs.h <<_ACEOF
47327 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47328 _ACEOF
47329
47330 fi
47331 done
47332
47333     fi
47334   fi
47335
47336
47337
47338   echo "$as_me:$LINENO: checking for modfl declaration" >&5
47339 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
47340   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
47341     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
47342   echo $ECHO_N "(cached) $ECHO_C" >&6
47343 else
47344
47345
47346
47347       ac_ext=cc
47348 ac_cpp='$CXXCPP $CPPFLAGS'
47349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47352
47353       cat >conftest.$ac_ext <<_ACEOF
47354 /* confdefs.h.  */
47355 _ACEOF
47356 cat confdefs.h >>conftest.$ac_ext
47357 cat >>conftest.$ac_ext <<_ACEOF
47358 /* end confdefs.h.  */
47359 #include <math.h>
47360 int
47361 main ()
47362 {
47363  modfl(0, 0);
47364   ;
47365   return 0;
47366 }
47367 _ACEOF
47368 rm -f conftest.$ac_objext
47369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47370   (eval $ac_compile) 2>conftest.er1
47371   ac_status=$?
47372   grep -v '^ *+' conftest.er1 >conftest.err
47373   rm -f conftest.er1
47374   cat conftest.err >&5
47375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47376   (exit $ac_status); } &&
47377          { ac_try='test -z "$ac_cxx_werror_flag"
47378                          || test ! -s conftest.err'
47379   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47380   (eval $ac_try) 2>&5
47381   ac_status=$?
47382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47383   (exit $ac_status); }; } &&
47384          { ac_try='test -s conftest.$ac_objext'
47385   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47386   (eval $ac_try) 2>&5
47387   ac_status=$?
47388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47389   (exit $ac_status); }; }; then
47390   glibcxx_cv_func_modfl_use=yes
47391 else
47392   echo "$as_me: failed program was:" >&5
47393 sed 's/^/| /' conftest.$ac_ext >&5
47394
47395 glibcxx_cv_func_modfl_use=no
47396 fi
47397 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47398       ac_ext=c
47399 ac_cpp='$CPP $CPPFLAGS'
47400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47403
47404
47405 fi
47406
47407   fi
47408   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
47409 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
47410
47411   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
47412
47413 for ac_func in modfl
47414 do
47415 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47416 echo "$as_me:$LINENO: checking for $ac_func" >&5
47417 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47418 if eval "test \"\${$as_ac_var+set}\" = set"; then
47419   echo $ECHO_N "(cached) $ECHO_C" >&6
47420 else
47421   if test x$gcc_no_link = xyes; then
47422   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47423 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47424    { (exit 1); exit 1; }; }
47425 fi
47426 cat >conftest.$ac_ext <<_ACEOF
47427 /* confdefs.h.  */
47428 _ACEOF
47429 cat confdefs.h >>conftest.$ac_ext
47430 cat >>conftest.$ac_ext <<_ACEOF
47431 /* end confdefs.h.  */
47432 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47433    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47434 #define $ac_func innocuous_$ac_func
47435
47436 /* System header to define __stub macros and hopefully few prototypes,
47437     which can conflict with char $ac_func (); below.
47438     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47439     <limits.h> exists even on freestanding compilers.  */
47440
47441 #ifdef __STDC__
47442 # include <limits.h>
47443 #else
47444 # include <assert.h>
47445 #endif
47446
47447 #undef $ac_func
47448
47449 /* Override any gcc2 internal prototype to avoid an error.  */
47450 #ifdef __cplusplus
47451 extern "C"
47452 {
47453 #endif
47454 /* We use char because int might match the return type of a gcc2
47455    builtin and then its argument prototype would still apply.  */
47456 char $ac_func ();
47457 /* The GNU C library defines this for functions which it implements
47458     to always fail with ENOSYS.  Some functions are actually named
47459     something starting with __ and the normal name is an alias.  */
47460 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47461 choke me
47462 #else
47463 char (*f) () = $ac_func;
47464 #endif
47465 #ifdef __cplusplus
47466 }
47467 #endif
47468
47469 int
47470 main ()
47471 {
47472 return f != $ac_func;
47473   ;
47474   return 0;
47475 }
47476 _ACEOF
47477 rm -f conftest.$ac_objext conftest$ac_exeext
47478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47479   (eval $ac_link) 2>conftest.er1
47480   ac_status=$?
47481   grep -v '^ *+' conftest.er1 >conftest.err
47482   rm -f conftest.er1
47483   cat conftest.err >&5
47484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47485   (exit $ac_status); } &&
47486          { ac_try='test -z "$ac_c_werror_flag"
47487                          || test ! -s conftest.err'
47488   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47489   (eval $ac_try) 2>&5
47490   ac_status=$?
47491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47492   (exit $ac_status); }; } &&
47493          { ac_try='test -s conftest$ac_exeext'
47494   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47495   (eval $ac_try) 2>&5
47496   ac_status=$?
47497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47498   (exit $ac_status); }; }; then
47499   eval "$as_ac_var=yes"
47500 else
47501   echo "$as_me: failed program was:" >&5
47502 sed 's/^/| /' conftest.$ac_ext >&5
47503
47504 eval "$as_ac_var=no"
47505 fi
47506 rm -f conftest.err conftest.$ac_objext \
47507       conftest$ac_exeext conftest.$ac_ext
47508 fi
47509 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47510 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47511 if test `eval echo '${'$as_ac_var'}'` = yes; then
47512   cat >>confdefs.h <<_ACEOF
47513 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47514 _ACEOF
47515
47516 fi
47517 done
47518
47519   else
47520
47521   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
47522 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
47523   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
47524     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
47525   echo $ECHO_N "(cached) $ECHO_C" >&6
47526 else
47527
47528
47529
47530       ac_ext=cc
47531 ac_cpp='$CXXCPP $CPPFLAGS'
47532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47535
47536       cat >conftest.$ac_ext <<_ACEOF
47537 /* confdefs.h.  */
47538 _ACEOF
47539 cat confdefs.h >>conftest.$ac_ext
47540 cat >>conftest.$ac_ext <<_ACEOF
47541 /* end confdefs.h.  */
47542 #include <math.h>
47543 int
47544 main ()
47545 {
47546  _modfl(0, 0);
47547   ;
47548   return 0;
47549 }
47550 _ACEOF
47551 rm -f conftest.$ac_objext
47552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47553   (eval $ac_compile) 2>conftest.er1
47554   ac_status=$?
47555   grep -v '^ *+' conftest.er1 >conftest.err
47556   rm -f conftest.er1
47557   cat conftest.err >&5
47558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47559   (exit $ac_status); } &&
47560          { ac_try='test -z "$ac_cxx_werror_flag"
47561                          || test ! -s conftest.err'
47562   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47563   (eval $ac_try) 2>&5
47564   ac_status=$?
47565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47566   (exit $ac_status); }; } &&
47567          { ac_try='test -s conftest.$ac_objext'
47568   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47569   (eval $ac_try) 2>&5
47570   ac_status=$?
47571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47572   (exit $ac_status); }; }; then
47573   glibcxx_cv_func__modfl_use=yes
47574 else
47575   echo "$as_me: failed program was:" >&5
47576 sed 's/^/| /' conftest.$ac_ext >&5
47577
47578 glibcxx_cv_func__modfl_use=no
47579 fi
47580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47581       ac_ext=c
47582 ac_cpp='$CPP $CPPFLAGS'
47583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47586
47587
47588 fi
47589
47590   fi
47591   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
47592 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
47593
47594     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
47595
47596 for ac_func in _modfl
47597 do
47598 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47599 echo "$as_me:$LINENO: checking for $ac_func" >&5
47600 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47601 if eval "test \"\${$as_ac_var+set}\" = set"; then
47602   echo $ECHO_N "(cached) $ECHO_C" >&6
47603 else
47604   if test x$gcc_no_link = xyes; then
47605   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47606 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47607    { (exit 1); exit 1; }; }
47608 fi
47609 cat >conftest.$ac_ext <<_ACEOF
47610 /* confdefs.h.  */
47611 _ACEOF
47612 cat confdefs.h >>conftest.$ac_ext
47613 cat >>conftest.$ac_ext <<_ACEOF
47614 /* end confdefs.h.  */
47615 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47616    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47617 #define $ac_func innocuous_$ac_func
47618
47619 /* System header to define __stub macros and hopefully few prototypes,
47620     which can conflict with char $ac_func (); below.
47621     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47622     <limits.h> exists even on freestanding compilers.  */
47623
47624 #ifdef __STDC__
47625 # include <limits.h>
47626 #else
47627 # include <assert.h>
47628 #endif
47629
47630 #undef $ac_func
47631
47632 /* Override any gcc2 internal prototype to avoid an error.  */
47633 #ifdef __cplusplus
47634 extern "C"
47635 {
47636 #endif
47637 /* We use char because int might match the return type of a gcc2
47638    builtin and then its argument prototype would still apply.  */
47639 char $ac_func ();
47640 /* The GNU C library defines this for functions which it implements
47641     to always fail with ENOSYS.  Some functions are actually named
47642     something starting with __ and the normal name is an alias.  */
47643 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47644 choke me
47645 #else
47646 char (*f) () = $ac_func;
47647 #endif
47648 #ifdef __cplusplus
47649 }
47650 #endif
47651
47652 int
47653 main ()
47654 {
47655 return f != $ac_func;
47656   ;
47657   return 0;
47658 }
47659 _ACEOF
47660 rm -f conftest.$ac_objext conftest$ac_exeext
47661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47662   (eval $ac_link) 2>conftest.er1
47663   ac_status=$?
47664   grep -v '^ *+' conftest.er1 >conftest.err
47665   rm -f conftest.er1
47666   cat conftest.err >&5
47667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47668   (exit $ac_status); } &&
47669          { ac_try='test -z "$ac_c_werror_flag"
47670                          || test ! -s conftest.err'
47671   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47672   (eval $ac_try) 2>&5
47673   ac_status=$?
47674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47675   (exit $ac_status); }; } &&
47676          { ac_try='test -s conftest$ac_exeext'
47677   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47678   (eval $ac_try) 2>&5
47679   ac_status=$?
47680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47681   (exit $ac_status); }; }; then
47682   eval "$as_ac_var=yes"
47683 else
47684   echo "$as_me: failed program was:" >&5
47685 sed 's/^/| /' conftest.$ac_ext >&5
47686
47687 eval "$as_ac_var=no"
47688 fi
47689 rm -f conftest.err conftest.$ac_objext \
47690       conftest$ac_exeext conftest.$ac_ext
47691 fi
47692 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47693 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47694 if test `eval echo '${'$as_ac_var'}'` = yes; then
47695   cat >>confdefs.h <<_ACEOF
47696 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47697 _ACEOF
47698
47699 fi
47700 done
47701
47702     fi
47703   fi
47704
47705
47706
47707   echo "$as_me:$LINENO: checking for powl declaration" >&5
47708 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
47709   if test x${glibcxx_cv_func_powl_use+set} != xset; then
47710     if test "${glibcxx_cv_func_powl_use+set}" = set; then
47711   echo $ECHO_N "(cached) $ECHO_C" >&6
47712 else
47713
47714
47715
47716       ac_ext=cc
47717 ac_cpp='$CXXCPP $CPPFLAGS'
47718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47721
47722       cat >conftest.$ac_ext <<_ACEOF
47723 /* confdefs.h.  */
47724 _ACEOF
47725 cat confdefs.h >>conftest.$ac_ext
47726 cat >>conftest.$ac_ext <<_ACEOF
47727 /* end confdefs.h.  */
47728 #include <math.h>
47729 int
47730 main ()
47731 {
47732  powl(0, 0);
47733   ;
47734   return 0;
47735 }
47736 _ACEOF
47737 rm -f conftest.$ac_objext
47738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47739   (eval $ac_compile) 2>conftest.er1
47740   ac_status=$?
47741   grep -v '^ *+' conftest.er1 >conftest.err
47742   rm -f conftest.er1
47743   cat conftest.err >&5
47744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47745   (exit $ac_status); } &&
47746          { ac_try='test -z "$ac_cxx_werror_flag"
47747                          || test ! -s conftest.err'
47748   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47749   (eval $ac_try) 2>&5
47750   ac_status=$?
47751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47752   (exit $ac_status); }; } &&
47753          { ac_try='test -s conftest.$ac_objext'
47754   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47755   (eval $ac_try) 2>&5
47756   ac_status=$?
47757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47758   (exit $ac_status); }; }; then
47759   glibcxx_cv_func_powl_use=yes
47760 else
47761   echo "$as_me: failed program was:" >&5
47762 sed 's/^/| /' conftest.$ac_ext >&5
47763
47764 glibcxx_cv_func_powl_use=no
47765 fi
47766 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47767       ac_ext=c
47768 ac_cpp='$CPP $CPPFLAGS'
47769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47772
47773
47774 fi
47775
47776   fi
47777   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
47778 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
47779
47780   if test x$glibcxx_cv_func_powl_use = x"yes"; then
47781
47782 for ac_func in powl
47783 do
47784 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47785 echo "$as_me:$LINENO: checking for $ac_func" >&5
47786 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47787 if eval "test \"\${$as_ac_var+set}\" = set"; then
47788   echo $ECHO_N "(cached) $ECHO_C" >&6
47789 else
47790   if test x$gcc_no_link = xyes; then
47791   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47792 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47793    { (exit 1); exit 1; }; }
47794 fi
47795 cat >conftest.$ac_ext <<_ACEOF
47796 /* confdefs.h.  */
47797 _ACEOF
47798 cat confdefs.h >>conftest.$ac_ext
47799 cat >>conftest.$ac_ext <<_ACEOF
47800 /* end confdefs.h.  */
47801 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47802    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47803 #define $ac_func innocuous_$ac_func
47804
47805 /* System header to define __stub macros and hopefully few prototypes,
47806     which can conflict with char $ac_func (); below.
47807     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47808     <limits.h> exists even on freestanding compilers.  */
47809
47810 #ifdef __STDC__
47811 # include <limits.h>
47812 #else
47813 # include <assert.h>
47814 #endif
47815
47816 #undef $ac_func
47817
47818 /* Override any gcc2 internal prototype to avoid an error.  */
47819 #ifdef __cplusplus
47820 extern "C"
47821 {
47822 #endif
47823 /* We use char because int might match the return type of a gcc2
47824    builtin and then its argument prototype would still apply.  */
47825 char $ac_func ();
47826 /* The GNU C library defines this for functions which it implements
47827     to always fail with ENOSYS.  Some functions are actually named
47828     something starting with __ and the normal name is an alias.  */
47829 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47830 choke me
47831 #else
47832 char (*f) () = $ac_func;
47833 #endif
47834 #ifdef __cplusplus
47835 }
47836 #endif
47837
47838 int
47839 main ()
47840 {
47841 return f != $ac_func;
47842   ;
47843   return 0;
47844 }
47845 _ACEOF
47846 rm -f conftest.$ac_objext conftest$ac_exeext
47847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47848   (eval $ac_link) 2>conftest.er1
47849   ac_status=$?
47850   grep -v '^ *+' conftest.er1 >conftest.err
47851   rm -f conftest.er1
47852   cat conftest.err >&5
47853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47854   (exit $ac_status); } &&
47855          { ac_try='test -z "$ac_c_werror_flag"
47856                          || test ! -s conftest.err'
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); }; } &&
47862          { ac_try='test -s conftest$ac_exeext'
47863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47864   (eval $ac_try) 2>&5
47865   ac_status=$?
47866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47867   (exit $ac_status); }; }; then
47868   eval "$as_ac_var=yes"
47869 else
47870   echo "$as_me: failed program was:" >&5
47871 sed 's/^/| /' conftest.$ac_ext >&5
47872
47873 eval "$as_ac_var=no"
47874 fi
47875 rm -f conftest.err conftest.$ac_objext \
47876       conftest$ac_exeext conftest.$ac_ext
47877 fi
47878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47879 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47880 if test `eval echo '${'$as_ac_var'}'` = yes; then
47881   cat >>confdefs.h <<_ACEOF
47882 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47883 _ACEOF
47884
47885 fi
47886 done
47887
47888   else
47889
47890   echo "$as_me:$LINENO: checking for _powl declaration" >&5
47891 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
47892   if test x${glibcxx_cv_func__powl_use+set} != xset; then
47893     if test "${glibcxx_cv_func__powl_use+set}" = set; then
47894   echo $ECHO_N "(cached) $ECHO_C" >&6
47895 else
47896
47897
47898
47899       ac_ext=cc
47900 ac_cpp='$CXXCPP $CPPFLAGS'
47901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47904
47905       cat >conftest.$ac_ext <<_ACEOF
47906 /* confdefs.h.  */
47907 _ACEOF
47908 cat confdefs.h >>conftest.$ac_ext
47909 cat >>conftest.$ac_ext <<_ACEOF
47910 /* end confdefs.h.  */
47911 #include <math.h>
47912 int
47913 main ()
47914 {
47915  _powl(0, 0);
47916   ;
47917   return 0;
47918 }
47919 _ACEOF
47920 rm -f conftest.$ac_objext
47921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47922   (eval $ac_compile) 2>conftest.er1
47923   ac_status=$?
47924   grep -v '^ *+' conftest.er1 >conftest.err
47925   rm -f conftest.er1
47926   cat conftest.err >&5
47927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47928   (exit $ac_status); } &&
47929          { ac_try='test -z "$ac_cxx_werror_flag"
47930                          || test ! -s conftest.err'
47931   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47932   (eval $ac_try) 2>&5
47933   ac_status=$?
47934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47935   (exit $ac_status); }; } &&
47936          { ac_try='test -s conftest.$ac_objext'
47937   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47938   (eval $ac_try) 2>&5
47939   ac_status=$?
47940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
47941   (exit $ac_status); }; }; then
47942   glibcxx_cv_func__powl_use=yes
47943 else
47944   echo "$as_me: failed program was:" >&5
47945 sed 's/^/| /' conftest.$ac_ext >&5
47946
47947 glibcxx_cv_func__powl_use=no
47948 fi
47949 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47950       ac_ext=c
47951 ac_cpp='$CPP $CPPFLAGS'
47952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47955
47956
47957 fi
47958
47959   fi
47960   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
47961 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
47962
47963     if test x$glibcxx_cv_func__powl_use = x"yes"; then
47964
47965 for ac_func in _powl
47966 do
47967 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47968 echo "$as_me:$LINENO: checking for $ac_func" >&5
47969 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47970 if eval "test \"\${$as_ac_var+set}\" = set"; then
47971   echo $ECHO_N "(cached) $ECHO_C" >&6
47972 else
47973   if test x$gcc_no_link = xyes; then
47974   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47975 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47976    { (exit 1); exit 1; }; }
47977 fi
47978 cat >conftest.$ac_ext <<_ACEOF
47979 /* confdefs.h.  */
47980 _ACEOF
47981 cat confdefs.h >>conftest.$ac_ext
47982 cat >>conftest.$ac_ext <<_ACEOF
47983 /* end confdefs.h.  */
47984 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47985    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
47986 #define $ac_func innocuous_$ac_func
47987
47988 /* System header to define __stub macros and hopefully few prototypes,
47989     which can conflict with char $ac_func (); below.
47990     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47991     <limits.h> exists even on freestanding compilers.  */
47992
47993 #ifdef __STDC__
47994 # include <limits.h>
47995 #else
47996 # include <assert.h>
47997 #endif
47998
47999 #undef $ac_func
48000
48001 /* Override any gcc2 internal prototype to avoid an error.  */
48002 #ifdef __cplusplus
48003 extern "C"
48004 {
48005 #endif
48006 /* We use char because int might match the return type of a gcc2
48007    builtin and then its argument prototype would still apply.  */
48008 char $ac_func ();
48009 /* The GNU C library defines this for functions which it implements
48010     to always fail with ENOSYS.  Some functions are actually named
48011     something starting with __ and the normal name is an alias.  */
48012 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48013 choke me
48014 #else
48015 char (*f) () = $ac_func;
48016 #endif
48017 #ifdef __cplusplus
48018 }
48019 #endif
48020
48021 int
48022 main ()
48023 {
48024 return f != $ac_func;
48025   ;
48026   return 0;
48027 }
48028 _ACEOF
48029 rm -f conftest.$ac_objext conftest$ac_exeext
48030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48031   (eval $ac_link) 2>conftest.er1
48032   ac_status=$?
48033   grep -v '^ *+' conftest.er1 >conftest.err
48034   rm -f conftest.er1
48035   cat conftest.err >&5
48036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48037   (exit $ac_status); } &&
48038          { ac_try='test -z "$ac_c_werror_flag"
48039                          || test ! -s conftest.err'
48040   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48041   (eval $ac_try) 2>&5
48042   ac_status=$?
48043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48044   (exit $ac_status); }; } &&
48045          { ac_try='test -s conftest$ac_exeext'
48046   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48047   (eval $ac_try) 2>&5
48048   ac_status=$?
48049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48050   (exit $ac_status); }; }; then
48051   eval "$as_ac_var=yes"
48052 else
48053   echo "$as_me: failed program was:" >&5
48054 sed 's/^/| /' conftest.$ac_ext >&5
48055
48056 eval "$as_ac_var=no"
48057 fi
48058 rm -f conftest.err conftest.$ac_objext \
48059       conftest$ac_exeext conftest.$ac_ext
48060 fi
48061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48062 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48063 if test `eval echo '${'$as_ac_var'}'` = yes; then
48064   cat >>confdefs.h <<_ACEOF
48065 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48066 _ACEOF
48067
48068 fi
48069 done
48070
48071     fi
48072   fi
48073
48074
48075
48076   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
48077 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
48078   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
48079     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
48080   echo $ECHO_N "(cached) $ECHO_C" >&6
48081 else
48082
48083
48084
48085       ac_ext=cc
48086 ac_cpp='$CXXCPP $CPPFLAGS'
48087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48090
48091       cat >conftest.$ac_ext <<_ACEOF
48092 /* confdefs.h.  */
48093 _ACEOF
48094 cat confdefs.h >>conftest.$ac_ext
48095 cat >>conftest.$ac_ext <<_ACEOF
48096 /* end confdefs.h.  */
48097 #include <math.h>
48098                       #ifdef HAVE_IEEEFP_H
48099                       #include <ieeefp.h>
48100                       #endif
48101
48102 int
48103 main ()
48104 {
48105  sqrtl(0);
48106   ;
48107   return 0;
48108 }
48109 _ACEOF
48110 rm -f conftest.$ac_objext
48111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48112   (eval $ac_compile) 2>conftest.er1
48113   ac_status=$?
48114   grep -v '^ *+' conftest.er1 >conftest.err
48115   rm -f conftest.er1
48116   cat conftest.err >&5
48117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48118   (exit $ac_status); } &&
48119          { ac_try='test -z "$ac_cxx_werror_flag"
48120                          || test ! -s conftest.err'
48121   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48122   (eval $ac_try) 2>&5
48123   ac_status=$?
48124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48125   (exit $ac_status); }; } &&
48126          { ac_try='test -s conftest.$ac_objext'
48127   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48128   (eval $ac_try) 2>&5
48129   ac_status=$?
48130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48131   (exit $ac_status); }; }; then
48132   glibcxx_cv_func_sqrtl_use=yes
48133 else
48134   echo "$as_me: failed program was:" >&5
48135 sed 's/^/| /' conftest.$ac_ext >&5
48136
48137 glibcxx_cv_func_sqrtl_use=no
48138 fi
48139 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48140       ac_ext=c
48141 ac_cpp='$CPP $CPPFLAGS'
48142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48145
48146
48147 fi
48148
48149   fi
48150   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
48151 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
48152
48153   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
48154
48155 for ac_func in sqrtl
48156 do
48157 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48158 echo "$as_me:$LINENO: checking for $ac_func" >&5
48159 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48160 if eval "test \"\${$as_ac_var+set}\" = set"; then
48161   echo $ECHO_N "(cached) $ECHO_C" >&6
48162 else
48163   if test x$gcc_no_link = xyes; then
48164   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48165 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48166    { (exit 1); exit 1; }; }
48167 fi
48168 cat >conftest.$ac_ext <<_ACEOF
48169 /* confdefs.h.  */
48170 _ACEOF
48171 cat confdefs.h >>conftest.$ac_ext
48172 cat >>conftest.$ac_ext <<_ACEOF
48173 /* end confdefs.h.  */
48174 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48175    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48176 #define $ac_func innocuous_$ac_func
48177
48178 /* System header to define __stub macros and hopefully few prototypes,
48179     which can conflict with char $ac_func (); below.
48180     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48181     <limits.h> exists even on freestanding compilers.  */
48182
48183 #ifdef __STDC__
48184 # include <limits.h>
48185 #else
48186 # include <assert.h>
48187 #endif
48188
48189 #undef $ac_func
48190
48191 /* Override any gcc2 internal prototype to avoid an error.  */
48192 #ifdef __cplusplus
48193 extern "C"
48194 {
48195 #endif
48196 /* We use char because int might match the return type of a gcc2
48197    builtin and then its argument prototype would still apply.  */
48198 char $ac_func ();
48199 /* The GNU C library defines this for functions which it implements
48200     to always fail with ENOSYS.  Some functions are actually named
48201     something starting with __ and the normal name is an alias.  */
48202 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48203 choke me
48204 #else
48205 char (*f) () = $ac_func;
48206 #endif
48207 #ifdef __cplusplus
48208 }
48209 #endif
48210
48211 int
48212 main ()
48213 {
48214 return f != $ac_func;
48215   ;
48216   return 0;
48217 }
48218 _ACEOF
48219 rm -f conftest.$ac_objext conftest$ac_exeext
48220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48221   (eval $ac_link) 2>conftest.er1
48222   ac_status=$?
48223   grep -v '^ *+' conftest.er1 >conftest.err
48224   rm -f conftest.er1
48225   cat conftest.err >&5
48226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48227   (exit $ac_status); } &&
48228          { ac_try='test -z "$ac_c_werror_flag"
48229                          || test ! -s conftest.err'
48230   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48231   (eval $ac_try) 2>&5
48232   ac_status=$?
48233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48234   (exit $ac_status); }; } &&
48235          { ac_try='test -s conftest$ac_exeext'
48236   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48237   (eval $ac_try) 2>&5
48238   ac_status=$?
48239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48240   (exit $ac_status); }; }; then
48241   eval "$as_ac_var=yes"
48242 else
48243   echo "$as_me: failed program was:" >&5
48244 sed 's/^/| /' conftest.$ac_ext >&5
48245
48246 eval "$as_ac_var=no"
48247 fi
48248 rm -f conftest.err conftest.$ac_objext \
48249       conftest$ac_exeext conftest.$ac_ext
48250 fi
48251 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48252 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48253 if test `eval echo '${'$as_ac_var'}'` = yes; then
48254   cat >>confdefs.h <<_ACEOF
48255 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48256 _ACEOF
48257
48258 fi
48259 done
48260
48261   else
48262
48263   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
48264 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
48265   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
48266     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
48267   echo $ECHO_N "(cached) $ECHO_C" >&6
48268 else
48269
48270
48271
48272       ac_ext=cc
48273 ac_cpp='$CXXCPP $CPPFLAGS'
48274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48277
48278       cat >conftest.$ac_ext <<_ACEOF
48279 /* confdefs.h.  */
48280 _ACEOF
48281 cat confdefs.h >>conftest.$ac_ext
48282 cat >>conftest.$ac_ext <<_ACEOF
48283 /* end confdefs.h.  */
48284 #include <math.h>
48285                       #ifdef HAVE_IEEEFP_H
48286                       #include <ieeefp.h>
48287                       #endif
48288
48289 int
48290 main ()
48291 {
48292  _sqrtl(0);
48293   ;
48294   return 0;
48295 }
48296 _ACEOF
48297 rm -f conftest.$ac_objext
48298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48299   (eval $ac_compile) 2>conftest.er1
48300   ac_status=$?
48301   grep -v '^ *+' conftest.er1 >conftest.err
48302   rm -f conftest.er1
48303   cat conftest.err >&5
48304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48305   (exit $ac_status); } &&
48306          { ac_try='test -z "$ac_cxx_werror_flag"
48307                          || test ! -s conftest.err'
48308   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48309   (eval $ac_try) 2>&5
48310   ac_status=$?
48311   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48312   (exit $ac_status); }; } &&
48313          { ac_try='test -s conftest.$ac_objext'
48314   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48315   (eval $ac_try) 2>&5
48316   ac_status=$?
48317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48318   (exit $ac_status); }; }; then
48319   glibcxx_cv_func__sqrtl_use=yes
48320 else
48321   echo "$as_me: failed program was:" >&5
48322 sed 's/^/| /' conftest.$ac_ext >&5
48323
48324 glibcxx_cv_func__sqrtl_use=no
48325 fi
48326 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48327       ac_ext=c
48328 ac_cpp='$CPP $CPPFLAGS'
48329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48332
48333
48334 fi
48335
48336   fi
48337   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
48338 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
48339
48340     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
48341
48342 for ac_func in _sqrtl
48343 do
48344 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48345 echo "$as_me:$LINENO: checking for $ac_func" >&5
48346 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48347 if eval "test \"\${$as_ac_var+set}\" = set"; then
48348   echo $ECHO_N "(cached) $ECHO_C" >&6
48349 else
48350   if test x$gcc_no_link = xyes; then
48351   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48352 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48353    { (exit 1); exit 1; }; }
48354 fi
48355 cat >conftest.$ac_ext <<_ACEOF
48356 /* confdefs.h.  */
48357 _ACEOF
48358 cat confdefs.h >>conftest.$ac_ext
48359 cat >>conftest.$ac_ext <<_ACEOF
48360 /* end confdefs.h.  */
48361 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48362    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48363 #define $ac_func innocuous_$ac_func
48364
48365 /* System header to define __stub macros and hopefully few prototypes,
48366     which can conflict with char $ac_func (); below.
48367     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48368     <limits.h> exists even on freestanding compilers.  */
48369
48370 #ifdef __STDC__
48371 # include <limits.h>
48372 #else
48373 # include <assert.h>
48374 #endif
48375
48376 #undef $ac_func
48377
48378 /* Override any gcc2 internal prototype to avoid an error.  */
48379 #ifdef __cplusplus
48380 extern "C"
48381 {
48382 #endif
48383 /* We use char because int might match the return type of a gcc2
48384    builtin and then its argument prototype would still apply.  */
48385 char $ac_func ();
48386 /* The GNU C library defines this for functions which it implements
48387     to always fail with ENOSYS.  Some functions are actually named
48388     something starting with __ and the normal name is an alias.  */
48389 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48390 choke me
48391 #else
48392 char (*f) () = $ac_func;
48393 #endif
48394 #ifdef __cplusplus
48395 }
48396 #endif
48397
48398 int
48399 main ()
48400 {
48401 return f != $ac_func;
48402   ;
48403   return 0;
48404 }
48405 _ACEOF
48406 rm -f conftest.$ac_objext conftest$ac_exeext
48407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48408   (eval $ac_link) 2>conftest.er1
48409   ac_status=$?
48410   grep -v '^ *+' conftest.er1 >conftest.err
48411   rm -f conftest.er1
48412   cat conftest.err >&5
48413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48414   (exit $ac_status); } &&
48415          { ac_try='test -z "$ac_c_werror_flag"
48416                          || test ! -s conftest.err'
48417   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48418   (eval $ac_try) 2>&5
48419   ac_status=$?
48420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48421   (exit $ac_status); }; } &&
48422          { ac_try='test -s conftest$ac_exeext'
48423   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48424   (eval $ac_try) 2>&5
48425   ac_status=$?
48426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48427   (exit $ac_status); }; }; then
48428   eval "$as_ac_var=yes"
48429 else
48430   echo "$as_me: failed program was:" >&5
48431 sed 's/^/| /' conftest.$ac_ext >&5
48432
48433 eval "$as_ac_var=no"
48434 fi
48435 rm -f conftest.err conftest.$ac_objext \
48436       conftest$ac_exeext conftest.$ac_ext
48437 fi
48438 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48439 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48440 if test `eval echo '${'$as_ac_var'}'` = yes; then
48441   cat >>confdefs.h <<_ACEOF
48442 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48443 _ACEOF
48444
48445 fi
48446 done
48447
48448     fi
48449   fi
48450
48451
48452
48453   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
48454 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
48455   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
48456     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
48457   echo $ECHO_N "(cached) $ECHO_C" >&6
48458 else
48459
48460
48461
48462       ac_ext=cc
48463 ac_cpp='$CXXCPP $CPPFLAGS'
48464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48467
48468       cat >conftest.$ac_ext <<_ACEOF
48469 /* confdefs.h.  */
48470 _ACEOF
48471 cat confdefs.h >>conftest.$ac_ext
48472 cat >>conftest.$ac_ext <<_ACEOF
48473 /* end confdefs.h.  */
48474 #include <math.h>
48475 int
48476 main ()
48477 {
48478  sincosl(0, 0, 0);
48479   ;
48480   return 0;
48481 }
48482 _ACEOF
48483 rm -f conftest.$ac_objext
48484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48485   (eval $ac_compile) 2>conftest.er1
48486   ac_status=$?
48487   grep -v '^ *+' conftest.er1 >conftest.err
48488   rm -f conftest.er1
48489   cat conftest.err >&5
48490   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48491   (exit $ac_status); } &&
48492          { ac_try='test -z "$ac_cxx_werror_flag"
48493                          || test ! -s conftest.err'
48494   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48495   (eval $ac_try) 2>&5
48496   ac_status=$?
48497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48498   (exit $ac_status); }; } &&
48499          { ac_try='test -s conftest.$ac_objext'
48500   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48501   (eval $ac_try) 2>&5
48502   ac_status=$?
48503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48504   (exit $ac_status); }; }; then
48505   glibcxx_cv_func_sincosl_use=yes
48506 else
48507   echo "$as_me: failed program was:" >&5
48508 sed 's/^/| /' conftest.$ac_ext >&5
48509
48510 glibcxx_cv_func_sincosl_use=no
48511 fi
48512 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48513       ac_ext=c
48514 ac_cpp='$CPP $CPPFLAGS'
48515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48518
48519
48520 fi
48521
48522   fi
48523   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
48524 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
48525
48526   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
48527
48528 for ac_func in sincosl
48529 do
48530 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48531 echo "$as_me:$LINENO: checking for $ac_func" >&5
48532 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48533 if eval "test \"\${$as_ac_var+set}\" = set"; then
48534   echo $ECHO_N "(cached) $ECHO_C" >&6
48535 else
48536   if test x$gcc_no_link = xyes; then
48537   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48538 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48539    { (exit 1); exit 1; }; }
48540 fi
48541 cat >conftest.$ac_ext <<_ACEOF
48542 /* confdefs.h.  */
48543 _ACEOF
48544 cat confdefs.h >>conftest.$ac_ext
48545 cat >>conftest.$ac_ext <<_ACEOF
48546 /* end confdefs.h.  */
48547 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48548    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48549 #define $ac_func innocuous_$ac_func
48550
48551 /* System header to define __stub macros and hopefully few prototypes,
48552     which can conflict with char $ac_func (); below.
48553     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48554     <limits.h> exists even on freestanding compilers.  */
48555
48556 #ifdef __STDC__
48557 # include <limits.h>
48558 #else
48559 # include <assert.h>
48560 #endif
48561
48562 #undef $ac_func
48563
48564 /* Override any gcc2 internal prototype to avoid an error.  */
48565 #ifdef __cplusplus
48566 extern "C"
48567 {
48568 #endif
48569 /* We use char because int might match the return type of a gcc2
48570    builtin and then its argument prototype would still apply.  */
48571 char $ac_func ();
48572 /* The GNU C library defines this for functions which it implements
48573     to always fail with ENOSYS.  Some functions are actually named
48574     something starting with __ and the normal name is an alias.  */
48575 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48576 choke me
48577 #else
48578 char (*f) () = $ac_func;
48579 #endif
48580 #ifdef __cplusplus
48581 }
48582 #endif
48583
48584 int
48585 main ()
48586 {
48587 return f != $ac_func;
48588   ;
48589   return 0;
48590 }
48591 _ACEOF
48592 rm -f conftest.$ac_objext conftest$ac_exeext
48593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48594   (eval $ac_link) 2>conftest.er1
48595   ac_status=$?
48596   grep -v '^ *+' conftest.er1 >conftest.err
48597   rm -f conftest.er1
48598   cat conftest.err >&5
48599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48600   (exit $ac_status); } &&
48601          { ac_try='test -z "$ac_c_werror_flag"
48602                          || test ! -s conftest.err'
48603   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48604   (eval $ac_try) 2>&5
48605   ac_status=$?
48606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48607   (exit $ac_status); }; } &&
48608          { ac_try='test -s conftest$ac_exeext'
48609   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48610   (eval $ac_try) 2>&5
48611   ac_status=$?
48612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48613   (exit $ac_status); }; }; then
48614   eval "$as_ac_var=yes"
48615 else
48616   echo "$as_me: failed program was:" >&5
48617 sed 's/^/| /' conftest.$ac_ext >&5
48618
48619 eval "$as_ac_var=no"
48620 fi
48621 rm -f conftest.err conftest.$ac_objext \
48622       conftest$ac_exeext conftest.$ac_ext
48623 fi
48624 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48625 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48626 if test `eval echo '${'$as_ac_var'}'` = yes; then
48627   cat >>confdefs.h <<_ACEOF
48628 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48629 _ACEOF
48630
48631 fi
48632 done
48633
48634   else
48635
48636   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
48637 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
48638   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
48639     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
48640   echo $ECHO_N "(cached) $ECHO_C" >&6
48641 else
48642
48643
48644
48645       ac_ext=cc
48646 ac_cpp='$CXXCPP $CPPFLAGS'
48647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48650
48651       cat >conftest.$ac_ext <<_ACEOF
48652 /* confdefs.h.  */
48653 _ACEOF
48654 cat confdefs.h >>conftest.$ac_ext
48655 cat >>conftest.$ac_ext <<_ACEOF
48656 /* end confdefs.h.  */
48657 #include <math.h>
48658 int
48659 main ()
48660 {
48661  _sincosl(0, 0, 0);
48662   ;
48663   return 0;
48664 }
48665 _ACEOF
48666 rm -f conftest.$ac_objext
48667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48668   (eval $ac_compile) 2>conftest.er1
48669   ac_status=$?
48670   grep -v '^ *+' conftest.er1 >conftest.err
48671   rm -f conftest.er1
48672   cat conftest.err >&5
48673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48674   (exit $ac_status); } &&
48675          { ac_try='test -z "$ac_cxx_werror_flag"
48676                          || test ! -s conftest.err'
48677   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48678   (eval $ac_try) 2>&5
48679   ac_status=$?
48680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48681   (exit $ac_status); }; } &&
48682          { ac_try='test -s conftest.$ac_objext'
48683   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48684   (eval $ac_try) 2>&5
48685   ac_status=$?
48686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48687   (exit $ac_status); }; }; then
48688   glibcxx_cv_func__sincosl_use=yes
48689 else
48690   echo "$as_me: failed program was:" >&5
48691 sed 's/^/| /' conftest.$ac_ext >&5
48692
48693 glibcxx_cv_func__sincosl_use=no
48694 fi
48695 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48696       ac_ext=c
48697 ac_cpp='$CPP $CPPFLAGS'
48698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48701
48702
48703 fi
48704
48705   fi
48706   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
48707 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
48708
48709     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
48710
48711 for ac_func in _sincosl
48712 do
48713 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48714 echo "$as_me:$LINENO: checking for $ac_func" >&5
48715 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48716 if eval "test \"\${$as_ac_var+set}\" = set"; then
48717   echo $ECHO_N "(cached) $ECHO_C" >&6
48718 else
48719   if test x$gcc_no_link = xyes; then
48720   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48721 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48722    { (exit 1); exit 1; }; }
48723 fi
48724 cat >conftest.$ac_ext <<_ACEOF
48725 /* confdefs.h.  */
48726 _ACEOF
48727 cat confdefs.h >>conftest.$ac_ext
48728 cat >>conftest.$ac_ext <<_ACEOF
48729 /* end confdefs.h.  */
48730 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48731    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48732 #define $ac_func innocuous_$ac_func
48733
48734 /* System header to define __stub macros and hopefully few prototypes,
48735     which can conflict with char $ac_func (); below.
48736     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48737     <limits.h> exists even on freestanding compilers.  */
48738
48739 #ifdef __STDC__
48740 # include <limits.h>
48741 #else
48742 # include <assert.h>
48743 #endif
48744
48745 #undef $ac_func
48746
48747 /* Override any gcc2 internal prototype to avoid an error.  */
48748 #ifdef __cplusplus
48749 extern "C"
48750 {
48751 #endif
48752 /* We use char because int might match the return type of a gcc2
48753    builtin and then its argument prototype would still apply.  */
48754 char $ac_func ();
48755 /* The GNU C library defines this for functions which it implements
48756     to always fail with ENOSYS.  Some functions are actually named
48757     something starting with __ and the normal name is an alias.  */
48758 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48759 choke me
48760 #else
48761 char (*f) () = $ac_func;
48762 #endif
48763 #ifdef __cplusplus
48764 }
48765 #endif
48766
48767 int
48768 main ()
48769 {
48770 return f != $ac_func;
48771   ;
48772   return 0;
48773 }
48774 _ACEOF
48775 rm -f conftest.$ac_objext conftest$ac_exeext
48776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48777   (eval $ac_link) 2>conftest.er1
48778   ac_status=$?
48779   grep -v '^ *+' conftest.er1 >conftest.err
48780   rm -f conftest.er1
48781   cat conftest.err >&5
48782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48783   (exit $ac_status); } &&
48784          { ac_try='test -z "$ac_c_werror_flag"
48785                          || test ! -s conftest.err'
48786   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48787   (eval $ac_try) 2>&5
48788   ac_status=$?
48789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48790   (exit $ac_status); }; } &&
48791          { ac_try='test -s conftest$ac_exeext'
48792   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48793   (eval $ac_try) 2>&5
48794   ac_status=$?
48795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48796   (exit $ac_status); }; }; then
48797   eval "$as_ac_var=yes"
48798 else
48799   echo "$as_me: failed program was:" >&5
48800 sed 's/^/| /' conftest.$ac_ext >&5
48801
48802 eval "$as_ac_var=no"
48803 fi
48804 rm -f conftest.err conftest.$ac_objext \
48805       conftest$ac_exeext conftest.$ac_ext
48806 fi
48807 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48808 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48809 if test `eval echo '${'$as_ac_var'}'` = yes; then
48810   cat >>confdefs.h <<_ACEOF
48811 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48812 _ACEOF
48813
48814 fi
48815 done
48816
48817     fi
48818   fi
48819
48820
48821
48822   echo "$as_me:$LINENO: checking for finitel declaration" >&5
48823 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
48824   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
48825     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
48826   echo $ECHO_N "(cached) $ECHO_C" >&6
48827 else
48828
48829
48830
48831       ac_ext=cc
48832 ac_cpp='$CXXCPP $CPPFLAGS'
48833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48836
48837       cat >conftest.$ac_ext <<_ACEOF
48838 /* confdefs.h.  */
48839 _ACEOF
48840 cat confdefs.h >>conftest.$ac_ext
48841 cat >>conftest.$ac_ext <<_ACEOF
48842 /* end confdefs.h.  */
48843 #include <math.h>
48844                       #ifdef HAVE_IEEEFP_H
48845                       #include <ieeefp.h>
48846                       #endif
48847
48848 int
48849 main ()
48850 {
48851  finitel(0);
48852   ;
48853   return 0;
48854 }
48855 _ACEOF
48856 rm -f conftest.$ac_objext
48857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48858   (eval $ac_compile) 2>conftest.er1
48859   ac_status=$?
48860   grep -v '^ *+' conftest.er1 >conftest.err
48861   rm -f conftest.er1
48862   cat conftest.err >&5
48863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48864   (exit $ac_status); } &&
48865          { ac_try='test -z "$ac_cxx_werror_flag"
48866                          || test ! -s conftest.err'
48867   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48868   (eval $ac_try) 2>&5
48869   ac_status=$?
48870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48871   (exit $ac_status); }; } &&
48872          { ac_try='test -s conftest.$ac_objext'
48873   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48874   (eval $ac_try) 2>&5
48875   ac_status=$?
48876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48877   (exit $ac_status); }; }; then
48878   glibcxx_cv_func_finitel_use=yes
48879 else
48880   echo "$as_me: failed program was:" >&5
48881 sed 's/^/| /' conftest.$ac_ext >&5
48882
48883 glibcxx_cv_func_finitel_use=no
48884 fi
48885 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48886       ac_ext=c
48887 ac_cpp='$CPP $CPPFLAGS'
48888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48891
48892
48893 fi
48894
48895   fi
48896   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
48897 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
48898
48899   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
48900
48901 for ac_func in finitel
48902 do
48903 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48904 echo "$as_me:$LINENO: checking for $ac_func" >&5
48905 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48906 if eval "test \"\${$as_ac_var+set}\" = set"; then
48907   echo $ECHO_N "(cached) $ECHO_C" >&6
48908 else
48909   if test x$gcc_no_link = xyes; then
48910   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48911 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48912    { (exit 1); exit 1; }; }
48913 fi
48914 cat >conftest.$ac_ext <<_ACEOF
48915 /* confdefs.h.  */
48916 _ACEOF
48917 cat confdefs.h >>conftest.$ac_ext
48918 cat >>conftest.$ac_ext <<_ACEOF
48919 /* end confdefs.h.  */
48920 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48921    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
48922 #define $ac_func innocuous_$ac_func
48923
48924 /* System header to define __stub macros and hopefully few prototypes,
48925     which can conflict with char $ac_func (); below.
48926     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48927     <limits.h> exists even on freestanding compilers.  */
48928
48929 #ifdef __STDC__
48930 # include <limits.h>
48931 #else
48932 # include <assert.h>
48933 #endif
48934
48935 #undef $ac_func
48936
48937 /* Override any gcc2 internal prototype to avoid an error.  */
48938 #ifdef __cplusplus
48939 extern "C"
48940 {
48941 #endif
48942 /* We use char because int might match the return type of a gcc2
48943    builtin and then its argument prototype would still apply.  */
48944 char $ac_func ();
48945 /* The GNU C library defines this for functions which it implements
48946     to always fail with ENOSYS.  Some functions are actually named
48947     something starting with __ and the normal name is an alias.  */
48948 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48949 choke me
48950 #else
48951 char (*f) () = $ac_func;
48952 #endif
48953 #ifdef __cplusplus
48954 }
48955 #endif
48956
48957 int
48958 main ()
48959 {
48960 return f != $ac_func;
48961   ;
48962   return 0;
48963 }
48964 _ACEOF
48965 rm -f conftest.$ac_objext conftest$ac_exeext
48966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48967   (eval $ac_link) 2>conftest.er1
48968   ac_status=$?
48969   grep -v '^ *+' conftest.er1 >conftest.err
48970   rm -f conftest.er1
48971   cat conftest.err >&5
48972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48973   (exit $ac_status); } &&
48974          { ac_try='test -z "$ac_c_werror_flag"
48975                          || test ! -s conftest.err'
48976   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48977   (eval $ac_try) 2>&5
48978   ac_status=$?
48979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48980   (exit $ac_status); }; } &&
48981          { ac_try='test -s conftest$ac_exeext'
48982   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48983   (eval $ac_try) 2>&5
48984   ac_status=$?
48985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
48986   (exit $ac_status); }; }; then
48987   eval "$as_ac_var=yes"
48988 else
48989   echo "$as_me: failed program was:" >&5
48990 sed 's/^/| /' conftest.$ac_ext >&5
48991
48992 eval "$as_ac_var=no"
48993 fi
48994 rm -f conftest.err conftest.$ac_objext \
48995       conftest$ac_exeext conftest.$ac_ext
48996 fi
48997 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48998 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48999 if test `eval echo '${'$as_ac_var'}'` = yes; then
49000   cat >>confdefs.h <<_ACEOF
49001 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49002 _ACEOF
49003
49004 fi
49005 done
49006
49007   else
49008
49009   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
49010 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
49011   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
49012     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
49013   echo $ECHO_N "(cached) $ECHO_C" >&6
49014 else
49015
49016
49017
49018       ac_ext=cc
49019 ac_cpp='$CXXCPP $CPPFLAGS'
49020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49023
49024       cat >conftest.$ac_ext <<_ACEOF
49025 /* confdefs.h.  */
49026 _ACEOF
49027 cat confdefs.h >>conftest.$ac_ext
49028 cat >>conftest.$ac_ext <<_ACEOF
49029 /* end confdefs.h.  */
49030 #include <math.h>
49031                       #ifdef HAVE_IEEEFP_H
49032                       #include <ieeefp.h>
49033                       #endif
49034
49035 int
49036 main ()
49037 {
49038  _finitel(0);
49039   ;
49040   return 0;
49041 }
49042 _ACEOF
49043 rm -f conftest.$ac_objext
49044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49045   (eval $ac_compile) 2>conftest.er1
49046   ac_status=$?
49047   grep -v '^ *+' conftest.er1 >conftest.err
49048   rm -f conftest.er1
49049   cat conftest.err >&5
49050   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49051   (exit $ac_status); } &&
49052          { ac_try='test -z "$ac_cxx_werror_flag"
49053                          || test ! -s conftest.err'
49054   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49055   (eval $ac_try) 2>&5
49056   ac_status=$?
49057   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49058   (exit $ac_status); }; } &&
49059          { ac_try='test -s conftest.$ac_objext'
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   glibcxx_cv_func__finitel_use=yes
49066 else
49067   echo "$as_me: failed program was:" >&5
49068 sed 's/^/| /' conftest.$ac_ext >&5
49069
49070 glibcxx_cv_func__finitel_use=no
49071 fi
49072 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49073       ac_ext=c
49074 ac_cpp='$CPP $CPPFLAGS'
49075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49078
49079
49080 fi
49081
49082   fi
49083   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
49084 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
49085
49086     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
49087
49088 for ac_func in _finitel
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   if test x$gcc_no_link = xyes; then
49097   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49098 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49099    { (exit 1); exit 1; }; }
49100 fi
49101 cat >conftest.$ac_ext <<_ACEOF
49102 /* confdefs.h.  */
49103 _ACEOF
49104 cat confdefs.h >>conftest.$ac_ext
49105 cat >>conftest.$ac_ext <<_ACEOF
49106 /* end confdefs.h.  */
49107 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49108    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49109 #define $ac_func innocuous_$ac_func
49110
49111 /* System header to define __stub macros and hopefully few prototypes,
49112     which can conflict with char $ac_func (); below.
49113     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49114     <limits.h> exists even on freestanding compilers.  */
49115
49116 #ifdef __STDC__
49117 # include <limits.h>
49118 #else
49119 # include <assert.h>
49120 #endif
49121
49122 #undef $ac_func
49123
49124 /* Override any gcc2 internal prototype to avoid an error.  */
49125 #ifdef __cplusplus
49126 extern "C"
49127 {
49128 #endif
49129 /* We use char because int might match the return type of a gcc2
49130    builtin and then its argument prototype would still apply.  */
49131 char $ac_func ();
49132 /* The GNU C library defines this for functions which it implements
49133     to always fail with ENOSYS.  Some functions are actually named
49134     something starting with __ and the normal name is an alias.  */
49135 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49136 choke me
49137 #else
49138 char (*f) () = $ac_func;
49139 #endif
49140 #ifdef __cplusplus
49141 }
49142 #endif
49143
49144 int
49145 main ()
49146 {
49147 return f != $ac_func;
49148   ;
49149   return 0;
49150 }
49151 _ACEOF
49152 rm -f conftest.$ac_objext conftest$ac_exeext
49153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49154   (eval $ac_link) 2>conftest.er1
49155   ac_status=$?
49156   grep -v '^ *+' conftest.er1 >conftest.err
49157   rm -f conftest.er1
49158   cat conftest.err >&5
49159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49160   (exit $ac_status); } &&
49161          { ac_try='test -z "$ac_c_werror_flag"
49162                          || test ! -s conftest.err'
49163   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49164   (eval $ac_try) 2>&5
49165   ac_status=$?
49166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49167   (exit $ac_status); }; } &&
49168          { ac_try='test -s conftest$ac_exeext'
49169   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49170   (eval $ac_try) 2>&5
49171   ac_status=$?
49172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49173   (exit $ac_status); }; }; then
49174   eval "$as_ac_var=yes"
49175 else
49176   echo "$as_me: failed program was:" >&5
49177 sed 's/^/| /' conftest.$ac_ext >&5
49178
49179 eval "$as_ac_var=no"
49180 fi
49181 rm -f conftest.err conftest.$ac_objext \
49182       conftest$ac_exeext conftest.$ac_ext
49183 fi
49184 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49185 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49186 if test `eval echo '${'$as_ac_var'}'` = yes; then
49187   cat >>confdefs.h <<_ACEOF
49188 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49189 _ACEOF
49190
49191 fi
49192 done
49193
49194     fi
49195   fi
49196
49197
49198
49199
49200   echo "$as_me:$LINENO: checking for _float trig functions" >&5
49201 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
49202   if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
49203   echo $ECHO_N "(cached) $ECHO_C" >&6
49204 else
49205
49206
49207
49208     ac_ext=cc
49209 ac_cpp='$CXXCPP $CPPFLAGS'
49210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49213
49214     cat >conftest.$ac_ext <<_ACEOF
49215 /* confdefs.h.  */
49216 _ACEOF
49217 cat confdefs.h >>conftest.$ac_ext
49218 cat >>conftest.$ac_ext <<_ACEOF
49219 /* end confdefs.h.  */
49220 #include <math.h>
49221 int
49222 main ()
49223 {
49224  `for x in _acosf _asinf _atanf \
49225                                           _cosf _sinf _tanf \
49226                                           _coshf _sinhf _tanhf; do echo "$x (0);"; done`
49227   ;
49228   return 0;
49229 }
49230 _ACEOF
49231 rm -f conftest.$ac_objext
49232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49233   (eval $ac_compile) 2>conftest.er1
49234   ac_status=$?
49235   grep -v '^ *+' conftest.er1 >conftest.err
49236   rm -f conftest.er1
49237   cat conftest.err >&5
49238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49239   (exit $ac_status); } &&
49240          { ac_try='test -z "$ac_cxx_werror_flag"
49241                          || test ! -s conftest.err'
49242   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49243   (eval $ac_try) 2>&5
49244   ac_status=$?
49245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49246   (exit $ac_status); }; } &&
49247          { ac_try='test -s conftest.$ac_objext'
49248   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49249   (eval $ac_try) 2>&5
49250   ac_status=$?
49251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49252   (exit $ac_status); }; }; then
49253   glibcxx_cv_func__float_trig_use=yes
49254 else
49255   echo "$as_me: failed program was:" >&5
49256 sed 's/^/| /' conftest.$ac_ext >&5
49257
49258 glibcxx_cv_func__float_trig_use=no
49259 fi
49260 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49261     ac_ext=c
49262 ac_cpp='$CPP $CPPFLAGS'
49263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49266
49267 fi
49268
49269   echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
49270 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
49271   if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
49272
49273
49274
49275
49276
49277
49278
49279
49280
49281 for ac_func in _acosf _asinf _atanf \
49282                                           _cosf _sinf _tanf \
49283                                           _coshf _sinhf _tanhf
49284 do
49285 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49286 echo "$as_me:$LINENO: checking for $ac_func" >&5
49287 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49288 if eval "test \"\${$as_ac_var+set}\" = set"; then
49289   echo $ECHO_N "(cached) $ECHO_C" >&6
49290 else
49291   if test x$gcc_no_link = xyes; then
49292   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49293 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49294    { (exit 1); exit 1; }; }
49295 fi
49296 cat >conftest.$ac_ext <<_ACEOF
49297 /* confdefs.h.  */
49298 _ACEOF
49299 cat confdefs.h >>conftest.$ac_ext
49300 cat >>conftest.$ac_ext <<_ACEOF
49301 /* end confdefs.h.  */
49302 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49303    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49304 #define $ac_func innocuous_$ac_func
49305
49306 /* System header to define __stub macros and hopefully few prototypes,
49307     which can conflict with char $ac_func (); below.
49308     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49309     <limits.h> exists even on freestanding compilers.  */
49310
49311 #ifdef __STDC__
49312 # include <limits.h>
49313 #else
49314 # include <assert.h>
49315 #endif
49316
49317 #undef $ac_func
49318
49319 /* Override any gcc2 internal prototype to avoid an error.  */
49320 #ifdef __cplusplus
49321 extern "C"
49322 {
49323 #endif
49324 /* We use char because int might match the return type of a gcc2
49325    builtin and then its argument prototype would still apply.  */
49326 char $ac_func ();
49327 /* The GNU C library defines this for functions which it implements
49328     to always fail with ENOSYS.  Some functions are actually named
49329     something starting with __ and the normal name is an alias.  */
49330 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49331 choke me
49332 #else
49333 char (*f) () = $ac_func;
49334 #endif
49335 #ifdef __cplusplus
49336 }
49337 #endif
49338
49339 int
49340 main ()
49341 {
49342 return f != $ac_func;
49343   ;
49344   return 0;
49345 }
49346 _ACEOF
49347 rm -f conftest.$ac_objext conftest$ac_exeext
49348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49349   (eval $ac_link) 2>conftest.er1
49350   ac_status=$?
49351   grep -v '^ *+' conftest.er1 >conftest.err
49352   rm -f conftest.er1
49353   cat conftest.err >&5
49354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49355   (exit $ac_status); } &&
49356          { ac_try='test -z "$ac_c_werror_flag"
49357                          || test ! -s conftest.err'
49358   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49359   (eval $ac_try) 2>&5
49360   ac_status=$?
49361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49362   (exit $ac_status); }; } &&
49363          { ac_try='test -s conftest$ac_exeext'
49364   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49365   (eval $ac_try) 2>&5
49366   ac_status=$?
49367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49368   (exit $ac_status); }; }; then
49369   eval "$as_ac_var=yes"
49370 else
49371   echo "$as_me: failed program was:" >&5
49372 sed 's/^/| /' conftest.$ac_ext >&5
49373
49374 eval "$as_ac_var=no"
49375 fi
49376 rm -f conftest.err conftest.$ac_objext \
49377       conftest$ac_exeext conftest.$ac_ext
49378 fi
49379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49380 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49381 if test `eval echo '${'$as_ac_var'}'` = yes; then
49382   cat >>confdefs.h <<_ACEOF
49383 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49384 _ACEOF
49385
49386 fi
49387 done
49388
49389   fi
49390
49391
49392   echo "$as_me:$LINENO: checking for _float round functions" >&5
49393 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
49394   if test "${glibcxx_cv_func__float_round_use+set}" = set; then
49395   echo $ECHO_N "(cached) $ECHO_C" >&6
49396 else
49397
49398
49399
49400     ac_ext=cc
49401 ac_cpp='$CXXCPP $CPPFLAGS'
49402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49405
49406     cat >conftest.$ac_ext <<_ACEOF
49407 /* confdefs.h.  */
49408 _ACEOF
49409 cat confdefs.h >>conftest.$ac_ext
49410 cat >>conftest.$ac_ext <<_ACEOF
49411 /* end confdefs.h.  */
49412 #include <math.h>
49413 int
49414 main ()
49415 {
49416  `for x in _ceilf _floorf; do echo "$x (0);"; done`
49417   ;
49418   return 0;
49419 }
49420 _ACEOF
49421 rm -f conftest.$ac_objext
49422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49423   (eval $ac_compile) 2>conftest.er1
49424   ac_status=$?
49425   grep -v '^ *+' conftest.er1 >conftest.err
49426   rm -f conftest.er1
49427   cat conftest.err >&5
49428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49429   (exit $ac_status); } &&
49430          { ac_try='test -z "$ac_cxx_werror_flag"
49431                          || test ! -s conftest.err'
49432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49433   (eval $ac_try) 2>&5
49434   ac_status=$?
49435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49436   (exit $ac_status); }; } &&
49437          { ac_try='test -s conftest.$ac_objext'
49438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49439   (eval $ac_try) 2>&5
49440   ac_status=$?
49441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49442   (exit $ac_status); }; }; then
49443   glibcxx_cv_func__float_round_use=yes
49444 else
49445   echo "$as_me: failed program was:" >&5
49446 sed 's/^/| /' conftest.$ac_ext >&5
49447
49448 glibcxx_cv_func__float_round_use=no
49449 fi
49450 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49451     ac_ext=c
49452 ac_cpp='$CPP $CPPFLAGS'
49453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49456
49457 fi
49458
49459   echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
49460 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
49461   if test x$glibcxx_cv_func__float_round_use = x"yes"; then
49462
49463
49464 for ac_func in _ceilf _floorf
49465 do
49466 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49467 echo "$as_me:$LINENO: checking for $ac_func" >&5
49468 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49469 if eval "test \"\${$as_ac_var+set}\" = set"; then
49470   echo $ECHO_N "(cached) $ECHO_C" >&6
49471 else
49472   if test x$gcc_no_link = xyes; then
49473   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49474 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49475    { (exit 1); exit 1; }; }
49476 fi
49477 cat >conftest.$ac_ext <<_ACEOF
49478 /* confdefs.h.  */
49479 _ACEOF
49480 cat confdefs.h >>conftest.$ac_ext
49481 cat >>conftest.$ac_ext <<_ACEOF
49482 /* end confdefs.h.  */
49483 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49484    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49485 #define $ac_func innocuous_$ac_func
49486
49487 /* System header to define __stub macros and hopefully few prototypes,
49488     which can conflict with char $ac_func (); below.
49489     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49490     <limits.h> exists even on freestanding compilers.  */
49491
49492 #ifdef __STDC__
49493 # include <limits.h>
49494 #else
49495 # include <assert.h>
49496 #endif
49497
49498 #undef $ac_func
49499
49500 /* Override any gcc2 internal prototype to avoid an error.  */
49501 #ifdef __cplusplus
49502 extern "C"
49503 {
49504 #endif
49505 /* We use char because int might match the return type of a gcc2
49506    builtin and then its argument prototype would still apply.  */
49507 char $ac_func ();
49508 /* The GNU C library defines this for functions which it implements
49509     to always fail with ENOSYS.  Some functions are actually named
49510     something starting with __ and the normal name is an alias.  */
49511 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49512 choke me
49513 #else
49514 char (*f) () = $ac_func;
49515 #endif
49516 #ifdef __cplusplus
49517 }
49518 #endif
49519
49520 int
49521 main ()
49522 {
49523 return f != $ac_func;
49524   ;
49525   return 0;
49526 }
49527 _ACEOF
49528 rm -f conftest.$ac_objext conftest$ac_exeext
49529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49530   (eval $ac_link) 2>conftest.er1
49531   ac_status=$?
49532   grep -v '^ *+' conftest.er1 >conftest.err
49533   rm -f conftest.er1
49534   cat conftest.err >&5
49535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49536   (exit $ac_status); } &&
49537          { ac_try='test -z "$ac_c_werror_flag"
49538                          || test ! -s conftest.err'
49539   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49540   (eval $ac_try) 2>&5
49541   ac_status=$?
49542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49543   (exit $ac_status); }; } &&
49544          { ac_try='test -s conftest$ac_exeext'
49545   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49546   (eval $ac_try) 2>&5
49547   ac_status=$?
49548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49549   (exit $ac_status); }; }; then
49550   eval "$as_ac_var=yes"
49551 else
49552   echo "$as_me: failed program was:" >&5
49553 sed 's/^/| /' conftest.$ac_ext >&5
49554
49555 eval "$as_ac_var=no"
49556 fi
49557 rm -f conftest.err conftest.$ac_objext \
49558       conftest$ac_exeext conftest.$ac_ext
49559 fi
49560 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49561 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49562 if test `eval echo '${'$as_ac_var'}'` = yes; then
49563   cat >>confdefs.h <<_ACEOF
49564 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49565 _ACEOF
49566
49567 fi
49568 done
49569
49570   fi
49571
49572
49573
49574   echo "$as_me:$LINENO: checking for _long double trig functions" >&5
49575 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
49576   if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
49577   echo $ECHO_N "(cached) $ECHO_C" >&6
49578 else
49579
49580
49581
49582     ac_ext=cc
49583 ac_cpp='$CXXCPP $CPPFLAGS'
49584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49587
49588     cat >conftest.$ac_ext <<_ACEOF
49589 /* confdefs.h.  */
49590 _ACEOF
49591 cat confdefs.h >>conftest.$ac_ext
49592 cat >>conftest.$ac_ext <<_ACEOF
49593 /* end confdefs.h.  */
49594 #include <math.h>
49595 int
49596 main ()
49597 {
49598  `for x in _acosl _asinl _atanl \
49599                                           _cosl _sinl _tanl \
49600                                           _coshl _sinhl _tanhl; do echo "$x (0);"; done`
49601   ;
49602   return 0;
49603 }
49604 _ACEOF
49605 rm -f conftest.$ac_objext
49606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49607   (eval $ac_compile) 2>conftest.er1
49608   ac_status=$?
49609   grep -v '^ *+' conftest.er1 >conftest.err
49610   rm -f conftest.er1
49611   cat conftest.err >&5
49612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49613   (exit $ac_status); } &&
49614          { ac_try='test -z "$ac_cxx_werror_flag"
49615                          || test ! -s conftest.err'
49616   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49617   (eval $ac_try) 2>&5
49618   ac_status=$?
49619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49620   (exit $ac_status); }; } &&
49621          { ac_try='test -s conftest.$ac_objext'
49622   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49623   (eval $ac_try) 2>&5
49624   ac_status=$?
49625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49626   (exit $ac_status); }; }; then
49627   glibcxx_cv_func__long_double_trig_use=yes
49628 else
49629   echo "$as_me: failed program was:" >&5
49630 sed 's/^/| /' conftest.$ac_ext >&5
49631
49632 glibcxx_cv_func__long_double_trig_use=no
49633 fi
49634 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49635     ac_ext=c
49636 ac_cpp='$CPP $CPPFLAGS'
49637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49640
49641 fi
49642
49643   echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
49644 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
49645   if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
49646
49647
49648
49649
49650
49651
49652
49653
49654
49655 for ac_func in _acosl _asinl _atanl \
49656                                           _cosl _sinl _tanl \
49657                                           _coshl _sinhl _tanhl
49658 do
49659 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49660 echo "$as_me:$LINENO: checking for $ac_func" >&5
49661 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49662 if eval "test \"\${$as_ac_var+set}\" = set"; then
49663   echo $ECHO_N "(cached) $ECHO_C" >&6
49664 else
49665   if test x$gcc_no_link = xyes; then
49666   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49667 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49668    { (exit 1); exit 1; }; }
49669 fi
49670 cat >conftest.$ac_ext <<_ACEOF
49671 /* confdefs.h.  */
49672 _ACEOF
49673 cat confdefs.h >>conftest.$ac_ext
49674 cat >>conftest.$ac_ext <<_ACEOF
49675 /* end confdefs.h.  */
49676 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49677    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49678 #define $ac_func innocuous_$ac_func
49679
49680 /* System header to define __stub macros and hopefully few prototypes,
49681     which can conflict with char $ac_func (); below.
49682     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49683     <limits.h> exists even on freestanding compilers.  */
49684
49685 #ifdef __STDC__
49686 # include <limits.h>
49687 #else
49688 # include <assert.h>
49689 #endif
49690
49691 #undef $ac_func
49692
49693 /* Override any gcc2 internal prototype to avoid an error.  */
49694 #ifdef __cplusplus
49695 extern "C"
49696 {
49697 #endif
49698 /* We use char because int might match the return type of a gcc2
49699    builtin and then its argument prototype would still apply.  */
49700 char $ac_func ();
49701 /* The GNU C library defines this for functions which it implements
49702     to always fail with ENOSYS.  Some functions are actually named
49703     something starting with __ and the normal name is an alias.  */
49704 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49705 choke me
49706 #else
49707 char (*f) () = $ac_func;
49708 #endif
49709 #ifdef __cplusplus
49710 }
49711 #endif
49712
49713 int
49714 main ()
49715 {
49716 return f != $ac_func;
49717   ;
49718   return 0;
49719 }
49720 _ACEOF
49721 rm -f conftest.$ac_objext conftest$ac_exeext
49722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49723   (eval $ac_link) 2>conftest.er1
49724   ac_status=$?
49725   grep -v '^ *+' conftest.er1 >conftest.err
49726   rm -f conftest.er1
49727   cat conftest.err >&5
49728   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49729   (exit $ac_status); } &&
49730          { ac_try='test -z "$ac_c_werror_flag"
49731                          || test ! -s conftest.err'
49732   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49733   (eval $ac_try) 2>&5
49734   ac_status=$?
49735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49736   (exit $ac_status); }; } &&
49737          { ac_try='test -s conftest$ac_exeext'
49738   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49739   (eval $ac_try) 2>&5
49740   ac_status=$?
49741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49742   (exit $ac_status); }; }; then
49743   eval "$as_ac_var=yes"
49744 else
49745   echo "$as_me: failed program was:" >&5
49746 sed 's/^/| /' conftest.$ac_ext >&5
49747
49748 eval "$as_ac_var=no"
49749 fi
49750 rm -f conftest.err conftest.$ac_objext \
49751       conftest$ac_exeext conftest.$ac_ext
49752 fi
49753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49754 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49755 if test `eval echo '${'$as_ac_var'}'` = yes; then
49756   cat >>confdefs.h <<_ACEOF
49757 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49758 _ACEOF
49759
49760 fi
49761 done
49762
49763   fi
49764
49765
49766   echo "$as_me:$LINENO: checking for _long double round functions" >&5
49767 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
49768   if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
49769   echo $ECHO_N "(cached) $ECHO_C" >&6
49770 else
49771
49772
49773
49774     ac_ext=cc
49775 ac_cpp='$CXXCPP $CPPFLAGS'
49776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49779
49780     cat >conftest.$ac_ext <<_ACEOF
49781 /* confdefs.h.  */
49782 _ACEOF
49783 cat confdefs.h >>conftest.$ac_ext
49784 cat >>conftest.$ac_ext <<_ACEOF
49785 /* end confdefs.h.  */
49786 #include <math.h>
49787 int
49788 main ()
49789 {
49790  `for x in _ceill _floorl; do echo "$x (0);"; done`
49791   ;
49792   return 0;
49793 }
49794 _ACEOF
49795 rm -f conftest.$ac_objext
49796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49797   (eval $ac_compile) 2>conftest.er1
49798   ac_status=$?
49799   grep -v '^ *+' conftest.er1 >conftest.err
49800   rm -f conftest.er1
49801   cat conftest.err >&5
49802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49803   (exit $ac_status); } &&
49804          { ac_try='test -z "$ac_cxx_werror_flag"
49805                          || test ! -s conftest.err'
49806   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49807   (eval $ac_try) 2>&5
49808   ac_status=$?
49809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49810   (exit $ac_status); }; } &&
49811          { ac_try='test -s conftest.$ac_objext'
49812   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49813   (eval $ac_try) 2>&5
49814   ac_status=$?
49815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49816   (exit $ac_status); }; }; then
49817   glibcxx_cv_func__long_double_round_use=yes
49818 else
49819   echo "$as_me: failed program was:" >&5
49820 sed 's/^/| /' conftest.$ac_ext >&5
49821
49822 glibcxx_cv_func__long_double_round_use=no
49823 fi
49824 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49825     ac_ext=c
49826 ac_cpp='$CPP $CPPFLAGS'
49827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49830
49831 fi
49832
49833   echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
49834 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
49835   if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
49836
49837
49838 for ac_func in _ceill _floorl
49839 do
49840 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49841 echo "$as_me:$LINENO: checking for $ac_func" >&5
49842 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49843 if eval "test \"\${$as_ac_var+set}\" = set"; then
49844   echo $ECHO_N "(cached) $ECHO_C" >&6
49845 else
49846   if test x$gcc_no_link = xyes; then
49847   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49848 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49849    { (exit 1); exit 1; }; }
49850 fi
49851 cat >conftest.$ac_ext <<_ACEOF
49852 /* confdefs.h.  */
49853 _ACEOF
49854 cat confdefs.h >>conftest.$ac_ext
49855 cat >>conftest.$ac_ext <<_ACEOF
49856 /* end confdefs.h.  */
49857 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49858    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
49859 #define $ac_func innocuous_$ac_func
49860
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
49866 #ifdef __STDC__
49867 # include <limits.h>
49868 #else
49869 # include <assert.h>
49870 #endif
49871
49872 #undef $ac_func
49873
49874 /* Override any gcc2 internal prototype to avoid an error.  */
49875 #ifdef __cplusplus
49876 extern "C"
49877 {
49878 #endif
49879 /* We use char because int might match the return type of a gcc2
49880    builtin and then its argument prototype would still apply.  */
49881 char $ac_func ();
49882 /* The GNU C library defines this for functions which it implements
49883     to always fail with ENOSYS.  Some functions are actually named
49884     something starting with __ and the normal name is an alias.  */
49885 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49886 choke me
49887 #else
49888 char (*f) () = $ac_func;
49889 #endif
49890 #ifdef __cplusplus
49891 }
49892 #endif
49893
49894 int
49895 main ()
49896 {
49897 return f != $ac_func;
49898   ;
49899   return 0;
49900 }
49901 _ACEOF
49902 rm -f conftest.$ac_objext conftest$ac_exeext
49903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49904   (eval $ac_link) 2>conftest.er1
49905   ac_status=$?
49906   grep -v '^ *+' conftest.er1 >conftest.err
49907   rm -f conftest.er1
49908   cat conftest.err >&5
49909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49910   (exit $ac_status); } &&
49911          { ac_try='test -z "$ac_c_werror_flag"
49912                          || test ! -s conftest.err'
49913   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49914   (eval $ac_try) 2>&5
49915   ac_status=$?
49916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49917   (exit $ac_status); }; } &&
49918          { ac_try='test -s conftest$ac_exeext'
49919   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49920   (eval $ac_try) 2>&5
49921   ac_status=$?
49922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49923   (exit $ac_status); }; }; then
49924   eval "$as_ac_var=yes"
49925 else
49926   echo "$as_me: failed program was:" >&5
49927 sed 's/^/| /' conftest.$ac_ext >&5
49928
49929 eval "$as_ac_var=no"
49930 fi
49931 rm -f conftest.err conftest.$ac_objext \
49932       conftest$ac_exeext conftest.$ac_ext
49933 fi
49934 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49935 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49936 if test `eval echo '${'$as_ac_var'}'` = yes; then
49937   cat >>confdefs.h <<_ACEOF
49938 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49939 _ACEOF
49940
49941 fi
49942 done
49943
49944   fi
49945
49946
49947   LIBS="$ac_save_LIBS"
49948   CXXFLAGS="$ac_save_CXXFLAGS"
49949
49950
49951
49952   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
49953 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
49954   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
49955     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
49956   echo $ECHO_N "(cached) $ECHO_C" >&6
49957 else
49958
49959
49960
49961       ac_ext=cc
49962 ac_cpp='$CXXCPP $CPPFLAGS'
49963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49966
49967       cat >conftest.$ac_ext <<_ACEOF
49968 /* confdefs.h.  */
49969 _ACEOF
49970 cat confdefs.h >>conftest.$ac_ext
49971 cat >>conftest.$ac_ext <<_ACEOF
49972 /* end confdefs.h.  */
49973 #include <math.h>
49974 int
49975 main ()
49976 {
49977  __builtin_abs(0);
49978   ;
49979   return 0;
49980 }
49981 _ACEOF
49982 rm -f conftest.$ac_objext
49983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49984   (eval $ac_compile) 2>conftest.er1
49985   ac_status=$?
49986   grep -v '^ *+' conftest.er1 >conftest.err
49987   rm -f conftest.er1
49988   cat conftest.err >&5
49989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49990   (exit $ac_status); } &&
49991          { ac_try='test -z "$ac_cxx_werror_flag"
49992                          || test ! -s conftest.err'
49993   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49994   (eval $ac_try) 2>&5
49995   ac_status=$?
49996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
49997   (exit $ac_status); }; } &&
49998          { ac_try='test -s conftest.$ac_objext'
49999   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50000   (eval $ac_try) 2>&5
50001   ac_status=$?
50002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50003   (exit $ac_status); }; }; then
50004   glibcxx_cv_func___builtin_abs_use=yes
50005 else
50006   echo "$as_me: failed program was:" >&5
50007 sed 's/^/| /' conftest.$ac_ext >&5
50008
50009 glibcxx_cv_func___builtin_abs_use=no
50010 fi
50011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50012       ac_ext=c
50013 ac_cpp='$CPP $CPPFLAGS'
50014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50017
50018
50019 fi
50020
50021   fi
50022   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
50023 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
50024   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
50025     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
50026 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
50027     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
50028       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
50029   echo $ECHO_N "(cached) $ECHO_C" >&6
50030 else
50031
50032         if test x$gcc_no_link = xyes; then
50033   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50034 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50035    { (exit 1); exit 1; }; }
50036 fi
50037 cat >conftest.$ac_ext <<_ACEOF
50038 /* confdefs.h.  */
50039 _ACEOF
50040 cat confdefs.h >>conftest.$ac_ext
50041 cat >>conftest.$ac_ext <<_ACEOF
50042 /* end confdefs.h.  */
50043 #include <math.h>
50044 int
50045 main ()
50046 {
50047  __builtin_abs(0);
50048   ;
50049   return 0;
50050 }
50051 _ACEOF
50052 rm -f conftest.$ac_objext conftest$ac_exeext
50053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50054   (eval $ac_link) 2>conftest.er1
50055   ac_status=$?
50056   grep -v '^ *+' conftest.er1 >conftest.err
50057   rm -f conftest.er1
50058   cat conftest.err >&5
50059   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50060   (exit $ac_status); } &&
50061          { ac_try='test -z "$ac_c_werror_flag"
50062                          || test ! -s conftest.err'
50063   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50064   (eval $ac_try) 2>&5
50065   ac_status=$?
50066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50067   (exit $ac_status); }; } &&
50068          { ac_try='test -s conftest$ac_exeext'
50069   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50070   (eval $ac_try) 2>&5
50071   ac_status=$?
50072   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50073   (exit $ac_status); }; }; then
50074   glibcxx_cv_func___builtin_abs_link=yes
50075 else
50076   echo "$as_me: failed program was:" >&5
50077 sed 's/^/| /' conftest.$ac_ext >&5
50078
50079 glibcxx_cv_func___builtin_abs_link=no
50080 fi
50081 rm -f conftest.err conftest.$ac_objext \
50082       conftest$ac_exeext conftest.$ac_ext
50083
50084 fi
50085
50086     fi
50087     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
50088 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
50089     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
50090       ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
50091
50092 cat >>confdefs.h <<_ACEOF
50093 #define ${ac_tr_func} 1
50094 _ACEOF
50095
50096     fi
50097   fi
50098
50099
50100   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
50101 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
50102   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
50103     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
50104   echo $ECHO_N "(cached) $ECHO_C" >&6
50105 else
50106
50107
50108
50109       ac_ext=cc
50110 ac_cpp='$CXXCPP $CPPFLAGS'
50111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50114
50115       cat >conftest.$ac_ext <<_ACEOF
50116 /* confdefs.h.  */
50117 _ACEOF
50118 cat confdefs.h >>conftest.$ac_ext
50119 cat >>conftest.$ac_ext <<_ACEOF
50120 /* end confdefs.h.  */
50121 #include <math.h>
50122 int
50123 main ()
50124 {
50125  __builtin_fabsf(0);
50126   ;
50127   return 0;
50128 }
50129 _ACEOF
50130 rm -f conftest.$ac_objext
50131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50132   (eval $ac_compile) 2>conftest.er1
50133   ac_status=$?
50134   grep -v '^ *+' conftest.er1 >conftest.err
50135   rm -f conftest.er1
50136   cat conftest.err >&5
50137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50138   (exit $ac_status); } &&
50139          { ac_try='test -z "$ac_cxx_werror_flag"
50140                          || test ! -s conftest.err'
50141   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50142   (eval $ac_try) 2>&5
50143   ac_status=$?
50144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50145   (exit $ac_status); }; } &&
50146          { ac_try='test -s conftest.$ac_objext'
50147   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50148   (eval $ac_try) 2>&5
50149   ac_status=$?
50150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50151   (exit $ac_status); }; }; then
50152   glibcxx_cv_func___builtin_fabsf_use=yes
50153 else
50154   echo "$as_me: failed program was:" >&5
50155 sed 's/^/| /' conftest.$ac_ext >&5
50156
50157 glibcxx_cv_func___builtin_fabsf_use=no
50158 fi
50159 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50160       ac_ext=c
50161 ac_cpp='$CPP $CPPFLAGS'
50162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50165
50166
50167 fi
50168
50169   fi
50170   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
50171 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
50172   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
50173     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
50174 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
50175     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
50176       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
50177   echo $ECHO_N "(cached) $ECHO_C" >&6
50178 else
50179
50180         if test x$gcc_no_link = xyes; then
50181   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50182 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50183    { (exit 1); exit 1; }; }
50184 fi
50185 cat >conftest.$ac_ext <<_ACEOF
50186 /* confdefs.h.  */
50187 _ACEOF
50188 cat confdefs.h >>conftest.$ac_ext
50189 cat >>conftest.$ac_ext <<_ACEOF
50190 /* end confdefs.h.  */
50191 #include <math.h>
50192 int
50193 main ()
50194 {
50195  __builtin_fabsf(0);
50196   ;
50197   return 0;
50198 }
50199 _ACEOF
50200 rm -f conftest.$ac_objext conftest$ac_exeext
50201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50202   (eval $ac_link) 2>conftest.er1
50203   ac_status=$?
50204   grep -v '^ *+' conftest.er1 >conftest.err
50205   rm -f conftest.er1
50206   cat conftest.err >&5
50207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50208   (exit $ac_status); } &&
50209          { ac_try='test -z "$ac_c_werror_flag"
50210                          || test ! -s conftest.err'
50211   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50212   (eval $ac_try) 2>&5
50213   ac_status=$?
50214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50215   (exit $ac_status); }; } &&
50216          { ac_try='test -s conftest$ac_exeext'
50217   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50218   (eval $ac_try) 2>&5
50219   ac_status=$?
50220   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50221   (exit $ac_status); }; }; then
50222   glibcxx_cv_func___builtin_fabsf_link=yes
50223 else
50224   echo "$as_me: failed program was:" >&5
50225 sed 's/^/| /' conftest.$ac_ext >&5
50226
50227 glibcxx_cv_func___builtin_fabsf_link=no
50228 fi
50229 rm -f conftest.err conftest.$ac_objext \
50230       conftest$ac_exeext conftest.$ac_ext
50231
50232 fi
50233
50234     fi
50235     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
50236 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
50237     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
50238       ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
50239
50240 cat >>confdefs.h <<_ACEOF
50241 #define ${ac_tr_func} 1
50242 _ACEOF
50243
50244     fi
50245   fi
50246
50247
50248   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
50249 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
50250   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
50251     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
50252   echo $ECHO_N "(cached) $ECHO_C" >&6
50253 else
50254
50255
50256
50257       ac_ext=cc
50258 ac_cpp='$CXXCPP $CPPFLAGS'
50259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50262
50263       cat >conftest.$ac_ext <<_ACEOF
50264 /* confdefs.h.  */
50265 _ACEOF
50266 cat confdefs.h >>conftest.$ac_ext
50267 cat >>conftest.$ac_ext <<_ACEOF
50268 /* end confdefs.h.  */
50269 #include <math.h>
50270 int
50271 main ()
50272 {
50273  __builtin_fabs(0);
50274   ;
50275   return 0;
50276 }
50277 _ACEOF
50278 rm -f conftest.$ac_objext
50279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50280   (eval $ac_compile) 2>conftest.er1
50281   ac_status=$?
50282   grep -v '^ *+' conftest.er1 >conftest.err
50283   rm -f conftest.er1
50284   cat conftest.err >&5
50285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50286   (exit $ac_status); } &&
50287          { ac_try='test -z "$ac_cxx_werror_flag"
50288                          || test ! -s conftest.err'
50289   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50290   (eval $ac_try) 2>&5
50291   ac_status=$?
50292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50293   (exit $ac_status); }; } &&
50294          { ac_try='test -s conftest.$ac_objext'
50295   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50296   (eval $ac_try) 2>&5
50297   ac_status=$?
50298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50299   (exit $ac_status); }; }; then
50300   glibcxx_cv_func___builtin_fabs_use=yes
50301 else
50302   echo "$as_me: failed program was:" >&5
50303 sed 's/^/| /' conftest.$ac_ext >&5
50304
50305 glibcxx_cv_func___builtin_fabs_use=no
50306 fi
50307 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50308       ac_ext=c
50309 ac_cpp='$CPP $CPPFLAGS'
50310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50313
50314
50315 fi
50316
50317   fi
50318   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
50319 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
50320   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
50321     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
50322 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
50323     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
50324       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
50325   echo $ECHO_N "(cached) $ECHO_C" >&6
50326 else
50327
50328         if test x$gcc_no_link = xyes; then
50329   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50330 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50331    { (exit 1); exit 1; }; }
50332 fi
50333 cat >conftest.$ac_ext <<_ACEOF
50334 /* confdefs.h.  */
50335 _ACEOF
50336 cat confdefs.h >>conftest.$ac_ext
50337 cat >>conftest.$ac_ext <<_ACEOF
50338 /* end confdefs.h.  */
50339 #include <math.h>
50340 int
50341 main ()
50342 {
50343  __builtin_fabs(0);
50344   ;
50345   return 0;
50346 }
50347 _ACEOF
50348 rm -f conftest.$ac_objext conftest$ac_exeext
50349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50350   (eval $ac_link) 2>conftest.er1
50351   ac_status=$?
50352   grep -v '^ *+' conftest.er1 >conftest.err
50353   rm -f conftest.er1
50354   cat conftest.err >&5
50355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50356   (exit $ac_status); } &&
50357          { ac_try='test -z "$ac_c_werror_flag"
50358                          || test ! -s conftest.err'
50359   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50360   (eval $ac_try) 2>&5
50361   ac_status=$?
50362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50363   (exit $ac_status); }; } &&
50364          { ac_try='test -s conftest$ac_exeext'
50365   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50366   (eval $ac_try) 2>&5
50367   ac_status=$?
50368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50369   (exit $ac_status); }; }; then
50370   glibcxx_cv_func___builtin_fabs_link=yes
50371 else
50372   echo "$as_me: failed program was:" >&5
50373 sed 's/^/| /' conftest.$ac_ext >&5
50374
50375 glibcxx_cv_func___builtin_fabs_link=no
50376 fi
50377 rm -f conftest.err conftest.$ac_objext \
50378       conftest$ac_exeext conftest.$ac_ext
50379
50380 fi
50381
50382     fi
50383     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
50384 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
50385     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
50386       ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
50387
50388 cat >>confdefs.h <<_ACEOF
50389 #define ${ac_tr_func} 1
50390 _ACEOF
50391
50392     fi
50393   fi
50394
50395
50396   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
50397 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
50398   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
50399     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
50400   echo $ECHO_N "(cached) $ECHO_C" >&6
50401 else
50402
50403
50404
50405       ac_ext=cc
50406 ac_cpp='$CXXCPP $CPPFLAGS'
50407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50410
50411       cat >conftest.$ac_ext <<_ACEOF
50412 /* confdefs.h.  */
50413 _ACEOF
50414 cat confdefs.h >>conftest.$ac_ext
50415 cat >>conftest.$ac_ext <<_ACEOF
50416 /* end confdefs.h.  */
50417 #include <math.h>
50418 int
50419 main ()
50420 {
50421  __builtin_fabsl(0);
50422   ;
50423   return 0;
50424 }
50425 _ACEOF
50426 rm -f conftest.$ac_objext
50427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50428   (eval $ac_compile) 2>conftest.er1
50429   ac_status=$?
50430   grep -v '^ *+' conftest.er1 >conftest.err
50431   rm -f conftest.er1
50432   cat conftest.err >&5
50433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50434   (exit $ac_status); } &&
50435          { ac_try='test -z "$ac_cxx_werror_flag"
50436                          || test ! -s conftest.err'
50437   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50438   (eval $ac_try) 2>&5
50439   ac_status=$?
50440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50441   (exit $ac_status); }; } &&
50442          { ac_try='test -s conftest.$ac_objext'
50443   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50444   (eval $ac_try) 2>&5
50445   ac_status=$?
50446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50447   (exit $ac_status); }; }; then
50448   glibcxx_cv_func___builtin_fabsl_use=yes
50449 else
50450   echo "$as_me: failed program was:" >&5
50451 sed 's/^/| /' conftest.$ac_ext >&5
50452
50453 glibcxx_cv_func___builtin_fabsl_use=no
50454 fi
50455 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50456       ac_ext=c
50457 ac_cpp='$CPP $CPPFLAGS'
50458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50461
50462
50463 fi
50464
50465   fi
50466   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
50467 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
50468   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
50469     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
50470 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
50471     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
50472       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
50473   echo $ECHO_N "(cached) $ECHO_C" >&6
50474 else
50475
50476         if test x$gcc_no_link = xyes; then
50477   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50478 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50479    { (exit 1); exit 1; }; }
50480 fi
50481 cat >conftest.$ac_ext <<_ACEOF
50482 /* confdefs.h.  */
50483 _ACEOF
50484 cat confdefs.h >>conftest.$ac_ext
50485 cat >>conftest.$ac_ext <<_ACEOF
50486 /* end confdefs.h.  */
50487 #include <math.h>
50488 int
50489 main ()
50490 {
50491  __builtin_fabsl(0);
50492   ;
50493   return 0;
50494 }
50495 _ACEOF
50496 rm -f conftest.$ac_objext conftest$ac_exeext
50497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50498   (eval $ac_link) 2>conftest.er1
50499   ac_status=$?
50500   grep -v '^ *+' conftest.er1 >conftest.err
50501   rm -f conftest.er1
50502   cat conftest.err >&5
50503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50504   (exit $ac_status); } &&
50505          { ac_try='test -z "$ac_c_werror_flag"
50506                          || test ! -s conftest.err'
50507   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50508   (eval $ac_try) 2>&5
50509   ac_status=$?
50510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50511   (exit $ac_status); }; } &&
50512          { ac_try='test -s conftest$ac_exeext'
50513   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50514   (eval $ac_try) 2>&5
50515   ac_status=$?
50516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50517   (exit $ac_status); }; }; then
50518   glibcxx_cv_func___builtin_fabsl_link=yes
50519 else
50520   echo "$as_me: failed program was:" >&5
50521 sed 's/^/| /' conftest.$ac_ext >&5
50522
50523 glibcxx_cv_func___builtin_fabsl_link=no
50524 fi
50525 rm -f conftest.err conftest.$ac_objext \
50526       conftest$ac_exeext conftest.$ac_ext
50527
50528 fi
50529
50530     fi
50531     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
50532 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
50533     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
50534       ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
50535
50536 cat >>confdefs.h <<_ACEOF
50537 #define ${ac_tr_func} 1
50538 _ACEOF
50539
50540     fi
50541   fi
50542
50543
50544   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
50545 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
50546   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
50547     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
50548   echo $ECHO_N "(cached) $ECHO_C" >&6
50549 else
50550
50551
50552
50553       ac_ext=cc
50554 ac_cpp='$CXXCPP $CPPFLAGS'
50555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50558
50559       cat >conftest.$ac_ext <<_ACEOF
50560 /* confdefs.h.  */
50561 _ACEOF
50562 cat confdefs.h >>conftest.$ac_ext
50563 cat >>conftest.$ac_ext <<_ACEOF
50564 /* end confdefs.h.  */
50565 #include <math.h>
50566 int
50567 main ()
50568 {
50569  __builtin_labs(0);
50570   ;
50571   return 0;
50572 }
50573 _ACEOF
50574 rm -f conftest.$ac_objext
50575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50576   (eval $ac_compile) 2>conftest.er1
50577   ac_status=$?
50578   grep -v '^ *+' conftest.er1 >conftest.err
50579   rm -f conftest.er1
50580   cat conftest.err >&5
50581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50582   (exit $ac_status); } &&
50583          { ac_try='test -z "$ac_cxx_werror_flag"
50584                          || test ! -s conftest.err'
50585   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50586   (eval $ac_try) 2>&5
50587   ac_status=$?
50588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50589   (exit $ac_status); }; } &&
50590          { ac_try='test -s conftest.$ac_objext'
50591   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50592   (eval $ac_try) 2>&5
50593   ac_status=$?
50594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50595   (exit $ac_status); }; }; then
50596   glibcxx_cv_func___builtin_labs_use=yes
50597 else
50598   echo "$as_me: failed program was:" >&5
50599 sed 's/^/| /' conftest.$ac_ext >&5
50600
50601 glibcxx_cv_func___builtin_labs_use=no
50602 fi
50603 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50604       ac_ext=c
50605 ac_cpp='$CPP $CPPFLAGS'
50606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50609
50610
50611 fi
50612
50613   fi
50614   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
50615 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
50616   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
50617     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
50618 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
50619     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
50620       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
50621   echo $ECHO_N "(cached) $ECHO_C" >&6
50622 else
50623
50624         if test x$gcc_no_link = xyes; then
50625   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50626 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50627    { (exit 1); exit 1; }; }
50628 fi
50629 cat >conftest.$ac_ext <<_ACEOF
50630 /* confdefs.h.  */
50631 _ACEOF
50632 cat confdefs.h >>conftest.$ac_ext
50633 cat >>conftest.$ac_ext <<_ACEOF
50634 /* end confdefs.h.  */
50635 #include <math.h>
50636 int
50637 main ()
50638 {
50639  __builtin_labs(0);
50640   ;
50641   return 0;
50642 }
50643 _ACEOF
50644 rm -f conftest.$ac_objext conftest$ac_exeext
50645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50646   (eval $ac_link) 2>conftest.er1
50647   ac_status=$?
50648   grep -v '^ *+' conftest.er1 >conftest.err
50649   rm -f conftest.er1
50650   cat conftest.err >&5
50651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50652   (exit $ac_status); } &&
50653          { ac_try='test -z "$ac_c_werror_flag"
50654                          || test ! -s conftest.err'
50655   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50656   (eval $ac_try) 2>&5
50657   ac_status=$?
50658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50659   (exit $ac_status); }; } &&
50660          { ac_try='test -s conftest$ac_exeext'
50661   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50662   (eval $ac_try) 2>&5
50663   ac_status=$?
50664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50665   (exit $ac_status); }; }; then
50666   glibcxx_cv_func___builtin_labs_link=yes
50667 else
50668   echo "$as_me: failed program was:" >&5
50669 sed 's/^/| /' conftest.$ac_ext >&5
50670
50671 glibcxx_cv_func___builtin_labs_link=no
50672 fi
50673 rm -f conftest.err conftest.$ac_objext \
50674       conftest$ac_exeext conftest.$ac_ext
50675
50676 fi
50677
50678     fi
50679     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
50680 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
50681     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
50682       ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
50683
50684 cat >>confdefs.h <<_ACEOF
50685 #define ${ac_tr_func} 1
50686 _ACEOF
50687
50688     fi
50689   fi
50690
50691
50692
50693   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
50694 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
50695   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
50696     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
50697   echo $ECHO_N "(cached) $ECHO_C" >&6
50698 else
50699
50700
50701
50702       ac_ext=cc
50703 ac_cpp='$CXXCPP $CPPFLAGS'
50704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50707
50708       cat >conftest.$ac_ext <<_ACEOF
50709 /* confdefs.h.  */
50710 _ACEOF
50711 cat confdefs.h >>conftest.$ac_ext
50712 cat >>conftest.$ac_ext <<_ACEOF
50713 /* end confdefs.h.  */
50714 #include <math.h>
50715 int
50716 main ()
50717 {
50718  __builtin_sqrtf(0);
50719   ;
50720   return 0;
50721 }
50722 _ACEOF
50723 rm -f conftest.$ac_objext
50724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50725   (eval $ac_compile) 2>conftest.er1
50726   ac_status=$?
50727   grep -v '^ *+' conftest.er1 >conftest.err
50728   rm -f conftest.er1
50729   cat conftest.err >&5
50730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50731   (exit $ac_status); } &&
50732          { ac_try='test -z "$ac_cxx_werror_flag"
50733                          || test ! -s conftest.err'
50734   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50735   (eval $ac_try) 2>&5
50736   ac_status=$?
50737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50738   (exit $ac_status); }; } &&
50739          { ac_try='test -s conftest.$ac_objext'
50740   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50741   (eval $ac_try) 2>&5
50742   ac_status=$?
50743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50744   (exit $ac_status); }; }; then
50745   glibcxx_cv_func___builtin_sqrtf_use=yes
50746 else
50747   echo "$as_me: failed program was:" >&5
50748 sed 's/^/| /' conftest.$ac_ext >&5
50749
50750 glibcxx_cv_func___builtin_sqrtf_use=no
50751 fi
50752 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50753       ac_ext=c
50754 ac_cpp='$CPP $CPPFLAGS'
50755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50758
50759
50760 fi
50761
50762   fi
50763   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
50764 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
50765   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
50766     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
50767 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
50768     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
50769       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
50770   echo $ECHO_N "(cached) $ECHO_C" >&6
50771 else
50772
50773         if test x$gcc_no_link = xyes; then
50774   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50775 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50776    { (exit 1); exit 1; }; }
50777 fi
50778 cat >conftest.$ac_ext <<_ACEOF
50779 /* confdefs.h.  */
50780 _ACEOF
50781 cat confdefs.h >>conftest.$ac_ext
50782 cat >>conftest.$ac_ext <<_ACEOF
50783 /* end confdefs.h.  */
50784 #include <math.h>
50785 int
50786 main ()
50787 {
50788  __builtin_sqrtf(0);
50789   ;
50790   return 0;
50791 }
50792 _ACEOF
50793 rm -f conftest.$ac_objext conftest$ac_exeext
50794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50795   (eval $ac_link) 2>conftest.er1
50796   ac_status=$?
50797   grep -v '^ *+' conftest.er1 >conftest.err
50798   rm -f conftest.er1
50799   cat conftest.err >&5
50800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50801   (exit $ac_status); } &&
50802          { ac_try='test -z "$ac_c_werror_flag"
50803                          || test ! -s conftest.err'
50804   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50805   (eval $ac_try) 2>&5
50806   ac_status=$?
50807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50808   (exit $ac_status); }; } &&
50809          { ac_try='test -s conftest$ac_exeext'
50810   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50811   (eval $ac_try) 2>&5
50812   ac_status=$?
50813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50814   (exit $ac_status); }; }; then
50815   glibcxx_cv_func___builtin_sqrtf_link=yes
50816 else
50817   echo "$as_me: failed program was:" >&5
50818 sed 's/^/| /' conftest.$ac_ext >&5
50819
50820 glibcxx_cv_func___builtin_sqrtf_link=no
50821 fi
50822 rm -f conftest.err conftest.$ac_objext \
50823       conftest$ac_exeext conftest.$ac_ext
50824
50825 fi
50826
50827     fi
50828     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
50829 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
50830     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
50831       ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
50832
50833 cat >>confdefs.h <<_ACEOF
50834 #define ${ac_tr_func} 1
50835 _ACEOF
50836
50837     fi
50838   fi
50839
50840
50841   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
50842 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
50843   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
50844     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
50845   echo $ECHO_N "(cached) $ECHO_C" >&6
50846 else
50847
50848
50849
50850       ac_ext=cc
50851 ac_cpp='$CXXCPP $CPPFLAGS'
50852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50855
50856       cat >conftest.$ac_ext <<_ACEOF
50857 /* confdefs.h.  */
50858 _ACEOF
50859 cat confdefs.h >>conftest.$ac_ext
50860 cat >>conftest.$ac_ext <<_ACEOF
50861 /* end confdefs.h.  */
50862 #include <math.h>
50863 int
50864 main ()
50865 {
50866  __builtin_sqrt(0);
50867   ;
50868   return 0;
50869 }
50870 _ACEOF
50871 rm -f conftest.$ac_objext
50872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50873   (eval $ac_compile) 2>conftest.er1
50874   ac_status=$?
50875   grep -v '^ *+' conftest.er1 >conftest.err
50876   rm -f conftest.er1
50877   cat conftest.err >&5
50878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50879   (exit $ac_status); } &&
50880          { ac_try='test -z "$ac_cxx_werror_flag"
50881                          || test ! -s conftest.err'
50882   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50883   (eval $ac_try) 2>&5
50884   ac_status=$?
50885   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50886   (exit $ac_status); }; } &&
50887          { ac_try='test -s conftest.$ac_objext'
50888   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50889   (eval $ac_try) 2>&5
50890   ac_status=$?
50891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50892   (exit $ac_status); }; }; then
50893   glibcxx_cv_func___builtin_sqrt_use=yes
50894 else
50895   echo "$as_me: failed program was:" >&5
50896 sed 's/^/| /' conftest.$ac_ext >&5
50897
50898 glibcxx_cv_func___builtin_sqrt_use=no
50899 fi
50900 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50901       ac_ext=c
50902 ac_cpp='$CPP $CPPFLAGS'
50903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50906
50907
50908 fi
50909
50910   fi
50911   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
50912 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
50913   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
50914     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
50915 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
50916     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
50917       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
50918   echo $ECHO_N "(cached) $ECHO_C" >&6
50919 else
50920
50921         if test x$gcc_no_link = xyes; then
50922   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50923 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50924    { (exit 1); exit 1; }; }
50925 fi
50926 cat >conftest.$ac_ext <<_ACEOF
50927 /* confdefs.h.  */
50928 _ACEOF
50929 cat confdefs.h >>conftest.$ac_ext
50930 cat >>conftest.$ac_ext <<_ACEOF
50931 /* end confdefs.h.  */
50932 #include <math.h>
50933 int
50934 main ()
50935 {
50936  __builtin_sqrt(0);
50937   ;
50938   return 0;
50939 }
50940 _ACEOF
50941 rm -f conftest.$ac_objext conftest$ac_exeext
50942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50943   (eval $ac_link) 2>conftest.er1
50944   ac_status=$?
50945   grep -v '^ *+' conftest.er1 >conftest.err
50946   rm -f conftest.er1
50947   cat conftest.err >&5
50948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50949   (exit $ac_status); } &&
50950          { ac_try='test -z "$ac_c_werror_flag"
50951                          || test ! -s conftest.err'
50952   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50953   (eval $ac_try) 2>&5
50954   ac_status=$?
50955   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50956   (exit $ac_status); }; } &&
50957          { ac_try='test -s conftest$ac_exeext'
50958   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50959   (eval $ac_try) 2>&5
50960   ac_status=$?
50961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
50962   (exit $ac_status); }; }; then
50963   glibcxx_cv_func___builtin_sqrt_link=yes
50964 else
50965   echo "$as_me: failed program was:" >&5
50966 sed 's/^/| /' conftest.$ac_ext >&5
50967
50968 glibcxx_cv_func___builtin_sqrt_link=no
50969 fi
50970 rm -f conftest.err conftest.$ac_objext \
50971       conftest$ac_exeext conftest.$ac_ext
50972
50973 fi
50974
50975     fi
50976     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
50977 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
50978     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
50979       ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
50980
50981 cat >>confdefs.h <<_ACEOF
50982 #define ${ac_tr_func} 1
50983 _ACEOF
50984
50985     fi
50986   fi
50987
50988
50989   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
50990 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
50991   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
50992     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
50993   echo $ECHO_N "(cached) $ECHO_C" >&6
50994 else
50995
50996
50997
50998       ac_ext=cc
50999 ac_cpp='$CXXCPP $CPPFLAGS'
51000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51003
51004       cat >conftest.$ac_ext <<_ACEOF
51005 /* confdefs.h.  */
51006 _ACEOF
51007 cat confdefs.h >>conftest.$ac_ext
51008 cat >>conftest.$ac_ext <<_ACEOF
51009 /* end confdefs.h.  */
51010 #include <math.h>
51011 int
51012 main ()
51013 {
51014  __builtin_sqrtl(0);
51015   ;
51016   return 0;
51017 }
51018 _ACEOF
51019 rm -f conftest.$ac_objext
51020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51021   (eval $ac_compile) 2>conftest.er1
51022   ac_status=$?
51023   grep -v '^ *+' conftest.er1 >conftest.err
51024   rm -f conftest.er1
51025   cat conftest.err >&5
51026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51027   (exit $ac_status); } &&
51028          { ac_try='test -z "$ac_cxx_werror_flag"
51029                          || test ! -s conftest.err'
51030   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51031   (eval $ac_try) 2>&5
51032   ac_status=$?
51033   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51034   (exit $ac_status); }; } &&
51035          { ac_try='test -s conftest.$ac_objext'
51036   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51037   (eval $ac_try) 2>&5
51038   ac_status=$?
51039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51040   (exit $ac_status); }; }; then
51041   glibcxx_cv_func___builtin_sqrtl_use=yes
51042 else
51043   echo "$as_me: failed program was:" >&5
51044 sed 's/^/| /' conftest.$ac_ext >&5
51045
51046 glibcxx_cv_func___builtin_sqrtl_use=no
51047 fi
51048 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51049       ac_ext=c
51050 ac_cpp='$CPP $CPPFLAGS'
51051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51054
51055
51056 fi
51057
51058   fi
51059   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
51060 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
51061   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
51062     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
51063 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
51064     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
51065       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
51066   echo $ECHO_N "(cached) $ECHO_C" >&6
51067 else
51068
51069         if test x$gcc_no_link = xyes; then
51070   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51071 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51072    { (exit 1); exit 1; }; }
51073 fi
51074 cat >conftest.$ac_ext <<_ACEOF
51075 /* confdefs.h.  */
51076 _ACEOF
51077 cat confdefs.h >>conftest.$ac_ext
51078 cat >>conftest.$ac_ext <<_ACEOF
51079 /* end confdefs.h.  */
51080 #include <math.h>
51081 int
51082 main ()
51083 {
51084  __builtin_sqrtl(0);
51085   ;
51086   return 0;
51087 }
51088 _ACEOF
51089 rm -f conftest.$ac_objext conftest$ac_exeext
51090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51091   (eval $ac_link) 2>conftest.er1
51092   ac_status=$?
51093   grep -v '^ *+' conftest.er1 >conftest.err
51094   rm -f conftest.er1
51095   cat conftest.err >&5
51096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51097   (exit $ac_status); } &&
51098          { ac_try='test -z "$ac_c_werror_flag"
51099                          || test ! -s conftest.err'
51100   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51101   (eval $ac_try) 2>&5
51102   ac_status=$?
51103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51104   (exit $ac_status); }; } &&
51105          { ac_try='test -s conftest$ac_exeext'
51106   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51107   (eval $ac_try) 2>&5
51108   ac_status=$?
51109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51110   (exit $ac_status); }; }; then
51111   glibcxx_cv_func___builtin_sqrtl_link=yes
51112 else
51113   echo "$as_me: failed program was:" >&5
51114 sed 's/^/| /' conftest.$ac_ext >&5
51115
51116 glibcxx_cv_func___builtin_sqrtl_link=no
51117 fi
51118 rm -f conftest.err conftest.$ac_objext \
51119       conftest$ac_exeext conftest.$ac_ext
51120
51121 fi
51122
51123     fi
51124     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
51125 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
51126     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
51127       ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
51128
51129 cat >>confdefs.h <<_ACEOF
51130 #define ${ac_tr_func} 1
51131 _ACEOF
51132
51133     fi
51134   fi
51135
51136
51137
51138   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
51139 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
51140   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
51141     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
51142   echo $ECHO_N "(cached) $ECHO_C" >&6
51143 else
51144
51145
51146
51147       ac_ext=cc
51148 ac_cpp='$CXXCPP $CPPFLAGS'
51149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51152
51153       cat >conftest.$ac_ext <<_ACEOF
51154 /* confdefs.h.  */
51155 _ACEOF
51156 cat confdefs.h >>conftest.$ac_ext
51157 cat >>conftest.$ac_ext <<_ACEOF
51158 /* end confdefs.h.  */
51159 #include <math.h>
51160 int
51161 main ()
51162 {
51163  __builtin_sinf(0);
51164   ;
51165   return 0;
51166 }
51167 _ACEOF
51168 rm -f conftest.$ac_objext
51169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51170   (eval $ac_compile) 2>conftest.er1
51171   ac_status=$?
51172   grep -v '^ *+' conftest.er1 >conftest.err
51173   rm -f conftest.er1
51174   cat conftest.err >&5
51175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51176   (exit $ac_status); } &&
51177          { ac_try='test -z "$ac_cxx_werror_flag"
51178                          || test ! -s conftest.err'
51179   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51180   (eval $ac_try) 2>&5
51181   ac_status=$?
51182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51183   (exit $ac_status); }; } &&
51184          { ac_try='test -s conftest.$ac_objext'
51185   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51186   (eval $ac_try) 2>&5
51187   ac_status=$?
51188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51189   (exit $ac_status); }; }; then
51190   glibcxx_cv_func___builtin_sinf_use=yes
51191 else
51192   echo "$as_me: failed program was:" >&5
51193 sed 's/^/| /' conftest.$ac_ext >&5
51194
51195 glibcxx_cv_func___builtin_sinf_use=no
51196 fi
51197 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51198       ac_ext=c
51199 ac_cpp='$CPP $CPPFLAGS'
51200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51203
51204
51205 fi
51206
51207   fi
51208   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
51209 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
51210   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
51211     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
51212 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
51213     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
51214       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
51215   echo $ECHO_N "(cached) $ECHO_C" >&6
51216 else
51217
51218         if test x$gcc_no_link = xyes; then
51219   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51220 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51221    { (exit 1); exit 1; }; }
51222 fi
51223 cat >conftest.$ac_ext <<_ACEOF
51224 /* confdefs.h.  */
51225 _ACEOF
51226 cat confdefs.h >>conftest.$ac_ext
51227 cat >>conftest.$ac_ext <<_ACEOF
51228 /* end confdefs.h.  */
51229 #include <math.h>
51230 int
51231 main ()
51232 {
51233  __builtin_sinf(0);
51234   ;
51235   return 0;
51236 }
51237 _ACEOF
51238 rm -f conftest.$ac_objext conftest$ac_exeext
51239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51240   (eval $ac_link) 2>conftest.er1
51241   ac_status=$?
51242   grep -v '^ *+' conftest.er1 >conftest.err
51243   rm -f conftest.er1
51244   cat conftest.err >&5
51245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51246   (exit $ac_status); } &&
51247          { ac_try='test -z "$ac_c_werror_flag"
51248                          || test ! -s conftest.err'
51249   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51250   (eval $ac_try) 2>&5
51251   ac_status=$?
51252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51253   (exit $ac_status); }; } &&
51254          { ac_try='test -s conftest$ac_exeext'
51255   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51256   (eval $ac_try) 2>&5
51257   ac_status=$?
51258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51259   (exit $ac_status); }; }; then
51260   glibcxx_cv_func___builtin_sinf_link=yes
51261 else
51262   echo "$as_me: failed program was:" >&5
51263 sed 's/^/| /' conftest.$ac_ext >&5
51264
51265 glibcxx_cv_func___builtin_sinf_link=no
51266 fi
51267 rm -f conftest.err conftest.$ac_objext \
51268       conftest$ac_exeext conftest.$ac_ext
51269
51270 fi
51271
51272     fi
51273     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
51274 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
51275     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
51276       ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
51277
51278 cat >>confdefs.h <<_ACEOF
51279 #define ${ac_tr_func} 1
51280 _ACEOF
51281
51282     fi
51283   fi
51284
51285
51286   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
51287 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
51288   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
51289     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
51290   echo $ECHO_N "(cached) $ECHO_C" >&6
51291 else
51292
51293
51294
51295       ac_ext=cc
51296 ac_cpp='$CXXCPP $CPPFLAGS'
51297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51300
51301       cat >conftest.$ac_ext <<_ACEOF
51302 /* confdefs.h.  */
51303 _ACEOF
51304 cat confdefs.h >>conftest.$ac_ext
51305 cat >>conftest.$ac_ext <<_ACEOF
51306 /* end confdefs.h.  */
51307 #include <math.h>
51308 int
51309 main ()
51310 {
51311  __builtin_sin(0);
51312   ;
51313   return 0;
51314 }
51315 _ACEOF
51316 rm -f conftest.$ac_objext
51317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51318   (eval $ac_compile) 2>conftest.er1
51319   ac_status=$?
51320   grep -v '^ *+' conftest.er1 >conftest.err
51321   rm -f conftest.er1
51322   cat conftest.err >&5
51323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51324   (exit $ac_status); } &&
51325          { ac_try='test -z "$ac_cxx_werror_flag"
51326                          || test ! -s conftest.err'
51327   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51328   (eval $ac_try) 2>&5
51329   ac_status=$?
51330   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51331   (exit $ac_status); }; } &&
51332          { ac_try='test -s conftest.$ac_objext'
51333   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51334   (eval $ac_try) 2>&5
51335   ac_status=$?
51336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51337   (exit $ac_status); }; }; then
51338   glibcxx_cv_func___builtin_sin_use=yes
51339 else
51340   echo "$as_me: failed program was:" >&5
51341 sed 's/^/| /' conftest.$ac_ext >&5
51342
51343 glibcxx_cv_func___builtin_sin_use=no
51344 fi
51345 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51346       ac_ext=c
51347 ac_cpp='$CPP $CPPFLAGS'
51348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51351
51352
51353 fi
51354
51355   fi
51356   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
51357 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
51358   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
51359     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
51360 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
51361     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
51362       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
51363   echo $ECHO_N "(cached) $ECHO_C" >&6
51364 else
51365
51366         if test x$gcc_no_link = xyes; then
51367   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51368 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51369    { (exit 1); exit 1; }; }
51370 fi
51371 cat >conftest.$ac_ext <<_ACEOF
51372 /* confdefs.h.  */
51373 _ACEOF
51374 cat confdefs.h >>conftest.$ac_ext
51375 cat >>conftest.$ac_ext <<_ACEOF
51376 /* end confdefs.h.  */
51377 #include <math.h>
51378 int
51379 main ()
51380 {
51381  __builtin_sin(0);
51382   ;
51383   return 0;
51384 }
51385 _ACEOF
51386 rm -f conftest.$ac_objext conftest$ac_exeext
51387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51388   (eval $ac_link) 2>conftest.er1
51389   ac_status=$?
51390   grep -v '^ *+' conftest.er1 >conftest.err
51391   rm -f conftest.er1
51392   cat conftest.err >&5
51393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51394   (exit $ac_status); } &&
51395          { ac_try='test -z "$ac_c_werror_flag"
51396                          || test ! -s conftest.err'
51397   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51398   (eval $ac_try) 2>&5
51399   ac_status=$?
51400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51401   (exit $ac_status); }; } &&
51402          { ac_try='test -s conftest$ac_exeext'
51403   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51404   (eval $ac_try) 2>&5
51405   ac_status=$?
51406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51407   (exit $ac_status); }; }; then
51408   glibcxx_cv_func___builtin_sin_link=yes
51409 else
51410   echo "$as_me: failed program was:" >&5
51411 sed 's/^/| /' conftest.$ac_ext >&5
51412
51413 glibcxx_cv_func___builtin_sin_link=no
51414 fi
51415 rm -f conftest.err conftest.$ac_objext \
51416       conftest$ac_exeext conftest.$ac_ext
51417
51418 fi
51419
51420     fi
51421     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
51422 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
51423     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
51424       ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
51425
51426 cat >>confdefs.h <<_ACEOF
51427 #define ${ac_tr_func} 1
51428 _ACEOF
51429
51430     fi
51431   fi
51432
51433
51434   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
51435 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
51436   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
51437     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
51438   echo $ECHO_N "(cached) $ECHO_C" >&6
51439 else
51440
51441
51442
51443       ac_ext=cc
51444 ac_cpp='$CXXCPP $CPPFLAGS'
51445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51448
51449       cat >conftest.$ac_ext <<_ACEOF
51450 /* confdefs.h.  */
51451 _ACEOF
51452 cat confdefs.h >>conftest.$ac_ext
51453 cat >>conftest.$ac_ext <<_ACEOF
51454 /* end confdefs.h.  */
51455 #include <math.h>
51456 int
51457 main ()
51458 {
51459  __builtin_sinl(0);
51460   ;
51461   return 0;
51462 }
51463 _ACEOF
51464 rm -f conftest.$ac_objext
51465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51466   (eval $ac_compile) 2>conftest.er1
51467   ac_status=$?
51468   grep -v '^ *+' conftest.er1 >conftest.err
51469   rm -f conftest.er1
51470   cat conftest.err >&5
51471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51472   (exit $ac_status); } &&
51473          { ac_try='test -z "$ac_cxx_werror_flag"
51474                          || test ! -s conftest.err'
51475   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51476   (eval $ac_try) 2>&5
51477   ac_status=$?
51478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51479   (exit $ac_status); }; } &&
51480          { ac_try='test -s conftest.$ac_objext'
51481   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51482   (eval $ac_try) 2>&5
51483   ac_status=$?
51484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51485   (exit $ac_status); }; }; then
51486   glibcxx_cv_func___builtin_sinl_use=yes
51487 else
51488   echo "$as_me: failed program was:" >&5
51489 sed 's/^/| /' conftest.$ac_ext >&5
51490
51491 glibcxx_cv_func___builtin_sinl_use=no
51492 fi
51493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51494       ac_ext=c
51495 ac_cpp='$CPP $CPPFLAGS'
51496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51499
51500
51501 fi
51502
51503   fi
51504   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
51505 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
51506   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
51507     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
51508 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
51509     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
51510       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
51511   echo $ECHO_N "(cached) $ECHO_C" >&6
51512 else
51513
51514         if test x$gcc_no_link = xyes; then
51515   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51516 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51517    { (exit 1); exit 1; }; }
51518 fi
51519 cat >conftest.$ac_ext <<_ACEOF
51520 /* confdefs.h.  */
51521 _ACEOF
51522 cat confdefs.h >>conftest.$ac_ext
51523 cat >>conftest.$ac_ext <<_ACEOF
51524 /* end confdefs.h.  */
51525 #include <math.h>
51526 int
51527 main ()
51528 {
51529  __builtin_sinl(0);
51530   ;
51531   return 0;
51532 }
51533 _ACEOF
51534 rm -f conftest.$ac_objext conftest$ac_exeext
51535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51536   (eval $ac_link) 2>conftest.er1
51537   ac_status=$?
51538   grep -v '^ *+' conftest.er1 >conftest.err
51539   rm -f conftest.er1
51540   cat conftest.err >&5
51541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51542   (exit $ac_status); } &&
51543          { ac_try='test -z "$ac_c_werror_flag"
51544                          || test ! -s conftest.err'
51545   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51546   (eval $ac_try) 2>&5
51547   ac_status=$?
51548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51549   (exit $ac_status); }; } &&
51550          { ac_try='test -s conftest$ac_exeext'
51551   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51552   (eval $ac_try) 2>&5
51553   ac_status=$?
51554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51555   (exit $ac_status); }; }; then
51556   glibcxx_cv_func___builtin_sinl_link=yes
51557 else
51558   echo "$as_me: failed program was:" >&5
51559 sed 's/^/| /' conftest.$ac_ext >&5
51560
51561 glibcxx_cv_func___builtin_sinl_link=no
51562 fi
51563 rm -f conftest.err conftest.$ac_objext \
51564       conftest$ac_exeext conftest.$ac_ext
51565
51566 fi
51567
51568     fi
51569     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
51570 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
51571     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
51572       ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
51573
51574 cat >>confdefs.h <<_ACEOF
51575 #define ${ac_tr_func} 1
51576 _ACEOF
51577
51578     fi
51579   fi
51580
51581
51582
51583   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
51584 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
51585   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
51586     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
51587   echo $ECHO_N "(cached) $ECHO_C" >&6
51588 else
51589
51590
51591
51592       ac_ext=cc
51593 ac_cpp='$CXXCPP $CPPFLAGS'
51594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51597
51598       cat >conftest.$ac_ext <<_ACEOF
51599 /* confdefs.h.  */
51600 _ACEOF
51601 cat confdefs.h >>conftest.$ac_ext
51602 cat >>conftest.$ac_ext <<_ACEOF
51603 /* end confdefs.h.  */
51604 #include <math.h>
51605 int
51606 main ()
51607 {
51608  __builtin_cosf(0);
51609   ;
51610   return 0;
51611 }
51612 _ACEOF
51613 rm -f conftest.$ac_objext
51614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51615   (eval $ac_compile) 2>conftest.er1
51616   ac_status=$?
51617   grep -v '^ *+' conftest.er1 >conftest.err
51618   rm -f conftest.er1
51619   cat conftest.err >&5
51620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51621   (exit $ac_status); } &&
51622          { ac_try='test -z "$ac_cxx_werror_flag"
51623                          || test ! -s conftest.err'
51624   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51625   (eval $ac_try) 2>&5
51626   ac_status=$?
51627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51628   (exit $ac_status); }; } &&
51629          { ac_try='test -s conftest.$ac_objext'
51630   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51631   (eval $ac_try) 2>&5
51632   ac_status=$?
51633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51634   (exit $ac_status); }; }; then
51635   glibcxx_cv_func___builtin_cosf_use=yes
51636 else
51637   echo "$as_me: failed program was:" >&5
51638 sed 's/^/| /' conftest.$ac_ext >&5
51639
51640 glibcxx_cv_func___builtin_cosf_use=no
51641 fi
51642 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51643       ac_ext=c
51644 ac_cpp='$CPP $CPPFLAGS'
51645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51648
51649
51650 fi
51651
51652   fi
51653   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
51654 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
51655   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
51656     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
51657 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
51658     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
51659       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
51660   echo $ECHO_N "(cached) $ECHO_C" >&6
51661 else
51662
51663         if test x$gcc_no_link = xyes; then
51664   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51665 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51666    { (exit 1); exit 1; }; }
51667 fi
51668 cat >conftest.$ac_ext <<_ACEOF
51669 /* confdefs.h.  */
51670 _ACEOF
51671 cat confdefs.h >>conftest.$ac_ext
51672 cat >>conftest.$ac_ext <<_ACEOF
51673 /* end confdefs.h.  */
51674 #include <math.h>
51675 int
51676 main ()
51677 {
51678  __builtin_cosf(0);
51679   ;
51680   return 0;
51681 }
51682 _ACEOF
51683 rm -f conftest.$ac_objext conftest$ac_exeext
51684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51685   (eval $ac_link) 2>conftest.er1
51686   ac_status=$?
51687   grep -v '^ *+' conftest.er1 >conftest.err
51688   rm -f conftest.er1
51689   cat conftest.err >&5
51690   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51691   (exit $ac_status); } &&
51692          { ac_try='test -z "$ac_c_werror_flag"
51693                          || test ! -s conftest.err'
51694   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51695   (eval $ac_try) 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   glibcxx_cv_func___builtin_cosf_link=yes
51706 else
51707   echo "$as_me: failed program was:" >&5
51708 sed 's/^/| /' conftest.$ac_ext >&5
51709
51710 glibcxx_cv_func___builtin_cosf_link=no
51711 fi
51712 rm -f conftest.err conftest.$ac_objext \
51713       conftest$ac_exeext conftest.$ac_ext
51714
51715 fi
51716
51717     fi
51718     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
51719 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
51720     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
51721       ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
51722
51723 cat >>confdefs.h <<_ACEOF
51724 #define ${ac_tr_func} 1
51725 _ACEOF
51726
51727     fi
51728   fi
51729
51730
51731   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
51732 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
51733   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
51734     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
51735   echo $ECHO_N "(cached) $ECHO_C" >&6
51736 else
51737
51738
51739
51740       ac_ext=cc
51741 ac_cpp='$CXXCPP $CPPFLAGS'
51742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51745
51746       cat >conftest.$ac_ext <<_ACEOF
51747 /* confdefs.h.  */
51748 _ACEOF
51749 cat confdefs.h >>conftest.$ac_ext
51750 cat >>conftest.$ac_ext <<_ACEOF
51751 /* end confdefs.h.  */
51752 #include <math.h>
51753 int
51754 main ()
51755 {
51756  __builtin_cos(0);
51757   ;
51758   return 0;
51759 }
51760 _ACEOF
51761 rm -f conftest.$ac_objext
51762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51763   (eval $ac_compile) 2>conftest.er1
51764   ac_status=$?
51765   grep -v '^ *+' conftest.er1 >conftest.err
51766   rm -f conftest.er1
51767   cat conftest.err >&5
51768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51769   (exit $ac_status); } &&
51770          { ac_try='test -z "$ac_cxx_werror_flag"
51771                          || test ! -s conftest.err'
51772   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51773   (eval $ac_try) 2>&5
51774   ac_status=$?
51775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51776   (exit $ac_status); }; } &&
51777          { ac_try='test -s conftest.$ac_objext'
51778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51779   (eval $ac_try) 2>&5
51780   ac_status=$?
51781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51782   (exit $ac_status); }; }; then
51783   glibcxx_cv_func___builtin_cos_use=yes
51784 else
51785   echo "$as_me: failed program was:" >&5
51786 sed 's/^/| /' conftest.$ac_ext >&5
51787
51788 glibcxx_cv_func___builtin_cos_use=no
51789 fi
51790 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51791       ac_ext=c
51792 ac_cpp='$CPP $CPPFLAGS'
51793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51796
51797
51798 fi
51799
51800   fi
51801   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
51802 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
51803   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
51804     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
51805 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
51806     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
51807       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
51808   echo $ECHO_N "(cached) $ECHO_C" >&6
51809 else
51810
51811         if test x$gcc_no_link = xyes; then
51812   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51813 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51814    { (exit 1); exit 1; }; }
51815 fi
51816 cat >conftest.$ac_ext <<_ACEOF
51817 /* confdefs.h.  */
51818 _ACEOF
51819 cat confdefs.h >>conftest.$ac_ext
51820 cat >>conftest.$ac_ext <<_ACEOF
51821 /* end confdefs.h.  */
51822 #include <math.h>
51823 int
51824 main ()
51825 {
51826  __builtin_cos(0);
51827   ;
51828   return 0;
51829 }
51830 _ACEOF
51831 rm -f conftest.$ac_objext conftest$ac_exeext
51832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51833   (eval $ac_link) 2>conftest.er1
51834   ac_status=$?
51835   grep -v '^ *+' conftest.er1 >conftest.err
51836   rm -f conftest.er1
51837   cat conftest.err >&5
51838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51839   (exit $ac_status); } &&
51840          { ac_try='test -z "$ac_c_werror_flag"
51841                          || test ! -s conftest.err'
51842   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51843   (eval $ac_try) 2>&5
51844   ac_status=$?
51845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51846   (exit $ac_status); }; } &&
51847          { ac_try='test -s conftest$ac_exeext'
51848   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51849   (eval $ac_try) 2>&5
51850   ac_status=$?
51851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51852   (exit $ac_status); }; }; then
51853   glibcxx_cv_func___builtin_cos_link=yes
51854 else
51855   echo "$as_me: failed program was:" >&5
51856 sed 's/^/| /' conftest.$ac_ext >&5
51857
51858 glibcxx_cv_func___builtin_cos_link=no
51859 fi
51860 rm -f conftest.err conftest.$ac_objext \
51861       conftest$ac_exeext conftest.$ac_ext
51862
51863 fi
51864
51865     fi
51866     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
51867 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
51868     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
51869       ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
51870
51871 cat >>confdefs.h <<_ACEOF
51872 #define ${ac_tr_func} 1
51873 _ACEOF
51874
51875     fi
51876   fi
51877
51878
51879   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
51880 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
51881   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
51882     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
51883   echo $ECHO_N "(cached) $ECHO_C" >&6
51884 else
51885
51886
51887
51888       ac_ext=cc
51889 ac_cpp='$CXXCPP $CPPFLAGS'
51890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51893
51894       cat >conftest.$ac_ext <<_ACEOF
51895 /* confdefs.h.  */
51896 _ACEOF
51897 cat confdefs.h >>conftest.$ac_ext
51898 cat >>conftest.$ac_ext <<_ACEOF
51899 /* end confdefs.h.  */
51900 #include <math.h>
51901 int
51902 main ()
51903 {
51904  __builtin_cosl(0);
51905   ;
51906   return 0;
51907 }
51908 _ACEOF
51909 rm -f conftest.$ac_objext
51910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51911   (eval $ac_compile) 2>conftest.er1
51912   ac_status=$?
51913   grep -v '^ *+' conftest.er1 >conftest.err
51914   rm -f conftest.er1
51915   cat conftest.err >&5
51916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51917   (exit $ac_status); } &&
51918          { ac_try='test -z "$ac_cxx_werror_flag"
51919                          || test ! -s conftest.err'
51920   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51921   (eval $ac_try) 2>&5
51922   ac_status=$?
51923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51924   (exit $ac_status); }; } &&
51925          { ac_try='test -s conftest.$ac_objext'
51926   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51927   (eval $ac_try) 2>&5
51928   ac_status=$?
51929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51930   (exit $ac_status); }; }; then
51931   glibcxx_cv_func___builtin_cosl_use=yes
51932 else
51933   echo "$as_me: failed program was:" >&5
51934 sed 's/^/| /' conftest.$ac_ext >&5
51935
51936 glibcxx_cv_func___builtin_cosl_use=no
51937 fi
51938 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51939       ac_ext=c
51940 ac_cpp='$CPP $CPPFLAGS'
51941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51944
51945
51946 fi
51947
51948   fi
51949   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
51950 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
51951   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
51952     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
51953 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
51954     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
51955       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
51956   echo $ECHO_N "(cached) $ECHO_C" >&6
51957 else
51958
51959         if test x$gcc_no_link = xyes; then
51960   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51961 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51962    { (exit 1); exit 1; }; }
51963 fi
51964 cat >conftest.$ac_ext <<_ACEOF
51965 /* confdefs.h.  */
51966 _ACEOF
51967 cat confdefs.h >>conftest.$ac_ext
51968 cat >>conftest.$ac_ext <<_ACEOF
51969 /* end confdefs.h.  */
51970 #include <math.h>
51971 int
51972 main ()
51973 {
51974  __builtin_cosl(0);
51975   ;
51976   return 0;
51977 }
51978 _ACEOF
51979 rm -f conftest.$ac_objext conftest$ac_exeext
51980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51981   (eval $ac_link) 2>conftest.er1
51982   ac_status=$?
51983   grep -v '^ *+' conftest.er1 >conftest.err
51984   rm -f conftest.er1
51985   cat conftest.err >&5
51986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51987   (exit $ac_status); } &&
51988          { ac_try='test -z "$ac_c_werror_flag"
51989                          || test ! -s conftest.err'
51990   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51991   (eval $ac_try) 2>&5
51992   ac_status=$?
51993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
51994   (exit $ac_status); }; } &&
51995          { ac_try='test -s conftest$ac_exeext'
51996   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51997   (eval $ac_try) 2>&5
51998   ac_status=$?
51999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52000   (exit $ac_status); }; }; then
52001   glibcxx_cv_func___builtin_cosl_link=yes
52002 else
52003   echo "$as_me: failed program was:" >&5
52004 sed 's/^/| /' conftest.$ac_ext >&5
52005
52006 glibcxx_cv_func___builtin_cosl_link=no
52007 fi
52008 rm -f conftest.err conftest.$ac_objext \
52009       conftest$ac_exeext conftest.$ac_ext
52010
52011 fi
52012
52013     fi
52014     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
52015 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
52016     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
52017       ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
52018
52019 cat >>confdefs.h <<_ACEOF
52020 #define ${ac_tr_func} 1
52021 _ACEOF
52022
52023     fi
52024   fi
52025
52026
52027
52028
52029 echo "$as_me:$LINENO: checking for main in -lm" >&5
52030 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
52031 if test "${ac_cv_lib_m_main+set}" = set; then
52032   echo $ECHO_N "(cached) $ECHO_C" >&6
52033 else
52034   ac_check_lib_save_LIBS=$LIBS
52035 LIBS="-lm  $LIBS"
52036 if test x$gcc_no_link = xyes; then
52037   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52038 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52039    { (exit 1); exit 1; }; }
52040 fi
52041 cat >conftest.$ac_ext <<_ACEOF
52042 /* confdefs.h.  */
52043 _ACEOF
52044 cat confdefs.h >>conftest.$ac_ext
52045 cat >>conftest.$ac_ext <<_ACEOF
52046 /* end confdefs.h.  */
52047
52048
52049 int
52050 main ()
52051 {
52052 main ();
52053   ;
52054   return 0;
52055 }
52056 _ACEOF
52057 rm -f conftest.$ac_objext conftest$ac_exeext
52058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52059   (eval $ac_link) 2>conftest.er1
52060   ac_status=$?
52061   grep -v '^ *+' conftest.er1 >conftest.err
52062   rm -f conftest.er1
52063   cat conftest.err >&5
52064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52065   (exit $ac_status); } &&
52066          { ac_try='test -z "$ac_c_werror_flag"
52067                          || test ! -s conftest.err'
52068   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52069   (eval $ac_try) 2>&5
52070   ac_status=$?
52071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52072   (exit $ac_status); }; } &&
52073          { ac_try='test -s conftest$ac_exeext'
52074   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52075   (eval $ac_try) 2>&5
52076   ac_status=$?
52077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52078   (exit $ac_status); }; }; then
52079   ac_cv_lib_m_main=yes
52080 else
52081   echo "$as_me: failed program was:" >&5
52082 sed 's/^/| /' conftest.$ac_ext >&5
52083
52084 ac_cv_lib_m_main=no
52085 fi
52086 rm -f conftest.err conftest.$ac_objext \
52087       conftest$ac_exeext conftest.$ac_ext
52088 LIBS=$ac_check_lib_save_LIBS
52089 fi
52090 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
52091 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
52092 if test $ac_cv_lib_m_main = yes; then
52093   cat >>confdefs.h <<_ACEOF
52094 #define HAVE_LIBM 1
52095 _ACEOF
52096
52097   LIBS="-lm $LIBS"
52098
52099 fi
52100
52101
52102 for ac_func in copysignf
52103 do
52104 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52105 echo "$as_me:$LINENO: checking for $ac_func" >&5
52106 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52107 if eval "test \"\${$as_ac_var+set}\" = set"; then
52108   echo $ECHO_N "(cached) $ECHO_C" >&6
52109 else
52110   if test x$gcc_no_link = xyes; then
52111   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52112 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52113    { (exit 1); exit 1; }; }
52114 fi
52115 cat >conftest.$ac_ext <<_ACEOF
52116 /* confdefs.h.  */
52117 _ACEOF
52118 cat confdefs.h >>conftest.$ac_ext
52119 cat >>conftest.$ac_ext <<_ACEOF
52120 /* end confdefs.h.  */
52121 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52122    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52123 #define $ac_func innocuous_$ac_func
52124
52125 /* System header to define __stub macros and hopefully few prototypes,
52126     which can conflict with char $ac_func (); below.
52127     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52128     <limits.h> exists even on freestanding compilers.  */
52129
52130 #ifdef __STDC__
52131 # include <limits.h>
52132 #else
52133 # include <assert.h>
52134 #endif
52135
52136 #undef $ac_func
52137
52138 /* Override any gcc2 internal prototype to avoid an error.  */
52139 #ifdef __cplusplus
52140 extern "C"
52141 {
52142 #endif
52143 /* We use char because int might match the return type of a gcc2
52144    builtin and then its argument prototype would still apply.  */
52145 char $ac_func ();
52146 /* The GNU C library defines this for functions which it implements
52147     to always fail with ENOSYS.  Some functions are actually named
52148     something starting with __ and the normal name is an alias.  */
52149 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52150 choke me
52151 #else
52152 char (*f) () = $ac_func;
52153 #endif
52154 #ifdef __cplusplus
52155 }
52156 #endif
52157
52158 int
52159 main ()
52160 {
52161 return f != $ac_func;
52162   ;
52163   return 0;
52164 }
52165 _ACEOF
52166 rm -f conftest.$ac_objext conftest$ac_exeext
52167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52168   (eval $ac_link) 2>conftest.er1
52169   ac_status=$?
52170   grep -v '^ *+' conftest.er1 >conftest.err
52171   rm -f conftest.er1
52172   cat conftest.err >&5
52173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52174   (exit $ac_status); } &&
52175          { ac_try='test -z "$ac_c_werror_flag"
52176                          || test ! -s conftest.err'
52177   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52178   (eval $ac_try) 2>&5
52179   ac_status=$?
52180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52181   (exit $ac_status); }; } &&
52182          { ac_try='test -s conftest$ac_exeext'
52183   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52184   (eval $ac_try) 2>&5
52185   ac_status=$?
52186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52187   (exit $ac_status); }; }; then
52188   eval "$as_ac_var=yes"
52189 else
52190   echo "$as_me: failed program was:" >&5
52191 sed 's/^/| /' conftest.$ac_ext >&5
52192
52193 eval "$as_ac_var=no"
52194 fi
52195 rm -f conftest.err conftest.$ac_objext \
52196       conftest$ac_exeext conftest.$ac_ext
52197 fi
52198 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52199 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52200 if test `eval echo '${'$as_ac_var'}'` = yes; then
52201   cat >>confdefs.h <<_ACEOF
52202 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52203 _ACEOF
52204
52205 else
52206   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
52207 fi
52208 done
52209
52210
52211
52212 for ac_func in __signbit
52213 do
52214 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52215 echo "$as_me:$LINENO: checking for $ac_func" >&5
52216 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52217 if eval "test \"\${$as_ac_var+set}\" = set"; then
52218   echo $ECHO_N "(cached) $ECHO_C" >&6
52219 else
52220   if test x$gcc_no_link = xyes; then
52221   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52222 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52223    { (exit 1); exit 1; }; }
52224 fi
52225 cat >conftest.$ac_ext <<_ACEOF
52226 /* confdefs.h.  */
52227 _ACEOF
52228 cat confdefs.h >>conftest.$ac_ext
52229 cat >>conftest.$ac_ext <<_ACEOF
52230 /* end confdefs.h.  */
52231 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52232    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52233 #define $ac_func innocuous_$ac_func
52234
52235 /* System header to define __stub macros and hopefully few prototypes,
52236     which can conflict with char $ac_func (); below.
52237     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52238     <limits.h> exists even on freestanding compilers.  */
52239
52240 #ifdef __STDC__
52241 # include <limits.h>
52242 #else
52243 # include <assert.h>
52244 #endif
52245
52246 #undef $ac_func
52247
52248 /* Override any gcc2 internal prototype to avoid an error.  */
52249 #ifdef __cplusplus
52250 extern "C"
52251 {
52252 #endif
52253 /* We use char because int might match the return type of a gcc2
52254    builtin and then its argument prototype would still apply.  */
52255 char $ac_func ();
52256 /* The GNU C library defines this for functions which it implements
52257     to always fail with ENOSYS.  Some functions are actually named
52258     something starting with __ and the normal name is an alias.  */
52259 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52260 choke me
52261 #else
52262 char (*f) () = $ac_func;
52263 #endif
52264 #ifdef __cplusplus
52265 }
52266 #endif
52267
52268 int
52269 main ()
52270 {
52271 return f != $ac_func;
52272   ;
52273   return 0;
52274 }
52275 _ACEOF
52276 rm -f conftest.$ac_objext conftest$ac_exeext
52277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52278   (eval $ac_link) 2>conftest.er1
52279   ac_status=$?
52280   grep -v '^ *+' conftest.er1 >conftest.err
52281   rm -f conftest.er1
52282   cat conftest.err >&5
52283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52284   (exit $ac_status); } &&
52285          { ac_try='test -z "$ac_c_werror_flag"
52286                          || test ! -s conftest.err'
52287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52288   (eval $ac_try) 2>&5
52289   ac_status=$?
52290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52291   (exit $ac_status); }; } &&
52292          { ac_try='test -s conftest$ac_exeext'
52293   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52294   (eval $ac_try) 2>&5
52295   ac_status=$?
52296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52297   (exit $ac_status); }; }; then
52298   eval "$as_ac_var=yes"
52299 else
52300   echo "$as_me: failed program was:" >&5
52301 sed 's/^/| /' conftest.$ac_ext >&5
52302
52303 eval "$as_ac_var=no"
52304 fi
52305 rm -f conftest.err conftest.$ac_objext \
52306       conftest$ac_exeext conftest.$ac_ext
52307 fi
52308 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52309 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52310 if test `eval echo '${'$as_ac_var'}'` = yes; then
52311   cat >>confdefs.h <<_ACEOF
52312 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52313 _ACEOF
52314
52315 else
52316   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
52317 fi
52318 done
52319
52320
52321
52322 for ac_func in __signbitf
52323 do
52324 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52325 echo "$as_me:$LINENO: checking for $ac_func" >&5
52326 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52327 if eval "test \"\${$as_ac_var+set}\" = set"; then
52328   echo $ECHO_N "(cached) $ECHO_C" >&6
52329 else
52330   if test x$gcc_no_link = xyes; then
52331   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52332 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52333    { (exit 1); exit 1; }; }
52334 fi
52335 cat >conftest.$ac_ext <<_ACEOF
52336 /* confdefs.h.  */
52337 _ACEOF
52338 cat confdefs.h >>conftest.$ac_ext
52339 cat >>conftest.$ac_ext <<_ACEOF
52340 /* end confdefs.h.  */
52341 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52342    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52343 #define $ac_func innocuous_$ac_func
52344
52345 /* System header to define __stub macros and hopefully few prototypes,
52346     which can conflict with char $ac_func (); below.
52347     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52348     <limits.h> exists even on freestanding compilers.  */
52349
52350 #ifdef __STDC__
52351 # include <limits.h>
52352 #else
52353 # include <assert.h>
52354 #endif
52355
52356 #undef $ac_func
52357
52358 /* Override any gcc2 internal prototype to avoid an error.  */
52359 #ifdef __cplusplus
52360 extern "C"
52361 {
52362 #endif
52363 /* We use char because int might match the return type of a gcc2
52364    builtin and then its argument prototype would still apply.  */
52365 char $ac_func ();
52366 /* The GNU C library defines this for functions which it implements
52367     to always fail with ENOSYS.  Some functions are actually named
52368     something starting with __ and the normal name is an alias.  */
52369 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52370 choke me
52371 #else
52372 char (*f) () = $ac_func;
52373 #endif
52374 #ifdef __cplusplus
52375 }
52376 #endif
52377
52378 int
52379 main ()
52380 {
52381 return f != $ac_func;
52382   ;
52383   return 0;
52384 }
52385 _ACEOF
52386 rm -f conftest.$ac_objext conftest$ac_exeext
52387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52388   (eval $ac_link) 2>conftest.er1
52389   ac_status=$?
52390   grep -v '^ *+' conftest.er1 >conftest.err
52391   rm -f conftest.er1
52392   cat conftest.err >&5
52393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52394   (exit $ac_status); } &&
52395          { ac_try='test -z "$ac_c_werror_flag"
52396                          || test ! -s conftest.err'
52397   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52398   (eval $ac_try) 2>&5
52399   ac_status=$?
52400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52401   (exit $ac_status); }; } &&
52402          { ac_try='test -s conftest$ac_exeext'
52403   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52404   (eval $ac_try) 2>&5
52405   ac_status=$?
52406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52407   (exit $ac_status); }; }; then
52408   eval "$as_ac_var=yes"
52409 else
52410   echo "$as_me: failed program was:" >&5
52411 sed 's/^/| /' conftest.$ac_ext >&5
52412
52413 eval "$as_ac_var=no"
52414 fi
52415 rm -f conftest.err conftest.$ac_objext \
52416       conftest$ac_exeext conftest.$ac_ext
52417 fi
52418 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52419 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52420 if test `eval echo '${'$as_ac_var'}'` = yes; then
52421   cat >>confdefs.h <<_ACEOF
52422 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52423 _ACEOF
52424
52425 else
52426   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
52427 fi
52428 done
52429
52430
52431           if test x$ac_cv_func_copysignl = x"yes"; then
52432
52433 for ac_func in __signbitl
52434 do
52435 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52436 echo "$as_me:$LINENO: checking for $ac_func" >&5
52437 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52438 if eval "test \"\${$as_ac_var+set}\" = set"; then
52439   echo $ECHO_N "(cached) $ECHO_C" >&6
52440 else
52441   if test x$gcc_no_link = xyes; then
52442   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52443 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52444    { (exit 1); exit 1; }; }
52445 fi
52446 cat >conftest.$ac_ext <<_ACEOF
52447 /* confdefs.h.  */
52448 _ACEOF
52449 cat confdefs.h >>conftest.$ac_ext
52450 cat >>conftest.$ac_ext <<_ACEOF
52451 /* end confdefs.h.  */
52452 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52453    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
52454 #define $ac_func innocuous_$ac_func
52455
52456 /* System header to define __stub macros and hopefully few prototypes,
52457     which can conflict with char $ac_func (); below.
52458     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52459     <limits.h> exists even on freestanding compilers.  */
52460
52461 #ifdef __STDC__
52462 # include <limits.h>
52463 #else
52464 # include <assert.h>
52465 #endif
52466
52467 #undef $ac_func
52468
52469 /* Override any gcc2 internal prototype to avoid an error.  */
52470 #ifdef __cplusplus
52471 extern "C"
52472 {
52473 #endif
52474 /* We use char because int might match the return type of a gcc2
52475    builtin and then its argument prototype would still apply.  */
52476 char $ac_func ();
52477 /* The GNU C library defines this for functions which it implements
52478     to always fail with ENOSYS.  Some functions are actually named
52479     something starting with __ and the normal name is an alias.  */
52480 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52481 choke me
52482 #else
52483 char (*f) () = $ac_func;
52484 #endif
52485 #ifdef __cplusplus
52486 }
52487 #endif
52488
52489 int
52490 main ()
52491 {
52492 return f != $ac_func;
52493   ;
52494   return 0;
52495 }
52496 _ACEOF
52497 rm -f conftest.$ac_objext conftest$ac_exeext
52498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52499   (eval $ac_link) 2>conftest.er1
52500   ac_status=$?
52501   grep -v '^ *+' conftest.er1 >conftest.err
52502   rm -f conftest.er1
52503   cat conftest.err >&5
52504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52505   (exit $ac_status); } &&
52506          { ac_try='test -z "$ac_c_werror_flag"
52507                          || test ! -s conftest.err'
52508   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52509   (eval $ac_try) 2>&5
52510   ac_status=$?
52511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52512   (exit $ac_status); }; } &&
52513          { ac_try='test -s conftest$ac_exeext'
52514   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52515   (eval $ac_try) 2>&5
52516   ac_status=$?
52517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52518   (exit $ac_status); }; }; then
52519   eval "$as_ac_var=yes"
52520 else
52521   echo "$as_me: failed program was:" >&5
52522 sed 's/^/| /' conftest.$ac_ext >&5
52523
52524 eval "$as_ac_var=no"
52525 fi
52526 rm -f conftest.err conftest.$ac_objext \
52527       conftest$ac_exeext conftest.$ac_ext
52528 fi
52529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52530 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52531 if test `eval echo '${'$as_ac_var'}'` = yes; then
52532   cat >>confdefs.h <<_ACEOF
52533 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52534 _ACEOF
52535
52536 else
52537   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
52538 fi
52539 done
52540
52541   fi
52542
52543   # Used in libmath/Makefile.am.
52544   if test -n "$LIBMATHOBJS"; then
52545     need_libmath=yes
52546   fi
52547
52548
52549
52550   # Test wchar.h for mbstate_t, which is needed for char_traits and
52551   # others even if wchar_t support is not on.
52552   echo "$as_me:$LINENO: checking for mbstate_t" >&5
52553 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
52554   cat >conftest.$ac_ext <<_ACEOF
52555 /* confdefs.h.  */
52556 _ACEOF
52557 cat confdefs.h >>conftest.$ac_ext
52558 cat >>conftest.$ac_ext <<_ACEOF
52559 /* end confdefs.h.  */
52560 #include <wchar.h>
52561 int
52562 main ()
52563 {
52564 mbstate_t teststate;
52565   ;
52566   return 0;
52567 }
52568 _ACEOF
52569 rm -f conftest.$ac_objext
52570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52571   (eval $ac_compile) 2>conftest.er1
52572   ac_status=$?
52573   grep -v '^ *+' conftest.er1 >conftest.err
52574   rm -f conftest.er1
52575   cat conftest.err >&5
52576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52577   (exit $ac_status); } &&
52578          { ac_try='test -z "$ac_c_werror_flag"
52579                          || test ! -s conftest.err'
52580   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52581   (eval $ac_try) 2>&5
52582   ac_status=$?
52583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52584   (exit $ac_status); }; } &&
52585          { ac_try='test -s conftest.$ac_objext'
52586   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52587   (eval $ac_try) 2>&5
52588   ac_status=$?
52589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52590   (exit $ac_status); }; }; then
52591   have_mbstate_t=yes
52592 else
52593   echo "$as_me: failed program was:" >&5
52594 sed 's/^/| /' conftest.$ac_ext >&5
52595
52596 have_mbstate_t=no
52597 fi
52598 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52599   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
52600 echo "${ECHO_T}$have_mbstate_t" >&6
52601   if test x"$have_mbstate_t" = xyes; then
52602     cat >>confdefs.h <<\_ACEOF
52603 #define HAVE_MBSTATE_T 1
52604 _ACEOF
52605
52606   fi
52607
52608   # Sanity check for existence of ISO C99 headers for extended encoding.
52609
52610 for ac_header in wchar.h
52611 do
52612 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
52613 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52614   echo "$as_me:$LINENO: checking for $ac_header" >&5
52615 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52616 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52617   echo $ECHO_N "(cached) $ECHO_C" >&6
52618 fi
52619 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52620 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52621 else
52622   # Is the header compilable?
52623 echo "$as_me:$LINENO: checking $ac_header usability" >&5
52624 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
52625 cat >conftest.$ac_ext <<_ACEOF
52626 /* confdefs.h.  */
52627 _ACEOF
52628 cat confdefs.h >>conftest.$ac_ext
52629 cat >>conftest.$ac_ext <<_ACEOF
52630 /* end confdefs.h.  */
52631 $ac_includes_default
52632 #include <$ac_header>
52633 _ACEOF
52634 rm -f conftest.$ac_objext
52635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52636   (eval $ac_compile) 2>conftest.er1
52637   ac_status=$?
52638   grep -v '^ *+' conftest.er1 >conftest.err
52639   rm -f conftest.er1
52640   cat conftest.err >&5
52641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52642   (exit $ac_status); } &&
52643          { ac_try='test -z "$ac_c_werror_flag"
52644                          || test ! -s conftest.err'
52645   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52646   (eval $ac_try) 2>&5
52647   ac_status=$?
52648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52649   (exit $ac_status); }; } &&
52650          { ac_try='test -s conftest.$ac_objext'
52651   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52652   (eval $ac_try) 2>&5
52653   ac_status=$?
52654   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52655   (exit $ac_status); }; }; then
52656   ac_header_compiler=yes
52657 else
52658   echo "$as_me: failed program was:" >&5
52659 sed 's/^/| /' conftest.$ac_ext >&5
52660
52661 ac_header_compiler=no
52662 fi
52663 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52664 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52665 echo "${ECHO_T}$ac_header_compiler" >&6
52666
52667 # Is the header present?
52668 echo "$as_me:$LINENO: checking $ac_header presence" >&5
52669 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
52670 cat >conftest.$ac_ext <<_ACEOF
52671 /* confdefs.h.  */
52672 _ACEOF
52673 cat confdefs.h >>conftest.$ac_ext
52674 cat >>conftest.$ac_ext <<_ACEOF
52675 /* end confdefs.h.  */
52676 #include <$ac_header>
52677 _ACEOF
52678 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52679   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52680   ac_status=$?
52681   grep -v '^ *+' conftest.er1 >conftest.err
52682   rm -f conftest.er1
52683   cat conftest.err >&5
52684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52685   (exit $ac_status); } >/dev/null; then
52686   if test -s conftest.err; then
52687     ac_cpp_err=$ac_c_preproc_warn_flag
52688     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52689   else
52690     ac_cpp_err=
52691   fi
52692 else
52693   ac_cpp_err=yes
52694 fi
52695 if test -z "$ac_cpp_err"; then
52696   ac_header_preproc=yes
52697 else
52698   echo "$as_me: failed program was:" >&5
52699 sed 's/^/| /' conftest.$ac_ext >&5
52700
52701   ac_header_preproc=no
52702 fi
52703 rm -f conftest.err conftest.$ac_ext
52704 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52705 echo "${ECHO_T}$ac_header_preproc" >&6
52706
52707 # So?  What about this header?
52708 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52709   yes:no: )
52710     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
52711 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
52712     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
52713 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
52714     ac_header_preproc=yes
52715     ;;
52716   no:yes:* )
52717     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
52718 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
52719     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
52720 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
52721     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
52722 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
52723     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
52724 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
52725     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52726 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52727     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
52728 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
52729     (
52730       cat <<\_ASBOX
52731 ## ----------------------------------------- ##
52732 ## Report this to the package-unused lists.  ##
52733 ## ----------------------------------------- ##
52734 _ASBOX
52735     ) |
52736       sed "s/^/$as_me: WARNING:     /" >&2
52737     ;;
52738 esac
52739 echo "$as_me:$LINENO: checking for $ac_header" >&5
52740 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52741 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52742   echo $ECHO_N "(cached) $ECHO_C" >&6
52743 else
52744   eval "$as_ac_Header=\$ac_header_preproc"
52745 fi
52746 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52747 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52748
52749 fi
52750 if test `eval echo '${'$as_ac_Header'}'` = yes; then
52751   cat >>confdefs.h <<_ACEOF
52752 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
52753 _ACEOF
52754  ac_has_wchar_h=yes
52755 else
52756   ac_has_wchar_h=no
52757 fi
52758
52759 done
52760
52761
52762 for ac_header in wctype.h
52763 do
52764 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
52765 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52766   echo "$as_me:$LINENO: checking for $ac_header" >&5
52767 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52768 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52769   echo $ECHO_N "(cached) $ECHO_C" >&6
52770 fi
52771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52772 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52773 else
52774   # Is the header compilable?
52775 echo "$as_me:$LINENO: checking $ac_header usability" >&5
52776 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
52777 cat >conftest.$ac_ext <<_ACEOF
52778 /* confdefs.h.  */
52779 _ACEOF
52780 cat confdefs.h >>conftest.$ac_ext
52781 cat >>conftest.$ac_ext <<_ACEOF
52782 /* end confdefs.h.  */
52783 $ac_includes_default
52784 #include <$ac_header>
52785 _ACEOF
52786 rm -f conftest.$ac_objext
52787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52788   (eval $ac_compile) 2>conftest.er1
52789   ac_status=$?
52790   grep -v '^ *+' conftest.er1 >conftest.err
52791   rm -f conftest.er1
52792   cat conftest.err >&5
52793   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52794   (exit $ac_status); } &&
52795          { ac_try='test -z "$ac_c_werror_flag"
52796                          || test ! -s conftest.err'
52797   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52798   (eval $ac_try) 2>&5
52799   ac_status=$?
52800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52801   (exit $ac_status); }; } &&
52802          { ac_try='test -s conftest.$ac_objext'
52803   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52804   (eval $ac_try) 2>&5
52805   ac_status=$?
52806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52807   (exit $ac_status); }; }; then
52808   ac_header_compiler=yes
52809 else
52810   echo "$as_me: failed program was:" >&5
52811 sed 's/^/| /' conftest.$ac_ext >&5
52812
52813 ac_header_compiler=no
52814 fi
52815 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52816 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52817 echo "${ECHO_T}$ac_header_compiler" >&6
52818
52819 # Is the header present?
52820 echo "$as_me:$LINENO: checking $ac_header presence" >&5
52821 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
52822 cat >conftest.$ac_ext <<_ACEOF
52823 /* confdefs.h.  */
52824 _ACEOF
52825 cat confdefs.h >>conftest.$ac_ext
52826 cat >>conftest.$ac_ext <<_ACEOF
52827 /* end confdefs.h.  */
52828 #include <$ac_header>
52829 _ACEOF
52830 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52831   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52832   ac_status=$?
52833   grep -v '^ *+' conftest.er1 >conftest.err
52834   rm -f conftest.er1
52835   cat conftest.err >&5
52836   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52837   (exit $ac_status); } >/dev/null; then
52838   if test -s conftest.err; then
52839     ac_cpp_err=$ac_c_preproc_warn_flag
52840     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52841   else
52842     ac_cpp_err=
52843   fi
52844 else
52845   ac_cpp_err=yes
52846 fi
52847 if test -z "$ac_cpp_err"; then
52848   ac_header_preproc=yes
52849 else
52850   echo "$as_me: failed program was:" >&5
52851 sed 's/^/| /' conftest.$ac_ext >&5
52852
52853   ac_header_preproc=no
52854 fi
52855 rm -f conftest.err conftest.$ac_ext
52856 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52857 echo "${ECHO_T}$ac_header_preproc" >&6
52858
52859 # So?  What about this header?
52860 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52861   yes:no: )
52862     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
52863 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
52864     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
52865 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
52866     ac_header_preproc=yes
52867     ;;
52868   no:yes:* )
52869     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
52870 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
52871     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
52872 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
52873     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
52874 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
52875     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
52876 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
52877     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52878 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52879     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
52880 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
52881     (
52882       cat <<\_ASBOX
52883 ## ----------------------------------------- ##
52884 ## Report this to the package-unused lists.  ##
52885 ## ----------------------------------------- ##
52886 _ASBOX
52887     ) |
52888       sed "s/^/$as_me: WARNING:     /" >&2
52889     ;;
52890 esac
52891 echo "$as_me:$LINENO: checking for $ac_header" >&5
52892 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52893 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52894   echo $ECHO_N "(cached) $ECHO_C" >&6
52895 else
52896   eval "$as_ac_Header=\$ac_header_preproc"
52897 fi
52898 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52899 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52900
52901 fi
52902 if test `eval echo '${'$as_ac_Header'}'` = yes; then
52903   cat >>confdefs.h <<_ACEOF
52904 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
52905 _ACEOF
52906  ac_has_wctype_h=yes
52907 else
52908   ac_has_wctype_h=no
52909 fi
52910
52911 done
52912
52913
52914   # Only continue checking if the ISO C99 headers exist and support is on.
52915   if test x"$ac_has_wchar_h" = xyes &&
52916      test x"$ac_has_wctype_h" = xyes &&
52917      test x"$enable_c_mbchar" != xno; then
52918
52919     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
52920     # numeric_limits can instantiate type_traits<wchar_t>
52921     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
52922 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
52923     cat >conftest.$ac_ext <<_ACEOF
52924 /* confdefs.h.  */
52925 _ACEOF
52926 cat confdefs.h >>conftest.$ac_ext
52927 cat >>conftest.$ac_ext <<_ACEOF
52928 /* end confdefs.h.  */
52929 #include <wchar.h>
52930 int
52931 main ()
52932 {
52933 int i = WCHAR_MIN; int j = WCHAR_MAX;
52934   ;
52935   return 0;
52936 }
52937 _ACEOF
52938 rm -f conftest.$ac_objext
52939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52940   (eval $ac_compile) 2>conftest.er1
52941   ac_status=$?
52942   grep -v '^ *+' conftest.er1 >conftest.err
52943   rm -f conftest.er1
52944   cat conftest.err >&5
52945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52946   (exit $ac_status); } &&
52947          { ac_try='test -z "$ac_c_werror_flag"
52948                          || test ! -s conftest.err'
52949   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52950   (eval $ac_try) 2>&5
52951   ac_status=$?
52952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52953   (exit $ac_status); }; } &&
52954          { ac_try='test -s conftest.$ac_objext'
52955   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52956   (eval $ac_try) 2>&5
52957   ac_status=$?
52958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
52959   (exit $ac_status); }; }; then
52960   has_wchar_minmax=yes
52961 else
52962   echo "$as_me: failed program was:" >&5
52963 sed 's/^/| /' conftest.$ac_ext >&5
52964
52965 has_wchar_minmax=no
52966 fi
52967 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52968     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
52969 echo "${ECHO_T}$has_wchar_minmax" >&6
52970
52971     # Test wchar.h for WEOF, which is what we use to determine whether
52972     # to specialize for char_traits<wchar_t> or not.
52973     echo "$as_me:$LINENO: checking for WEOF" >&5
52974 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
52975     cat >conftest.$ac_ext <<_ACEOF
52976 /* confdefs.h.  */
52977 _ACEOF
52978 cat confdefs.h >>conftest.$ac_ext
52979 cat >>conftest.$ac_ext <<_ACEOF
52980 /* end confdefs.h.  */
52981
52982       #include <wchar.h>
52983       #include <stddef.h>
52984 int
52985 main ()
52986 {
52987 wint_t i = WEOF;
52988   ;
52989   return 0;
52990 }
52991 _ACEOF
52992 rm -f conftest.$ac_objext
52993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52994   (eval $ac_compile) 2>conftest.er1
52995   ac_status=$?
52996   grep -v '^ *+' conftest.er1 >conftest.err
52997   rm -f conftest.er1
52998   cat conftest.err >&5
52999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53000   (exit $ac_status); } &&
53001          { ac_try='test -z "$ac_c_werror_flag"
53002                          || test ! -s conftest.err'
53003   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53004   (eval $ac_try) 2>&5
53005   ac_status=$?
53006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53007   (exit $ac_status); }; } &&
53008          { ac_try='test -s conftest.$ac_objext'
53009   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53010   (eval $ac_try) 2>&5
53011   ac_status=$?
53012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53013   (exit $ac_status); }; }; then
53014   has_weof=yes
53015 else
53016   echo "$as_me: failed program was:" >&5
53017 sed 's/^/| /' conftest.$ac_ext >&5
53018
53019 has_weof=no
53020 fi
53021 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53022     echo "$as_me:$LINENO: result: $has_weof" >&5
53023 echo "${ECHO_T}$has_weof" >&6
53024
53025     # Tests for wide character functions used in char_traits<wchar_t>.
53026     ac_wfuncs=yes
53027
53028
53029
53030
53031
53032
53033 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
53034 do
53035 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53036 echo "$as_me:$LINENO: checking for $ac_func" >&5
53037 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53038 if eval "test \"\${$as_ac_var+set}\" = set"; then
53039   echo $ECHO_N "(cached) $ECHO_C" >&6
53040 else
53041   if test x$gcc_no_link = xyes; then
53042   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53043 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53044    { (exit 1); exit 1; }; }
53045 fi
53046 cat >conftest.$ac_ext <<_ACEOF
53047 /* confdefs.h.  */
53048 _ACEOF
53049 cat confdefs.h >>conftest.$ac_ext
53050 cat >>conftest.$ac_ext <<_ACEOF
53051 /* end confdefs.h.  */
53052 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53053    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53054 #define $ac_func innocuous_$ac_func
53055
53056 /* System header to define __stub macros and hopefully few prototypes,
53057     which can conflict with char $ac_func (); below.
53058     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53059     <limits.h> exists even on freestanding compilers.  */
53060
53061 #ifdef __STDC__
53062 # include <limits.h>
53063 #else
53064 # include <assert.h>
53065 #endif
53066
53067 #undef $ac_func
53068
53069 /* Override any gcc2 internal prototype to avoid an error.  */
53070 #ifdef __cplusplus
53071 extern "C"
53072 {
53073 #endif
53074 /* We use char because int might match the return type of a gcc2
53075    builtin and then its argument prototype would still apply.  */
53076 char $ac_func ();
53077 /* The GNU C library defines this for functions which it implements
53078     to always fail with ENOSYS.  Some functions are actually named
53079     something starting with __ and the normal name is an alias.  */
53080 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53081 choke me
53082 #else
53083 char (*f) () = $ac_func;
53084 #endif
53085 #ifdef __cplusplus
53086 }
53087 #endif
53088
53089 int
53090 main ()
53091 {
53092 return f != $ac_func;
53093   ;
53094   return 0;
53095 }
53096 _ACEOF
53097 rm -f conftest.$ac_objext conftest$ac_exeext
53098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53099   (eval $ac_link) 2>conftest.er1
53100   ac_status=$?
53101   grep -v '^ *+' conftest.er1 >conftest.err
53102   rm -f conftest.er1
53103   cat conftest.err >&5
53104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53105   (exit $ac_status); } &&
53106          { ac_try='test -z "$ac_c_werror_flag"
53107                          || test ! -s conftest.err'
53108   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53109   (eval $ac_try) 2>&5
53110   ac_status=$?
53111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53112   (exit $ac_status); }; } &&
53113          { ac_try='test -s conftest$ac_exeext'
53114   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53115   (eval $ac_try) 2>&5
53116   ac_status=$?
53117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53118   (exit $ac_status); }; }; then
53119   eval "$as_ac_var=yes"
53120 else
53121   echo "$as_me: failed program was:" >&5
53122 sed 's/^/| /' conftest.$ac_ext >&5
53123
53124 eval "$as_ac_var=no"
53125 fi
53126 rm -f conftest.err conftest.$ac_objext \
53127       conftest$ac_exeext conftest.$ac_ext
53128 fi
53129 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53130 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53131 if test `eval echo '${'$as_ac_var'}'` = yes; then
53132   cat >>confdefs.h <<_ACEOF
53133 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53134 _ACEOF
53135
53136 else
53137   ac_wfuncs=no
53138 fi
53139 done
53140
53141
53142     # Checks for names injected into std:: by the c_std headers.
53143
53144
53145
53146
53147
53148
53149
53150
53151
53152
53153
53154
53155
53156
53157
53158
53159
53160
53161
53162
53163
53164
53165
53166
53167
53168
53169
53170
53171
53172
53173
53174
53175
53176
53177
53178
53179
53180
53181
53182
53183
53184
53185
53186
53187
53188
53189 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
53190     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
53191     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
53192     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
53193     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
53194     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
53195 do
53196 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53197 echo "$as_me:$LINENO: checking for $ac_func" >&5
53198 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53199 if eval "test \"\${$as_ac_var+set}\" = set"; then
53200   echo $ECHO_N "(cached) $ECHO_C" >&6
53201 else
53202   if test x$gcc_no_link = xyes; then
53203   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53204 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53205    { (exit 1); exit 1; }; }
53206 fi
53207 cat >conftest.$ac_ext <<_ACEOF
53208 /* confdefs.h.  */
53209 _ACEOF
53210 cat confdefs.h >>conftest.$ac_ext
53211 cat >>conftest.$ac_ext <<_ACEOF
53212 /* end confdefs.h.  */
53213 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53214    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53215 #define $ac_func innocuous_$ac_func
53216
53217 /* System header to define __stub macros and hopefully few prototypes,
53218     which can conflict with char $ac_func (); below.
53219     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53220     <limits.h> exists even on freestanding compilers.  */
53221
53222 #ifdef __STDC__
53223 # include <limits.h>
53224 #else
53225 # include <assert.h>
53226 #endif
53227
53228 #undef $ac_func
53229
53230 /* Override any gcc2 internal prototype to avoid an error.  */
53231 #ifdef __cplusplus
53232 extern "C"
53233 {
53234 #endif
53235 /* We use char because int might match the return type of a gcc2
53236    builtin and then its argument prototype would still apply.  */
53237 char $ac_func ();
53238 /* The GNU C library defines this for functions which it implements
53239     to always fail with ENOSYS.  Some functions are actually named
53240     something starting with __ and the normal name is an alias.  */
53241 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53242 choke me
53243 #else
53244 char (*f) () = $ac_func;
53245 #endif
53246 #ifdef __cplusplus
53247 }
53248 #endif
53249
53250 int
53251 main ()
53252 {
53253 return f != $ac_func;
53254   ;
53255   return 0;
53256 }
53257 _ACEOF
53258 rm -f conftest.$ac_objext conftest$ac_exeext
53259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53260   (eval $ac_link) 2>conftest.er1
53261   ac_status=$?
53262   grep -v '^ *+' conftest.er1 >conftest.err
53263   rm -f conftest.er1
53264   cat conftest.err >&5
53265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53266   (exit $ac_status); } &&
53267          { ac_try='test -z "$ac_c_werror_flag"
53268                          || test ! -s conftest.err'
53269   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53270   (eval $ac_try) 2>&5
53271   ac_status=$?
53272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53273   (exit $ac_status); }; } &&
53274          { ac_try='test -s conftest$ac_exeext'
53275   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53276   (eval $ac_try) 2>&5
53277   ac_status=$?
53278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53279   (exit $ac_status); }; }; then
53280   eval "$as_ac_var=yes"
53281 else
53282   echo "$as_me: failed program was:" >&5
53283 sed 's/^/| /' conftest.$ac_ext >&5
53284
53285 eval "$as_ac_var=no"
53286 fi
53287 rm -f conftest.err conftest.$ac_objext \
53288       conftest$ac_exeext conftest.$ac_ext
53289 fi
53290 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53291 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53292 if test `eval echo '${'$as_ac_var'}'` = yes; then
53293   cat >>confdefs.h <<_ACEOF
53294 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53295 _ACEOF
53296
53297 else
53298   ac_wfuncs=no
53299 fi
53300 done
53301
53302
53303     # Checks for wide character functions that are not required
53304     # for basic wchar_t support.  Don't disable support if they are missing.
53305     # Injection of these is wrapped with guard macros.
53306
53307
53308
53309
53310
53311 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
53312 do
53313 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53314 echo "$as_me:$LINENO: checking for $ac_func" >&5
53315 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53316 if eval "test \"\${$as_ac_var+set}\" = set"; then
53317   echo $ECHO_N "(cached) $ECHO_C" >&6
53318 else
53319   if test x$gcc_no_link = xyes; then
53320   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53321 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53322    { (exit 1); exit 1; }; }
53323 fi
53324 cat >conftest.$ac_ext <<_ACEOF
53325 /* confdefs.h.  */
53326 _ACEOF
53327 cat confdefs.h >>conftest.$ac_ext
53328 cat >>conftest.$ac_ext <<_ACEOF
53329 /* end confdefs.h.  */
53330 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53331    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53332 #define $ac_func innocuous_$ac_func
53333
53334 /* System header to define __stub macros and hopefully few prototypes,
53335     which can conflict with char $ac_func (); below.
53336     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53337     <limits.h> exists even on freestanding compilers.  */
53338
53339 #ifdef __STDC__
53340 # include <limits.h>
53341 #else
53342 # include <assert.h>
53343 #endif
53344
53345 #undef $ac_func
53346
53347 /* Override any gcc2 internal prototype to avoid an error.  */
53348 #ifdef __cplusplus
53349 extern "C"
53350 {
53351 #endif
53352 /* We use char because int might match the return type of a gcc2
53353    builtin and then its argument prototype would still apply.  */
53354 char $ac_func ();
53355 /* The GNU C library defines this for functions which it implements
53356     to always fail with ENOSYS.  Some functions are actually named
53357     something starting with __ and the normal name is an alias.  */
53358 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53359 choke me
53360 #else
53361 char (*f) () = $ac_func;
53362 #endif
53363 #ifdef __cplusplus
53364 }
53365 #endif
53366
53367 int
53368 main ()
53369 {
53370 return f != $ac_func;
53371   ;
53372   return 0;
53373 }
53374 _ACEOF
53375 rm -f conftest.$ac_objext conftest$ac_exeext
53376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53377   (eval $ac_link) 2>conftest.er1
53378   ac_status=$?
53379   grep -v '^ *+' conftest.er1 >conftest.err
53380   rm -f conftest.er1
53381   cat conftest.err >&5
53382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53383   (exit $ac_status); } &&
53384          { ac_try='test -z "$ac_c_werror_flag"
53385                          || test ! -s conftest.err'
53386   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53387   (eval $ac_try) 2>&5
53388   ac_status=$?
53389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53390   (exit $ac_status); }; } &&
53391          { ac_try='test -s conftest$ac_exeext'
53392   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53393   (eval $ac_try) 2>&5
53394   ac_status=$?
53395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53396   (exit $ac_status); }; }; then
53397   eval "$as_ac_var=yes"
53398 else
53399   echo "$as_me: failed program was:" >&5
53400 sed 's/^/| /' conftest.$ac_ext >&5
53401
53402 eval "$as_ac_var=no"
53403 fi
53404 rm -f conftest.err conftest.$ac_objext \
53405       conftest$ac_exeext conftest.$ac_ext
53406 fi
53407 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53408 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53409 if test `eval echo '${'$as_ac_var'}'` = yes; then
53410   cat >>confdefs.h <<_ACEOF
53411 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53412 _ACEOF
53413
53414 fi
53415 done
53416
53417
53418     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
53419 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
53420     if test x"$has_weof" = xyes &&
53421        test x"$has_wchar_minmax" = xyes &&
53422        test x"$ac_wfuncs" = xyes;
53423     then
53424       ac_isoC99_wchar_t=yes
53425     else
53426       ac_isoC99_wchar_t=no
53427     fi
53428     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
53429 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
53430
53431     # Use iconv for wchar_t to char conversions. As such, check for
53432     # X/Open Portability Guide, version 2 features (XPG2).
53433     if test "${ac_cv_header_iconv_h+set}" = set; then
53434   echo "$as_me:$LINENO: checking for iconv.h" >&5
53435 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
53436 if test "${ac_cv_header_iconv_h+set}" = set; then
53437   echo $ECHO_N "(cached) $ECHO_C" >&6
53438 fi
53439 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
53440 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
53441 else
53442   # Is the header compilable?
53443 echo "$as_me:$LINENO: checking iconv.h usability" >&5
53444 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
53445 cat >conftest.$ac_ext <<_ACEOF
53446 /* confdefs.h.  */
53447 _ACEOF
53448 cat confdefs.h >>conftest.$ac_ext
53449 cat >>conftest.$ac_ext <<_ACEOF
53450 /* end confdefs.h.  */
53451 $ac_includes_default
53452 #include <iconv.h>
53453 _ACEOF
53454 rm -f conftest.$ac_objext
53455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53456   (eval $ac_compile) 2>conftest.er1
53457   ac_status=$?
53458   grep -v '^ *+' conftest.er1 >conftest.err
53459   rm -f conftest.er1
53460   cat conftest.err >&5
53461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53462   (exit $ac_status); } &&
53463          { ac_try='test -z "$ac_c_werror_flag"
53464                          || test ! -s conftest.err'
53465   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53466   (eval $ac_try) 2>&5
53467   ac_status=$?
53468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53469   (exit $ac_status); }; } &&
53470          { ac_try='test -s conftest.$ac_objext'
53471   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53472   (eval $ac_try) 2>&5
53473   ac_status=$?
53474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53475   (exit $ac_status); }; }; then
53476   ac_header_compiler=yes
53477 else
53478   echo "$as_me: failed program was:" >&5
53479 sed 's/^/| /' conftest.$ac_ext >&5
53480
53481 ac_header_compiler=no
53482 fi
53483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53484 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53485 echo "${ECHO_T}$ac_header_compiler" >&6
53486
53487 # Is the header present?
53488 echo "$as_me:$LINENO: checking iconv.h presence" >&5
53489 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
53490 cat >conftest.$ac_ext <<_ACEOF
53491 /* confdefs.h.  */
53492 _ACEOF
53493 cat confdefs.h >>conftest.$ac_ext
53494 cat >>conftest.$ac_ext <<_ACEOF
53495 /* end confdefs.h.  */
53496 #include <iconv.h>
53497 _ACEOF
53498 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53499   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53500   ac_status=$?
53501   grep -v '^ *+' conftest.er1 >conftest.err
53502   rm -f conftest.er1
53503   cat conftest.err >&5
53504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53505   (exit $ac_status); } >/dev/null; then
53506   if test -s conftest.err; then
53507     ac_cpp_err=$ac_c_preproc_warn_flag
53508     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
53509   else
53510     ac_cpp_err=
53511   fi
53512 else
53513   ac_cpp_err=yes
53514 fi
53515 if test -z "$ac_cpp_err"; then
53516   ac_header_preproc=yes
53517 else
53518   echo "$as_me: failed program was:" >&5
53519 sed 's/^/| /' conftest.$ac_ext >&5
53520
53521   ac_header_preproc=no
53522 fi
53523 rm -f conftest.err conftest.$ac_ext
53524 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53525 echo "${ECHO_T}$ac_header_preproc" >&6
53526
53527 # So?  What about this header?
53528 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
53529   yes:no: )
53530     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
53531 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
53532     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
53533 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
53534     ac_header_preproc=yes
53535     ;;
53536   no:yes:* )
53537     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
53538 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
53539     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
53540 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
53541     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
53542 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
53543     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
53544 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
53545     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
53546 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
53547     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
53548 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
53549     (
53550       cat <<\_ASBOX
53551 ## ----------------------------------------- ##
53552 ## Report this to the package-unused lists.  ##
53553 ## ----------------------------------------- ##
53554 _ASBOX
53555     ) |
53556       sed "s/^/$as_me: WARNING:     /" >&2
53557     ;;
53558 esac
53559 echo "$as_me:$LINENO: checking for iconv.h" >&5
53560 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
53561 if test "${ac_cv_header_iconv_h+set}" = set; then
53562   echo $ECHO_N "(cached) $ECHO_C" >&6
53563 else
53564   ac_cv_header_iconv_h=$ac_header_preproc
53565 fi
53566 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
53567 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
53568
53569 fi
53570 if test $ac_cv_header_iconv_h = yes; then
53571   ac_has_iconv_h=yes
53572 else
53573   ac_has_iconv_h=no
53574 fi
53575
53576
53577     if test "${ac_cv_header_langinfo_h+set}" = set; then
53578   echo "$as_me:$LINENO: checking for langinfo.h" >&5
53579 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
53580 if test "${ac_cv_header_langinfo_h+set}" = set; then
53581   echo $ECHO_N "(cached) $ECHO_C" >&6
53582 fi
53583 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
53584 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
53585 else
53586   # Is the header compilable?
53587 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
53588 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
53589 cat >conftest.$ac_ext <<_ACEOF
53590 /* confdefs.h.  */
53591 _ACEOF
53592 cat confdefs.h >>conftest.$ac_ext
53593 cat >>conftest.$ac_ext <<_ACEOF
53594 /* end confdefs.h.  */
53595 $ac_includes_default
53596 #include <langinfo.h>
53597 _ACEOF
53598 rm -f conftest.$ac_objext
53599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53600   (eval $ac_compile) 2>conftest.er1
53601   ac_status=$?
53602   grep -v '^ *+' conftest.er1 >conftest.err
53603   rm -f conftest.er1
53604   cat conftest.err >&5
53605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53606   (exit $ac_status); } &&
53607          { ac_try='test -z "$ac_c_werror_flag"
53608                          || test ! -s conftest.err'
53609   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53610   (eval $ac_try) 2>&5
53611   ac_status=$?
53612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53613   (exit $ac_status); }; } &&
53614          { ac_try='test -s conftest.$ac_objext'
53615   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53616   (eval $ac_try) 2>&5
53617   ac_status=$?
53618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53619   (exit $ac_status); }; }; then
53620   ac_header_compiler=yes
53621 else
53622   echo "$as_me: failed program was:" >&5
53623 sed 's/^/| /' conftest.$ac_ext >&5
53624
53625 ac_header_compiler=no
53626 fi
53627 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53628 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53629 echo "${ECHO_T}$ac_header_compiler" >&6
53630
53631 # Is the header present?
53632 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
53633 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
53634 cat >conftest.$ac_ext <<_ACEOF
53635 /* confdefs.h.  */
53636 _ACEOF
53637 cat confdefs.h >>conftest.$ac_ext
53638 cat >>conftest.$ac_ext <<_ACEOF
53639 /* end confdefs.h.  */
53640 #include <langinfo.h>
53641 _ACEOF
53642 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53643   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53644   ac_status=$?
53645   grep -v '^ *+' conftest.er1 >conftest.err
53646   rm -f conftest.er1
53647   cat conftest.err >&5
53648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53649   (exit $ac_status); } >/dev/null; then
53650   if test -s conftest.err; then
53651     ac_cpp_err=$ac_c_preproc_warn_flag
53652     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
53653   else
53654     ac_cpp_err=
53655   fi
53656 else
53657   ac_cpp_err=yes
53658 fi
53659 if test -z "$ac_cpp_err"; then
53660   ac_header_preproc=yes
53661 else
53662   echo "$as_me: failed program was:" >&5
53663 sed 's/^/| /' conftest.$ac_ext >&5
53664
53665   ac_header_preproc=no
53666 fi
53667 rm -f conftest.err conftest.$ac_ext
53668 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53669 echo "${ECHO_T}$ac_header_preproc" >&6
53670
53671 # So?  What about this header?
53672 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
53673   yes:no: )
53674     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
53675 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
53676     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
53677 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
53678     ac_header_preproc=yes
53679     ;;
53680   no:yes:* )
53681     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
53682 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
53683     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
53684 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
53685     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
53686 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
53687     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
53688 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
53689     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
53690 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
53691     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
53692 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
53693     (
53694       cat <<\_ASBOX
53695 ## ----------------------------------------- ##
53696 ## Report this to the package-unused lists.  ##
53697 ## ----------------------------------------- ##
53698 _ASBOX
53699     ) |
53700       sed "s/^/$as_me: WARNING:     /" >&2
53701     ;;
53702 esac
53703 echo "$as_me:$LINENO: checking for langinfo.h" >&5
53704 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
53705 if test "${ac_cv_header_langinfo_h+set}" = set; then
53706   echo $ECHO_N "(cached) $ECHO_C" >&6
53707 else
53708   ac_cv_header_langinfo_h=$ac_header_preproc
53709 fi
53710 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
53711 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
53712
53713 fi
53714 if test $ac_cv_header_langinfo_h = yes; then
53715   ac_has_langinfo_h=yes
53716 else
53717   ac_has_langinfo_h=no
53718 fi
53719
53720
53721
53722     # Check for existence of libiconv.a providing XPG2 wchar_t support.
53723     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
53724 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
53725 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
53726   echo $ECHO_N "(cached) $ECHO_C" >&6
53727 else
53728   ac_check_lib_save_LIBS=$LIBS
53729 LIBS="-liconv  $LIBS"
53730 if test x$gcc_no_link = xyes; then
53731   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53732 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53733    { (exit 1); exit 1; }; }
53734 fi
53735 cat >conftest.$ac_ext <<_ACEOF
53736 /* confdefs.h.  */
53737 _ACEOF
53738 cat confdefs.h >>conftest.$ac_ext
53739 cat >>conftest.$ac_ext <<_ACEOF
53740 /* end confdefs.h.  */
53741
53742 /* Override any gcc2 internal prototype to avoid an error.  */
53743 #ifdef __cplusplus
53744 extern "C"
53745 #endif
53746 /* We use char because int might match the return type of a gcc2
53747    builtin and then its argument prototype would still apply.  */
53748 char iconv ();
53749 int
53750 main ()
53751 {
53752 iconv ();
53753   ;
53754   return 0;
53755 }
53756 _ACEOF
53757 rm -f conftest.$ac_objext conftest$ac_exeext
53758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53759   (eval $ac_link) 2>conftest.er1
53760   ac_status=$?
53761   grep -v '^ *+' conftest.er1 >conftest.err
53762   rm -f conftest.er1
53763   cat conftest.err >&5
53764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53765   (exit $ac_status); } &&
53766          { ac_try='test -z "$ac_c_werror_flag"
53767                          || test ! -s conftest.err'
53768   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53769   (eval $ac_try) 2>&5
53770   ac_status=$?
53771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53772   (exit $ac_status); }; } &&
53773          { ac_try='test -s conftest$ac_exeext'
53774   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53775   (eval $ac_try) 2>&5
53776   ac_status=$?
53777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53778   (exit $ac_status); }; }; then
53779   ac_cv_lib_iconv_iconv=yes
53780 else
53781   echo "$as_me: failed program was:" >&5
53782 sed 's/^/| /' conftest.$ac_ext >&5
53783
53784 ac_cv_lib_iconv_iconv=no
53785 fi
53786 rm -f conftest.err conftest.$ac_objext \
53787       conftest$ac_exeext conftest.$ac_ext
53788 LIBS=$ac_check_lib_save_LIBS
53789 fi
53790 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
53791 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
53792 if test $ac_cv_lib_iconv_iconv = yes; then
53793   LIBICONV="-liconv"
53794 fi
53795
53796     ac_save_LIBS="$LIBS"
53797     LIBS="$LIBS $LIBICONV"
53798
53799
53800
53801
53802
53803
53804 for ac_func in iconv_open iconv_close iconv nl_langinfo
53805 do
53806 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53807 echo "$as_me:$LINENO: checking for $ac_func" >&5
53808 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53809 if eval "test \"\${$as_ac_var+set}\" = set"; then
53810   echo $ECHO_N "(cached) $ECHO_C" >&6
53811 else
53812   if test x$gcc_no_link = xyes; then
53813   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53814 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53815    { (exit 1); exit 1; }; }
53816 fi
53817 cat >conftest.$ac_ext <<_ACEOF
53818 /* confdefs.h.  */
53819 _ACEOF
53820 cat confdefs.h >>conftest.$ac_ext
53821 cat >>conftest.$ac_ext <<_ACEOF
53822 /* end confdefs.h.  */
53823 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53824    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
53825 #define $ac_func innocuous_$ac_func
53826
53827 /* System header to define __stub macros and hopefully few prototypes,
53828     which can conflict with char $ac_func (); below.
53829     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53830     <limits.h> exists even on freestanding compilers.  */
53831
53832 #ifdef __STDC__
53833 # include <limits.h>
53834 #else
53835 # include <assert.h>
53836 #endif
53837
53838 #undef $ac_func
53839
53840 /* Override any gcc2 internal prototype to avoid an error.  */
53841 #ifdef __cplusplus
53842 extern "C"
53843 {
53844 #endif
53845 /* We use char because int might match the return type of a gcc2
53846    builtin and then its argument prototype would still apply.  */
53847 char $ac_func ();
53848 /* The GNU C library defines this for functions which it implements
53849     to always fail with ENOSYS.  Some functions are actually named
53850     something starting with __ and the normal name is an alias.  */
53851 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53852 choke me
53853 #else
53854 char (*f) () = $ac_func;
53855 #endif
53856 #ifdef __cplusplus
53857 }
53858 #endif
53859
53860 int
53861 main ()
53862 {
53863 return f != $ac_func;
53864   ;
53865   return 0;
53866 }
53867 _ACEOF
53868 rm -f conftest.$ac_objext conftest$ac_exeext
53869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53870   (eval $ac_link) 2>conftest.er1
53871   ac_status=$?
53872   grep -v '^ *+' conftest.er1 >conftest.err
53873   rm -f conftest.er1
53874   cat conftest.err >&5
53875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53876   (exit $ac_status); } &&
53877          { ac_try='test -z "$ac_c_werror_flag"
53878                          || test ! -s conftest.err'
53879   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53880   (eval $ac_try) 2>&5
53881   ac_status=$?
53882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53883   (exit $ac_status); }; } &&
53884          { ac_try='test -s conftest$ac_exeext'
53885   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53886   (eval $ac_try) 2>&5
53887   ac_status=$?
53888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53889   (exit $ac_status); }; }; then
53890   eval "$as_ac_var=yes"
53891 else
53892   echo "$as_me: failed program was:" >&5
53893 sed 's/^/| /' conftest.$ac_ext >&5
53894
53895 eval "$as_ac_var=no"
53896 fi
53897 rm -f conftest.err conftest.$ac_objext \
53898       conftest$ac_exeext conftest.$ac_ext
53899 fi
53900 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53901 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53902 if test `eval echo '${'$as_ac_var'}'` = yes; then
53903   cat >>confdefs.h <<_ACEOF
53904 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53905 _ACEOF
53906  ac_XPG2funcs=yes
53907 else
53908   ac_XPG2funcs=no
53909 fi
53910 done
53911
53912
53913     LIBS="$ac_save_LIBS"
53914
53915     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
53916 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
53917     if test x"$ac_has_iconv_h" = xyes &&
53918        test x"$ac_has_langinfo_h" = xyes &&
53919        test x"$ac_XPG2funcs" = xyes;
53920     then
53921       ac_XPG2_wchar_t=yes
53922     else
53923       ac_XPG2_wchar_t=no
53924     fi
53925     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
53926 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
53927
53928     # At the moment, only enable wchar_t specializations if all the
53929     # above support is present.
53930     if test x"$ac_isoC99_wchar_t" = xyes &&
53931        test x"$ac_XPG2_wchar_t" = xyes;
53932     then
53933       cat >>confdefs.h <<\_ACEOF
53934 #define _GLIBCXX_USE_WCHAR_T 1
53935 _ACEOF
53936
53937       enable_wchar_t=yes
53938     fi
53939   fi
53940   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
53941 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
53942   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
53943 echo "${ECHO_T}$enable_wchar_t" >&6
53944
53945
53946   ac_test_CXXFLAGS="${CXXFLAGS+set}"
53947   ac_save_CXXFLAGS="$CXXFLAGS"
53948   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
53949
53950
53951   echo "$as_me:$LINENO: checking for strtold declaration" >&5
53952 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
53953   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
53954     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
53955   echo $ECHO_N "(cached) $ECHO_C" >&6
53956 else
53957
53958
53959
53960       ac_ext=cc
53961 ac_cpp='$CXXCPP $CPPFLAGS'
53962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53965
53966       cat >conftest.$ac_ext <<_ACEOF
53967 /* confdefs.h.  */
53968 _ACEOF
53969 cat confdefs.h >>conftest.$ac_ext
53970 cat >>conftest.$ac_ext <<_ACEOF
53971 /* end confdefs.h.  */
53972 #include <stdlib.h>
53973 int
53974 main ()
53975 {
53976  strtold(0, 0);
53977   ;
53978   return 0;
53979 }
53980 _ACEOF
53981 rm -f conftest.$ac_objext
53982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53983   (eval $ac_compile) 2>conftest.er1
53984   ac_status=$?
53985   grep -v '^ *+' conftest.er1 >conftest.err
53986   rm -f conftest.er1
53987   cat conftest.err >&5
53988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53989   (exit $ac_status); } &&
53990          { ac_try='test -z "$ac_cxx_werror_flag"
53991                          || test ! -s conftest.err'
53992   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53993   (eval $ac_try) 2>&5
53994   ac_status=$?
53995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
53996   (exit $ac_status); }; } &&
53997          { ac_try='test -s conftest.$ac_objext'
53998   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53999   (eval $ac_try) 2>&5
54000   ac_status=$?
54001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54002   (exit $ac_status); }; }; then
54003   glibcxx_cv_func_strtold_use=yes
54004 else
54005   echo "$as_me: failed program was:" >&5
54006 sed 's/^/| /' conftest.$ac_ext >&5
54007
54008 glibcxx_cv_func_strtold_use=no
54009 fi
54010 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54011       ac_ext=c
54012 ac_cpp='$CPP $CPPFLAGS'
54013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54016
54017
54018 fi
54019
54020   fi
54021   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
54022 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
54023   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
54024
54025 for ac_func in strtold
54026 do
54027 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54028 echo "$as_me:$LINENO: checking for $ac_func" >&5
54029 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54030 if eval "test \"\${$as_ac_var+set}\" = set"; then
54031   echo $ECHO_N "(cached) $ECHO_C" >&6
54032 else
54033   if test x$gcc_no_link = xyes; then
54034   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54035 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54036    { (exit 1); exit 1; }; }
54037 fi
54038 cat >conftest.$ac_ext <<_ACEOF
54039 /* confdefs.h.  */
54040 _ACEOF
54041 cat confdefs.h >>conftest.$ac_ext
54042 cat >>conftest.$ac_ext <<_ACEOF
54043 /* end confdefs.h.  */
54044 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54045    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54046 #define $ac_func innocuous_$ac_func
54047
54048 /* System header to define __stub macros and hopefully few prototypes,
54049     which can conflict with char $ac_func (); below.
54050     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54051     <limits.h> exists even on freestanding compilers.  */
54052
54053 #ifdef __STDC__
54054 # include <limits.h>
54055 #else
54056 # include <assert.h>
54057 #endif
54058
54059 #undef $ac_func
54060
54061 /* Override any gcc2 internal prototype to avoid an error.  */
54062 #ifdef __cplusplus
54063 extern "C"
54064 {
54065 #endif
54066 /* We use char because int might match the return type of a gcc2
54067    builtin and then its argument prototype would still apply.  */
54068 char $ac_func ();
54069 /* The GNU C library defines this for functions which it implements
54070     to always fail with ENOSYS.  Some functions are actually named
54071     something starting with __ and the normal name is an alias.  */
54072 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54073 choke me
54074 #else
54075 char (*f) () = $ac_func;
54076 #endif
54077 #ifdef __cplusplus
54078 }
54079 #endif
54080
54081 int
54082 main ()
54083 {
54084 return f != $ac_func;
54085   ;
54086   return 0;
54087 }
54088 _ACEOF
54089 rm -f conftest.$ac_objext conftest$ac_exeext
54090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54091   (eval $ac_link) 2>conftest.er1
54092   ac_status=$?
54093   grep -v '^ *+' conftest.er1 >conftest.err
54094   rm -f conftest.er1
54095   cat conftest.err >&5
54096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54097   (exit $ac_status); } &&
54098          { ac_try='test -z "$ac_c_werror_flag"
54099                          || test ! -s conftest.err'
54100   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54101   (eval $ac_try) 2>&5
54102   ac_status=$?
54103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54104   (exit $ac_status); }; } &&
54105          { ac_try='test -s conftest$ac_exeext'
54106   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54107   (eval $ac_try) 2>&5
54108   ac_status=$?
54109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54110   (exit $ac_status); }; }; then
54111   eval "$as_ac_var=yes"
54112 else
54113   echo "$as_me: failed program was:" >&5
54114 sed 's/^/| /' conftest.$ac_ext >&5
54115
54116 eval "$as_ac_var=no"
54117 fi
54118 rm -f conftest.err conftest.$ac_objext \
54119       conftest$ac_exeext conftest.$ac_ext
54120 fi
54121 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54122 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54123 if test `eval echo '${'$as_ac_var'}'` = yes; then
54124   cat >>confdefs.h <<_ACEOF
54125 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54126 _ACEOF
54127
54128 fi
54129 done
54130
54131   fi
54132
54133
54134   echo "$as_me:$LINENO: checking for strtof declaration" >&5
54135 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
54136   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
54137     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
54138   echo $ECHO_N "(cached) $ECHO_C" >&6
54139 else
54140
54141
54142
54143       ac_ext=cc
54144 ac_cpp='$CXXCPP $CPPFLAGS'
54145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54148
54149       cat >conftest.$ac_ext <<_ACEOF
54150 /* confdefs.h.  */
54151 _ACEOF
54152 cat confdefs.h >>conftest.$ac_ext
54153 cat >>conftest.$ac_ext <<_ACEOF
54154 /* end confdefs.h.  */
54155 #include <stdlib.h>
54156 int
54157 main ()
54158 {
54159  strtof(0, 0);
54160   ;
54161   return 0;
54162 }
54163 _ACEOF
54164 rm -f conftest.$ac_objext
54165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54166   (eval $ac_compile) 2>conftest.er1
54167   ac_status=$?
54168   grep -v '^ *+' conftest.er1 >conftest.err
54169   rm -f conftest.er1
54170   cat conftest.err >&5
54171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54172   (exit $ac_status); } &&
54173          { ac_try='test -z "$ac_cxx_werror_flag"
54174                          || test ! -s conftest.err'
54175   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54176   (eval $ac_try) 2>&5
54177   ac_status=$?
54178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54179   (exit $ac_status); }; } &&
54180          { ac_try='test -s conftest.$ac_objext'
54181   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54182   (eval $ac_try) 2>&5
54183   ac_status=$?
54184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54185   (exit $ac_status); }; }; then
54186   glibcxx_cv_func_strtof_use=yes
54187 else
54188   echo "$as_me: failed program was:" >&5
54189 sed 's/^/| /' conftest.$ac_ext >&5
54190
54191 glibcxx_cv_func_strtof_use=no
54192 fi
54193 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54194       ac_ext=c
54195 ac_cpp='$CPP $CPPFLAGS'
54196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54199
54200
54201 fi
54202
54203   fi
54204   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
54205 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
54206   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
54207
54208 for ac_func in strtof
54209 do
54210 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54211 echo "$as_me:$LINENO: checking for $ac_func" >&5
54212 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54213 if eval "test \"\${$as_ac_var+set}\" = set"; then
54214   echo $ECHO_N "(cached) $ECHO_C" >&6
54215 else
54216   if test x$gcc_no_link = xyes; then
54217   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54218 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54219    { (exit 1); exit 1; }; }
54220 fi
54221 cat >conftest.$ac_ext <<_ACEOF
54222 /* confdefs.h.  */
54223 _ACEOF
54224 cat confdefs.h >>conftest.$ac_ext
54225 cat >>conftest.$ac_ext <<_ACEOF
54226 /* end confdefs.h.  */
54227 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54228    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
54229 #define $ac_func innocuous_$ac_func
54230
54231 /* System header to define __stub macros and hopefully few prototypes,
54232     which can conflict with char $ac_func (); below.
54233     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54234     <limits.h> exists even on freestanding compilers.  */
54235
54236 #ifdef __STDC__
54237 # include <limits.h>
54238 #else
54239 # include <assert.h>
54240 #endif
54241
54242 #undef $ac_func
54243
54244 /* Override any gcc2 internal prototype to avoid an error.  */
54245 #ifdef __cplusplus
54246 extern "C"
54247 {
54248 #endif
54249 /* We use char because int might match the return type of a gcc2
54250    builtin and then its argument prototype would still apply.  */
54251 char $ac_func ();
54252 /* The GNU C library defines this for functions which it implements
54253     to always fail with ENOSYS.  Some functions are actually named
54254     something starting with __ and the normal name is an alias.  */
54255 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54256 choke me
54257 #else
54258 char (*f) () = $ac_func;
54259 #endif
54260 #ifdef __cplusplus
54261 }
54262 #endif
54263
54264 int
54265 main ()
54266 {
54267 return f != $ac_func;
54268   ;
54269   return 0;
54270 }
54271 _ACEOF
54272 rm -f conftest.$ac_objext conftest$ac_exeext
54273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54274   (eval $ac_link) 2>conftest.er1
54275   ac_status=$?
54276   grep -v '^ *+' conftest.er1 >conftest.err
54277   rm -f conftest.er1
54278   cat conftest.err >&5
54279   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54280   (exit $ac_status); } &&
54281          { ac_try='test -z "$ac_c_werror_flag"
54282                          || test ! -s conftest.err'
54283   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54284   (eval $ac_try) 2>&5
54285   ac_status=$?
54286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54287   (exit $ac_status); }; } &&
54288          { ac_try='test -s conftest$ac_exeext'
54289   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54290   (eval $ac_try) 2>&5
54291   ac_status=$?
54292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54293   (exit $ac_status); }; }; then
54294   eval "$as_ac_var=yes"
54295 else
54296   echo "$as_me: failed program was:" >&5
54297 sed 's/^/| /' conftest.$ac_ext >&5
54298
54299 eval "$as_ac_var=no"
54300 fi
54301 rm -f conftest.err conftest.$ac_objext \
54302       conftest$ac_exeext conftest.$ac_ext
54303 fi
54304 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54305 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54306 if test `eval echo '${'$as_ac_var'}'` = yes; then
54307   cat >>confdefs.h <<_ACEOF
54308 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54309 _ACEOF
54310
54311 fi
54312 done
54313
54314   fi
54315
54316
54317   CXXFLAGS="$ac_save_CXXFLAGS"
54318
54319
54320     # For showmanyc_helper().
54321
54322
54323 for ac_header in sys/ioctl.h sys/filio.h
54324 do
54325 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
54326 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54327   echo "$as_me:$LINENO: checking for $ac_header" >&5
54328 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
54329 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54330   echo $ECHO_N "(cached) $ECHO_C" >&6
54331 fi
54332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
54333 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
54334 else
54335   # Is the header compilable?
54336 echo "$as_me:$LINENO: checking $ac_header usability" >&5
54337 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
54338 cat >conftest.$ac_ext <<_ACEOF
54339 /* confdefs.h.  */
54340 _ACEOF
54341 cat confdefs.h >>conftest.$ac_ext
54342 cat >>conftest.$ac_ext <<_ACEOF
54343 /* end confdefs.h.  */
54344 $ac_includes_default
54345 #include <$ac_header>
54346 _ACEOF
54347 rm -f conftest.$ac_objext
54348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54349   (eval $ac_compile) 2>conftest.er1
54350   ac_status=$?
54351   grep -v '^ *+' conftest.er1 >conftest.err
54352   rm -f conftest.er1
54353   cat conftest.err >&5
54354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54355   (exit $ac_status); } &&
54356          { ac_try='test -z "$ac_c_werror_flag"
54357                          || test ! -s conftest.err'
54358   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54359   (eval $ac_try) 2>&5
54360   ac_status=$?
54361   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54362   (exit $ac_status); }; } &&
54363          { ac_try='test -s conftest.$ac_objext'
54364   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54365   (eval $ac_try) 2>&5
54366   ac_status=$?
54367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54368   (exit $ac_status); }; }; then
54369   ac_header_compiler=yes
54370 else
54371   echo "$as_me: failed program was:" >&5
54372 sed 's/^/| /' conftest.$ac_ext >&5
54373
54374 ac_header_compiler=no
54375 fi
54376 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54377 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
54378 echo "${ECHO_T}$ac_header_compiler" >&6
54379
54380 # Is the header present?
54381 echo "$as_me:$LINENO: checking $ac_header presence" >&5
54382 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
54383 cat >conftest.$ac_ext <<_ACEOF
54384 /* confdefs.h.  */
54385 _ACEOF
54386 cat confdefs.h >>conftest.$ac_ext
54387 cat >>conftest.$ac_ext <<_ACEOF
54388 /* end confdefs.h.  */
54389 #include <$ac_header>
54390 _ACEOF
54391 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
54392   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
54393   ac_status=$?
54394   grep -v '^ *+' conftest.er1 >conftest.err
54395   rm -f conftest.er1
54396   cat conftest.err >&5
54397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54398   (exit $ac_status); } >/dev/null; then
54399   if test -s conftest.err; then
54400     ac_cpp_err=$ac_c_preproc_warn_flag
54401     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
54402   else
54403     ac_cpp_err=
54404   fi
54405 else
54406   ac_cpp_err=yes
54407 fi
54408 if test -z "$ac_cpp_err"; then
54409   ac_header_preproc=yes
54410 else
54411   echo "$as_me: failed program was:" >&5
54412 sed 's/^/| /' conftest.$ac_ext >&5
54413
54414   ac_header_preproc=no
54415 fi
54416 rm -f conftest.err conftest.$ac_ext
54417 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
54418 echo "${ECHO_T}$ac_header_preproc" >&6
54419
54420 # So?  What about this header?
54421 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
54422   yes:no: )
54423     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
54424 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
54425     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
54426 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
54427     ac_header_preproc=yes
54428     ;;
54429   no:yes:* )
54430     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
54431 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
54432     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
54433 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
54434     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
54435 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
54436     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
54437 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
54438     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
54439 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
54440     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
54441 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
54442     (
54443       cat <<\_ASBOX
54444 ## ----------------------------------------- ##
54445 ## Report this to the package-unused lists.  ##
54446 ## ----------------------------------------- ##
54447 _ASBOX
54448     ) |
54449       sed "s/^/$as_me: WARNING:     /" >&2
54450     ;;
54451 esac
54452 echo "$as_me:$LINENO: checking for $ac_header" >&5
54453 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
54454 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54455   echo $ECHO_N "(cached) $ECHO_C" >&6
54456 else
54457   eval "$as_ac_Header=\$ac_header_preproc"
54458 fi
54459 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
54460 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
54461
54462 fi
54463 if test `eval echo '${'$as_ac_Header'}'` = yes; then
54464   cat >>confdefs.h <<_ACEOF
54465 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
54466 _ACEOF
54467
54468 fi
54469
54470 done
54471
54472
54473   if test "${glibcxx_cv_POLL+set}" = set; then
54474   echo $ECHO_N "(cached) $ECHO_C" >&6
54475 else
54476
54477     if test x$gcc_no_link = xyes; then
54478   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54479 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54480    { (exit 1); exit 1; }; }
54481 fi
54482 cat >conftest.$ac_ext <<_ACEOF
54483 /* confdefs.h.  */
54484 _ACEOF
54485 cat confdefs.h >>conftest.$ac_ext
54486 cat >>conftest.$ac_ext <<_ACEOF
54487 /* end confdefs.h.  */
54488 #include <poll.h>
54489 int
54490 main ()
54491 {
54492 struct pollfd pfd[1];
54493        pfd[0].events = POLLIN;
54494        poll(pfd, 1, 0);
54495   ;
54496   return 0;
54497 }
54498 _ACEOF
54499 rm -f conftest.$ac_objext conftest$ac_exeext
54500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54501   (eval $ac_link) 2>conftest.er1
54502   ac_status=$?
54503   grep -v '^ *+' conftest.er1 >conftest.err
54504   rm -f conftest.er1
54505   cat conftest.err >&5
54506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54507   (exit $ac_status); } &&
54508          { ac_try='test -z "$ac_c_werror_flag"
54509                          || test ! -s conftest.err'
54510   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54511   (eval $ac_try) 2>&5
54512   ac_status=$?
54513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54514   (exit $ac_status); }; } &&
54515          { ac_try='test -s conftest$ac_exeext'
54516   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54517   (eval $ac_try) 2>&5
54518   ac_status=$?
54519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54520   (exit $ac_status); }; }; then
54521   glibcxx_cv_POLL=yes
54522 else
54523   echo "$as_me: failed program was:" >&5
54524 sed 's/^/| /' conftest.$ac_ext >&5
54525
54526 glibcxx_cv_POLL=no
54527 fi
54528 rm -f conftest.err conftest.$ac_objext \
54529       conftest$ac_exeext conftest.$ac_ext
54530
54531 fi
54532
54533   if test $glibcxx_cv_POLL = yes; then
54534     cat >>confdefs.h <<\_ACEOF
54535 #define HAVE_POLL 1
54536 _ACEOF
54537
54538   fi
54539
54540
54541   if test "${glibcxx_cv_S_ISREG+set}" = set; then
54542   echo $ECHO_N "(cached) $ECHO_C" >&6
54543 else
54544
54545     if test x$gcc_no_link = xyes; then
54546   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54547 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54548    { (exit 1); exit 1; }; }
54549 fi
54550 cat >conftest.$ac_ext <<_ACEOF
54551 /* confdefs.h.  */
54552 _ACEOF
54553 cat confdefs.h >>conftest.$ac_ext
54554 cat >>conftest.$ac_ext <<_ACEOF
54555 /* end confdefs.h.  */
54556 #include <sys/stat.h>
54557 int
54558 main ()
54559 {
54560 struct stat buffer;
54561        fstat(0, &buffer);
54562        S_ISREG(buffer.st_mode);
54563   ;
54564   return 0;
54565 }
54566 _ACEOF
54567 rm -f conftest.$ac_objext conftest$ac_exeext
54568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54569   (eval $ac_link) 2>conftest.er1
54570   ac_status=$?
54571   grep -v '^ *+' conftest.er1 >conftest.err
54572   rm -f conftest.er1
54573   cat conftest.err >&5
54574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54575   (exit $ac_status); } &&
54576          { ac_try='test -z "$ac_c_werror_flag"
54577                          || test ! -s conftest.err'
54578   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54579   (eval $ac_try) 2>&5
54580   ac_status=$?
54581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54582   (exit $ac_status); }; } &&
54583          { ac_try='test -s conftest$ac_exeext'
54584   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54585   (eval $ac_try) 2>&5
54586   ac_status=$?
54587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54588   (exit $ac_status); }; }; then
54589   glibcxx_cv_S_ISREG=yes
54590 else
54591   echo "$as_me: failed program was:" >&5
54592 sed 's/^/| /' conftest.$ac_ext >&5
54593
54594 glibcxx_cv_S_ISREG=no
54595 fi
54596 rm -f conftest.err conftest.$ac_objext \
54597       conftest$ac_exeext conftest.$ac_ext
54598
54599 fi
54600
54601   if test "${glibcxx_cv_S_IFREG+set}" = set; then
54602   echo $ECHO_N "(cached) $ECHO_C" >&6
54603 else
54604
54605     if test x$gcc_no_link = xyes; then
54606   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54607 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54608    { (exit 1); exit 1; }; }
54609 fi
54610 cat >conftest.$ac_ext <<_ACEOF
54611 /* confdefs.h.  */
54612 _ACEOF
54613 cat confdefs.h >>conftest.$ac_ext
54614 cat >>conftest.$ac_ext <<_ACEOF
54615 /* end confdefs.h.  */
54616 #include <sys/stat.h>
54617 int
54618 main ()
54619 {
54620 struct stat buffer;
54621        fstat(0, &buffer);
54622        S_IFREG & buffer.st_mode;
54623   ;
54624   return 0;
54625 }
54626 _ACEOF
54627 rm -f conftest.$ac_objext conftest$ac_exeext
54628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54629   (eval $ac_link) 2>conftest.er1
54630   ac_status=$?
54631   grep -v '^ *+' conftest.er1 >conftest.err
54632   rm -f conftest.er1
54633   cat conftest.err >&5
54634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54635   (exit $ac_status); } &&
54636          { ac_try='test -z "$ac_c_werror_flag"
54637                          || test ! -s conftest.err'
54638   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54639   (eval $ac_try) 2>&5
54640   ac_status=$?
54641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54642   (exit $ac_status); }; } &&
54643          { ac_try='test -s conftest$ac_exeext'
54644   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54645   (eval $ac_try) 2>&5
54646   ac_status=$?
54647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54648   (exit $ac_status); }; }; then
54649   glibcxx_cv_S_IFREG=yes
54650 else
54651   echo "$as_me: failed program was:" >&5
54652 sed 's/^/| /' conftest.$ac_ext >&5
54653
54654 glibcxx_cv_S_IFREG=no
54655 fi
54656 rm -f conftest.err conftest.$ac_objext \
54657       conftest$ac_exeext conftest.$ac_ext
54658
54659 fi
54660
54661   if test $glibcxx_cv_S_ISREG = yes; then
54662     cat >>confdefs.h <<\_ACEOF
54663 #define HAVE_S_ISREG 1
54664 _ACEOF
54665
54666   elif test $glibcxx_cv_S_IFREG = yes; then
54667     cat >>confdefs.h <<\_ACEOF
54668 #define HAVE_S_IFREG 1
54669 _ACEOF
54670
54671   fi
54672
54673
54674     # For xsputn_2().
54675
54676 for ac_header in sys/uio.h
54677 do
54678 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
54679 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54680   echo "$as_me:$LINENO: checking for $ac_header" >&5
54681 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
54682 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54683   echo $ECHO_N "(cached) $ECHO_C" >&6
54684 fi
54685 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
54686 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
54687 else
54688   # Is the header compilable?
54689 echo "$as_me:$LINENO: checking $ac_header usability" >&5
54690 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
54691 cat >conftest.$ac_ext <<_ACEOF
54692 /* confdefs.h.  */
54693 _ACEOF
54694 cat confdefs.h >>conftest.$ac_ext
54695 cat >>conftest.$ac_ext <<_ACEOF
54696 /* end confdefs.h.  */
54697 $ac_includes_default
54698 #include <$ac_header>
54699 _ACEOF
54700 rm -f conftest.$ac_objext
54701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54702   (eval $ac_compile) 2>conftest.er1
54703   ac_status=$?
54704   grep -v '^ *+' conftest.er1 >conftest.err
54705   rm -f conftest.er1
54706   cat conftest.err >&5
54707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54708   (exit $ac_status); } &&
54709          { ac_try='test -z "$ac_c_werror_flag"
54710                          || test ! -s conftest.err'
54711   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54712   (eval $ac_try) 2>&5
54713   ac_status=$?
54714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54715   (exit $ac_status); }; } &&
54716          { ac_try='test -s conftest.$ac_objext'
54717   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54718   (eval $ac_try) 2>&5
54719   ac_status=$?
54720   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54721   (exit $ac_status); }; }; then
54722   ac_header_compiler=yes
54723 else
54724   echo "$as_me: failed program was:" >&5
54725 sed 's/^/| /' conftest.$ac_ext >&5
54726
54727 ac_header_compiler=no
54728 fi
54729 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54730 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
54731 echo "${ECHO_T}$ac_header_compiler" >&6
54732
54733 # Is the header present?
54734 echo "$as_me:$LINENO: checking $ac_header presence" >&5
54735 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
54736 cat >conftest.$ac_ext <<_ACEOF
54737 /* confdefs.h.  */
54738 _ACEOF
54739 cat confdefs.h >>conftest.$ac_ext
54740 cat >>conftest.$ac_ext <<_ACEOF
54741 /* end confdefs.h.  */
54742 #include <$ac_header>
54743 _ACEOF
54744 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
54745   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
54746   ac_status=$?
54747   grep -v '^ *+' conftest.er1 >conftest.err
54748   rm -f conftest.er1
54749   cat conftest.err >&5
54750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54751   (exit $ac_status); } >/dev/null; then
54752   if test -s conftest.err; then
54753     ac_cpp_err=$ac_c_preproc_warn_flag
54754     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
54755   else
54756     ac_cpp_err=
54757   fi
54758 else
54759   ac_cpp_err=yes
54760 fi
54761 if test -z "$ac_cpp_err"; then
54762   ac_header_preproc=yes
54763 else
54764   echo "$as_me: failed program was:" >&5
54765 sed 's/^/| /' conftest.$ac_ext >&5
54766
54767   ac_header_preproc=no
54768 fi
54769 rm -f conftest.err conftest.$ac_ext
54770 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
54771 echo "${ECHO_T}$ac_header_preproc" >&6
54772
54773 # So?  What about this header?
54774 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
54775   yes:no: )
54776     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
54777 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
54778     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
54779 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
54780     ac_header_preproc=yes
54781     ;;
54782   no:yes:* )
54783     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
54784 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
54785     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
54786 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
54787     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
54788 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
54789     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
54790 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
54791     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
54792 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
54793     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
54794 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
54795     (
54796       cat <<\_ASBOX
54797 ## ----------------------------------------- ##
54798 ## Report this to the package-unused lists.  ##
54799 ## ----------------------------------------- ##
54800 _ASBOX
54801     ) |
54802       sed "s/^/$as_me: WARNING:     /" >&2
54803     ;;
54804 esac
54805 echo "$as_me:$LINENO: checking for $ac_header" >&5
54806 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
54807 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54808   echo $ECHO_N "(cached) $ECHO_C" >&6
54809 else
54810   eval "$as_ac_Header=\$ac_header_preproc"
54811 fi
54812 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
54813 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
54814
54815 fi
54816 if test `eval echo '${'$as_ac_Header'}'` = yes; then
54817   cat >>confdefs.h <<_ACEOF
54818 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
54819 _ACEOF
54820
54821 fi
54822
54823 done
54824
54825
54826   if test "${glibcxx_cv_WRITEV+set}" = set; then
54827   echo $ECHO_N "(cached) $ECHO_C" >&6
54828 else
54829
54830     if test x$gcc_no_link = xyes; then
54831   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54832 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54833    { (exit 1); exit 1; }; }
54834 fi
54835 cat >conftest.$ac_ext <<_ACEOF
54836 /* confdefs.h.  */
54837 _ACEOF
54838 cat confdefs.h >>conftest.$ac_ext
54839 cat >>conftest.$ac_ext <<_ACEOF
54840 /* end confdefs.h.  */
54841 #include <sys/uio.h>
54842 int
54843 main ()
54844 {
54845 struct iovec iov[2];
54846        writev(0, iov, 0);
54847   ;
54848   return 0;
54849 }
54850 _ACEOF
54851 rm -f conftest.$ac_objext conftest$ac_exeext
54852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54853   (eval $ac_link) 2>conftest.er1
54854   ac_status=$?
54855   grep -v '^ *+' conftest.er1 >conftest.err
54856   rm -f conftest.er1
54857   cat conftest.err >&5
54858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54859   (exit $ac_status); } &&
54860          { ac_try='test -z "$ac_c_werror_flag"
54861                          || test ! -s conftest.err'
54862   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54863   (eval $ac_try) 2>&5
54864   ac_status=$?
54865   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54866   (exit $ac_status); }; } &&
54867          { ac_try='test -s conftest$ac_exeext'
54868   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54869   (eval $ac_try) 2>&5
54870   ac_status=$?
54871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54872   (exit $ac_status); }; }; then
54873   glibcxx_cv_WRITEV=yes
54874 else
54875   echo "$as_me: failed program was:" >&5
54876 sed 's/^/| /' conftest.$ac_ext >&5
54877
54878 glibcxx_cv_WRITEV=no
54879 fi
54880 rm -f conftest.err conftest.$ac_objext \
54881       conftest$ac_exeext conftest.$ac_ext
54882
54883 fi
54884
54885   if test $glibcxx_cv_WRITEV = yes; then
54886     cat >>confdefs.h <<\_ACEOF
54887 #define HAVE_WRITEV 1
54888 _ACEOF
54889
54890   fi
54891
54892
54893     cat >>confdefs.h <<\_ACEOF
54894 #define HAVE_LC_MESSAGES 1
54895 _ACEOF
54896
54897
54898     cat >conftest.$ac_ext <<_ACEOF
54899 /* confdefs.h.  */
54900 _ACEOF
54901 cat confdefs.h >>conftest.$ac_ext
54902 cat >>conftest.$ac_ext <<_ACEOF
54903 /* end confdefs.h.  */
54904 #include <setjmp.h>
54905 int
54906 main ()
54907 {
54908 sigjmp_buf env;
54909        while (! sigsetjmp (env, 1))
54910          siglongjmp (env, 1);
54911
54912   ;
54913   return 0;
54914 }
54915 _ACEOF
54916 rm -f conftest.$ac_objext
54917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54918   (eval $ac_compile) 2>conftest.er1
54919   ac_status=$?
54920   grep -v '^ *+' conftest.er1 >conftest.err
54921   rm -f conftest.er1
54922   cat conftest.err >&5
54923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54924   (exit $ac_status); } &&
54925          { ac_try='test -z "$ac_c_werror_flag"
54926                          || test ! -s conftest.err'
54927   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54928   (eval $ac_try) 2>&5
54929   ac_status=$?
54930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54931   (exit $ac_status); }; } &&
54932          { ac_try='test -s conftest.$ac_objext'
54933   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54934   (eval $ac_try) 2>&5
54935   ac_status=$?
54936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
54937   (exit $ac_status); }; }; then
54938
54939 cat >>confdefs.h <<\_ACEOF
54940 #define HAVE_SIGSETJMP 1
54941 _ACEOF
54942
54943 else
54944   echo "$as_me: failed program was:" >&5
54945 sed 's/^/| /' conftest.$ac_ext >&5
54946
54947 fi
54948 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54949
54950     cat >>confdefs.h <<\_ACEOF
54951 #define HAVE_MMAP 1
54952 _ACEOF
54953
54954     ;;
54955
54956   *djgpp)
54957
54958
54959
54960
54961
54962
54963
54964
54965
54966
54967
54968
54969
54970
54971
54972
54973
54974
54975
54976
54977 for ac_header in float.h ieeefp.h inttypes.h locale.h \
54978       memory.h stdint.h stdlib.h strings.h string.h unistd.h \
54979       wchar.h wctype.h machine/endian.h sys/ioctl.h sys/param.h \
54980       sys/resource.h sys/stat.h sys/time.h sys/types.h sys/uio.h
54981 do
54982 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
54983 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54984   echo "$as_me:$LINENO: checking for $ac_header" >&5
54985 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
54986 if eval "test \"\${$as_ac_Header+set}\" = set"; then
54987   echo $ECHO_N "(cached) $ECHO_C" >&6
54988 fi
54989 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
54990 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
54991 else
54992   # Is the header compilable?
54993 echo "$as_me:$LINENO: checking $ac_header usability" >&5
54994 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
54995 cat >conftest.$ac_ext <<_ACEOF
54996 /* confdefs.h.  */
54997 _ACEOF
54998 cat confdefs.h >>conftest.$ac_ext
54999 cat >>conftest.$ac_ext <<_ACEOF
55000 /* end confdefs.h.  */
55001 $ac_includes_default
55002 #include <$ac_header>
55003 _ACEOF
55004 rm -f conftest.$ac_objext
55005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55006   (eval $ac_compile) 2>conftest.er1
55007   ac_status=$?
55008   grep -v '^ *+' conftest.er1 >conftest.err
55009   rm -f conftest.er1
55010   cat conftest.err >&5
55011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55012   (exit $ac_status); } &&
55013          { ac_try='test -z "$ac_c_werror_flag"
55014                          || test ! -s conftest.err'
55015   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55016   (eval $ac_try) 2>&5
55017   ac_status=$?
55018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55019   (exit $ac_status); }; } &&
55020          { ac_try='test -s conftest.$ac_objext'
55021   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55022   (eval $ac_try) 2>&5
55023   ac_status=$?
55024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55025   (exit $ac_status); }; }; then
55026   ac_header_compiler=yes
55027 else
55028   echo "$as_me: failed program was:" >&5
55029 sed 's/^/| /' conftest.$ac_ext >&5
55030
55031 ac_header_compiler=no
55032 fi
55033 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55034 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
55035 echo "${ECHO_T}$ac_header_compiler" >&6
55036
55037 # Is the header present?
55038 echo "$as_me:$LINENO: checking $ac_header presence" >&5
55039 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
55040 cat >conftest.$ac_ext <<_ACEOF
55041 /* confdefs.h.  */
55042 _ACEOF
55043 cat confdefs.h >>conftest.$ac_ext
55044 cat >>conftest.$ac_ext <<_ACEOF
55045 /* end confdefs.h.  */
55046 #include <$ac_header>
55047 _ACEOF
55048 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
55049   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
55050   ac_status=$?
55051   grep -v '^ *+' conftest.er1 >conftest.err
55052   rm -f conftest.er1
55053   cat conftest.err >&5
55054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55055   (exit $ac_status); } >/dev/null; then
55056   if test -s conftest.err; then
55057     ac_cpp_err=$ac_c_preproc_warn_flag
55058     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
55059   else
55060     ac_cpp_err=
55061   fi
55062 else
55063   ac_cpp_err=yes
55064 fi
55065 if test -z "$ac_cpp_err"; then
55066   ac_header_preproc=yes
55067 else
55068   echo "$as_me: failed program was:" >&5
55069 sed 's/^/| /' conftest.$ac_ext >&5
55070
55071   ac_header_preproc=no
55072 fi
55073 rm -f conftest.err conftest.$ac_ext
55074 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
55075 echo "${ECHO_T}$ac_header_preproc" >&6
55076
55077 # So?  What about this header?
55078 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
55079   yes:no: )
55080     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
55081 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
55082     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
55083 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
55084     ac_header_preproc=yes
55085     ;;
55086   no:yes:* )
55087     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
55088 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
55089     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
55090 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
55091     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
55092 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
55093     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
55094 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
55095     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
55096 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
55097     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
55098 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
55099     (
55100       cat <<\_ASBOX
55101 ## ----------------------------------------- ##
55102 ## Report this to the package-unused lists.  ##
55103 ## ----------------------------------------- ##
55104 _ASBOX
55105     ) |
55106       sed "s/^/$as_me: WARNING:     /" >&2
55107     ;;
55108 esac
55109 echo "$as_me:$LINENO: checking for $ac_header" >&5
55110 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
55111 if eval "test \"\${$as_ac_Header+set}\" = set"; then
55112   echo $ECHO_N "(cached) $ECHO_C" >&6
55113 else
55114   eval "$as_ac_Header=\$ac_header_preproc"
55115 fi
55116 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
55117 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
55118
55119 fi
55120 if test `eval echo '${'$as_ac_Header'}'` = yes; then
55121   cat >>confdefs.h <<_ACEOF
55122 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
55123 _ACEOF
55124
55125 fi
55126
55127 done
55128
55129
55130   # All these tests are for C++; save the language and the compiler flags.
55131   # The CXXFLAGS thing is suspicious, but based on similar bits previously
55132   # found in GLIBCXX_CONFIGURE.
55133
55134
55135   ac_ext=cc
55136 ac_cpp='$CXXCPP $CPPFLAGS'
55137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55140
55141   ac_test_CXXFLAGS="${CXXFLAGS+set}"
55142   ac_save_CXXFLAGS="$CXXFLAGS"
55143
55144   # Check for maintainer-mode bits.
55145   if test x"$USE_MAINTAINER_MODE" = xno; then
55146     WERROR=''
55147   else
55148     WERROR='-Werror'
55149   fi
55150
55151   # Check for -ffunction-sections -fdata-sections
55152   echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
55153 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
55154   CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
55155   cat >conftest.$ac_ext <<_ACEOF
55156 /* confdefs.h.  */
55157 _ACEOF
55158 cat confdefs.h >>conftest.$ac_ext
55159 cat >>conftest.$ac_ext <<_ACEOF
55160 /* end confdefs.h.  */
55161
55162 int
55163 main ()
55164 {
55165 int foo;
55166   ;
55167   return 0;
55168 }
55169 _ACEOF
55170 rm -f conftest.$ac_objext
55171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55172   (eval $ac_compile) 2>conftest.er1
55173   ac_status=$?
55174   grep -v '^ *+' conftest.er1 >conftest.err
55175   rm -f conftest.er1
55176   cat conftest.err >&5
55177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55178   (exit $ac_status); } &&
55179          { ac_try='test -z "$ac_cxx_werror_flag"
55180                          || test ! -s conftest.err'
55181   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55182   (eval $ac_try) 2>&5
55183   ac_status=$?
55184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55185   (exit $ac_status); }; } &&
55186          { ac_try='test -s conftest.$ac_objext'
55187   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55188   (eval $ac_try) 2>&5
55189   ac_status=$?
55190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55191   (exit $ac_status); }; }; then
55192   ac_fdsections=yes
55193 else
55194   echo "$as_me: failed program was:" >&5
55195 sed 's/^/| /' conftest.$ac_ext >&5
55196
55197 ac_fdsections=no
55198 fi
55199 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55200   if test "$ac_test_CXXFLAGS" = set; then
55201     CXXFLAGS="$ac_save_CXXFLAGS"
55202   else
55203     # this is the suspicious part
55204     CXXFLAGS=''
55205   fi
55206   if test x"$ac_fdsections" = x"yes"; then
55207     SECTION_FLAGS='-ffunction-sections -fdata-sections'
55208   fi
55209   echo "$as_me:$LINENO: result: $ac_fdsections" >&5
55210 echo "${ECHO_T}$ac_fdsections" >&6
55211
55212   ac_ext=c
55213 ac_cpp='$CPP $CPPFLAGS'
55214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55217
55218
55219
55220
55221
55222   # If we're not using GNU ld, then there's no point in even trying these
55223   # tests.  Check for that first.  We should have already tested for gld
55224   # by now (in libtool), but require it now just to be safe...
55225   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
55226   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
55227
55228
55229
55230   # The name set by libtool depends on the version of libtool.  Shame on us
55231   # for depending on an impl detail, but c'est la vie.  Older versions used
55232   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
55233   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
55234   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
55235   # set (hence we're using an older libtool), then set it.
55236   if test x${with_gnu_ld+set} != xset; then
55237     if test x${ac_cv_prog_gnu_ld+set} != xset; then
55238       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
55239       with_gnu_ld=no
55240     else
55241       with_gnu_ld=$ac_cv_prog_gnu_ld
55242     fi
55243   fi
55244
55245   # Start by getting the version number.  I think the libtool test already
55246   # does some of this, but throws away the result.
55247
55248   ldver=`$LD --version 2>/dev/null | head -1 | \
55249          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
55250
55251   glibcxx_gnu_ld_version=`echo $ldver | \
55252          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
55253
55254   # Set --gc-sections.
55255   if test "$with_gnu_ld" = "notbroken"; then
55256     # GNU ld it is!  Joy and bunny rabbits!
55257
55258     # All these tests are for C++; save the language and the compiler flags.
55259     # Need to do this so that g++ won't try to link in libstdc++
55260     ac_test_CFLAGS="${CFLAGS+set}"
55261     ac_save_CFLAGS="$CFLAGS"
55262     CFLAGS='-x c++  -Wl,--gc-sections'
55263
55264     # Check for -Wl,--gc-sections
55265     # XXX This test is broken at the moment, as symbols required for linking
55266     # are now in libsupc++ (not built yet).  In addition, this test has
55267     # cored on solaris in the past.  In addition, --gc-sections doesn't
55268     # really work at the moment (keeps on discarding used sections, first
55269     # .eh_frame and now some of the glibc sections for iconv).
55270     # Bzzzzt.  Thanks for playing, maybe next time.
55271     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
55272 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
55273     if test "$cross_compiling" = yes; then
55274   ac_sectionLDflags=yes
55275 else
55276   cat >conftest.$ac_ext <<_ACEOF
55277 /* confdefs.h.  */
55278 _ACEOF
55279 cat confdefs.h >>conftest.$ac_ext
55280 cat >>conftest.$ac_ext <<_ACEOF
55281 /* end confdefs.h.  */
55282
55283      int main(void)
55284      {
55285        try { throw 1; }
55286        catch (...) { };
55287        return 0;
55288      }
55289
55290 _ACEOF
55291 rm -f conftest$ac_exeext
55292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55293   (eval $ac_link) 2>&5
55294   ac_status=$?
55295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55296   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
55297   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55298   (eval $ac_try) 2>&5
55299   ac_status=$?
55300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55301   (exit $ac_status); }; }; then
55302   ac_sectionLDflags=yes
55303 else
55304   echo "$as_me: program exited with status $ac_status" >&5
55305 echo "$as_me: failed program was:" >&5
55306 sed 's/^/| /' conftest.$ac_ext >&5
55307
55308 ( exit $ac_status )
55309 ac_sectionLDflags=no
55310 fi
55311 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
55312 fi
55313     if test "$ac_test_CFLAGS" = set; then
55314       CFLAGS="$ac_save_CFLAGS"
55315     else
55316       # this is the suspicious part
55317       CFLAGS=''
55318     fi
55319     if test "$ac_sectionLDflags" = "yes"; then
55320       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
55321     fi
55322     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
55323 echo "${ECHO_T}$ac_sectionLDflags" >&6
55324   fi
55325
55326   # Set linker optimization flags.
55327   if test x"$with_gnu_ld" = x"yes"; then
55328     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
55329   fi
55330
55331
55332
55333
55334
55335   ac_test_CXXFLAGS="${CXXFLAGS+set}"
55336   ac_save_CXXFLAGS="$CXXFLAGS"
55337   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
55338
55339     echo "$as_me:$LINENO: checking for sin in -lm" >&5
55340 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
55341 if test "${ac_cv_lib_m_sin+set}" = set; then
55342   echo $ECHO_N "(cached) $ECHO_C" >&6
55343 else
55344   ac_check_lib_save_LIBS=$LIBS
55345 LIBS="-lm  $LIBS"
55346 if test x$gcc_no_link = xyes; then
55347   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55348 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55349    { (exit 1); exit 1; }; }
55350 fi
55351 cat >conftest.$ac_ext <<_ACEOF
55352 /* confdefs.h.  */
55353 _ACEOF
55354 cat confdefs.h >>conftest.$ac_ext
55355 cat >>conftest.$ac_ext <<_ACEOF
55356 /* end confdefs.h.  */
55357
55358 /* Override any gcc2 internal prototype to avoid an error.  */
55359 #ifdef __cplusplus
55360 extern "C"
55361 #endif
55362 /* We use char because int might match the return type of a gcc2
55363    builtin and then its argument prototype would still apply.  */
55364 char sin ();
55365 int
55366 main ()
55367 {
55368 sin ();
55369   ;
55370   return 0;
55371 }
55372 _ACEOF
55373 rm -f conftest.$ac_objext conftest$ac_exeext
55374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55375   (eval $ac_link) 2>conftest.er1
55376   ac_status=$?
55377   grep -v '^ *+' conftest.er1 >conftest.err
55378   rm -f conftest.er1
55379   cat conftest.err >&5
55380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55381   (exit $ac_status); } &&
55382          { ac_try='test -z "$ac_c_werror_flag"
55383                          || test ! -s conftest.err'
55384   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55385   (eval $ac_try) 2>&5
55386   ac_status=$?
55387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55388   (exit $ac_status); }; } &&
55389          { ac_try='test -s conftest$ac_exeext'
55390   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55391   (eval $ac_try) 2>&5
55392   ac_status=$?
55393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55394   (exit $ac_status); }; }; then
55395   ac_cv_lib_m_sin=yes
55396 else
55397   echo "$as_me: failed program was:" >&5
55398 sed 's/^/| /' conftest.$ac_ext >&5
55399
55400 ac_cv_lib_m_sin=no
55401 fi
55402 rm -f conftest.err conftest.$ac_objext \
55403       conftest$ac_exeext conftest.$ac_ext
55404 LIBS=$ac_check_lib_save_LIBS
55405 fi
55406 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
55407 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
55408 if test $ac_cv_lib_m_sin = yes; then
55409   libm="-lm"
55410 fi
55411
55412   ac_save_LIBS="$LIBS"
55413   LIBS="$LIBS $libm"
55414
55415
55416
55417   echo "$as_me:$LINENO: checking for isinf declaration" >&5
55418 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
55419   if test x${glibcxx_cv_func_isinf_use+set} != xset; then
55420     if test "${glibcxx_cv_func_isinf_use+set}" = set; then
55421   echo $ECHO_N "(cached) $ECHO_C" >&6
55422 else
55423
55424
55425
55426       ac_ext=cc
55427 ac_cpp='$CXXCPP $CPPFLAGS'
55428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55431
55432       cat >conftest.$ac_ext <<_ACEOF
55433 /* confdefs.h.  */
55434 _ACEOF
55435 cat confdefs.h >>conftest.$ac_ext
55436 cat >>conftest.$ac_ext <<_ACEOF
55437 /* end confdefs.h.  */
55438 #include <math.h>
55439                       #ifdef HAVE_IEEEFP_H
55440                       #include <ieeefp.h>
55441                       #endif
55442
55443 int
55444 main ()
55445 {
55446  isinf(0);
55447   ;
55448   return 0;
55449 }
55450 _ACEOF
55451 rm -f conftest.$ac_objext
55452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55453   (eval $ac_compile) 2>conftest.er1
55454   ac_status=$?
55455   grep -v '^ *+' conftest.er1 >conftest.err
55456   rm -f conftest.er1
55457   cat conftest.err >&5
55458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55459   (exit $ac_status); } &&
55460          { ac_try='test -z "$ac_cxx_werror_flag"
55461                          || test ! -s conftest.err'
55462   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55463   (eval $ac_try) 2>&5
55464   ac_status=$?
55465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55466   (exit $ac_status); }; } &&
55467          { ac_try='test -s conftest.$ac_objext'
55468   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55469   (eval $ac_try) 2>&5
55470   ac_status=$?
55471   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55472   (exit $ac_status); }; }; then
55473   glibcxx_cv_func_isinf_use=yes
55474 else
55475   echo "$as_me: failed program was:" >&5
55476 sed 's/^/| /' conftest.$ac_ext >&5
55477
55478 glibcxx_cv_func_isinf_use=no
55479 fi
55480 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55481       ac_ext=c
55482 ac_cpp='$CPP $CPPFLAGS'
55483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55486
55487
55488 fi
55489
55490   fi
55491   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
55492 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
55493
55494   if test x$glibcxx_cv_func_isinf_use = x"yes"; then
55495
55496 for ac_func in isinf
55497 do
55498 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55499 echo "$as_me:$LINENO: checking for $ac_func" >&5
55500 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55501 if eval "test \"\${$as_ac_var+set}\" = set"; then
55502   echo $ECHO_N "(cached) $ECHO_C" >&6
55503 else
55504   if test x$gcc_no_link = xyes; then
55505   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55506 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55507    { (exit 1); exit 1; }; }
55508 fi
55509 cat >conftest.$ac_ext <<_ACEOF
55510 /* confdefs.h.  */
55511 _ACEOF
55512 cat confdefs.h >>conftest.$ac_ext
55513 cat >>conftest.$ac_ext <<_ACEOF
55514 /* end confdefs.h.  */
55515 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55516    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55517 #define $ac_func innocuous_$ac_func
55518
55519 /* System header to define __stub macros and hopefully few prototypes,
55520     which can conflict with char $ac_func (); below.
55521     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55522     <limits.h> exists even on freestanding compilers.  */
55523
55524 #ifdef __STDC__
55525 # include <limits.h>
55526 #else
55527 # include <assert.h>
55528 #endif
55529
55530 #undef $ac_func
55531
55532 /* Override any gcc2 internal prototype to avoid an error.  */
55533 #ifdef __cplusplus
55534 extern "C"
55535 {
55536 #endif
55537 /* We use char because int might match the return type of a gcc2
55538    builtin and then its argument prototype would still apply.  */
55539 char $ac_func ();
55540 /* The GNU C library defines this for functions which it implements
55541     to always fail with ENOSYS.  Some functions are actually named
55542     something starting with __ and the normal name is an alias.  */
55543 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55544 choke me
55545 #else
55546 char (*f) () = $ac_func;
55547 #endif
55548 #ifdef __cplusplus
55549 }
55550 #endif
55551
55552 int
55553 main ()
55554 {
55555 return f != $ac_func;
55556   ;
55557   return 0;
55558 }
55559 _ACEOF
55560 rm -f conftest.$ac_objext conftest$ac_exeext
55561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55562   (eval $ac_link) 2>conftest.er1
55563   ac_status=$?
55564   grep -v '^ *+' conftest.er1 >conftest.err
55565   rm -f conftest.er1
55566   cat conftest.err >&5
55567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55568   (exit $ac_status); } &&
55569          { ac_try='test -z "$ac_c_werror_flag"
55570                          || test ! -s conftest.err'
55571   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55572   (eval $ac_try) 2>&5
55573   ac_status=$?
55574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55575   (exit $ac_status); }; } &&
55576          { ac_try='test -s conftest$ac_exeext'
55577   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55578   (eval $ac_try) 2>&5
55579   ac_status=$?
55580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55581   (exit $ac_status); }; }; then
55582   eval "$as_ac_var=yes"
55583 else
55584   echo "$as_me: failed program was:" >&5
55585 sed 's/^/| /' conftest.$ac_ext >&5
55586
55587 eval "$as_ac_var=no"
55588 fi
55589 rm -f conftest.err conftest.$ac_objext \
55590       conftest$ac_exeext conftest.$ac_ext
55591 fi
55592 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55593 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55594 if test `eval echo '${'$as_ac_var'}'` = yes; then
55595   cat >>confdefs.h <<_ACEOF
55596 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55597 _ACEOF
55598
55599 fi
55600 done
55601
55602   else
55603
55604   echo "$as_me:$LINENO: checking for _isinf declaration" >&5
55605 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
55606   if test x${glibcxx_cv_func__isinf_use+set} != xset; then
55607     if test "${glibcxx_cv_func__isinf_use+set}" = set; then
55608   echo $ECHO_N "(cached) $ECHO_C" >&6
55609 else
55610
55611
55612
55613       ac_ext=cc
55614 ac_cpp='$CXXCPP $CPPFLAGS'
55615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55618
55619       cat >conftest.$ac_ext <<_ACEOF
55620 /* confdefs.h.  */
55621 _ACEOF
55622 cat confdefs.h >>conftest.$ac_ext
55623 cat >>conftest.$ac_ext <<_ACEOF
55624 /* end confdefs.h.  */
55625 #include <math.h>
55626                       #ifdef HAVE_IEEEFP_H
55627                       #include <ieeefp.h>
55628                       #endif
55629
55630 int
55631 main ()
55632 {
55633  _isinf(0);
55634   ;
55635   return 0;
55636 }
55637 _ACEOF
55638 rm -f conftest.$ac_objext
55639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55640   (eval $ac_compile) 2>conftest.er1
55641   ac_status=$?
55642   grep -v '^ *+' conftest.er1 >conftest.err
55643   rm -f conftest.er1
55644   cat conftest.err >&5
55645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55646   (exit $ac_status); } &&
55647          { ac_try='test -z "$ac_cxx_werror_flag"
55648                          || test ! -s conftest.err'
55649   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55650   (eval $ac_try) 2>&5
55651   ac_status=$?
55652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55653   (exit $ac_status); }; } &&
55654          { ac_try='test -s conftest.$ac_objext'
55655   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55656   (eval $ac_try) 2>&5
55657   ac_status=$?
55658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55659   (exit $ac_status); }; }; then
55660   glibcxx_cv_func__isinf_use=yes
55661 else
55662   echo "$as_me: failed program was:" >&5
55663 sed 's/^/| /' conftest.$ac_ext >&5
55664
55665 glibcxx_cv_func__isinf_use=no
55666 fi
55667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55668       ac_ext=c
55669 ac_cpp='$CPP $CPPFLAGS'
55670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55673
55674
55675 fi
55676
55677   fi
55678   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
55679 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
55680
55681     if test x$glibcxx_cv_func__isinf_use = x"yes"; then
55682
55683 for ac_func in _isinf
55684 do
55685 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55686 echo "$as_me:$LINENO: checking for $ac_func" >&5
55687 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55688 if eval "test \"\${$as_ac_var+set}\" = set"; then
55689   echo $ECHO_N "(cached) $ECHO_C" >&6
55690 else
55691   if test x$gcc_no_link = xyes; then
55692   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55693 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55694    { (exit 1); exit 1; }; }
55695 fi
55696 cat >conftest.$ac_ext <<_ACEOF
55697 /* confdefs.h.  */
55698 _ACEOF
55699 cat confdefs.h >>conftest.$ac_ext
55700 cat >>conftest.$ac_ext <<_ACEOF
55701 /* end confdefs.h.  */
55702 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55703    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55704 #define $ac_func innocuous_$ac_func
55705
55706 /* System header to define __stub macros and hopefully few prototypes,
55707     which can conflict with char $ac_func (); below.
55708     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55709     <limits.h> exists even on freestanding compilers.  */
55710
55711 #ifdef __STDC__
55712 # include <limits.h>
55713 #else
55714 # include <assert.h>
55715 #endif
55716
55717 #undef $ac_func
55718
55719 /* Override any gcc2 internal prototype to avoid an error.  */
55720 #ifdef __cplusplus
55721 extern "C"
55722 {
55723 #endif
55724 /* We use char because int might match the return type of a gcc2
55725    builtin and then its argument prototype would still apply.  */
55726 char $ac_func ();
55727 /* The GNU C library defines this for functions which it implements
55728     to always fail with ENOSYS.  Some functions are actually named
55729     something starting with __ and the normal name is an alias.  */
55730 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55731 choke me
55732 #else
55733 char (*f) () = $ac_func;
55734 #endif
55735 #ifdef __cplusplus
55736 }
55737 #endif
55738
55739 int
55740 main ()
55741 {
55742 return f != $ac_func;
55743   ;
55744   return 0;
55745 }
55746 _ACEOF
55747 rm -f conftest.$ac_objext conftest$ac_exeext
55748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55749   (eval $ac_link) 2>conftest.er1
55750   ac_status=$?
55751   grep -v '^ *+' conftest.er1 >conftest.err
55752   rm -f conftest.er1
55753   cat conftest.err >&5
55754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55755   (exit $ac_status); } &&
55756          { ac_try='test -z "$ac_c_werror_flag"
55757                          || test ! -s conftest.err'
55758   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55759   (eval $ac_try) 2>&5
55760   ac_status=$?
55761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55762   (exit $ac_status); }; } &&
55763          { ac_try='test -s conftest$ac_exeext'
55764   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55765   (eval $ac_try) 2>&5
55766   ac_status=$?
55767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55768   (exit $ac_status); }; }; then
55769   eval "$as_ac_var=yes"
55770 else
55771   echo "$as_me: failed program was:" >&5
55772 sed 's/^/| /' conftest.$ac_ext >&5
55773
55774 eval "$as_ac_var=no"
55775 fi
55776 rm -f conftest.err conftest.$ac_objext \
55777       conftest$ac_exeext conftest.$ac_ext
55778 fi
55779 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55780 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55781 if test `eval echo '${'$as_ac_var'}'` = yes; then
55782   cat >>confdefs.h <<_ACEOF
55783 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55784 _ACEOF
55785
55786 fi
55787 done
55788
55789     fi
55790   fi
55791
55792
55793
55794   echo "$as_me:$LINENO: checking for isnan declaration" >&5
55795 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
55796   if test x${glibcxx_cv_func_isnan_use+set} != xset; then
55797     if test "${glibcxx_cv_func_isnan_use+set}" = set; then
55798   echo $ECHO_N "(cached) $ECHO_C" >&6
55799 else
55800
55801
55802
55803       ac_ext=cc
55804 ac_cpp='$CXXCPP $CPPFLAGS'
55805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55808
55809       cat >conftest.$ac_ext <<_ACEOF
55810 /* confdefs.h.  */
55811 _ACEOF
55812 cat confdefs.h >>conftest.$ac_ext
55813 cat >>conftest.$ac_ext <<_ACEOF
55814 /* end confdefs.h.  */
55815 #include <math.h>
55816                       #ifdef HAVE_IEEEFP_H
55817                       #include <ieeefp.h>
55818                       #endif
55819
55820 int
55821 main ()
55822 {
55823  isnan(0);
55824   ;
55825   return 0;
55826 }
55827 _ACEOF
55828 rm -f conftest.$ac_objext
55829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55830   (eval $ac_compile) 2>conftest.er1
55831   ac_status=$?
55832   grep -v '^ *+' conftest.er1 >conftest.err
55833   rm -f conftest.er1
55834   cat conftest.err >&5
55835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55836   (exit $ac_status); } &&
55837          { ac_try='test -z "$ac_cxx_werror_flag"
55838                          || test ! -s conftest.err'
55839   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55840   (eval $ac_try) 2>&5
55841   ac_status=$?
55842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55843   (exit $ac_status); }; } &&
55844          { ac_try='test -s conftest.$ac_objext'
55845   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55846   (eval $ac_try) 2>&5
55847   ac_status=$?
55848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55849   (exit $ac_status); }; }; then
55850   glibcxx_cv_func_isnan_use=yes
55851 else
55852   echo "$as_me: failed program was:" >&5
55853 sed 's/^/| /' conftest.$ac_ext >&5
55854
55855 glibcxx_cv_func_isnan_use=no
55856 fi
55857 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55858       ac_ext=c
55859 ac_cpp='$CPP $CPPFLAGS'
55860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55863
55864
55865 fi
55866
55867   fi
55868   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
55869 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
55870
55871   if test x$glibcxx_cv_func_isnan_use = x"yes"; then
55872
55873 for ac_func in isnan
55874 do
55875 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55876 echo "$as_me:$LINENO: checking for $ac_func" >&5
55877 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55878 if eval "test \"\${$as_ac_var+set}\" = set"; then
55879   echo $ECHO_N "(cached) $ECHO_C" >&6
55880 else
55881   if test x$gcc_no_link = xyes; then
55882   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55883 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55884    { (exit 1); exit 1; }; }
55885 fi
55886 cat >conftest.$ac_ext <<_ACEOF
55887 /* confdefs.h.  */
55888 _ACEOF
55889 cat confdefs.h >>conftest.$ac_ext
55890 cat >>conftest.$ac_ext <<_ACEOF
55891 /* end confdefs.h.  */
55892 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55893    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
55894 #define $ac_func innocuous_$ac_func
55895
55896 /* System header to define __stub macros and hopefully few prototypes,
55897     which can conflict with char $ac_func (); below.
55898     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55899     <limits.h> exists even on freestanding compilers.  */
55900
55901 #ifdef __STDC__
55902 # include <limits.h>
55903 #else
55904 # include <assert.h>
55905 #endif
55906
55907 #undef $ac_func
55908
55909 /* Override any gcc2 internal prototype to avoid an error.  */
55910 #ifdef __cplusplus
55911 extern "C"
55912 {
55913 #endif
55914 /* We use char because int might match the return type of a gcc2
55915    builtin and then its argument prototype would still apply.  */
55916 char $ac_func ();
55917 /* The GNU C library defines this for functions which it implements
55918     to always fail with ENOSYS.  Some functions are actually named
55919     something starting with __ and the normal name is an alias.  */
55920 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55921 choke me
55922 #else
55923 char (*f) () = $ac_func;
55924 #endif
55925 #ifdef __cplusplus
55926 }
55927 #endif
55928
55929 int
55930 main ()
55931 {
55932 return f != $ac_func;
55933   ;
55934   return 0;
55935 }
55936 _ACEOF
55937 rm -f conftest.$ac_objext conftest$ac_exeext
55938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55939   (eval $ac_link) 2>conftest.er1
55940   ac_status=$?
55941   grep -v '^ *+' conftest.er1 >conftest.err
55942   rm -f conftest.er1
55943   cat conftest.err >&5
55944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55945   (exit $ac_status); } &&
55946          { ac_try='test -z "$ac_c_werror_flag"
55947                          || test ! -s conftest.err'
55948   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55949   (eval $ac_try) 2>&5
55950   ac_status=$?
55951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55952   (exit $ac_status); }; } &&
55953          { ac_try='test -s conftest$ac_exeext'
55954   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55955   (eval $ac_try) 2>&5
55956   ac_status=$?
55957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
55958   (exit $ac_status); }; }; then
55959   eval "$as_ac_var=yes"
55960 else
55961   echo "$as_me: failed program was:" >&5
55962 sed 's/^/| /' conftest.$ac_ext >&5
55963
55964 eval "$as_ac_var=no"
55965 fi
55966 rm -f conftest.err conftest.$ac_objext \
55967       conftest$ac_exeext conftest.$ac_ext
55968 fi
55969 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55970 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55971 if test `eval echo '${'$as_ac_var'}'` = yes; then
55972   cat >>confdefs.h <<_ACEOF
55973 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55974 _ACEOF
55975
55976 fi
55977 done
55978
55979   else
55980
55981   echo "$as_me:$LINENO: checking for _isnan declaration" >&5
55982 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
55983   if test x${glibcxx_cv_func__isnan_use+set} != xset; then
55984     if test "${glibcxx_cv_func__isnan_use+set}" = set; then
55985   echo $ECHO_N "(cached) $ECHO_C" >&6
55986 else
55987
55988
55989
55990       ac_ext=cc
55991 ac_cpp='$CXXCPP $CPPFLAGS'
55992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55995
55996       cat >conftest.$ac_ext <<_ACEOF
55997 /* confdefs.h.  */
55998 _ACEOF
55999 cat confdefs.h >>conftest.$ac_ext
56000 cat >>conftest.$ac_ext <<_ACEOF
56001 /* end confdefs.h.  */
56002 #include <math.h>
56003                       #ifdef HAVE_IEEEFP_H
56004                       #include <ieeefp.h>
56005                       #endif
56006
56007 int
56008 main ()
56009 {
56010  _isnan(0);
56011   ;
56012   return 0;
56013 }
56014 _ACEOF
56015 rm -f conftest.$ac_objext
56016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56017   (eval $ac_compile) 2>conftest.er1
56018   ac_status=$?
56019   grep -v '^ *+' conftest.er1 >conftest.err
56020   rm -f conftest.er1
56021   cat conftest.err >&5
56022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56023   (exit $ac_status); } &&
56024          { ac_try='test -z "$ac_cxx_werror_flag"
56025                          || test ! -s conftest.err'
56026   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56027   (eval $ac_try) 2>&5
56028   ac_status=$?
56029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56030   (exit $ac_status); }; } &&
56031          { ac_try='test -s conftest.$ac_objext'
56032   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56033   (eval $ac_try) 2>&5
56034   ac_status=$?
56035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56036   (exit $ac_status); }; }; then
56037   glibcxx_cv_func__isnan_use=yes
56038 else
56039   echo "$as_me: failed program was:" >&5
56040 sed 's/^/| /' conftest.$ac_ext >&5
56041
56042 glibcxx_cv_func__isnan_use=no
56043 fi
56044 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56045       ac_ext=c
56046 ac_cpp='$CPP $CPPFLAGS'
56047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56050
56051
56052 fi
56053
56054   fi
56055   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
56056 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
56057
56058     if test x$glibcxx_cv_func__isnan_use = x"yes"; then
56059
56060 for ac_func in _isnan
56061 do
56062 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56063 echo "$as_me:$LINENO: checking for $ac_func" >&5
56064 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56065 if eval "test \"\${$as_ac_var+set}\" = set"; then
56066   echo $ECHO_N "(cached) $ECHO_C" >&6
56067 else
56068   if test x$gcc_no_link = xyes; then
56069   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56070 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56071    { (exit 1); exit 1; }; }
56072 fi
56073 cat >conftest.$ac_ext <<_ACEOF
56074 /* confdefs.h.  */
56075 _ACEOF
56076 cat confdefs.h >>conftest.$ac_ext
56077 cat >>conftest.$ac_ext <<_ACEOF
56078 /* end confdefs.h.  */
56079 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56080    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56081 #define $ac_func innocuous_$ac_func
56082
56083 /* System header to define __stub macros and hopefully few prototypes,
56084     which can conflict with char $ac_func (); below.
56085     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56086     <limits.h> exists even on freestanding compilers.  */
56087
56088 #ifdef __STDC__
56089 # include <limits.h>
56090 #else
56091 # include <assert.h>
56092 #endif
56093
56094 #undef $ac_func
56095
56096 /* Override any gcc2 internal prototype to avoid an error.  */
56097 #ifdef __cplusplus
56098 extern "C"
56099 {
56100 #endif
56101 /* We use char because int might match the return type of a gcc2
56102    builtin and then its argument prototype would still apply.  */
56103 char $ac_func ();
56104 /* The GNU C library defines this for functions which it implements
56105     to always fail with ENOSYS.  Some functions are actually named
56106     something starting with __ and the normal name is an alias.  */
56107 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56108 choke me
56109 #else
56110 char (*f) () = $ac_func;
56111 #endif
56112 #ifdef __cplusplus
56113 }
56114 #endif
56115
56116 int
56117 main ()
56118 {
56119 return f != $ac_func;
56120   ;
56121   return 0;
56122 }
56123 _ACEOF
56124 rm -f conftest.$ac_objext conftest$ac_exeext
56125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56126   (eval $ac_link) 2>conftest.er1
56127   ac_status=$?
56128   grep -v '^ *+' conftest.er1 >conftest.err
56129   rm -f conftest.er1
56130   cat conftest.err >&5
56131   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56132   (exit $ac_status); } &&
56133          { ac_try='test -z "$ac_c_werror_flag"
56134                          || test ! -s conftest.err'
56135   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56136   (eval $ac_try) 2>&5
56137   ac_status=$?
56138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56139   (exit $ac_status); }; } &&
56140          { ac_try='test -s conftest$ac_exeext'
56141   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56142   (eval $ac_try) 2>&5
56143   ac_status=$?
56144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56145   (exit $ac_status); }; }; then
56146   eval "$as_ac_var=yes"
56147 else
56148   echo "$as_me: failed program was:" >&5
56149 sed 's/^/| /' conftest.$ac_ext >&5
56150
56151 eval "$as_ac_var=no"
56152 fi
56153 rm -f conftest.err conftest.$ac_objext \
56154       conftest$ac_exeext conftest.$ac_ext
56155 fi
56156 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56157 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56158 if test `eval echo '${'$as_ac_var'}'` = yes; then
56159   cat >>confdefs.h <<_ACEOF
56160 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56161 _ACEOF
56162
56163 fi
56164 done
56165
56166     fi
56167   fi
56168
56169
56170
56171   echo "$as_me:$LINENO: checking for finite declaration" >&5
56172 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
56173   if test x${glibcxx_cv_func_finite_use+set} != xset; then
56174     if test "${glibcxx_cv_func_finite_use+set}" = set; then
56175   echo $ECHO_N "(cached) $ECHO_C" >&6
56176 else
56177
56178
56179
56180       ac_ext=cc
56181 ac_cpp='$CXXCPP $CPPFLAGS'
56182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56185
56186       cat >conftest.$ac_ext <<_ACEOF
56187 /* confdefs.h.  */
56188 _ACEOF
56189 cat confdefs.h >>conftest.$ac_ext
56190 cat >>conftest.$ac_ext <<_ACEOF
56191 /* end confdefs.h.  */
56192 #include <math.h>
56193                       #ifdef HAVE_IEEEFP_H
56194                       #include <ieeefp.h>
56195                       #endif
56196
56197 int
56198 main ()
56199 {
56200  finite(0);
56201   ;
56202   return 0;
56203 }
56204 _ACEOF
56205 rm -f conftest.$ac_objext
56206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56207   (eval $ac_compile) 2>conftest.er1
56208   ac_status=$?
56209   grep -v '^ *+' conftest.er1 >conftest.err
56210   rm -f conftest.er1
56211   cat conftest.err >&5
56212   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56213   (exit $ac_status); } &&
56214          { ac_try='test -z "$ac_cxx_werror_flag"
56215                          || test ! -s conftest.err'
56216   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56217   (eval $ac_try) 2>&5
56218   ac_status=$?
56219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56220   (exit $ac_status); }; } &&
56221          { ac_try='test -s conftest.$ac_objext'
56222   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56223   (eval $ac_try) 2>&5
56224   ac_status=$?
56225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56226   (exit $ac_status); }; }; then
56227   glibcxx_cv_func_finite_use=yes
56228 else
56229   echo "$as_me: failed program was:" >&5
56230 sed 's/^/| /' conftest.$ac_ext >&5
56231
56232 glibcxx_cv_func_finite_use=no
56233 fi
56234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56235       ac_ext=c
56236 ac_cpp='$CPP $CPPFLAGS'
56237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56240
56241
56242 fi
56243
56244   fi
56245   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
56246 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
56247
56248   if test x$glibcxx_cv_func_finite_use = x"yes"; then
56249
56250 for ac_func in finite
56251 do
56252 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56253 echo "$as_me:$LINENO: checking for $ac_func" >&5
56254 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56255 if eval "test \"\${$as_ac_var+set}\" = set"; then
56256   echo $ECHO_N "(cached) $ECHO_C" >&6
56257 else
56258   if test x$gcc_no_link = xyes; then
56259   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56260 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56261    { (exit 1); exit 1; }; }
56262 fi
56263 cat >conftest.$ac_ext <<_ACEOF
56264 /* confdefs.h.  */
56265 _ACEOF
56266 cat confdefs.h >>conftest.$ac_ext
56267 cat >>conftest.$ac_ext <<_ACEOF
56268 /* end confdefs.h.  */
56269 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56270    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56271 #define $ac_func innocuous_$ac_func
56272
56273 /* System header to define __stub macros and hopefully few prototypes,
56274     which can conflict with char $ac_func (); below.
56275     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56276     <limits.h> exists even on freestanding compilers.  */
56277
56278 #ifdef __STDC__
56279 # include <limits.h>
56280 #else
56281 # include <assert.h>
56282 #endif
56283
56284 #undef $ac_func
56285
56286 /* Override any gcc2 internal prototype to avoid an error.  */
56287 #ifdef __cplusplus
56288 extern "C"
56289 {
56290 #endif
56291 /* We use char because int might match the return type of a gcc2
56292    builtin and then its argument prototype would still apply.  */
56293 char $ac_func ();
56294 /* The GNU C library defines this for functions which it implements
56295     to always fail with ENOSYS.  Some functions are actually named
56296     something starting with __ and the normal name is an alias.  */
56297 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56298 choke me
56299 #else
56300 char (*f) () = $ac_func;
56301 #endif
56302 #ifdef __cplusplus
56303 }
56304 #endif
56305
56306 int
56307 main ()
56308 {
56309 return f != $ac_func;
56310   ;
56311   return 0;
56312 }
56313 _ACEOF
56314 rm -f conftest.$ac_objext conftest$ac_exeext
56315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56316   (eval $ac_link) 2>conftest.er1
56317   ac_status=$?
56318   grep -v '^ *+' conftest.er1 >conftest.err
56319   rm -f conftest.er1
56320   cat conftest.err >&5
56321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56322   (exit $ac_status); } &&
56323          { ac_try='test -z "$ac_c_werror_flag"
56324                          || test ! -s conftest.err'
56325   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56326   (eval $ac_try) 2>&5
56327   ac_status=$?
56328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56329   (exit $ac_status); }; } &&
56330          { ac_try='test -s conftest$ac_exeext'
56331   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56332   (eval $ac_try) 2>&5
56333   ac_status=$?
56334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56335   (exit $ac_status); }; }; then
56336   eval "$as_ac_var=yes"
56337 else
56338   echo "$as_me: failed program was:" >&5
56339 sed 's/^/| /' conftest.$ac_ext >&5
56340
56341 eval "$as_ac_var=no"
56342 fi
56343 rm -f conftest.err conftest.$ac_objext \
56344       conftest$ac_exeext conftest.$ac_ext
56345 fi
56346 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56347 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56348 if test `eval echo '${'$as_ac_var'}'` = yes; then
56349   cat >>confdefs.h <<_ACEOF
56350 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56351 _ACEOF
56352
56353 fi
56354 done
56355
56356   else
56357
56358   echo "$as_me:$LINENO: checking for _finite declaration" >&5
56359 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
56360   if test x${glibcxx_cv_func__finite_use+set} != xset; then
56361     if test "${glibcxx_cv_func__finite_use+set}" = set; then
56362   echo $ECHO_N "(cached) $ECHO_C" >&6
56363 else
56364
56365
56366
56367       ac_ext=cc
56368 ac_cpp='$CXXCPP $CPPFLAGS'
56369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56372
56373       cat >conftest.$ac_ext <<_ACEOF
56374 /* confdefs.h.  */
56375 _ACEOF
56376 cat confdefs.h >>conftest.$ac_ext
56377 cat >>conftest.$ac_ext <<_ACEOF
56378 /* end confdefs.h.  */
56379 #include <math.h>
56380                       #ifdef HAVE_IEEEFP_H
56381                       #include <ieeefp.h>
56382                       #endif
56383
56384 int
56385 main ()
56386 {
56387  _finite(0);
56388   ;
56389   return 0;
56390 }
56391 _ACEOF
56392 rm -f conftest.$ac_objext
56393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56394   (eval $ac_compile) 2>conftest.er1
56395   ac_status=$?
56396   grep -v '^ *+' conftest.er1 >conftest.err
56397   rm -f conftest.er1
56398   cat conftest.err >&5
56399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56400   (exit $ac_status); } &&
56401          { ac_try='test -z "$ac_cxx_werror_flag"
56402                          || test ! -s conftest.err'
56403   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56404   (eval $ac_try) 2>&5
56405   ac_status=$?
56406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56407   (exit $ac_status); }; } &&
56408          { ac_try='test -s conftest.$ac_objext'
56409   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56410   (eval $ac_try) 2>&5
56411   ac_status=$?
56412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56413   (exit $ac_status); }; }; then
56414   glibcxx_cv_func__finite_use=yes
56415 else
56416   echo "$as_me: failed program was:" >&5
56417 sed 's/^/| /' conftest.$ac_ext >&5
56418
56419 glibcxx_cv_func__finite_use=no
56420 fi
56421 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56422       ac_ext=c
56423 ac_cpp='$CPP $CPPFLAGS'
56424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56427
56428
56429 fi
56430
56431   fi
56432   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
56433 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
56434
56435     if test x$glibcxx_cv_func__finite_use = x"yes"; then
56436
56437 for ac_func in _finite
56438 do
56439 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56440 echo "$as_me:$LINENO: checking for $ac_func" >&5
56441 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56442 if eval "test \"\${$as_ac_var+set}\" = set"; then
56443   echo $ECHO_N "(cached) $ECHO_C" >&6
56444 else
56445   if test x$gcc_no_link = xyes; then
56446   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56447 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56448    { (exit 1); exit 1; }; }
56449 fi
56450 cat >conftest.$ac_ext <<_ACEOF
56451 /* confdefs.h.  */
56452 _ACEOF
56453 cat confdefs.h >>conftest.$ac_ext
56454 cat >>conftest.$ac_ext <<_ACEOF
56455 /* end confdefs.h.  */
56456 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56457    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56458 #define $ac_func innocuous_$ac_func
56459
56460 /* System header to define __stub macros and hopefully few prototypes,
56461     which can conflict with char $ac_func (); below.
56462     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56463     <limits.h> exists even on freestanding compilers.  */
56464
56465 #ifdef __STDC__
56466 # include <limits.h>
56467 #else
56468 # include <assert.h>
56469 #endif
56470
56471 #undef $ac_func
56472
56473 /* Override any gcc2 internal prototype to avoid an error.  */
56474 #ifdef __cplusplus
56475 extern "C"
56476 {
56477 #endif
56478 /* We use char because int might match the return type of a gcc2
56479    builtin and then its argument prototype would still apply.  */
56480 char $ac_func ();
56481 /* The GNU C library defines this for functions which it implements
56482     to always fail with ENOSYS.  Some functions are actually named
56483     something starting with __ and the normal name is an alias.  */
56484 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56485 choke me
56486 #else
56487 char (*f) () = $ac_func;
56488 #endif
56489 #ifdef __cplusplus
56490 }
56491 #endif
56492
56493 int
56494 main ()
56495 {
56496 return f != $ac_func;
56497   ;
56498   return 0;
56499 }
56500 _ACEOF
56501 rm -f conftest.$ac_objext conftest$ac_exeext
56502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56503   (eval $ac_link) 2>conftest.er1
56504   ac_status=$?
56505   grep -v '^ *+' conftest.er1 >conftest.err
56506   rm -f conftest.er1
56507   cat conftest.err >&5
56508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56509   (exit $ac_status); } &&
56510          { ac_try='test -z "$ac_c_werror_flag"
56511                          || test ! -s conftest.err'
56512   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56513   (eval $ac_try) 2>&5
56514   ac_status=$?
56515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56516   (exit $ac_status); }; } &&
56517          { ac_try='test -s conftest$ac_exeext'
56518   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56519   (eval $ac_try) 2>&5
56520   ac_status=$?
56521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56522   (exit $ac_status); }; }; then
56523   eval "$as_ac_var=yes"
56524 else
56525   echo "$as_me: failed program was:" >&5
56526 sed 's/^/| /' conftest.$ac_ext >&5
56527
56528 eval "$as_ac_var=no"
56529 fi
56530 rm -f conftest.err conftest.$ac_objext \
56531       conftest$ac_exeext conftest.$ac_ext
56532 fi
56533 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56534 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56535 if test `eval echo '${'$as_ac_var'}'` = yes; then
56536   cat >>confdefs.h <<_ACEOF
56537 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56538 _ACEOF
56539
56540 fi
56541 done
56542
56543     fi
56544   fi
56545
56546
56547
56548   echo "$as_me:$LINENO: checking for copysign declaration" >&5
56549 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
56550   if test x${glibcxx_cv_func_copysign_use+set} != xset; then
56551     if test "${glibcxx_cv_func_copysign_use+set}" = set; then
56552   echo $ECHO_N "(cached) $ECHO_C" >&6
56553 else
56554
56555
56556
56557       ac_ext=cc
56558 ac_cpp='$CXXCPP $CPPFLAGS'
56559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56562
56563       cat >conftest.$ac_ext <<_ACEOF
56564 /* confdefs.h.  */
56565 _ACEOF
56566 cat confdefs.h >>conftest.$ac_ext
56567 cat >>conftest.$ac_ext <<_ACEOF
56568 /* end confdefs.h.  */
56569 #include <math.h>
56570 int
56571 main ()
56572 {
56573  copysign(0, 0);
56574   ;
56575   return 0;
56576 }
56577 _ACEOF
56578 rm -f conftest.$ac_objext
56579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56580   (eval $ac_compile) 2>conftest.er1
56581   ac_status=$?
56582   grep -v '^ *+' conftest.er1 >conftest.err
56583   rm -f conftest.er1
56584   cat conftest.err >&5
56585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56586   (exit $ac_status); } &&
56587          { ac_try='test -z "$ac_cxx_werror_flag"
56588                          || test ! -s conftest.err'
56589   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56590   (eval $ac_try) 2>&5
56591   ac_status=$?
56592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56593   (exit $ac_status); }; } &&
56594          { ac_try='test -s conftest.$ac_objext'
56595   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56596   (eval $ac_try) 2>&5
56597   ac_status=$?
56598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56599   (exit $ac_status); }; }; then
56600   glibcxx_cv_func_copysign_use=yes
56601 else
56602   echo "$as_me: failed program was:" >&5
56603 sed 's/^/| /' conftest.$ac_ext >&5
56604
56605 glibcxx_cv_func_copysign_use=no
56606 fi
56607 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56608       ac_ext=c
56609 ac_cpp='$CPP $CPPFLAGS'
56610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56613
56614
56615 fi
56616
56617   fi
56618   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
56619 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
56620
56621   if test x$glibcxx_cv_func_copysign_use = x"yes"; then
56622
56623 for ac_func in copysign
56624 do
56625 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56626 echo "$as_me:$LINENO: checking for $ac_func" >&5
56627 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56628 if eval "test \"\${$as_ac_var+set}\" = set"; then
56629   echo $ECHO_N "(cached) $ECHO_C" >&6
56630 else
56631   if test x$gcc_no_link = xyes; then
56632   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56633 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56634    { (exit 1); exit 1; }; }
56635 fi
56636 cat >conftest.$ac_ext <<_ACEOF
56637 /* confdefs.h.  */
56638 _ACEOF
56639 cat confdefs.h >>conftest.$ac_ext
56640 cat >>conftest.$ac_ext <<_ACEOF
56641 /* end confdefs.h.  */
56642 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56643    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56644 #define $ac_func innocuous_$ac_func
56645
56646 /* System header to define __stub macros and hopefully few prototypes,
56647     which can conflict with char $ac_func (); below.
56648     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56649     <limits.h> exists even on freestanding compilers.  */
56650
56651 #ifdef __STDC__
56652 # include <limits.h>
56653 #else
56654 # include <assert.h>
56655 #endif
56656
56657 #undef $ac_func
56658
56659 /* Override any gcc2 internal prototype to avoid an error.  */
56660 #ifdef __cplusplus
56661 extern "C"
56662 {
56663 #endif
56664 /* We use char because int might match the return type of a gcc2
56665    builtin and then its argument prototype would still apply.  */
56666 char $ac_func ();
56667 /* The GNU C library defines this for functions which it implements
56668     to always fail with ENOSYS.  Some functions are actually named
56669     something starting with __ and the normal name is an alias.  */
56670 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56671 choke me
56672 #else
56673 char (*f) () = $ac_func;
56674 #endif
56675 #ifdef __cplusplus
56676 }
56677 #endif
56678
56679 int
56680 main ()
56681 {
56682 return f != $ac_func;
56683   ;
56684   return 0;
56685 }
56686 _ACEOF
56687 rm -f conftest.$ac_objext conftest$ac_exeext
56688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56689   (eval $ac_link) 2>conftest.er1
56690   ac_status=$?
56691   grep -v '^ *+' conftest.er1 >conftest.err
56692   rm -f conftest.er1
56693   cat conftest.err >&5
56694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56695   (exit $ac_status); } &&
56696          { ac_try='test -z "$ac_c_werror_flag"
56697                          || test ! -s conftest.err'
56698   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56699   (eval $ac_try) 2>&5
56700   ac_status=$?
56701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56702   (exit $ac_status); }; } &&
56703          { ac_try='test -s conftest$ac_exeext'
56704   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56705   (eval $ac_try) 2>&5
56706   ac_status=$?
56707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56708   (exit $ac_status); }; }; then
56709   eval "$as_ac_var=yes"
56710 else
56711   echo "$as_me: failed program was:" >&5
56712 sed 's/^/| /' conftest.$ac_ext >&5
56713
56714 eval "$as_ac_var=no"
56715 fi
56716 rm -f conftest.err conftest.$ac_objext \
56717       conftest$ac_exeext conftest.$ac_ext
56718 fi
56719 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56720 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56721 if test `eval echo '${'$as_ac_var'}'` = yes; then
56722   cat >>confdefs.h <<_ACEOF
56723 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56724 _ACEOF
56725
56726 fi
56727 done
56728
56729   else
56730
56731   echo "$as_me:$LINENO: checking for _copysign declaration" >&5
56732 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
56733   if test x${glibcxx_cv_func__copysign_use+set} != xset; then
56734     if test "${glibcxx_cv_func__copysign_use+set}" = set; then
56735   echo $ECHO_N "(cached) $ECHO_C" >&6
56736 else
56737
56738
56739
56740       ac_ext=cc
56741 ac_cpp='$CXXCPP $CPPFLAGS'
56742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56745
56746       cat >conftest.$ac_ext <<_ACEOF
56747 /* confdefs.h.  */
56748 _ACEOF
56749 cat confdefs.h >>conftest.$ac_ext
56750 cat >>conftest.$ac_ext <<_ACEOF
56751 /* end confdefs.h.  */
56752 #include <math.h>
56753 int
56754 main ()
56755 {
56756  _copysign(0, 0);
56757   ;
56758   return 0;
56759 }
56760 _ACEOF
56761 rm -f conftest.$ac_objext
56762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56763   (eval $ac_compile) 2>conftest.er1
56764   ac_status=$?
56765   grep -v '^ *+' conftest.er1 >conftest.err
56766   rm -f conftest.er1
56767   cat conftest.err >&5
56768   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56769   (exit $ac_status); } &&
56770          { ac_try='test -z "$ac_cxx_werror_flag"
56771                          || test ! -s conftest.err'
56772   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56773   (eval $ac_try) 2>&5
56774   ac_status=$?
56775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56776   (exit $ac_status); }; } &&
56777          { ac_try='test -s conftest.$ac_objext'
56778   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56779   (eval $ac_try) 2>&5
56780   ac_status=$?
56781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56782   (exit $ac_status); }; }; then
56783   glibcxx_cv_func__copysign_use=yes
56784 else
56785   echo "$as_me: failed program was:" >&5
56786 sed 's/^/| /' conftest.$ac_ext >&5
56787
56788 glibcxx_cv_func__copysign_use=no
56789 fi
56790 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56791       ac_ext=c
56792 ac_cpp='$CPP $CPPFLAGS'
56793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56796
56797
56798 fi
56799
56800   fi
56801   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
56802 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
56803
56804     if test x$glibcxx_cv_func__copysign_use = x"yes"; then
56805
56806 for ac_func in _copysign
56807 do
56808 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56809 echo "$as_me:$LINENO: checking for $ac_func" >&5
56810 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56811 if eval "test \"\${$as_ac_var+set}\" = set"; then
56812   echo $ECHO_N "(cached) $ECHO_C" >&6
56813 else
56814   if test x$gcc_no_link = xyes; then
56815   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56816 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56817    { (exit 1); exit 1; }; }
56818 fi
56819 cat >conftest.$ac_ext <<_ACEOF
56820 /* confdefs.h.  */
56821 _ACEOF
56822 cat confdefs.h >>conftest.$ac_ext
56823 cat >>conftest.$ac_ext <<_ACEOF
56824 /* end confdefs.h.  */
56825 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56826    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
56827 #define $ac_func innocuous_$ac_func
56828
56829 /* System header to define __stub macros and hopefully few prototypes,
56830     which can conflict with char $ac_func (); below.
56831     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56832     <limits.h> exists even on freestanding compilers.  */
56833
56834 #ifdef __STDC__
56835 # include <limits.h>
56836 #else
56837 # include <assert.h>
56838 #endif
56839
56840 #undef $ac_func
56841
56842 /* Override any gcc2 internal prototype to avoid an error.  */
56843 #ifdef __cplusplus
56844 extern "C"
56845 {
56846 #endif
56847 /* We use char because int might match the return type of a gcc2
56848    builtin and then its argument prototype would still apply.  */
56849 char $ac_func ();
56850 /* The GNU C library defines this for functions which it implements
56851     to always fail with ENOSYS.  Some functions are actually named
56852     something starting with __ and the normal name is an alias.  */
56853 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56854 choke me
56855 #else
56856 char (*f) () = $ac_func;
56857 #endif
56858 #ifdef __cplusplus
56859 }
56860 #endif
56861
56862 int
56863 main ()
56864 {
56865 return f != $ac_func;
56866   ;
56867   return 0;
56868 }
56869 _ACEOF
56870 rm -f conftest.$ac_objext conftest$ac_exeext
56871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56872   (eval $ac_link) 2>conftest.er1
56873   ac_status=$?
56874   grep -v '^ *+' conftest.er1 >conftest.err
56875   rm -f conftest.er1
56876   cat conftest.err >&5
56877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56878   (exit $ac_status); } &&
56879          { ac_try='test -z "$ac_c_werror_flag"
56880                          || test ! -s conftest.err'
56881   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56882   (eval $ac_try) 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   eval "$as_ac_var=yes"
56893 else
56894   echo "$as_me: failed program was:" >&5
56895 sed 's/^/| /' conftest.$ac_ext >&5
56896
56897 eval "$as_ac_var=no"
56898 fi
56899 rm -f conftest.err conftest.$ac_objext \
56900       conftest$ac_exeext conftest.$ac_ext
56901 fi
56902 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56903 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56904 if test `eval echo '${'$as_ac_var'}'` = yes; then
56905   cat >>confdefs.h <<_ACEOF
56906 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56907 _ACEOF
56908
56909 fi
56910 done
56911
56912     fi
56913   fi
56914
56915
56916
56917   echo "$as_me:$LINENO: checking for sincos declaration" >&5
56918 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
56919   if test x${glibcxx_cv_func_sincos_use+set} != xset; then
56920     if test "${glibcxx_cv_func_sincos_use+set}" = set; then
56921   echo $ECHO_N "(cached) $ECHO_C" >&6
56922 else
56923
56924
56925
56926       ac_ext=cc
56927 ac_cpp='$CXXCPP $CPPFLAGS'
56928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56931
56932       cat >conftest.$ac_ext <<_ACEOF
56933 /* confdefs.h.  */
56934 _ACEOF
56935 cat confdefs.h >>conftest.$ac_ext
56936 cat >>conftest.$ac_ext <<_ACEOF
56937 /* end confdefs.h.  */
56938 #include <math.h>
56939 int
56940 main ()
56941 {
56942  sincos(0, 0, 0);
56943   ;
56944   return 0;
56945 }
56946 _ACEOF
56947 rm -f conftest.$ac_objext
56948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56949   (eval $ac_compile) 2>conftest.er1
56950   ac_status=$?
56951   grep -v '^ *+' conftest.er1 >conftest.err
56952   rm -f conftest.er1
56953   cat conftest.err >&5
56954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56955   (exit $ac_status); } &&
56956          { ac_try='test -z "$ac_cxx_werror_flag"
56957                          || test ! -s conftest.err'
56958   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56959   (eval $ac_try) 2>&5
56960   ac_status=$?
56961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56962   (exit $ac_status); }; } &&
56963          { ac_try='test -s conftest.$ac_objext'
56964   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56965   (eval $ac_try) 2>&5
56966   ac_status=$?
56967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
56968   (exit $ac_status); }; }; then
56969   glibcxx_cv_func_sincos_use=yes
56970 else
56971   echo "$as_me: failed program was:" >&5
56972 sed 's/^/| /' conftest.$ac_ext >&5
56973
56974 glibcxx_cv_func_sincos_use=no
56975 fi
56976 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56977       ac_ext=c
56978 ac_cpp='$CPP $CPPFLAGS'
56979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56982
56983
56984 fi
56985
56986   fi
56987   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
56988 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
56989
56990   if test x$glibcxx_cv_func_sincos_use = x"yes"; then
56991
56992 for ac_func in sincos
56993 do
56994 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56995 echo "$as_me:$LINENO: checking for $ac_func" >&5
56996 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56997 if eval "test \"\${$as_ac_var+set}\" = set"; then
56998   echo $ECHO_N "(cached) $ECHO_C" >&6
56999 else
57000   if test x$gcc_no_link = xyes; then
57001   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57002 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57003    { (exit 1); exit 1; }; }
57004 fi
57005 cat >conftest.$ac_ext <<_ACEOF
57006 /* confdefs.h.  */
57007 _ACEOF
57008 cat confdefs.h >>conftest.$ac_ext
57009 cat >>conftest.$ac_ext <<_ACEOF
57010 /* end confdefs.h.  */
57011 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57012    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57013 #define $ac_func innocuous_$ac_func
57014
57015 /* System header to define __stub macros and hopefully few prototypes,
57016     which can conflict with char $ac_func (); below.
57017     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57018     <limits.h> exists even on freestanding compilers.  */
57019
57020 #ifdef __STDC__
57021 # include <limits.h>
57022 #else
57023 # include <assert.h>
57024 #endif
57025
57026 #undef $ac_func
57027
57028 /* Override any gcc2 internal prototype to avoid an error.  */
57029 #ifdef __cplusplus
57030 extern "C"
57031 {
57032 #endif
57033 /* We use char because int might match the return type of a gcc2
57034    builtin and then its argument prototype would still apply.  */
57035 char $ac_func ();
57036 /* The GNU C library defines this for functions which it implements
57037     to always fail with ENOSYS.  Some functions are actually named
57038     something starting with __ and the normal name is an alias.  */
57039 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57040 choke me
57041 #else
57042 char (*f) () = $ac_func;
57043 #endif
57044 #ifdef __cplusplus
57045 }
57046 #endif
57047
57048 int
57049 main ()
57050 {
57051 return f != $ac_func;
57052   ;
57053   return 0;
57054 }
57055 _ACEOF
57056 rm -f conftest.$ac_objext conftest$ac_exeext
57057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57058   (eval $ac_link) 2>conftest.er1
57059   ac_status=$?
57060   grep -v '^ *+' conftest.er1 >conftest.err
57061   rm -f conftest.er1
57062   cat conftest.err >&5
57063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57064   (exit $ac_status); } &&
57065          { ac_try='test -z "$ac_c_werror_flag"
57066                          || test ! -s conftest.err'
57067   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57068   (eval $ac_try) 2>&5
57069   ac_status=$?
57070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57071   (exit $ac_status); }; } &&
57072          { ac_try='test -s conftest$ac_exeext'
57073   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57074   (eval $ac_try) 2>&5
57075   ac_status=$?
57076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57077   (exit $ac_status); }; }; then
57078   eval "$as_ac_var=yes"
57079 else
57080   echo "$as_me: failed program was:" >&5
57081 sed 's/^/| /' conftest.$ac_ext >&5
57082
57083 eval "$as_ac_var=no"
57084 fi
57085 rm -f conftest.err conftest.$ac_objext \
57086       conftest$ac_exeext conftest.$ac_ext
57087 fi
57088 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57089 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57090 if test `eval echo '${'$as_ac_var'}'` = yes; then
57091   cat >>confdefs.h <<_ACEOF
57092 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57093 _ACEOF
57094
57095 fi
57096 done
57097
57098   else
57099
57100   echo "$as_me:$LINENO: checking for _sincos declaration" >&5
57101 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
57102   if test x${glibcxx_cv_func__sincos_use+set} != xset; then
57103     if test "${glibcxx_cv_func__sincos_use+set}" = set; then
57104   echo $ECHO_N "(cached) $ECHO_C" >&6
57105 else
57106
57107
57108
57109       ac_ext=cc
57110 ac_cpp='$CXXCPP $CPPFLAGS'
57111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57114
57115       cat >conftest.$ac_ext <<_ACEOF
57116 /* confdefs.h.  */
57117 _ACEOF
57118 cat confdefs.h >>conftest.$ac_ext
57119 cat >>conftest.$ac_ext <<_ACEOF
57120 /* end confdefs.h.  */
57121 #include <math.h>
57122 int
57123 main ()
57124 {
57125  _sincos(0, 0, 0);
57126   ;
57127   return 0;
57128 }
57129 _ACEOF
57130 rm -f conftest.$ac_objext
57131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57132   (eval $ac_compile) 2>conftest.er1
57133   ac_status=$?
57134   grep -v '^ *+' conftest.er1 >conftest.err
57135   rm -f conftest.er1
57136   cat conftest.err >&5
57137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57138   (exit $ac_status); } &&
57139          { ac_try='test -z "$ac_cxx_werror_flag"
57140                          || test ! -s conftest.err'
57141   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57142   (eval $ac_try) 2>&5
57143   ac_status=$?
57144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57145   (exit $ac_status); }; } &&
57146          { ac_try='test -s conftest.$ac_objext'
57147   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57148   (eval $ac_try) 2>&5
57149   ac_status=$?
57150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57151   (exit $ac_status); }; }; then
57152   glibcxx_cv_func__sincos_use=yes
57153 else
57154   echo "$as_me: failed program was:" >&5
57155 sed 's/^/| /' conftest.$ac_ext >&5
57156
57157 glibcxx_cv_func__sincos_use=no
57158 fi
57159 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57160       ac_ext=c
57161 ac_cpp='$CPP $CPPFLAGS'
57162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57165
57166
57167 fi
57168
57169   fi
57170   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
57171 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
57172
57173     if test x$glibcxx_cv_func__sincos_use = x"yes"; then
57174
57175 for ac_func in _sincos
57176 do
57177 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57178 echo "$as_me:$LINENO: checking for $ac_func" >&5
57179 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57180 if eval "test \"\${$as_ac_var+set}\" = set"; then
57181   echo $ECHO_N "(cached) $ECHO_C" >&6
57182 else
57183   if test x$gcc_no_link = xyes; then
57184   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57185 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57186    { (exit 1); exit 1; }; }
57187 fi
57188 cat >conftest.$ac_ext <<_ACEOF
57189 /* confdefs.h.  */
57190 _ACEOF
57191 cat confdefs.h >>conftest.$ac_ext
57192 cat >>conftest.$ac_ext <<_ACEOF
57193 /* end confdefs.h.  */
57194 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57195    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57196 #define $ac_func innocuous_$ac_func
57197
57198 /* System header to define __stub macros and hopefully few prototypes,
57199     which can conflict with char $ac_func (); below.
57200     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57201     <limits.h> exists even on freestanding compilers.  */
57202
57203 #ifdef __STDC__
57204 # include <limits.h>
57205 #else
57206 # include <assert.h>
57207 #endif
57208
57209 #undef $ac_func
57210
57211 /* Override any gcc2 internal prototype to avoid an error.  */
57212 #ifdef __cplusplus
57213 extern "C"
57214 {
57215 #endif
57216 /* We use char because int might match the return type of a gcc2
57217    builtin and then its argument prototype would still apply.  */
57218 char $ac_func ();
57219 /* The GNU C library defines this for functions which it implements
57220     to always fail with ENOSYS.  Some functions are actually named
57221     something starting with __ and the normal name is an alias.  */
57222 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57223 choke me
57224 #else
57225 char (*f) () = $ac_func;
57226 #endif
57227 #ifdef __cplusplus
57228 }
57229 #endif
57230
57231 int
57232 main ()
57233 {
57234 return f != $ac_func;
57235   ;
57236   return 0;
57237 }
57238 _ACEOF
57239 rm -f conftest.$ac_objext conftest$ac_exeext
57240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57241   (eval $ac_link) 2>conftest.er1
57242   ac_status=$?
57243   grep -v '^ *+' conftest.er1 >conftest.err
57244   rm -f conftest.er1
57245   cat conftest.err >&5
57246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57247   (exit $ac_status); } &&
57248          { ac_try='test -z "$ac_c_werror_flag"
57249                          || test ! -s conftest.err'
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); }; } &&
57255          { ac_try='test -s conftest$ac_exeext'
57256   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57257   (eval $ac_try) 2>&5
57258   ac_status=$?
57259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57260   (exit $ac_status); }; }; then
57261   eval "$as_ac_var=yes"
57262 else
57263   echo "$as_me: failed program was:" >&5
57264 sed 's/^/| /' conftest.$ac_ext >&5
57265
57266 eval "$as_ac_var=no"
57267 fi
57268 rm -f conftest.err conftest.$ac_objext \
57269       conftest$ac_exeext conftest.$ac_ext
57270 fi
57271 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57272 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57273 if test `eval echo '${'$as_ac_var'}'` = yes; then
57274   cat >>confdefs.h <<_ACEOF
57275 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57276 _ACEOF
57277
57278 fi
57279 done
57280
57281     fi
57282   fi
57283
57284
57285
57286   echo "$as_me:$LINENO: checking for fpclass declaration" >&5
57287 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
57288   if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
57289     if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
57290   echo $ECHO_N "(cached) $ECHO_C" >&6
57291 else
57292
57293
57294
57295       ac_ext=cc
57296 ac_cpp='$CXXCPP $CPPFLAGS'
57297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57300
57301       cat >conftest.$ac_ext <<_ACEOF
57302 /* confdefs.h.  */
57303 _ACEOF
57304 cat confdefs.h >>conftest.$ac_ext
57305 cat >>conftest.$ac_ext <<_ACEOF
57306 /* end confdefs.h.  */
57307 #include <math.h>
57308                       #ifdef HAVE_IEEEFP_H
57309                       #include <ieeefp.h>
57310                       #endif
57311
57312 int
57313 main ()
57314 {
57315  fpclass(0);
57316   ;
57317   return 0;
57318 }
57319 _ACEOF
57320 rm -f conftest.$ac_objext
57321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57322   (eval $ac_compile) 2>conftest.er1
57323   ac_status=$?
57324   grep -v '^ *+' conftest.er1 >conftest.err
57325   rm -f conftest.er1
57326   cat conftest.err >&5
57327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57328   (exit $ac_status); } &&
57329          { ac_try='test -z "$ac_cxx_werror_flag"
57330                          || test ! -s conftest.err'
57331   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57332   (eval $ac_try) 2>&5
57333   ac_status=$?
57334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57335   (exit $ac_status); }; } &&
57336          { ac_try='test -s conftest.$ac_objext'
57337   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57338   (eval $ac_try) 2>&5
57339   ac_status=$?
57340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57341   (exit $ac_status); }; }; then
57342   glibcxx_cv_func_fpclass_use=yes
57343 else
57344   echo "$as_me: failed program was:" >&5
57345 sed 's/^/| /' conftest.$ac_ext >&5
57346
57347 glibcxx_cv_func_fpclass_use=no
57348 fi
57349 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57350       ac_ext=c
57351 ac_cpp='$CPP $CPPFLAGS'
57352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57355
57356
57357 fi
57358
57359   fi
57360   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
57361 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
57362
57363   if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
57364
57365 for ac_func in fpclass
57366 do
57367 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57368 echo "$as_me:$LINENO: checking for $ac_func" >&5
57369 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57370 if eval "test \"\${$as_ac_var+set}\" = set"; then
57371   echo $ECHO_N "(cached) $ECHO_C" >&6
57372 else
57373   if test x$gcc_no_link = xyes; then
57374   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57375 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57376    { (exit 1); exit 1; }; }
57377 fi
57378 cat >conftest.$ac_ext <<_ACEOF
57379 /* confdefs.h.  */
57380 _ACEOF
57381 cat confdefs.h >>conftest.$ac_ext
57382 cat >>conftest.$ac_ext <<_ACEOF
57383 /* end confdefs.h.  */
57384 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57385    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57386 #define $ac_func innocuous_$ac_func
57387
57388 /* System header to define __stub macros and hopefully few prototypes,
57389     which can conflict with char $ac_func (); below.
57390     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57391     <limits.h> exists even on freestanding compilers.  */
57392
57393 #ifdef __STDC__
57394 # include <limits.h>
57395 #else
57396 # include <assert.h>
57397 #endif
57398
57399 #undef $ac_func
57400
57401 /* Override any gcc2 internal prototype to avoid an error.  */
57402 #ifdef __cplusplus
57403 extern "C"
57404 {
57405 #endif
57406 /* We use char because int might match the return type of a gcc2
57407    builtin and then its argument prototype would still apply.  */
57408 char $ac_func ();
57409 /* The GNU C library defines this for functions which it implements
57410     to always fail with ENOSYS.  Some functions are actually named
57411     something starting with __ and the normal name is an alias.  */
57412 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57413 choke me
57414 #else
57415 char (*f) () = $ac_func;
57416 #endif
57417 #ifdef __cplusplus
57418 }
57419 #endif
57420
57421 int
57422 main ()
57423 {
57424 return f != $ac_func;
57425   ;
57426   return 0;
57427 }
57428 _ACEOF
57429 rm -f conftest.$ac_objext conftest$ac_exeext
57430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57431   (eval $ac_link) 2>conftest.er1
57432   ac_status=$?
57433   grep -v '^ *+' conftest.er1 >conftest.err
57434   rm -f conftest.er1
57435   cat conftest.err >&5
57436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57437   (exit $ac_status); } &&
57438          { ac_try='test -z "$ac_c_werror_flag"
57439                          || test ! -s conftest.err'
57440   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57441   (eval $ac_try) 2>&5
57442   ac_status=$?
57443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57444   (exit $ac_status); }; } &&
57445          { ac_try='test -s conftest$ac_exeext'
57446   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57447   (eval $ac_try) 2>&5
57448   ac_status=$?
57449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57450   (exit $ac_status); }; }; then
57451   eval "$as_ac_var=yes"
57452 else
57453   echo "$as_me: failed program was:" >&5
57454 sed 's/^/| /' conftest.$ac_ext >&5
57455
57456 eval "$as_ac_var=no"
57457 fi
57458 rm -f conftest.err conftest.$ac_objext \
57459       conftest$ac_exeext conftest.$ac_ext
57460 fi
57461 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57462 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57463 if test `eval echo '${'$as_ac_var'}'` = yes; then
57464   cat >>confdefs.h <<_ACEOF
57465 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57466 _ACEOF
57467
57468 fi
57469 done
57470
57471   else
57472
57473   echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
57474 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
57475   if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
57476     if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
57477   echo $ECHO_N "(cached) $ECHO_C" >&6
57478 else
57479
57480
57481
57482       ac_ext=cc
57483 ac_cpp='$CXXCPP $CPPFLAGS'
57484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57487
57488       cat >conftest.$ac_ext <<_ACEOF
57489 /* confdefs.h.  */
57490 _ACEOF
57491 cat confdefs.h >>conftest.$ac_ext
57492 cat >>conftest.$ac_ext <<_ACEOF
57493 /* end confdefs.h.  */
57494 #include <math.h>
57495                       #ifdef HAVE_IEEEFP_H
57496                       #include <ieeefp.h>
57497                       #endif
57498
57499 int
57500 main ()
57501 {
57502  _fpclass(0);
57503   ;
57504   return 0;
57505 }
57506 _ACEOF
57507 rm -f conftest.$ac_objext
57508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57509   (eval $ac_compile) 2>conftest.er1
57510   ac_status=$?
57511   grep -v '^ *+' conftest.er1 >conftest.err
57512   rm -f conftest.er1
57513   cat conftest.err >&5
57514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57515   (exit $ac_status); } &&
57516          { ac_try='test -z "$ac_cxx_werror_flag"
57517                          || test ! -s conftest.err'
57518   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57519   (eval $ac_try) 2>&5
57520   ac_status=$?
57521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57522   (exit $ac_status); }; } &&
57523          { ac_try='test -s conftest.$ac_objext'
57524   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57525   (eval $ac_try) 2>&5
57526   ac_status=$?
57527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57528   (exit $ac_status); }; }; then
57529   glibcxx_cv_func__fpclass_use=yes
57530 else
57531   echo "$as_me: failed program was:" >&5
57532 sed 's/^/| /' conftest.$ac_ext >&5
57533
57534 glibcxx_cv_func__fpclass_use=no
57535 fi
57536 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57537       ac_ext=c
57538 ac_cpp='$CPP $CPPFLAGS'
57539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57542
57543
57544 fi
57545
57546   fi
57547   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
57548 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
57549
57550     if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
57551
57552 for ac_func in _fpclass
57553 do
57554 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57555 echo "$as_me:$LINENO: checking for $ac_func" >&5
57556 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57557 if eval "test \"\${$as_ac_var+set}\" = set"; then
57558   echo $ECHO_N "(cached) $ECHO_C" >&6
57559 else
57560   if test x$gcc_no_link = xyes; then
57561   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57562 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57563    { (exit 1); exit 1; }; }
57564 fi
57565 cat >conftest.$ac_ext <<_ACEOF
57566 /* confdefs.h.  */
57567 _ACEOF
57568 cat confdefs.h >>conftest.$ac_ext
57569 cat >>conftest.$ac_ext <<_ACEOF
57570 /* end confdefs.h.  */
57571 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57572    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57573 #define $ac_func innocuous_$ac_func
57574
57575 /* System header to define __stub macros and hopefully few prototypes,
57576     which can conflict with char $ac_func (); below.
57577     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57578     <limits.h> exists even on freestanding compilers.  */
57579
57580 #ifdef __STDC__
57581 # include <limits.h>
57582 #else
57583 # include <assert.h>
57584 #endif
57585
57586 #undef $ac_func
57587
57588 /* Override any gcc2 internal prototype to avoid an error.  */
57589 #ifdef __cplusplus
57590 extern "C"
57591 {
57592 #endif
57593 /* We use char because int might match the return type of a gcc2
57594    builtin and then its argument prototype would still apply.  */
57595 char $ac_func ();
57596 /* The GNU C library defines this for functions which it implements
57597     to always fail with ENOSYS.  Some functions are actually named
57598     something starting with __ and the normal name is an alias.  */
57599 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57600 choke me
57601 #else
57602 char (*f) () = $ac_func;
57603 #endif
57604 #ifdef __cplusplus
57605 }
57606 #endif
57607
57608 int
57609 main ()
57610 {
57611 return f != $ac_func;
57612   ;
57613   return 0;
57614 }
57615 _ACEOF
57616 rm -f conftest.$ac_objext conftest$ac_exeext
57617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57618   (eval $ac_link) 2>conftest.er1
57619   ac_status=$?
57620   grep -v '^ *+' conftest.er1 >conftest.err
57621   rm -f conftest.er1
57622   cat conftest.err >&5
57623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57624   (exit $ac_status); } &&
57625          { ac_try='test -z "$ac_c_werror_flag"
57626                          || test ! -s conftest.err'
57627   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57628   (eval $ac_try) 2>&5
57629   ac_status=$?
57630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57631   (exit $ac_status); }; } &&
57632          { ac_try='test -s conftest$ac_exeext'
57633   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57634   (eval $ac_try) 2>&5
57635   ac_status=$?
57636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57637   (exit $ac_status); }; }; then
57638   eval "$as_ac_var=yes"
57639 else
57640   echo "$as_me: failed program was:" >&5
57641 sed 's/^/| /' conftest.$ac_ext >&5
57642
57643 eval "$as_ac_var=no"
57644 fi
57645 rm -f conftest.err conftest.$ac_objext \
57646       conftest$ac_exeext conftest.$ac_ext
57647 fi
57648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57649 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57650 if test `eval echo '${'$as_ac_var'}'` = yes; then
57651   cat >>confdefs.h <<_ACEOF
57652 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57653 _ACEOF
57654
57655 fi
57656 done
57657
57658     fi
57659   fi
57660
57661
57662
57663   echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
57664 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
57665   if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
57666     if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
57667   echo $ECHO_N "(cached) $ECHO_C" >&6
57668 else
57669
57670
57671
57672       ac_ext=cc
57673 ac_cpp='$CXXCPP $CPPFLAGS'
57674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57677
57678       cat >conftest.$ac_ext <<_ACEOF
57679 /* confdefs.h.  */
57680 _ACEOF
57681 cat confdefs.h >>conftest.$ac_ext
57682 cat >>conftest.$ac_ext <<_ACEOF
57683 /* end confdefs.h.  */
57684 #include <math.h>
57685                       #ifdef HAVE_IEEEFP_H
57686                       #include <ieeefp.h>
57687                       #endif
57688
57689 int
57690 main ()
57691 {
57692  qfpclass(0);
57693   ;
57694   return 0;
57695 }
57696 _ACEOF
57697 rm -f conftest.$ac_objext
57698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57699   (eval $ac_compile) 2>conftest.er1
57700   ac_status=$?
57701   grep -v '^ *+' conftest.er1 >conftest.err
57702   rm -f conftest.er1
57703   cat conftest.err >&5
57704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57705   (exit $ac_status); } &&
57706          { ac_try='test -z "$ac_cxx_werror_flag"
57707                          || test ! -s conftest.err'
57708   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57709   (eval $ac_try) 2>&5
57710   ac_status=$?
57711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57712   (exit $ac_status); }; } &&
57713          { ac_try='test -s conftest.$ac_objext'
57714   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57715   (eval $ac_try) 2>&5
57716   ac_status=$?
57717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57718   (exit $ac_status); }; }; then
57719   glibcxx_cv_func_qfpclass_use=yes
57720 else
57721   echo "$as_me: failed program was:" >&5
57722 sed 's/^/| /' conftest.$ac_ext >&5
57723
57724 glibcxx_cv_func_qfpclass_use=no
57725 fi
57726 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57727       ac_ext=c
57728 ac_cpp='$CPP $CPPFLAGS'
57729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57732
57733
57734 fi
57735
57736   fi
57737   echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
57738 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
57739
57740   if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
57741
57742 for ac_func in qfpclass
57743 do
57744 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57745 echo "$as_me:$LINENO: checking for $ac_func" >&5
57746 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57747 if eval "test \"\${$as_ac_var+set}\" = set"; then
57748   echo $ECHO_N "(cached) $ECHO_C" >&6
57749 else
57750   if test x$gcc_no_link = xyes; then
57751   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57752 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57753    { (exit 1); exit 1; }; }
57754 fi
57755 cat >conftest.$ac_ext <<_ACEOF
57756 /* confdefs.h.  */
57757 _ACEOF
57758 cat confdefs.h >>conftest.$ac_ext
57759 cat >>conftest.$ac_ext <<_ACEOF
57760 /* end confdefs.h.  */
57761 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57762    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57763 #define $ac_func innocuous_$ac_func
57764
57765 /* System header to define __stub macros and hopefully few prototypes,
57766     which can conflict with char $ac_func (); below.
57767     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57768     <limits.h> exists even on freestanding compilers.  */
57769
57770 #ifdef __STDC__
57771 # include <limits.h>
57772 #else
57773 # include <assert.h>
57774 #endif
57775
57776 #undef $ac_func
57777
57778 /* Override any gcc2 internal prototype to avoid an error.  */
57779 #ifdef __cplusplus
57780 extern "C"
57781 {
57782 #endif
57783 /* We use char because int might match the return type of a gcc2
57784    builtin and then its argument prototype would still apply.  */
57785 char $ac_func ();
57786 /* The GNU C library defines this for functions which it implements
57787     to always fail with ENOSYS.  Some functions are actually named
57788     something starting with __ and the normal name is an alias.  */
57789 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57790 choke me
57791 #else
57792 char (*f) () = $ac_func;
57793 #endif
57794 #ifdef __cplusplus
57795 }
57796 #endif
57797
57798 int
57799 main ()
57800 {
57801 return f != $ac_func;
57802   ;
57803   return 0;
57804 }
57805 _ACEOF
57806 rm -f conftest.$ac_objext conftest$ac_exeext
57807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57808   (eval $ac_link) 2>conftest.er1
57809   ac_status=$?
57810   grep -v '^ *+' conftest.er1 >conftest.err
57811   rm -f conftest.er1
57812   cat conftest.err >&5
57813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57814   (exit $ac_status); } &&
57815          { ac_try='test -z "$ac_c_werror_flag"
57816                          || test ! -s conftest.err'
57817   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57818   (eval $ac_try) 2>&5
57819   ac_status=$?
57820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57821   (exit $ac_status); }; } &&
57822          { ac_try='test -s conftest$ac_exeext'
57823   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57824   (eval $ac_try) 2>&5
57825   ac_status=$?
57826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57827   (exit $ac_status); }; }; then
57828   eval "$as_ac_var=yes"
57829 else
57830   echo "$as_me: failed program was:" >&5
57831 sed 's/^/| /' conftest.$ac_ext >&5
57832
57833 eval "$as_ac_var=no"
57834 fi
57835 rm -f conftest.err conftest.$ac_objext \
57836       conftest$ac_exeext conftest.$ac_ext
57837 fi
57838 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57839 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57840 if test `eval echo '${'$as_ac_var'}'` = yes; then
57841   cat >>confdefs.h <<_ACEOF
57842 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57843 _ACEOF
57844
57845 fi
57846 done
57847
57848   else
57849
57850   echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
57851 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
57852   if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
57853     if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
57854   echo $ECHO_N "(cached) $ECHO_C" >&6
57855 else
57856
57857
57858
57859       ac_ext=cc
57860 ac_cpp='$CXXCPP $CPPFLAGS'
57861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57864
57865       cat >conftest.$ac_ext <<_ACEOF
57866 /* confdefs.h.  */
57867 _ACEOF
57868 cat confdefs.h >>conftest.$ac_ext
57869 cat >>conftest.$ac_ext <<_ACEOF
57870 /* end confdefs.h.  */
57871 #include <math.h>
57872                       #ifdef HAVE_IEEEFP_H
57873                       #include <ieeefp.h>
57874                       #endif
57875
57876 int
57877 main ()
57878 {
57879  _qfpclass(0);
57880   ;
57881   return 0;
57882 }
57883 _ACEOF
57884 rm -f conftest.$ac_objext
57885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57886   (eval $ac_compile) 2>conftest.er1
57887   ac_status=$?
57888   grep -v '^ *+' conftest.er1 >conftest.err
57889   rm -f conftest.er1
57890   cat conftest.err >&5
57891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57892   (exit $ac_status); } &&
57893          { ac_try='test -z "$ac_cxx_werror_flag"
57894                          || test ! -s conftest.err'
57895   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57896   (eval $ac_try) 2>&5
57897   ac_status=$?
57898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57899   (exit $ac_status); }; } &&
57900          { ac_try='test -s conftest.$ac_objext'
57901   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57902   (eval $ac_try) 2>&5
57903   ac_status=$?
57904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
57905   (exit $ac_status); }; }; then
57906   glibcxx_cv_func__qfpclass_use=yes
57907 else
57908   echo "$as_me: failed program was:" >&5
57909 sed 's/^/| /' conftest.$ac_ext >&5
57910
57911 glibcxx_cv_func__qfpclass_use=no
57912 fi
57913 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57914       ac_ext=c
57915 ac_cpp='$CPP $CPPFLAGS'
57916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57919
57920
57921 fi
57922
57923   fi
57924   echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
57925 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
57926
57927     if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
57928
57929 for ac_func in _qfpclass
57930 do
57931 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57932 echo "$as_me:$LINENO: checking for $ac_func" >&5
57933 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57934 if eval "test \"\${$as_ac_var+set}\" = set"; then
57935   echo $ECHO_N "(cached) $ECHO_C" >&6
57936 else
57937   if test x$gcc_no_link = xyes; then
57938   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57939 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57940    { (exit 1); exit 1; }; }
57941 fi
57942 cat >conftest.$ac_ext <<_ACEOF
57943 /* confdefs.h.  */
57944 _ACEOF
57945 cat confdefs.h >>conftest.$ac_ext
57946 cat >>conftest.$ac_ext <<_ACEOF
57947 /* end confdefs.h.  */
57948 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57949    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
57950 #define $ac_func innocuous_$ac_func
57951
57952 /* System header to define __stub macros and hopefully few prototypes,
57953     which can conflict with char $ac_func (); below.
57954     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57955     <limits.h> exists even on freestanding compilers.  */
57956
57957 #ifdef __STDC__
57958 # include <limits.h>
57959 #else
57960 # include <assert.h>
57961 #endif
57962
57963 #undef $ac_func
57964
57965 /* Override any gcc2 internal prototype to avoid an error.  */
57966 #ifdef __cplusplus
57967 extern "C"
57968 {
57969 #endif
57970 /* We use char because int might match the return type of a gcc2
57971    builtin and then its argument prototype would still apply.  */
57972 char $ac_func ();
57973 /* The GNU C library defines this for functions which it implements
57974     to always fail with ENOSYS.  Some functions are actually named
57975     something starting with __ and the normal name is an alias.  */
57976 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57977 choke me
57978 #else
57979 char (*f) () = $ac_func;
57980 #endif
57981 #ifdef __cplusplus
57982 }
57983 #endif
57984
57985 int
57986 main ()
57987 {
57988 return f != $ac_func;
57989   ;
57990   return 0;
57991 }
57992 _ACEOF
57993 rm -f conftest.$ac_objext conftest$ac_exeext
57994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57995   (eval $ac_link) 2>conftest.er1
57996   ac_status=$?
57997   grep -v '^ *+' conftest.er1 >conftest.err
57998   rm -f conftest.er1
57999   cat conftest.err >&5
58000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58001   (exit $ac_status); } &&
58002          { ac_try='test -z "$ac_c_werror_flag"
58003                          || test ! -s conftest.err'
58004   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58005   (eval $ac_try) 2>&5
58006   ac_status=$?
58007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58008   (exit $ac_status); }; } &&
58009          { ac_try='test -s conftest$ac_exeext'
58010   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58011   (eval $ac_try) 2>&5
58012   ac_status=$?
58013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58014   (exit $ac_status); }; }; then
58015   eval "$as_ac_var=yes"
58016 else
58017   echo "$as_me: failed program was:" >&5
58018 sed 's/^/| /' conftest.$ac_ext >&5
58019
58020 eval "$as_ac_var=no"
58021 fi
58022 rm -f conftest.err conftest.$ac_objext \
58023       conftest$ac_exeext conftest.$ac_ext
58024 fi
58025 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58026 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58027 if test `eval echo '${'$as_ac_var'}'` = yes; then
58028   cat >>confdefs.h <<_ACEOF
58029 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58030 _ACEOF
58031
58032 fi
58033 done
58034
58035     fi
58036   fi
58037
58038
58039
58040   echo "$as_me:$LINENO: checking for hypot declaration" >&5
58041 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
58042   if test x${glibcxx_cv_func_hypot_use+set} != xset; then
58043     if test "${glibcxx_cv_func_hypot_use+set}" = set; then
58044   echo $ECHO_N "(cached) $ECHO_C" >&6
58045 else
58046
58047
58048
58049       ac_ext=cc
58050 ac_cpp='$CXXCPP $CPPFLAGS'
58051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58054
58055       cat >conftest.$ac_ext <<_ACEOF
58056 /* confdefs.h.  */
58057 _ACEOF
58058 cat confdefs.h >>conftest.$ac_ext
58059 cat >>conftest.$ac_ext <<_ACEOF
58060 /* end confdefs.h.  */
58061 #include <math.h>
58062 int
58063 main ()
58064 {
58065  hypot(0, 0);
58066   ;
58067   return 0;
58068 }
58069 _ACEOF
58070 rm -f conftest.$ac_objext
58071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58072   (eval $ac_compile) 2>conftest.er1
58073   ac_status=$?
58074   grep -v '^ *+' conftest.er1 >conftest.err
58075   rm -f conftest.er1
58076   cat conftest.err >&5
58077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58078   (exit $ac_status); } &&
58079          { ac_try='test -z "$ac_cxx_werror_flag"
58080                          || test ! -s conftest.err'
58081   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58082   (eval $ac_try) 2>&5
58083   ac_status=$?
58084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58085   (exit $ac_status); }; } &&
58086          { ac_try='test -s conftest.$ac_objext'
58087   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58088   (eval $ac_try) 2>&5
58089   ac_status=$?
58090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58091   (exit $ac_status); }; }; then
58092   glibcxx_cv_func_hypot_use=yes
58093 else
58094   echo "$as_me: failed program was:" >&5
58095 sed 's/^/| /' conftest.$ac_ext >&5
58096
58097 glibcxx_cv_func_hypot_use=no
58098 fi
58099 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58100       ac_ext=c
58101 ac_cpp='$CPP $CPPFLAGS'
58102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58105
58106
58107 fi
58108
58109   fi
58110   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
58111 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
58112
58113   if test x$glibcxx_cv_func_hypot_use = x"yes"; then
58114
58115 for ac_func in hypot
58116 do
58117 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58118 echo "$as_me:$LINENO: checking for $ac_func" >&5
58119 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58120 if eval "test \"\${$as_ac_var+set}\" = set"; then
58121   echo $ECHO_N "(cached) $ECHO_C" >&6
58122 else
58123   if test x$gcc_no_link = xyes; then
58124   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58125 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58126    { (exit 1); exit 1; }; }
58127 fi
58128 cat >conftest.$ac_ext <<_ACEOF
58129 /* confdefs.h.  */
58130 _ACEOF
58131 cat confdefs.h >>conftest.$ac_ext
58132 cat >>conftest.$ac_ext <<_ACEOF
58133 /* end confdefs.h.  */
58134 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58135    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58136 #define $ac_func innocuous_$ac_func
58137
58138 /* System header to define __stub macros and hopefully few prototypes,
58139     which can conflict with char $ac_func (); below.
58140     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58141     <limits.h> exists even on freestanding compilers.  */
58142
58143 #ifdef __STDC__
58144 # include <limits.h>
58145 #else
58146 # include <assert.h>
58147 #endif
58148
58149 #undef $ac_func
58150
58151 /* Override any gcc2 internal prototype to avoid an error.  */
58152 #ifdef __cplusplus
58153 extern "C"
58154 {
58155 #endif
58156 /* We use char because int might match the return type of a gcc2
58157    builtin and then its argument prototype would still apply.  */
58158 char $ac_func ();
58159 /* The GNU C library defines this for functions which it implements
58160     to always fail with ENOSYS.  Some functions are actually named
58161     something starting with __ and the normal name is an alias.  */
58162 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58163 choke me
58164 #else
58165 char (*f) () = $ac_func;
58166 #endif
58167 #ifdef __cplusplus
58168 }
58169 #endif
58170
58171 int
58172 main ()
58173 {
58174 return f != $ac_func;
58175   ;
58176   return 0;
58177 }
58178 _ACEOF
58179 rm -f conftest.$ac_objext conftest$ac_exeext
58180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58181   (eval $ac_link) 2>conftest.er1
58182   ac_status=$?
58183   grep -v '^ *+' conftest.er1 >conftest.err
58184   rm -f conftest.er1
58185   cat conftest.err >&5
58186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58187   (exit $ac_status); } &&
58188          { ac_try='test -z "$ac_c_werror_flag"
58189                          || test ! -s conftest.err'
58190   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58191   (eval $ac_try) 2>&5
58192   ac_status=$?
58193   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58194   (exit $ac_status); }; } &&
58195          { ac_try='test -s conftest$ac_exeext'
58196   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58197   (eval $ac_try) 2>&5
58198   ac_status=$?
58199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58200   (exit $ac_status); }; }; then
58201   eval "$as_ac_var=yes"
58202 else
58203   echo "$as_me: failed program was:" >&5
58204 sed 's/^/| /' conftest.$ac_ext >&5
58205
58206 eval "$as_ac_var=no"
58207 fi
58208 rm -f conftest.err conftest.$ac_objext \
58209       conftest$ac_exeext conftest.$ac_ext
58210 fi
58211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58212 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58213 if test `eval echo '${'$as_ac_var'}'` = yes; then
58214   cat >>confdefs.h <<_ACEOF
58215 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58216 _ACEOF
58217
58218 fi
58219 done
58220
58221   else
58222
58223   echo "$as_me:$LINENO: checking for _hypot declaration" >&5
58224 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
58225   if test x${glibcxx_cv_func__hypot_use+set} != xset; then
58226     if test "${glibcxx_cv_func__hypot_use+set}" = set; then
58227   echo $ECHO_N "(cached) $ECHO_C" >&6
58228 else
58229
58230
58231
58232       ac_ext=cc
58233 ac_cpp='$CXXCPP $CPPFLAGS'
58234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58237
58238       cat >conftest.$ac_ext <<_ACEOF
58239 /* confdefs.h.  */
58240 _ACEOF
58241 cat confdefs.h >>conftest.$ac_ext
58242 cat >>conftest.$ac_ext <<_ACEOF
58243 /* end confdefs.h.  */
58244 #include <math.h>
58245 int
58246 main ()
58247 {
58248  _hypot(0, 0);
58249   ;
58250   return 0;
58251 }
58252 _ACEOF
58253 rm -f conftest.$ac_objext
58254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58255   (eval $ac_compile) 2>conftest.er1
58256   ac_status=$?
58257   grep -v '^ *+' conftest.er1 >conftest.err
58258   rm -f conftest.er1
58259   cat conftest.err >&5
58260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58261   (exit $ac_status); } &&
58262          { ac_try='test -z "$ac_cxx_werror_flag"
58263                          || test ! -s conftest.err'
58264   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58265   (eval $ac_try) 2>&5
58266   ac_status=$?
58267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58268   (exit $ac_status); }; } &&
58269          { ac_try='test -s conftest.$ac_objext'
58270   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58271   (eval $ac_try) 2>&5
58272   ac_status=$?
58273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58274   (exit $ac_status); }; }; then
58275   glibcxx_cv_func__hypot_use=yes
58276 else
58277   echo "$as_me: failed program was:" >&5
58278 sed 's/^/| /' conftest.$ac_ext >&5
58279
58280 glibcxx_cv_func__hypot_use=no
58281 fi
58282 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58283       ac_ext=c
58284 ac_cpp='$CPP $CPPFLAGS'
58285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58288
58289
58290 fi
58291
58292   fi
58293   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
58294 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
58295
58296     if test x$glibcxx_cv_func__hypot_use = x"yes"; then
58297
58298 for ac_func in _hypot
58299 do
58300 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58301 echo "$as_me:$LINENO: checking for $ac_func" >&5
58302 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58303 if eval "test \"\${$as_ac_var+set}\" = set"; then
58304   echo $ECHO_N "(cached) $ECHO_C" >&6
58305 else
58306   if test x$gcc_no_link = xyes; then
58307   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58308 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58309    { (exit 1); exit 1; }; }
58310 fi
58311 cat >conftest.$ac_ext <<_ACEOF
58312 /* confdefs.h.  */
58313 _ACEOF
58314 cat confdefs.h >>conftest.$ac_ext
58315 cat >>conftest.$ac_ext <<_ACEOF
58316 /* end confdefs.h.  */
58317 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58318    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58319 #define $ac_func innocuous_$ac_func
58320
58321 /* System header to define __stub macros and hopefully few prototypes,
58322     which can conflict with char $ac_func (); below.
58323     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58324     <limits.h> exists even on freestanding compilers.  */
58325
58326 #ifdef __STDC__
58327 # include <limits.h>
58328 #else
58329 # include <assert.h>
58330 #endif
58331
58332 #undef $ac_func
58333
58334 /* Override any gcc2 internal prototype to avoid an error.  */
58335 #ifdef __cplusplus
58336 extern "C"
58337 {
58338 #endif
58339 /* We use char because int might match the return type of a gcc2
58340    builtin and then its argument prototype would still apply.  */
58341 char $ac_func ();
58342 /* The GNU C library defines this for functions which it implements
58343     to always fail with ENOSYS.  Some functions are actually named
58344     something starting with __ and the normal name is an alias.  */
58345 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58346 choke me
58347 #else
58348 char (*f) () = $ac_func;
58349 #endif
58350 #ifdef __cplusplus
58351 }
58352 #endif
58353
58354 int
58355 main ()
58356 {
58357 return f != $ac_func;
58358   ;
58359   return 0;
58360 }
58361 _ACEOF
58362 rm -f conftest.$ac_objext conftest$ac_exeext
58363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58364   (eval $ac_link) 2>conftest.er1
58365   ac_status=$?
58366   grep -v '^ *+' conftest.er1 >conftest.err
58367   rm -f conftest.er1
58368   cat conftest.err >&5
58369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58370   (exit $ac_status); } &&
58371          { ac_try='test -z "$ac_c_werror_flag"
58372                          || test ! -s conftest.err'
58373   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58374   (eval $ac_try) 2>&5
58375   ac_status=$?
58376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58377   (exit $ac_status); }; } &&
58378          { ac_try='test -s conftest$ac_exeext'
58379   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58380   (eval $ac_try) 2>&5
58381   ac_status=$?
58382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58383   (exit $ac_status); }; }; then
58384   eval "$as_ac_var=yes"
58385 else
58386   echo "$as_me: failed program was:" >&5
58387 sed 's/^/| /' conftest.$ac_ext >&5
58388
58389 eval "$as_ac_var=no"
58390 fi
58391 rm -f conftest.err conftest.$ac_objext \
58392       conftest$ac_exeext conftest.$ac_ext
58393 fi
58394 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58395 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58396 if test `eval echo '${'$as_ac_var'}'` = yes; then
58397   cat >>confdefs.h <<_ACEOF
58398 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58399 _ACEOF
58400
58401 fi
58402 done
58403
58404     fi
58405   fi
58406
58407
58408
58409   echo "$as_me:$LINENO: checking for float trig functions" >&5
58410 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
58411   if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
58412   echo $ECHO_N "(cached) $ECHO_C" >&6
58413 else
58414
58415
58416
58417     ac_ext=cc
58418 ac_cpp='$CXXCPP $CPPFLAGS'
58419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58422
58423     cat >conftest.$ac_ext <<_ACEOF
58424 /* confdefs.h.  */
58425 _ACEOF
58426 cat confdefs.h >>conftest.$ac_ext
58427 cat >>conftest.$ac_ext <<_ACEOF
58428 /* end confdefs.h.  */
58429 #include <math.h>
58430 int
58431 main ()
58432 {
58433  `for x in acosf asinf atanf \
58434                                           cosf sinf tanf \
58435                                           coshf sinhf tanhf; do echo "$x (0);"; done`
58436   ;
58437   return 0;
58438 }
58439 _ACEOF
58440 rm -f conftest.$ac_objext
58441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58442   (eval $ac_compile) 2>conftest.er1
58443   ac_status=$?
58444   grep -v '^ *+' conftest.er1 >conftest.err
58445   rm -f conftest.er1
58446   cat conftest.err >&5
58447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58448   (exit $ac_status); } &&
58449          { ac_try='test -z "$ac_cxx_werror_flag"
58450                          || test ! -s conftest.err'
58451   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58452   (eval $ac_try) 2>&5
58453   ac_status=$?
58454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58455   (exit $ac_status); }; } &&
58456          { ac_try='test -s conftest.$ac_objext'
58457   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58458   (eval $ac_try) 2>&5
58459   ac_status=$?
58460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58461   (exit $ac_status); }; }; then
58462   glibcxx_cv_func_float_trig_use=yes
58463 else
58464   echo "$as_me: failed program was:" >&5
58465 sed 's/^/| /' conftest.$ac_ext >&5
58466
58467 glibcxx_cv_func_float_trig_use=no
58468 fi
58469 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58470     ac_ext=c
58471 ac_cpp='$CPP $CPPFLAGS'
58472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58475
58476 fi
58477
58478   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
58479 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
58480   if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
58481
58482
58483
58484
58485
58486
58487
58488
58489
58490 for ac_func in acosf asinf atanf \
58491                                           cosf sinf tanf \
58492                                           coshf sinhf tanhf
58493 do
58494 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58495 echo "$as_me:$LINENO: checking for $ac_func" >&5
58496 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58497 if eval "test \"\${$as_ac_var+set}\" = set"; then
58498   echo $ECHO_N "(cached) $ECHO_C" >&6
58499 else
58500   if test x$gcc_no_link = xyes; then
58501   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58502 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58503    { (exit 1); exit 1; }; }
58504 fi
58505 cat >conftest.$ac_ext <<_ACEOF
58506 /* confdefs.h.  */
58507 _ACEOF
58508 cat confdefs.h >>conftest.$ac_ext
58509 cat >>conftest.$ac_ext <<_ACEOF
58510 /* end confdefs.h.  */
58511 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58512    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58513 #define $ac_func innocuous_$ac_func
58514
58515 /* System header to define __stub macros and hopefully few prototypes,
58516     which can conflict with char $ac_func (); below.
58517     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58518     <limits.h> exists even on freestanding compilers.  */
58519
58520 #ifdef __STDC__
58521 # include <limits.h>
58522 #else
58523 # include <assert.h>
58524 #endif
58525
58526 #undef $ac_func
58527
58528 /* Override any gcc2 internal prototype to avoid an error.  */
58529 #ifdef __cplusplus
58530 extern "C"
58531 {
58532 #endif
58533 /* We use char because int might match the return type of a gcc2
58534    builtin and then its argument prototype would still apply.  */
58535 char $ac_func ();
58536 /* The GNU C library defines this for functions which it implements
58537     to always fail with ENOSYS.  Some functions are actually named
58538     something starting with __ and the normal name is an alias.  */
58539 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58540 choke me
58541 #else
58542 char (*f) () = $ac_func;
58543 #endif
58544 #ifdef __cplusplus
58545 }
58546 #endif
58547
58548 int
58549 main ()
58550 {
58551 return f != $ac_func;
58552   ;
58553   return 0;
58554 }
58555 _ACEOF
58556 rm -f conftest.$ac_objext conftest$ac_exeext
58557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58558   (eval $ac_link) 2>conftest.er1
58559   ac_status=$?
58560   grep -v '^ *+' conftest.er1 >conftest.err
58561   rm -f conftest.er1
58562   cat conftest.err >&5
58563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58564   (exit $ac_status); } &&
58565          { ac_try='test -z "$ac_c_werror_flag"
58566                          || test ! -s conftest.err'
58567   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58568   (eval $ac_try) 2>&5
58569   ac_status=$?
58570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58571   (exit $ac_status); }; } &&
58572          { ac_try='test -s conftest$ac_exeext'
58573   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58574   (eval $ac_try) 2>&5
58575   ac_status=$?
58576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58577   (exit $ac_status); }; }; then
58578   eval "$as_ac_var=yes"
58579 else
58580   echo "$as_me: failed program was:" >&5
58581 sed 's/^/| /' conftest.$ac_ext >&5
58582
58583 eval "$as_ac_var=no"
58584 fi
58585 rm -f conftest.err conftest.$ac_objext \
58586       conftest$ac_exeext conftest.$ac_ext
58587 fi
58588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58589 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58590 if test `eval echo '${'$as_ac_var'}'` = yes; then
58591   cat >>confdefs.h <<_ACEOF
58592 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58593 _ACEOF
58594
58595 fi
58596 done
58597
58598   fi
58599
58600
58601   echo "$as_me:$LINENO: checking for float round functions" >&5
58602 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
58603   if test "${glibcxx_cv_func_float_round_use+set}" = set; then
58604   echo $ECHO_N "(cached) $ECHO_C" >&6
58605 else
58606
58607
58608
58609     ac_ext=cc
58610 ac_cpp='$CXXCPP $CPPFLAGS'
58611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58614
58615     cat >conftest.$ac_ext <<_ACEOF
58616 /* confdefs.h.  */
58617 _ACEOF
58618 cat confdefs.h >>conftest.$ac_ext
58619 cat >>conftest.$ac_ext <<_ACEOF
58620 /* end confdefs.h.  */
58621 #include <math.h>
58622 int
58623 main ()
58624 {
58625  `for x in ceilf floorf; do echo "$x (0);"; done`
58626   ;
58627   return 0;
58628 }
58629 _ACEOF
58630 rm -f conftest.$ac_objext
58631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58632   (eval $ac_compile) 2>conftest.er1
58633   ac_status=$?
58634   grep -v '^ *+' conftest.er1 >conftest.err
58635   rm -f conftest.er1
58636   cat conftest.err >&5
58637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58638   (exit $ac_status); } &&
58639          { ac_try='test -z "$ac_cxx_werror_flag"
58640                          || test ! -s conftest.err'
58641   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58642   (eval $ac_try) 2>&5
58643   ac_status=$?
58644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58645   (exit $ac_status); }; } &&
58646          { ac_try='test -s conftest.$ac_objext'
58647   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58648   (eval $ac_try) 2>&5
58649   ac_status=$?
58650   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58651   (exit $ac_status); }; }; then
58652   glibcxx_cv_func_float_round_use=yes
58653 else
58654   echo "$as_me: failed program was:" >&5
58655 sed 's/^/| /' conftest.$ac_ext >&5
58656
58657 glibcxx_cv_func_float_round_use=no
58658 fi
58659 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58660     ac_ext=c
58661 ac_cpp='$CPP $CPPFLAGS'
58662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58665
58666 fi
58667
58668   echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
58669 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
58670   if test x$glibcxx_cv_func_float_round_use = x"yes"; then
58671
58672
58673 for ac_func in ceilf floorf
58674 do
58675 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58676 echo "$as_me:$LINENO: checking for $ac_func" >&5
58677 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58678 if eval "test \"\${$as_ac_var+set}\" = set"; then
58679   echo $ECHO_N "(cached) $ECHO_C" >&6
58680 else
58681   if test x$gcc_no_link = xyes; then
58682   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58683 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58684    { (exit 1); exit 1; }; }
58685 fi
58686 cat >conftest.$ac_ext <<_ACEOF
58687 /* confdefs.h.  */
58688 _ACEOF
58689 cat confdefs.h >>conftest.$ac_ext
58690 cat >>conftest.$ac_ext <<_ACEOF
58691 /* end confdefs.h.  */
58692 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58693    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58694 #define $ac_func innocuous_$ac_func
58695
58696 /* System header to define __stub macros and hopefully few prototypes,
58697     which can conflict with char $ac_func (); below.
58698     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58699     <limits.h> exists even on freestanding compilers.  */
58700
58701 #ifdef __STDC__
58702 # include <limits.h>
58703 #else
58704 # include <assert.h>
58705 #endif
58706
58707 #undef $ac_func
58708
58709 /* Override any gcc2 internal prototype to avoid an error.  */
58710 #ifdef __cplusplus
58711 extern "C"
58712 {
58713 #endif
58714 /* We use char because int might match the return type of a gcc2
58715    builtin and then its argument prototype would still apply.  */
58716 char $ac_func ();
58717 /* The GNU C library defines this for functions which it implements
58718     to always fail with ENOSYS.  Some functions are actually named
58719     something starting with __ and the normal name is an alias.  */
58720 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58721 choke me
58722 #else
58723 char (*f) () = $ac_func;
58724 #endif
58725 #ifdef __cplusplus
58726 }
58727 #endif
58728
58729 int
58730 main ()
58731 {
58732 return f != $ac_func;
58733   ;
58734   return 0;
58735 }
58736 _ACEOF
58737 rm -f conftest.$ac_objext conftest$ac_exeext
58738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58739   (eval $ac_link) 2>conftest.er1
58740   ac_status=$?
58741   grep -v '^ *+' conftest.er1 >conftest.err
58742   rm -f conftest.er1
58743   cat conftest.err >&5
58744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58745   (exit $ac_status); } &&
58746          { ac_try='test -z "$ac_c_werror_flag"
58747                          || test ! -s conftest.err'
58748   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58749   (eval $ac_try) 2>&5
58750   ac_status=$?
58751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58752   (exit $ac_status); }; } &&
58753          { ac_try='test -s conftest$ac_exeext'
58754   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58755   (eval $ac_try) 2>&5
58756   ac_status=$?
58757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58758   (exit $ac_status); }; }; then
58759   eval "$as_ac_var=yes"
58760 else
58761   echo "$as_me: failed program was:" >&5
58762 sed 's/^/| /' conftest.$ac_ext >&5
58763
58764 eval "$as_ac_var=no"
58765 fi
58766 rm -f conftest.err conftest.$ac_objext \
58767       conftest$ac_exeext conftest.$ac_ext
58768 fi
58769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58770 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58771 if test `eval echo '${'$as_ac_var'}'` = yes; then
58772   cat >>confdefs.h <<_ACEOF
58773 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58774 _ACEOF
58775
58776 fi
58777 done
58778
58779   fi
58780
58781
58782
58783   echo "$as_me:$LINENO: checking for expf declaration" >&5
58784 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
58785   if test x${glibcxx_cv_func_expf_use+set} != xset; then
58786     if test "${glibcxx_cv_func_expf_use+set}" = set; then
58787   echo $ECHO_N "(cached) $ECHO_C" >&6
58788 else
58789
58790
58791
58792       ac_ext=cc
58793 ac_cpp='$CXXCPP $CPPFLAGS'
58794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58797
58798       cat >conftest.$ac_ext <<_ACEOF
58799 /* confdefs.h.  */
58800 _ACEOF
58801 cat confdefs.h >>conftest.$ac_ext
58802 cat >>conftest.$ac_ext <<_ACEOF
58803 /* end confdefs.h.  */
58804 #include <math.h>
58805                       #ifdef HAVE_IEEEFP_H
58806                       #include <ieeefp.h>
58807                       #endif
58808
58809 int
58810 main ()
58811 {
58812  expf(0);
58813   ;
58814   return 0;
58815 }
58816 _ACEOF
58817 rm -f conftest.$ac_objext
58818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58819   (eval $ac_compile) 2>conftest.er1
58820   ac_status=$?
58821   grep -v '^ *+' conftest.er1 >conftest.err
58822   rm -f conftest.er1
58823   cat conftest.err >&5
58824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58825   (exit $ac_status); } &&
58826          { ac_try='test -z "$ac_cxx_werror_flag"
58827                          || test ! -s conftest.err'
58828   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58829   (eval $ac_try) 2>&5
58830   ac_status=$?
58831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58832   (exit $ac_status); }; } &&
58833          { ac_try='test -s conftest.$ac_objext'
58834   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58835   (eval $ac_try) 2>&5
58836   ac_status=$?
58837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58838   (exit $ac_status); }; }; then
58839   glibcxx_cv_func_expf_use=yes
58840 else
58841   echo "$as_me: failed program was:" >&5
58842 sed 's/^/| /' conftest.$ac_ext >&5
58843
58844 glibcxx_cv_func_expf_use=no
58845 fi
58846 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58847       ac_ext=c
58848 ac_cpp='$CPP $CPPFLAGS'
58849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58852
58853
58854 fi
58855
58856   fi
58857   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
58858 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
58859
58860   if test x$glibcxx_cv_func_expf_use = x"yes"; then
58861
58862 for ac_func in expf
58863 do
58864 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58865 echo "$as_me:$LINENO: checking for $ac_func" >&5
58866 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58867 if eval "test \"\${$as_ac_var+set}\" = set"; then
58868   echo $ECHO_N "(cached) $ECHO_C" >&6
58869 else
58870   if test x$gcc_no_link = xyes; then
58871   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58872 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58873    { (exit 1); exit 1; }; }
58874 fi
58875 cat >conftest.$ac_ext <<_ACEOF
58876 /* confdefs.h.  */
58877 _ACEOF
58878 cat confdefs.h >>conftest.$ac_ext
58879 cat >>conftest.$ac_ext <<_ACEOF
58880 /* end confdefs.h.  */
58881 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58882    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
58883 #define $ac_func innocuous_$ac_func
58884
58885 /* System header to define __stub macros and hopefully few prototypes,
58886     which can conflict with char $ac_func (); below.
58887     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58888     <limits.h> exists even on freestanding compilers.  */
58889
58890 #ifdef __STDC__
58891 # include <limits.h>
58892 #else
58893 # include <assert.h>
58894 #endif
58895
58896 #undef $ac_func
58897
58898 /* Override any gcc2 internal prototype to avoid an error.  */
58899 #ifdef __cplusplus
58900 extern "C"
58901 {
58902 #endif
58903 /* We use char because int might match the return type of a gcc2
58904    builtin and then its argument prototype would still apply.  */
58905 char $ac_func ();
58906 /* The GNU C library defines this for functions which it implements
58907     to always fail with ENOSYS.  Some functions are actually named
58908     something starting with __ and the normal name is an alias.  */
58909 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58910 choke me
58911 #else
58912 char (*f) () = $ac_func;
58913 #endif
58914 #ifdef __cplusplus
58915 }
58916 #endif
58917
58918 int
58919 main ()
58920 {
58921 return f != $ac_func;
58922   ;
58923   return 0;
58924 }
58925 _ACEOF
58926 rm -f conftest.$ac_objext conftest$ac_exeext
58927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58928   (eval $ac_link) 2>conftest.er1
58929   ac_status=$?
58930   grep -v '^ *+' conftest.er1 >conftest.err
58931   rm -f conftest.er1
58932   cat conftest.err >&5
58933   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58934   (exit $ac_status); } &&
58935          { ac_try='test -z "$ac_c_werror_flag"
58936                          || test ! -s conftest.err'
58937   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58938   (eval $ac_try) 2>&5
58939   ac_status=$?
58940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58941   (exit $ac_status); }; } &&
58942          { ac_try='test -s conftest$ac_exeext'
58943   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58944   (eval $ac_try) 2>&5
58945   ac_status=$?
58946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
58947   (exit $ac_status); }; }; then
58948   eval "$as_ac_var=yes"
58949 else
58950   echo "$as_me: failed program was:" >&5
58951 sed 's/^/| /' conftest.$ac_ext >&5
58952
58953 eval "$as_ac_var=no"
58954 fi
58955 rm -f conftest.err conftest.$ac_objext \
58956       conftest$ac_exeext conftest.$ac_ext
58957 fi
58958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58959 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58960 if test `eval echo '${'$as_ac_var'}'` = yes; then
58961   cat >>confdefs.h <<_ACEOF
58962 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58963 _ACEOF
58964
58965 fi
58966 done
58967
58968   else
58969
58970   echo "$as_me:$LINENO: checking for _expf declaration" >&5
58971 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
58972   if test x${glibcxx_cv_func__expf_use+set} != xset; then
58973     if test "${glibcxx_cv_func__expf_use+set}" = set; then
58974   echo $ECHO_N "(cached) $ECHO_C" >&6
58975 else
58976
58977
58978
58979       ac_ext=cc
58980 ac_cpp='$CXXCPP $CPPFLAGS'
58981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58984
58985       cat >conftest.$ac_ext <<_ACEOF
58986 /* confdefs.h.  */
58987 _ACEOF
58988 cat confdefs.h >>conftest.$ac_ext
58989 cat >>conftest.$ac_ext <<_ACEOF
58990 /* end confdefs.h.  */
58991 #include <math.h>
58992                       #ifdef HAVE_IEEEFP_H
58993                       #include <ieeefp.h>
58994                       #endif
58995
58996 int
58997 main ()
58998 {
58999  _expf(0);
59000   ;
59001   return 0;
59002 }
59003 _ACEOF
59004 rm -f conftest.$ac_objext
59005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59006   (eval $ac_compile) 2>conftest.er1
59007   ac_status=$?
59008   grep -v '^ *+' conftest.er1 >conftest.err
59009   rm -f conftest.er1
59010   cat conftest.err >&5
59011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59012   (exit $ac_status); } &&
59013          { ac_try='test -z "$ac_cxx_werror_flag"
59014                          || test ! -s conftest.err'
59015   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59016   (eval $ac_try) 2>&5
59017   ac_status=$?
59018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59019   (exit $ac_status); }; } &&
59020          { ac_try='test -s conftest.$ac_objext'
59021   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59022   (eval $ac_try) 2>&5
59023   ac_status=$?
59024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59025   (exit $ac_status); }; }; then
59026   glibcxx_cv_func__expf_use=yes
59027 else
59028   echo "$as_me: failed program was:" >&5
59029 sed 's/^/| /' conftest.$ac_ext >&5
59030
59031 glibcxx_cv_func__expf_use=no
59032 fi
59033 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59034       ac_ext=c
59035 ac_cpp='$CPP $CPPFLAGS'
59036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59039
59040
59041 fi
59042
59043   fi
59044   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
59045 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
59046
59047     if test x$glibcxx_cv_func__expf_use = x"yes"; then
59048
59049 for ac_func in _expf
59050 do
59051 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59052 echo "$as_me:$LINENO: checking for $ac_func" >&5
59053 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59054 if eval "test \"\${$as_ac_var+set}\" = set"; then
59055   echo $ECHO_N "(cached) $ECHO_C" >&6
59056 else
59057   if test x$gcc_no_link = xyes; then
59058   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59059 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59060    { (exit 1); exit 1; }; }
59061 fi
59062 cat >conftest.$ac_ext <<_ACEOF
59063 /* confdefs.h.  */
59064 _ACEOF
59065 cat confdefs.h >>conftest.$ac_ext
59066 cat >>conftest.$ac_ext <<_ACEOF
59067 /* end confdefs.h.  */
59068 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59069    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59070 #define $ac_func innocuous_$ac_func
59071
59072 /* System header to define __stub macros and hopefully few prototypes,
59073     which can conflict with char $ac_func (); below.
59074     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59075     <limits.h> exists even on freestanding compilers.  */
59076
59077 #ifdef __STDC__
59078 # include <limits.h>
59079 #else
59080 # include <assert.h>
59081 #endif
59082
59083 #undef $ac_func
59084
59085 /* Override any gcc2 internal prototype to avoid an error.  */
59086 #ifdef __cplusplus
59087 extern "C"
59088 {
59089 #endif
59090 /* We use char because int might match the return type of a gcc2
59091    builtin and then its argument prototype would still apply.  */
59092 char $ac_func ();
59093 /* The GNU C library defines this for functions which it implements
59094     to always fail with ENOSYS.  Some functions are actually named
59095     something starting with __ and the normal name is an alias.  */
59096 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59097 choke me
59098 #else
59099 char (*f) () = $ac_func;
59100 #endif
59101 #ifdef __cplusplus
59102 }
59103 #endif
59104
59105 int
59106 main ()
59107 {
59108 return f != $ac_func;
59109   ;
59110   return 0;
59111 }
59112 _ACEOF
59113 rm -f conftest.$ac_objext conftest$ac_exeext
59114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59115   (eval $ac_link) 2>conftest.er1
59116   ac_status=$?
59117   grep -v '^ *+' conftest.er1 >conftest.err
59118   rm -f conftest.er1
59119   cat conftest.err >&5
59120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59121   (exit $ac_status); } &&
59122          { ac_try='test -z "$ac_c_werror_flag"
59123                          || test ! -s conftest.err'
59124   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59125   (eval $ac_try) 2>&5
59126   ac_status=$?
59127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59128   (exit $ac_status); }; } &&
59129          { ac_try='test -s conftest$ac_exeext'
59130   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59131   (eval $ac_try) 2>&5
59132   ac_status=$?
59133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59134   (exit $ac_status); }; }; then
59135   eval "$as_ac_var=yes"
59136 else
59137   echo "$as_me: failed program was:" >&5
59138 sed 's/^/| /' conftest.$ac_ext >&5
59139
59140 eval "$as_ac_var=no"
59141 fi
59142 rm -f conftest.err conftest.$ac_objext \
59143       conftest$ac_exeext conftest.$ac_ext
59144 fi
59145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59146 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59147 if test `eval echo '${'$as_ac_var'}'` = yes; then
59148   cat >>confdefs.h <<_ACEOF
59149 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59150 _ACEOF
59151
59152 fi
59153 done
59154
59155     fi
59156   fi
59157
59158
59159
59160   echo "$as_me:$LINENO: checking for isnanf declaration" >&5
59161 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
59162   if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
59163     if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
59164   echo $ECHO_N "(cached) $ECHO_C" >&6
59165 else
59166
59167
59168
59169       ac_ext=cc
59170 ac_cpp='$CXXCPP $CPPFLAGS'
59171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59174
59175       cat >conftest.$ac_ext <<_ACEOF
59176 /* confdefs.h.  */
59177 _ACEOF
59178 cat confdefs.h >>conftest.$ac_ext
59179 cat >>conftest.$ac_ext <<_ACEOF
59180 /* end confdefs.h.  */
59181 #include <math.h>
59182                       #ifdef HAVE_IEEEFP_H
59183                       #include <ieeefp.h>
59184                       #endif
59185
59186 int
59187 main ()
59188 {
59189  isnanf(0);
59190   ;
59191   return 0;
59192 }
59193 _ACEOF
59194 rm -f conftest.$ac_objext
59195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59196   (eval $ac_compile) 2>conftest.er1
59197   ac_status=$?
59198   grep -v '^ *+' conftest.er1 >conftest.err
59199   rm -f conftest.er1
59200   cat conftest.err >&5
59201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59202   (exit $ac_status); } &&
59203          { ac_try='test -z "$ac_cxx_werror_flag"
59204                          || test ! -s conftest.err'
59205   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59206   (eval $ac_try) 2>&5
59207   ac_status=$?
59208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59209   (exit $ac_status); }; } &&
59210          { ac_try='test -s conftest.$ac_objext'
59211   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59212   (eval $ac_try) 2>&5
59213   ac_status=$?
59214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59215   (exit $ac_status); }; }; then
59216   glibcxx_cv_func_isnanf_use=yes
59217 else
59218   echo "$as_me: failed program was:" >&5
59219 sed 's/^/| /' conftest.$ac_ext >&5
59220
59221 glibcxx_cv_func_isnanf_use=no
59222 fi
59223 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59224       ac_ext=c
59225 ac_cpp='$CPP $CPPFLAGS'
59226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59229
59230
59231 fi
59232
59233   fi
59234   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
59235 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
59236
59237   if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
59238
59239 for ac_func in isnanf
59240 do
59241 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59242 echo "$as_me:$LINENO: checking for $ac_func" >&5
59243 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59244 if eval "test \"\${$as_ac_var+set}\" = set"; then
59245   echo $ECHO_N "(cached) $ECHO_C" >&6
59246 else
59247   if test x$gcc_no_link = xyes; then
59248   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59249 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59250    { (exit 1); exit 1; }; }
59251 fi
59252 cat >conftest.$ac_ext <<_ACEOF
59253 /* confdefs.h.  */
59254 _ACEOF
59255 cat confdefs.h >>conftest.$ac_ext
59256 cat >>conftest.$ac_ext <<_ACEOF
59257 /* end confdefs.h.  */
59258 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59259    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59260 #define $ac_func innocuous_$ac_func
59261
59262 /* System header to define __stub macros and hopefully few prototypes,
59263     which can conflict with char $ac_func (); below.
59264     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59265     <limits.h> exists even on freestanding compilers.  */
59266
59267 #ifdef __STDC__
59268 # include <limits.h>
59269 #else
59270 # include <assert.h>
59271 #endif
59272
59273 #undef $ac_func
59274
59275 /* Override any gcc2 internal prototype to avoid an error.  */
59276 #ifdef __cplusplus
59277 extern "C"
59278 {
59279 #endif
59280 /* We use char because int might match the return type of a gcc2
59281    builtin and then its argument prototype would still apply.  */
59282 char $ac_func ();
59283 /* The GNU C library defines this for functions which it implements
59284     to always fail with ENOSYS.  Some functions are actually named
59285     something starting with __ and the normal name is an alias.  */
59286 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59287 choke me
59288 #else
59289 char (*f) () = $ac_func;
59290 #endif
59291 #ifdef __cplusplus
59292 }
59293 #endif
59294
59295 int
59296 main ()
59297 {
59298 return f != $ac_func;
59299   ;
59300   return 0;
59301 }
59302 _ACEOF
59303 rm -f conftest.$ac_objext conftest$ac_exeext
59304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59305   (eval $ac_link) 2>conftest.er1
59306   ac_status=$?
59307   grep -v '^ *+' conftest.er1 >conftest.err
59308   rm -f conftest.er1
59309   cat conftest.err >&5
59310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59311   (exit $ac_status); } &&
59312          { ac_try='test -z "$ac_c_werror_flag"
59313                          || test ! -s conftest.err'
59314   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59315   (eval $ac_try) 2>&5
59316   ac_status=$?
59317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59318   (exit $ac_status); }; } &&
59319          { ac_try='test -s conftest$ac_exeext'
59320   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59321   (eval $ac_try) 2>&5
59322   ac_status=$?
59323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59324   (exit $ac_status); }; }; then
59325   eval "$as_ac_var=yes"
59326 else
59327   echo "$as_me: failed program was:" >&5
59328 sed 's/^/| /' conftest.$ac_ext >&5
59329
59330 eval "$as_ac_var=no"
59331 fi
59332 rm -f conftest.err conftest.$ac_objext \
59333       conftest$ac_exeext conftest.$ac_ext
59334 fi
59335 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59336 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59337 if test `eval echo '${'$as_ac_var'}'` = yes; then
59338   cat >>confdefs.h <<_ACEOF
59339 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59340 _ACEOF
59341
59342 fi
59343 done
59344
59345   else
59346
59347   echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
59348 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
59349   if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
59350     if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
59351   echo $ECHO_N "(cached) $ECHO_C" >&6
59352 else
59353
59354
59355
59356       ac_ext=cc
59357 ac_cpp='$CXXCPP $CPPFLAGS'
59358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59361
59362       cat >conftest.$ac_ext <<_ACEOF
59363 /* confdefs.h.  */
59364 _ACEOF
59365 cat confdefs.h >>conftest.$ac_ext
59366 cat >>conftest.$ac_ext <<_ACEOF
59367 /* end confdefs.h.  */
59368 #include <math.h>
59369                       #ifdef HAVE_IEEEFP_H
59370                       #include <ieeefp.h>
59371                       #endif
59372
59373 int
59374 main ()
59375 {
59376  _isnanf(0);
59377   ;
59378   return 0;
59379 }
59380 _ACEOF
59381 rm -f conftest.$ac_objext
59382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59383   (eval $ac_compile) 2>conftest.er1
59384   ac_status=$?
59385   grep -v '^ *+' conftest.er1 >conftest.err
59386   rm -f conftest.er1
59387   cat conftest.err >&5
59388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59389   (exit $ac_status); } &&
59390          { ac_try='test -z "$ac_cxx_werror_flag"
59391                          || test ! -s conftest.err'
59392   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59393   (eval $ac_try) 2>&5
59394   ac_status=$?
59395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59396   (exit $ac_status); }; } &&
59397          { ac_try='test -s conftest.$ac_objext'
59398   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59399   (eval $ac_try) 2>&5
59400   ac_status=$?
59401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59402   (exit $ac_status); }; }; then
59403   glibcxx_cv_func__isnanf_use=yes
59404 else
59405   echo "$as_me: failed program was:" >&5
59406 sed 's/^/| /' conftest.$ac_ext >&5
59407
59408 glibcxx_cv_func__isnanf_use=no
59409 fi
59410 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59411       ac_ext=c
59412 ac_cpp='$CPP $CPPFLAGS'
59413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59416
59417
59418 fi
59419
59420   fi
59421   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
59422 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
59423
59424     if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
59425
59426 for ac_func in _isnanf
59427 do
59428 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59429 echo "$as_me:$LINENO: checking for $ac_func" >&5
59430 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59431 if eval "test \"\${$as_ac_var+set}\" = set"; then
59432   echo $ECHO_N "(cached) $ECHO_C" >&6
59433 else
59434   if test x$gcc_no_link = xyes; then
59435   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59436 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59437    { (exit 1); exit 1; }; }
59438 fi
59439 cat >conftest.$ac_ext <<_ACEOF
59440 /* confdefs.h.  */
59441 _ACEOF
59442 cat confdefs.h >>conftest.$ac_ext
59443 cat >>conftest.$ac_ext <<_ACEOF
59444 /* end confdefs.h.  */
59445 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59446    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59447 #define $ac_func innocuous_$ac_func
59448
59449 /* System header to define __stub macros and hopefully few prototypes,
59450     which can conflict with char $ac_func (); below.
59451     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59452     <limits.h> exists even on freestanding compilers.  */
59453
59454 #ifdef __STDC__
59455 # include <limits.h>
59456 #else
59457 # include <assert.h>
59458 #endif
59459
59460 #undef $ac_func
59461
59462 /* Override any gcc2 internal prototype to avoid an error.  */
59463 #ifdef __cplusplus
59464 extern "C"
59465 {
59466 #endif
59467 /* We use char because int might match the return type of a gcc2
59468    builtin and then its argument prototype would still apply.  */
59469 char $ac_func ();
59470 /* The GNU C library defines this for functions which it implements
59471     to always fail with ENOSYS.  Some functions are actually named
59472     something starting with __ and the normal name is an alias.  */
59473 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59474 choke me
59475 #else
59476 char (*f) () = $ac_func;
59477 #endif
59478 #ifdef __cplusplus
59479 }
59480 #endif
59481
59482 int
59483 main ()
59484 {
59485 return f != $ac_func;
59486   ;
59487   return 0;
59488 }
59489 _ACEOF
59490 rm -f conftest.$ac_objext conftest$ac_exeext
59491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59492   (eval $ac_link) 2>conftest.er1
59493   ac_status=$?
59494   grep -v '^ *+' conftest.er1 >conftest.err
59495   rm -f conftest.er1
59496   cat conftest.err >&5
59497   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59498   (exit $ac_status); } &&
59499          { ac_try='test -z "$ac_c_werror_flag"
59500                          || test ! -s conftest.err'
59501   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59502   (eval $ac_try) 2>&5
59503   ac_status=$?
59504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59505   (exit $ac_status); }; } &&
59506          { ac_try='test -s conftest$ac_exeext'
59507   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59508   (eval $ac_try) 2>&5
59509   ac_status=$?
59510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59511   (exit $ac_status); }; }; then
59512   eval "$as_ac_var=yes"
59513 else
59514   echo "$as_me: failed program was:" >&5
59515 sed 's/^/| /' conftest.$ac_ext >&5
59516
59517 eval "$as_ac_var=no"
59518 fi
59519 rm -f conftest.err conftest.$ac_objext \
59520       conftest$ac_exeext conftest.$ac_ext
59521 fi
59522 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59523 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59524 if test `eval echo '${'$as_ac_var'}'` = yes; then
59525   cat >>confdefs.h <<_ACEOF
59526 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59527 _ACEOF
59528
59529 fi
59530 done
59531
59532     fi
59533   fi
59534
59535
59536
59537   echo "$as_me:$LINENO: checking for isinff declaration" >&5
59538 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
59539   if test x${glibcxx_cv_func_isinff_use+set} != xset; then
59540     if test "${glibcxx_cv_func_isinff_use+set}" = set; then
59541   echo $ECHO_N "(cached) $ECHO_C" >&6
59542 else
59543
59544
59545
59546       ac_ext=cc
59547 ac_cpp='$CXXCPP $CPPFLAGS'
59548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59551
59552       cat >conftest.$ac_ext <<_ACEOF
59553 /* confdefs.h.  */
59554 _ACEOF
59555 cat confdefs.h >>conftest.$ac_ext
59556 cat >>conftest.$ac_ext <<_ACEOF
59557 /* end confdefs.h.  */
59558 #include <math.h>
59559                       #ifdef HAVE_IEEEFP_H
59560                       #include <ieeefp.h>
59561                       #endif
59562
59563 int
59564 main ()
59565 {
59566  isinff(0);
59567   ;
59568   return 0;
59569 }
59570 _ACEOF
59571 rm -f conftest.$ac_objext
59572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59573   (eval $ac_compile) 2>conftest.er1
59574   ac_status=$?
59575   grep -v '^ *+' conftest.er1 >conftest.err
59576   rm -f conftest.er1
59577   cat conftest.err >&5
59578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59579   (exit $ac_status); } &&
59580          { ac_try='test -z "$ac_cxx_werror_flag"
59581                          || test ! -s conftest.err'
59582   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59583   (eval $ac_try) 2>&5
59584   ac_status=$?
59585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59586   (exit $ac_status); }; } &&
59587          { ac_try='test -s conftest.$ac_objext'
59588   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59589   (eval $ac_try) 2>&5
59590   ac_status=$?
59591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59592   (exit $ac_status); }; }; then
59593   glibcxx_cv_func_isinff_use=yes
59594 else
59595   echo "$as_me: failed program was:" >&5
59596 sed 's/^/| /' conftest.$ac_ext >&5
59597
59598 glibcxx_cv_func_isinff_use=no
59599 fi
59600 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59601       ac_ext=c
59602 ac_cpp='$CPP $CPPFLAGS'
59603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59606
59607
59608 fi
59609
59610   fi
59611   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
59612 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
59613
59614   if test x$glibcxx_cv_func_isinff_use = x"yes"; then
59615
59616 for ac_func in isinff
59617 do
59618 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59619 echo "$as_me:$LINENO: checking for $ac_func" >&5
59620 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59621 if eval "test \"\${$as_ac_var+set}\" = set"; then
59622   echo $ECHO_N "(cached) $ECHO_C" >&6
59623 else
59624   if test x$gcc_no_link = xyes; then
59625   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59626 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59627    { (exit 1); exit 1; }; }
59628 fi
59629 cat >conftest.$ac_ext <<_ACEOF
59630 /* confdefs.h.  */
59631 _ACEOF
59632 cat confdefs.h >>conftest.$ac_ext
59633 cat >>conftest.$ac_ext <<_ACEOF
59634 /* end confdefs.h.  */
59635 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59636    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59637 #define $ac_func innocuous_$ac_func
59638
59639 /* System header to define __stub macros and hopefully few prototypes,
59640     which can conflict with char $ac_func (); below.
59641     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59642     <limits.h> exists even on freestanding compilers.  */
59643
59644 #ifdef __STDC__
59645 # include <limits.h>
59646 #else
59647 # include <assert.h>
59648 #endif
59649
59650 #undef $ac_func
59651
59652 /* Override any gcc2 internal prototype to avoid an error.  */
59653 #ifdef __cplusplus
59654 extern "C"
59655 {
59656 #endif
59657 /* We use char because int might match the return type of a gcc2
59658    builtin and then its argument prototype would still apply.  */
59659 char $ac_func ();
59660 /* The GNU C library defines this for functions which it implements
59661     to always fail with ENOSYS.  Some functions are actually named
59662     something starting with __ and the normal name is an alias.  */
59663 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59664 choke me
59665 #else
59666 char (*f) () = $ac_func;
59667 #endif
59668 #ifdef __cplusplus
59669 }
59670 #endif
59671
59672 int
59673 main ()
59674 {
59675 return f != $ac_func;
59676   ;
59677   return 0;
59678 }
59679 _ACEOF
59680 rm -f conftest.$ac_objext conftest$ac_exeext
59681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59682   (eval $ac_link) 2>conftest.er1
59683   ac_status=$?
59684   grep -v '^ *+' conftest.er1 >conftest.err
59685   rm -f conftest.er1
59686   cat conftest.err >&5
59687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59688   (exit $ac_status); } &&
59689          { ac_try='test -z "$ac_c_werror_flag"
59690                          || test ! -s conftest.err'
59691   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59692   (eval $ac_try) 2>&5
59693   ac_status=$?
59694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59695   (exit $ac_status); }; } &&
59696          { ac_try='test -s conftest$ac_exeext'
59697   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59698   (eval $ac_try) 2>&5
59699   ac_status=$?
59700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59701   (exit $ac_status); }; }; then
59702   eval "$as_ac_var=yes"
59703 else
59704   echo "$as_me: failed program was:" >&5
59705 sed 's/^/| /' conftest.$ac_ext >&5
59706
59707 eval "$as_ac_var=no"
59708 fi
59709 rm -f conftest.err conftest.$ac_objext \
59710       conftest$ac_exeext conftest.$ac_ext
59711 fi
59712 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59713 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59714 if test `eval echo '${'$as_ac_var'}'` = yes; then
59715   cat >>confdefs.h <<_ACEOF
59716 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59717 _ACEOF
59718
59719 fi
59720 done
59721
59722   else
59723
59724   echo "$as_me:$LINENO: checking for _isinff declaration" >&5
59725 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
59726   if test x${glibcxx_cv_func__isinff_use+set} != xset; then
59727     if test "${glibcxx_cv_func__isinff_use+set}" = set; then
59728   echo $ECHO_N "(cached) $ECHO_C" >&6
59729 else
59730
59731
59732
59733       ac_ext=cc
59734 ac_cpp='$CXXCPP $CPPFLAGS'
59735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59738
59739       cat >conftest.$ac_ext <<_ACEOF
59740 /* confdefs.h.  */
59741 _ACEOF
59742 cat confdefs.h >>conftest.$ac_ext
59743 cat >>conftest.$ac_ext <<_ACEOF
59744 /* end confdefs.h.  */
59745 #include <math.h>
59746                       #ifdef HAVE_IEEEFP_H
59747                       #include <ieeefp.h>
59748                       #endif
59749
59750 int
59751 main ()
59752 {
59753  _isinff(0);
59754   ;
59755   return 0;
59756 }
59757 _ACEOF
59758 rm -f conftest.$ac_objext
59759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59760   (eval $ac_compile) 2>conftest.er1
59761   ac_status=$?
59762   grep -v '^ *+' conftest.er1 >conftest.err
59763   rm -f conftest.er1
59764   cat conftest.err >&5
59765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59766   (exit $ac_status); } &&
59767          { ac_try='test -z "$ac_cxx_werror_flag"
59768                          || test ! -s conftest.err'
59769   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59770   (eval $ac_try) 2>&5
59771   ac_status=$?
59772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59773   (exit $ac_status); }; } &&
59774          { ac_try='test -s conftest.$ac_objext'
59775   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59776   (eval $ac_try) 2>&5
59777   ac_status=$?
59778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59779   (exit $ac_status); }; }; then
59780   glibcxx_cv_func__isinff_use=yes
59781 else
59782   echo "$as_me: failed program was:" >&5
59783 sed 's/^/| /' conftest.$ac_ext >&5
59784
59785 glibcxx_cv_func__isinff_use=no
59786 fi
59787 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59788       ac_ext=c
59789 ac_cpp='$CPP $CPPFLAGS'
59790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59793
59794
59795 fi
59796
59797   fi
59798   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
59799 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
59800
59801     if test x$glibcxx_cv_func__isinff_use = x"yes"; then
59802
59803 for ac_func in _isinff
59804 do
59805 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59806 echo "$as_me:$LINENO: checking for $ac_func" >&5
59807 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59808 if eval "test \"\${$as_ac_var+set}\" = set"; then
59809   echo $ECHO_N "(cached) $ECHO_C" >&6
59810 else
59811   if test x$gcc_no_link = xyes; then
59812   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59813 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59814    { (exit 1); exit 1; }; }
59815 fi
59816 cat >conftest.$ac_ext <<_ACEOF
59817 /* confdefs.h.  */
59818 _ACEOF
59819 cat confdefs.h >>conftest.$ac_ext
59820 cat >>conftest.$ac_ext <<_ACEOF
59821 /* end confdefs.h.  */
59822 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59823    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
59824 #define $ac_func innocuous_$ac_func
59825
59826 /* System header to define __stub macros and hopefully few prototypes,
59827     which can conflict with char $ac_func (); below.
59828     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59829     <limits.h> exists even on freestanding compilers.  */
59830
59831 #ifdef __STDC__
59832 # include <limits.h>
59833 #else
59834 # include <assert.h>
59835 #endif
59836
59837 #undef $ac_func
59838
59839 /* Override any gcc2 internal prototype to avoid an error.  */
59840 #ifdef __cplusplus
59841 extern "C"
59842 {
59843 #endif
59844 /* We use char because int might match the return type of a gcc2
59845    builtin and then its argument prototype would still apply.  */
59846 char $ac_func ();
59847 /* The GNU C library defines this for functions which it implements
59848     to always fail with ENOSYS.  Some functions are actually named
59849     something starting with __ and the normal name is an alias.  */
59850 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59851 choke me
59852 #else
59853 char (*f) () = $ac_func;
59854 #endif
59855 #ifdef __cplusplus
59856 }
59857 #endif
59858
59859 int
59860 main ()
59861 {
59862 return f != $ac_func;
59863   ;
59864   return 0;
59865 }
59866 _ACEOF
59867 rm -f conftest.$ac_objext conftest$ac_exeext
59868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59869   (eval $ac_link) 2>conftest.er1
59870   ac_status=$?
59871   grep -v '^ *+' conftest.er1 >conftest.err
59872   rm -f conftest.er1
59873   cat conftest.err >&5
59874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59875   (exit $ac_status); } &&
59876          { ac_try='test -z "$ac_c_werror_flag"
59877                          || test ! -s conftest.err'
59878   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59879   (eval $ac_try) 2>&5
59880   ac_status=$?
59881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59882   (exit $ac_status); }; } &&
59883          { ac_try='test -s conftest$ac_exeext'
59884   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59885   (eval $ac_try) 2>&5
59886   ac_status=$?
59887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59888   (exit $ac_status); }; }; then
59889   eval "$as_ac_var=yes"
59890 else
59891   echo "$as_me: failed program was:" >&5
59892 sed 's/^/| /' conftest.$ac_ext >&5
59893
59894 eval "$as_ac_var=no"
59895 fi
59896 rm -f conftest.err conftest.$ac_objext \
59897       conftest$ac_exeext conftest.$ac_ext
59898 fi
59899 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59900 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59901 if test `eval echo '${'$as_ac_var'}'` = yes; then
59902   cat >>confdefs.h <<_ACEOF
59903 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59904 _ACEOF
59905
59906 fi
59907 done
59908
59909     fi
59910   fi
59911
59912
59913
59914   echo "$as_me:$LINENO: checking for atan2f declaration" >&5
59915 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
59916   if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
59917     if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
59918   echo $ECHO_N "(cached) $ECHO_C" >&6
59919 else
59920
59921
59922
59923       ac_ext=cc
59924 ac_cpp='$CXXCPP $CPPFLAGS'
59925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59928
59929       cat >conftest.$ac_ext <<_ACEOF
59930 /* confdefs.h.  */
59931 _ACEOF
59932 cat confdefs.h >>conftest.$ac_ext
59933 cat >>conftest.$ac_ext <<_ACEOF
59934 /* end confdefs.h.  */
59935 #include <math.h>
59936 int
59937 main ()
59938 {
59939  atan2f(0, 0);
59940   ;
59941   return 0;
59942 }
59943 _ACEOF
59944 rm -f conftest.$ac_objext
59945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59946   (eval $ac_compile) 2>conftest.er1
59947   ac_status=$?
59948   grep -v '^ *+' conftest.er1 >conftest.err
59949   rm -f conftest.er1
59950   cat conftest.err >&5
59951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59952   (exit $ac_status); } &&
59953          { ac_try='test -z "$ac_cxx_werror_flag"
59954                          || test ! -s conftest.err'
59955   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59956   (eval $ac_try) 2>&5
59957   ac_status=$?
59958   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59959   (exit $ac_status); }; } &&
59960          { ac_try='test -s conftest.$ac_objext'
59961   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59962   (eval $ac_try) 2>&5
59963   ac_status=$?
59964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
59965   (exit $ac_status); }; }; then
59966   glibcxx_cv_func_atan2f_use=yes
59967 else
59968   echo "$as_me: failed program was:" >&5
59969 sed 's/^/| /' conftest.$ac_ext >&5
59970
59971 glibcxx_cv_func_atan2f_use=no
59972 fi
59973 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59974       ac_ext=c
59975 ac_cpp='$CPP $CPPFLAGS'
59976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59979
59980
59981 fi
59982
59983   fi
59984   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
59985 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
59986
59987   if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
59988
59989 for ac_func in atan2f
59990 do
59991 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59992 echo "$as_me:$LINENO: checking for $ac_func" >&5
59993 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59994 if eval "test \"\${$as_ac_var+set}\" = set"; then
59995   echo $ECHO_N "(cached) $ECHO_C" >&6
59996 else
59997   if test x$gcc_no_link = xyes; then
59998   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59999 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60000    { (exit 1); exit 1; }; }
60001 fi
60002 cat >conftest.$ac_ext <<_ACEOF
60003 /* confdefs.h.  */
60004 _ACEOF
60005 cat confdefs.h >>conftest.$ac_ext
60006 cat >>conftest.$ac_ext <<_ACEOF
60007 /* end confdefs.h.  */
60008 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60009    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60010 #define $ac_func innocuous_$ac_func
60011
60012 /* System header to define __stub macros and hopefully few prototypes,
60013     which can conflict with char $ac_func (); below.
60014     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60015     <limits.h> exists even on freestanding compilers.  */
60016
60017 #ifdef __STDC__
60018 # include <limits.h>
60019 #else
60020 # include <assert.h>
60021 #endif
60022
60023 #undef $ac_func
60024
60025 /* Override any gcc2 internal prototype to avoid an error.  */
60026 #ifdef __cplusplus
60027 extern "C"
60028 {
60029 #endif
60030 /* We use char because int might match the return type of a gcc2
60031    builtin and then its argument prototype would still apply.  */
60032 char $ac_func ();
60033 /* The GNU C library defines this for functions which it implements
60034     to always fail with ENOSYS.  Some functions are actually named
60035     something starting with __ and the normal name is an alias.  */
60036 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60037 choke me
60038 #else
60039 char (*f) () = $ac_func;
60040 #endif
60041 #ifdef __cplusplus
60042 }
60043 #endif
60044
60045 int
60046 main ()
60047 {
60048 return f != $ac_func;
60049   ;
60050   return 0;
60051 }
60052 _ACEOF
60053 rm -f conftest.$ac_objext conftest$ac_exeext
60054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60055   (eval $ac_link) 2>conftest.er1
60056   ac_status=$?
60057   grep -v '^ *+' conftest.er1 >conftest.err
60058   rm -f conftest.er1
60059   cat conftest.err >&5
60060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60061   (exit $ac_status); } &&
60062          { ac_try='test -z "$ac_c_werror_flag"
60063                          || test ! -s conftest.err'
60064   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60065   (eval $ac_try) 2>&5
60066   ac_status=$?
60067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60068   (exit $ac_status); }; } &&
60069          { ac_try='test -s conftest$ac_exeext'
60070   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60071   (eval $ac_try) 2>&5
60072   ac_status=$?
60073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60074   (exit $ac_status); }; }; then
60075   eval "$as_ac_var=yes"
60076 else
60077   echo "$as_me: failed program was:" >&5
60078 sed 's/^/| /' conftest.$ac_ext >&5
60079
60080 eval "$as_ac_var=no"
60081 fi
60082 rm -f conftest.err conftest.$ac_objext \
60083       conftest$ac_exeext conftest.$ac_ext
60084 fi
60085 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60086 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60087 if test `eval echo '${'$as_ac_var'}'` = yes; then
60088   cat >>confdefs.h <<_ACEOF
60089 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60090 _ACEOF
60091
60092 fi
60093 done
60094
60095   else
60096
60097   echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
60098 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
60099   if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
60100     if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
60101   echo $ECHO_N "(cached) $ECHO_C" >&6
60102 else
60103
60104
60105
60106       ac_ext=cc
60107 ac_cpp='$CXXCPP $CPPFLAGS'
60108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60111
60112       cat >conftest.$ac_ext <<_ACEOF
60113 /* confdefs.h.  */
60114 _ACEOF
60115 cat confdefs.h >>conftest.$ac_ext
60116 cat >>conftest.$ac_ext <<_ACEOF
60117 /* end confdefs.h.  */
60118 #include <math.h>
60119 int
60120 main ()
60121 {
60122  _atan2f(0, 0);
60123   ;
60124   return 0;
60125 }
60126 _ACEOF
60127 rm -f conftest.$ac_objext
60128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60129   (eval $ac_compile) 2>conftest.er1
60130   ac_status=$?
60131   grep -v '^ *+' conftest.er1 >conftest.err
60132   rm -f conftest.er1
60133   cat conftest.err >&5
60134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60135   (exit $ac_status); } &&
60136          { ac_try='test -z "$ac_cxx_werror_flag"
60137                          || test ! -s conftest.err'
60138   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60139   (eval $ac_try) 2>&5
60140   ac_status=$?
60141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60142   (exit $ac_status); }; } &&
60143          { ac_try='test -s conftest.$ac_objext'
60144   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60145   (eval $ac_try) 2>&5
60146   ac_status=$?
60147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60148   (exit $ac_status); }; }; then
60149   glibcxx_cv_func__atan2f_use=yes
60150 else
60151   echo "$as_me: failed program was:" >&5
60152 sed 's/^/| /' conftest.$ac_ext >&5
60153
60154 glibcxx_cv_func__atan2f_use=no
60155 fi
60156 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60157       ac_ext=c
60158 ac_cpp='$CPP $CPPFLAGS'
60159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60162
60163
60164 fi
60165
60166   fi
60167   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
60168 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
60169
60170     if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
60171
60172 for ac_func in _atan2f
60173 do
60174 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60175 echo "$as_me:$LINENO: checking for $ac_func" >&5
60176 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60177 if eval "test \"\${$as_ac_var+set}\" = set"; then
60178   echo $ECHO_N "(cached) $ECHO_C" >&6
60179 else
60180   if test x$gcc_no_link = xyes; then
60181   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60182 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60183    { (exit 1); exit 1; }; }
60184 fi
60185 cat >conftest.$ac_ext <<_ACEOF
60186 /* confdefs.h.  */
60187 _ACEOF
60188 cat confdefs.h >>conftest.$ac_ext
60189 cat >>conftest.$ac_ext <<_ACEOF
60190 /* end confdefs.h.  */
60191 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60192    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60193 #define $ac_func innocuous_$ac_func
60194
60195 /* System header to define __stub macros and hopefully few prototypes,
60196     which can conflict with char $ac_func (); below.
60197     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60198     <limits.h> exists even on freestanding compilers.  */
60199
60200 #ifdef __STDC__
60201 # include <limits.h>
60202 #else
60203 # include <assert.h>
60204 #endif
60205
60206 #undef $ac_func
60207
60208 /* Override any gcc2 internal prototype to avoid an error.  */
60209 #ifdef __cplusplus
60210 extern "C"
60211 {
60212 #endif
60213 /* We use char because int might match the return type of a gcc2
60214    builtin and then its argument prototype would still apply.  */
60215 char $ac_func ();
60216 /* The GNU C library defines this for functions which it implements
60217     to always fail with ENOSYS.  Some functions are actually named
60218     something starting with __ and the normal name is an alias.  */
60219 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60220 choke me
60221 #else
60222 char (*f) () = $ac_func;
60223 #endif
60224 #ifdef __cplusplus
60225 }
60226 #endif
60227
60228 int
60229 main ()
60230 {
60231 return f != $ac_func;
60232   ;
60233   return 0;
60234 }
60235 _ACEOF
60236 rm -f conftest.$ac_objext conftest$ac_exeext
60237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60238   (eval $ac_link) 2>conftest.er1
60239   ac_status=$?
60240   grep -v '^ *+' conftest.er1 >conftest.err
60241   rm -f conftest.er1
60242   cat conftest.err >&5
60243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60244   (exit $ac_status); } &&
60245          { ac_try='test -z "$ac_c_werror_flag"
60246                          || test ! -s conftest.err'
60247   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60248   (eval $ac_try) 2>&5
60249   ac_status=$?
60250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60251   (exit $ac_status); }; } &&
60252          { ac_try='test -s conftest$ac_exeext'
60253   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60254   (eval $ac_try) 2>&5
60255   ac_status=$?
60256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60257   (exit $ac_status); }; }; then
60258   eval "$as_ac_var=yes"
60259 else
60260   echo "$as_me: failed program was:" >&5
60261 sed 's/^/| /' conftest.$ac_ext >&5
60262
60263 eval "$as_ac_var=no"
60264 fi
60265 rm -f conftest.err conftest.$ac_objext \
60266       conftest$ac_exeext conftest.$ac_ext
60267 fi
60268 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60269 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60270 if test `eval echo '${'$as_ac_var'}'` = yes; then
60271   cat >>confdefs.h <<_ACEOF
60272 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60273 _ACEOF
60274
60275 fi
60276 done
60277
60278     fi
60279   fi
60280
60281
60282
60283   echo "$as_me:$LINENO: checking for fabsf declaration" >&5
60284 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
60285   if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
60286     if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
60287   echo $ECHO_N "(cached) $ECHO_C" >&6
60288 else
60289
60290
60291
60292       ac_ext=cc
60293 ac_cpp='$CXXCPP $CPPFLAGS'
60294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60297
60298       cat >conftest.$ac_ext <<_ACEOF
60299 /* confdefs.h.  */
60300 _ACEOF
60301 cat confdefs.h >>conftest.$ac_ext
60302 cat >>conftest.$ac_ext <<_ACEOF
60303 /* end confdefs.h.  */
60304 #include <math.h>
60305                       #ifdef HAVE_IEEEFP_H
60306                       #include <ieeefp.h>
60307                       #endif
60308
60309 int
60310 main ()
60311 {
60312  fabsf(0);
60313   ;
60314   return 0;
60315 }
60316 _ACEOF
60317 rm -f conftest.$ac_objext
60318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60319   (eval $ac_compile) 2>conftest.er1
60320   ac_status=$?
60321   grep -v '^ *+' conftest.er1 >conftest.err
60322   rm -f conftest.er1
60323   cat conftest.err >&5
60324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60325   (exit $ac_status); } &&
60326          { ac_try='test -z "$ac_cxx_werror_flag"
60327                          || test ! -s conftest.err'
60328   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60329   (eval $ac_try) 2>&5
60330   ac_status=$?
60331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60332   (exit $ac_status); }; } &&
60333          { ac_try='test -s conftest.$ac_objext'
60334   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60335   (eval $ac_try) 2>&5
60336   ac_status=$?
60337   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60338   (exit $ac_status); }; }; then
60339   glibcxx_cv_func_fabsf_use=yes
60340 else
60341   echo "$as_me: failed program was:" >&5
60342 sed 's/^/| /' conftest.$ac_ext >&5
60343
60344 glibcxx_cv_func_fabsf_use=no
60345 fi
60346 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60347       ac_ext=c
60348 ac_cpp='$CPP $CPPFLAGS'
60349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60352
60353
60354 fi
60355
60356   fi
60357   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
60358 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
60359
60360   if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
60361
60362 for ac_func in fabsf
60363 do
60364 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60365 echo "$as_me:$LINENO: checking for $ac_func" >&5
60366 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60367 if eval "test \"\${$as_ac_var+set}\" = set"; then
60368   echo $ECHO_N "(cached) $ECHO_C" >&6
60369 else
60370   if test x$gcc_no_link = xyes; then
60371   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60372 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60373    { (exit 1); exit 1; }; }
60374 fi
60375 cat >conftest.$ac_ext <<_ACEOF
60376 /* confdefs.h.  */
60377 _ACEOF
60378 cat confdefs.h >>conftest.$ac_ext
60379 cat >>conftest.$ac_ext <<_ACEOF
60380 /* end confdefs.h.  */
60381 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60382    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60383 #define $ac_func innocuous_$ac_func
60384
60385 /* System header to define __stub macros and hopefully few prototypes,
60386     which can conflict with char $ac_func (); below.
60387     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60388     <limits.h> exists even on freestanding compilers.  */
60389
60390 #ifdef __STDC__
60391 # include <limits.h>
60392 #else
60393 # include <assert.h>
60394 #endif
60395
60396 #undef $ac_func
60397
60398 /* Override any gcc2 internal prototype to avoid an error.  */
60399 #ifdef __cplusplus
60400 extern "C"
60401 {
60402 #endif
60403 /* We use char because int might match the return type of a gcc2
60404    builtin and then its argument prototype would still apply.  */
60405 char $ac_func ();
60406 /* The GNU C library defines this for functions which it implements
60407     to always fail with ENOSYS.  Some functions are actually named
60408     something starting with __ and the normal name is an alias.  */
60409 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60410 choke me
60411 #else
60412 char (*f) () = $ac_func;
60413 #endif
60414 #ifdef __cplusplus
60415 }
60416 #endif
60417
60418 int
60419 main ()
60420 {
60421 return f != $ac_func;
60422   ;
60423   return 0;
60424 }
60425 _ACEOF
60426 rm -f conftest.$ac_objext conftest$ac_exeext
60427 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60428   (eval $ac_link) 2>conftest.er1
60429   ac_status=$?
60430   grep -v '^ *+' conftest.er1 >conftest.err
60431   rm -f conftest.er1
60432   cat conftest.err >&5
60433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60434   (exit $ac_status); } &&
60435          { ac_try='test -z "$ac_c_werror_flag"
60436                          || test ! -s conftest.err'
60437   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60438   (eval $ac_try) 2>&5
60439   ac_status=$?
60440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60441   (exit $ac_status); }; } &&
60442          { ac_try='test -s conftest$ac_exeext'
60443   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60444   (eval $ac_try) 2>&5
60445   ac_status=$?
60446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60447   (exit $ac_status); }; }; then
60448   eval "$as_ac_var=yes"
60449 else
60450   echo "$as_me: failed program was:" >&5
60451 sed 's/^/| /' conftest.$ac_ext >&5
60452
60453 eval "$as_ac_var=no"
60454 fi
60455 rm -f conftest.err conftest.$ac_objext \
60456       conftest$ac_exeext conftest.$ac_ext
60457 fi
60458 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60459 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60460 if test `eval echo '${'$as_ac_var'}'` = yes; then
60461   cat >>confdefs.h <<_ACEOF
60462 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60463 _ACEOF
60464
60465 fi
60466 done
60467
60468   else
60469
60470   echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
60471 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
60472   if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
60473     if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
60474   echo $ECHO_N "(cached) $ECHO_C" >&6
60475 else
60476
60477
60478
60479       ac_ext=cc
60480 ac_cpp='$CXXCPP $CPPFLAGS'
60481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60484
60485       cat >conftest.$ac_ext <<_ACEOF
60486 /* confdefs.h.  */
60487 _ACEOF
60488 cat confdefs.h >>conftest.$ac_ext
60489 cat >>conftest.$ac_ext <<_ACEOF
60490 /* end confdefs.h.  */
60491 #include <math.h>
60492                       #ifdef HAVE_IEEEFP_H
60493                       #include <ieeefp.h>
60494                       #endif
60495
60496 int
60497 main ()
60498 {
60499  _fabsf(0);
60500   ;
60501   return 0;
60502 }
60503 _ACEOF
60504 rm -f conftest.$ac_objext
60505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60506   (eval $ac_compile) 2>conftest.er1
60507   ac_status=$?
60508   grep -v '^ *+' conftest.er1 >conftest.err
60509   rm -f conftest.er1
60510   cat conftest.err >&5
60511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60512   (exit $ac_status); } &&
60513          { ac_try='test -z "$ac_cxx_werror_flag"
60514                          || test ! -s conftest.err'
60515   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60516   (eval $ac_try) 2>&5
60517   ac_status=$?
60518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60519   (exit $ac_status); }; } &&
60520          { ac_try='test -s conftest.$ac_objext'
60521   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60522   (eval $ac_try) 2>&5
60523   ac_status=$?
60524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60525   (exit $ac_status); }; }; then
60526   glibcxx_cv_func__fabsf_use=yes
60527 else
60528   echo "$as_me: failed program was:" >&5
60529 sed 's/^/| /' conftest.$ac_ext >&5
60530
60531 glibcxx_cv_func__fabsf_use=no
60532 fi
60533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60534       ac_ext=c
60535 ac_cpp='$CPP $CPPFLAGS'
60536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60539
60540
60541 fi
60542
60543   fi
60544   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
60545 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
60546
60547     if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
60548
60549 for ac_func in _fabsf
60550 do
60551 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60552 echo "$as_me:$LINENO: checking for $ac_func" >&5
60553 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60554 if eval "test \"\${$as_ac_var+set}\" = set"; then
60555   echo $ECHO_N "(cached) $ECHO_C" >&6
60556 else
60557   if test x$gcc_no_link = xyes; then
60558   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60559 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60560    { (exit 1); exit 1; }; }
60561 fi
60562 cat >conftest.$ac_ext <<_ACEOF
60563 /* confdefs.h.  */
60564 _ACEOF
60565 cat confdefs.h >>conftest.$ac_ext
60566 cat >>conftest.$ac_ext <<_ACEOF
60567 /* end confdefs.h.  */
60568 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60569    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60570 #define $ac_func innocuous_$ac_func
60571
60572 /* System header to define __stub macros and hopefully few prototypes,
60573     which can conflict with char $ac_func (); below.
60574     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60575     <limits.h> exists even on freestanding compilers.  */
60576
60577 #ifdef __STDC__
60578 # include <limits.h>
60579 #else
60580 # include <assert.h>
60581 #endif
60582
60583 #undef $ac_func
60584
60585 /* Override any gcc2 internal prototype to avoid an error.  */
60586 #ifdef __cplusplus
60587 extern "C"
60588 {
60589 #endif
60590 /* We use char because int might match the return type of a gcc2
60591    builtin and then its argument prototype would still apply.  */
60592 char $ac_func ();
60593 /* The GNU C library defines this for functions which it implements
60594     to always fail with ENOSYS.  Some functions are actually named
60595     something starting with __ and the normal name is an alias.  */
60596 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60597 choke me
60598 #else
60599 char (*f) () = $ac_func;
60600 #endif
60601 #ifdef __cplusplus
60602 }
60603 #endif
60604
60605 int
60606 main ()
60607 {
60608 return f != $ac_func;
60609   ;
60610   return 0;
60611 }
60612 _ACEOF
60613 rm -f conftest.$ac_objext conftest$ac_exeext
60614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60615   (eval $ac_link) 2>conftest.er1
60616   ac_status=$?
60617   grep -v '^ *+' conftest.er1 >conftest.err
60618   rm -f conftest.er1
60619   cat conftest.err >&5
60620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60621   (exit $ac_status); } &&
60622          { ac_try='test -z "$ac_c_werror_flag"
60623                          || test ! -s conftest.err'
60624   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60625   (eval $ac_try) 2>&5
60626   ac_status=$?
60627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60628   (exit $ac_status); }; } &&
60629          { ac_try='test -s conftest$ac_exeext'
60630   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60631   (eval $ac_try) 2>&5
60632   ac_status=$?
60633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60634   (exit $ac_status); }; }; then
60635   eval "$as_ac_var=yes"
60636 else
60637   echo "$as_me: failed program was:" >&5
60638 sed 's/^/| /' conftest.$ac_ext >&5
60639
60640 eval "$as_ac_var=no"
60641 fi
60642 rm -f conftest.err conftest.$ac_objext \
60643       conftest$ac_exeext conftest.$ac_ext
60644 fi
60645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60646 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60647 if test `eval echo '${'$as_ac_var'}'` = yes; then
60648   cat >>confdefs.h <<_ACEOF
60649 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60650 _ACEOF
60651
60652 fi
60653 done
60654
60655     fi
60656   fi
60657
60658
60659
60660   echo "$as_me:$LINENO: checking for fmodf declaration" >&5
60661 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
60662   if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
60663     if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
60664   echo $ECHO_N "(cached) $ECHO_C" >&6
60665 else
60666
60667
60668
60669       ac_ext=cc
60670 ac_cpp='$CXXCPP $CPPFLAGS'
60671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60674
60675       cat >conftest.$ac_ext <<_ACEOF
60676 /* confdefs.h.  */
60677 _ACEOF
60678 cat confdefs.h >>conftest.$ac_ext
60679 cat >>conftest.$ac_ext <<_ACEOF
60680 /* end confdefs.h.  */
60681 #include <math.h>
60682 int
60683 main ()
60684 {
60685  fmodf(0, 0);
60686   ;
60687   return 0;
60688 }
60689 _ACEOF
60690 rm -f conftest.$ac_objext
60691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60692   (eval $ac_compile) 2>conftest.er1
60693   ac_status=$?
60694   grep -v '^ *+' conftest.er1 >conftest.err
60695   rm -f conftest.er1
60696   cat conftest.err >&5
60697   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60698   (exit $ac_status); } &&
60699          { ac_try='test -z "$ac_cxx_werror_flag"
60700                          || test ! -s conftest.err'
60701   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60702   (eval $ac_try) 2>&5
60703   ac_status=$?
60704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60705   (exit $ac_status); }; } &&
60706          { ac_try='test -s conftest.$ac_objext'
60707   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60708   (eval $ac_try) 2>&5
60709   ac_status=$?
60710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60711   (exit $ac_status); }; }; then
60712   glibcxx_cv_func_fmodf_use=yes
60713 else
60714   echo "$as_me: failed program was:" >&5
60715 sed 's/^/| /' conftest.$ac_ext >&5
60716
60717 glibcxx_cv_func_fmodf_use=no
60718 fi
60719 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60720       ac_ext=c
60721 ac_cpp='$CPP $CPPFLAGS'
60722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60725
60726
60727 fi
60728
60729   fi
60730   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
60731 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
60732
60733   if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
60734
60735 for ac_func in fmodf
60736 do
60737 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60738 echo "$as_me:$LINENO: checking for $ac_func" >&5
60739 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60740 if eval "test \"\${$as_ac_var+set}\" = set"; then
60741   echo $ECHO_N "(cached) $ECHO_C" >&6
60742 else
60743   if test x$gcc_no_link = xyes; then
60744   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60745 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60746    { (exit 1); exit 1; }; }
60747 fi
60748 cat >conftest.$ac_ext <<_ACEOF
60749 /* confdefs.h.  */
60750 _ACEOF
60751 cat confdefs.h >>conftest.$ac_ext
60752 cat >>conftest.$ac_ext <<_ACEOF
60753 /* end confdefs.h.  */
60754 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60755    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60756 #define $ac_func innocuous_$ac_func
60757
60758 /* System header to define __stub macros and hopefully few prototypes,
60759     which can conflict with char $ac_func (); below.
60760     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60761     <limits.h> exists even on freestanding compilers.  */
60762
60763 #ifdef __STDC__
60764 # include <limits.h>
60765 #else
60766 # include <assert.h>
60767 #endif
60768
60769 #undef $ac_func
60770
60771 /* Override any gcc2 internal prototype to avoid an error.  */
60772 #ifdef __cplusplus
60773 extern "C"
60774 {
60775 #endif
60776 /* We use char because int might match the return type of a gcc2
60777    builtin and then its argument prototype would still apply.  */
60778 char $ac_func ();
60779 /* The GNU C library defines this for functions which it implements
60780     to always fail with ENOSYS.  Some functions are actually named
60781     something starting with __ and the normal name is an alias.  */
60782 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60783 choke me
60784 #else
60785 char (*f) () = $ac_func;
60786 #endif
60787 #ifdef __cplusplus
60788 }
60789 #endif
60790
60791 int
60792 main ()
60793 {
60794 return f != $ac_func;
60795   ;
60796   return 0;
60797 }
60798 _ACEOF
60799 rm -f conftest.$ac_objext conftest$ac_exeext
60800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60801   (eval $ac_link) 2>conftest.er1
60802   ac_status=$?
60803   grep -v '^ *+' conftest.er1 >conftest.err
60804   rm -f conftest.er1
60805   cat conftest.err >&5
60806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60807   (exit $ac_status); } &&
60808          { ac_try='test -z "$ac_c_werror_flag"
60809                          || test ! -s conftest.err'
60810   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60811   (eval $ac_try) 2>&5
60812   ac_status=$?
60813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60814   (exit $ac_status); }; } &&
60815          { ac_try='test -s conftest$ac_exeext'
60816   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60817   (eval $ac_try) 2>&5
60818   ac_status=$?
60819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60820   (exit $ac_status); }; }; then
60821   eval "$as_ac_var=yes"
60822 else
60823   echo "$as_me: failed program was:" >&5
60824 sed 's/^/| /' conftest.$ac_ext >&5
60825
60826 eval "$as_ac_var=no"
60827 fi
60828 rm -f conftest.err conftest.$ac_objext \
60829       conftest$ac_exeext conftest.$ac_ext
60830 fi
60831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60832 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60833 if test `eval echo '${'$as_ac_var'}'` = yes; then
60834   cat >>confdefs.h <<_ACEOF
60835 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60836 _ACEOF
60837
60838 fi
60839 done
60840
60841   else
60842
60843   echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
60844 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
60845   if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
60846     if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
60847   echo $ECHO_N "(cached) $ECHO_C" >&6
60848 else
60849
60850
60851
60852       ac_ext=cc
60853 ac_cpp='$CXXCPP $CPPFLAGS'
60854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60857
60858       cat >conftest.$ac_ext <<_ACEOF
60859 /* confdefs.h.  */
60860 _ACEOF
60861 cat confdefs.h >>conftest.$ac_ext
60862 cat >>conftest.$ac_ext <<_ACEOF
60863 /* end confdefs.h.  */
60864 #include <math.h>
60865 int
60866 main ()
60867 {
60868  _fmodf(0, 0);
60869   ;
60870   return 0;
60871 }
60872 _ACEOF
60873 rm -f conftest.$ac_objext
60874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60875   (eval $ac_compile) 2>conftest.er1
60876   ac_status=$?
60877   grep -v '^ *+' conftest.er1 >conftest.err
60878   rm -f conftest.er1
60879   cat conftest.err >&5
60880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60881   (exit $ac_status); } &&
60882          { ac_try='test -z "$ac_cxx_werror_flag"
60883                          || test ! -s conftest.err'
60884   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60885   (eval $ac_try) 2>&5
60886   ac_status=$?
60887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60888   (exit $ac_status); }; } &&
60889          { ac_try='test -s conftest.$ac_objext'
60890   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60891   (eval $ac_try) 2>&5
60892   ac_status=$?
60893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60894   (exit $ac_status); }; }; then
60895   glibcxx_cv_func__fmodf_use=yes
60896 else
60897   echo "$as_me: failed program was:" >&5
60898 sed 's/^/| /' conftest.$ac_ext >&5
60899
60900 glibcxx_cv_func__fmodf_use=no
60901 fi
60902 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60903       ac_ext=c
60904 ac_cpp='$CPP $CPPFLAGS'
60905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60908
60909
60910 fi
60911
60912   fi
60913   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
60914 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
60915
60916     if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
60917
60918 for ac_func in _fmodf
60919 do
60920 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60921 echo "$as_me:$LINENO: checking for $ac_func" >&5
60922 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60923 if eval "test \"\${$as_ac_var+set}\" = set"; then
60924   echo $ECHO_N "(cached) $ECHO_C" >&6
60925 else
60926   if test x$gcc_no_link = xyes; then
60927   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60928 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60929    { (exit 1); exit 1; }; }
60930 fi
60931 cat >conftest.$ac_ext <<_ACEOF
60932 /* confdefs.h.  */
60933 _ACEOF
60934 cat confdefs.h >>conftest.$ac_ext
60935 cat >>conftest.$ac_ext <<_ACEOF
60936 /* end confdefs.h.  */
60937 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60938    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
60939 #define $ac_func innocuous_$ac_func
60940
60941 /* System header to define __stub macros and hopefully few prototypes,
60942     which can conflict with char $ac_func (); below.
60943     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60944     <limits.h> exists even on freestanding compilers.  */
60945
60946 #ifdef __STDC__
60947 # include <limits.h>
60948 #else
60949 # include <assert.h>
60950 #endif
60951
60952 #undef $ac_func
60953
60954 /* Override any gcc2 internal prototype to avoid an error.  */
60955 #ifdef __cplusplus
60956 extern "C"
60957 {
60958 #endif
60959 /* We use char because int might match the return type of a gcc2
60960    builtin and then its argument prototype would still apply.  */
60961 char $ac_func ();
60962 /* The GNU C library defines this for functions which it implements
60963     to always fail with ENOSYS.  Some functions are actually named
60964     something starting with __ and the normal name is an alias.  */
60965 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60966 choke me
60967 #else
60968 char (*f) () = $ac_func;
60969 #endif
60970 #ifdef __cplusplus
60971 }
60972 #endif
60973
60974 int
60975 main ()
60976 {
60977 return f != $ac_func;
60978   ;
60979   return 0;
60980 }
60981 _ACEOF
60982 rm -f conftest.$ac_objext conftest$ac_exeext
60983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60984   (eval $ac_link) 2>conftest.er1
60985   ac_status=$?
60986   grep -v '^ *+' conftest.er1 >conftest.err
60987   rm -f conftest.er1
60988   cat conftest.err >&5
60989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60990   (exit $ac_status); } &&
60991          { ac_try='test -z "$ac_c_werror_flag"
60992                          || test ! -s conftest.err'
60993   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60994   (eval $ac_try) 2>&5
60995   ac_status=$?
60996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
60997   (exit $ac_status); }; } &&
60998          { ac_try='test -s conftest$ac_exeext'
60999   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61000   (eval $ac_try) 2>&5
61001   ac_status=$?
61002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61003   (exit $ac_status); }; }; then
61004   eval "$as_ac_var=yes"
61005 else
61006   echo "$as_me: failed program was:" >&5
61007 sed 's/^/| /' conftest.$ac_ext >&5
61008
61009 eval "$as_ac_var=no"
61010 fi
61011 rm -f conftest.err conftest.$ac_objext \
61012       conftest$ac_exeext conftest.$ac_ext
61013 fi
61014 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61015 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61016 if test `eval echo '${'$as_ac_var'}'` = yes; then
61017   cat >>confdefs.h <<_ACEOF
61018 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61019 _ACEOF
61020
61021 fi
61022 done
61023
61024     fi
61025   fi
61026
61027
61028
61029   echo "$as_me:$LINENO: checking for frexpf declaration" >&5
61030 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
61031   if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
61032     if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
61033   echo $ECHO_N "(cached) $ECHO_C" >&6
61034 else
61035
61036
61037
61038       ac_ext=cc
61039 ac_cpp='$CXXCPP $CPPFLAGS'
61040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61043
61044       cat >conftest.$ac_ext <<_ACEOF
61045 /* confdefs.h.  */
61046 _ACEOF
61047 cat confdefs.h >>conftest.$ac_ext
61048 cat >>conftest.$ac_ext <<_ACEOF
61049 /* end confdefs.h.  */
61050 #include <math.h>
61051 int
61052 main ()
61053 {
61054  frexpf(0, 0);
61055   ;
61056   return 0;
61057 }
61058 _ACEOF
61059 rm -f conftest.$ac_objext
61060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61061   (eval $ac_compile) 2>conftest.er1
61062   ac_status=$?
61063   grep -v '^ *+' conftest.er1 >conftest.err
61064   rm -f conftest.er1
61065   cat conftest.err >&5
61066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61067   (exit $ac_status); } &&
61068          { ac_try='test -z "$ac_cxx_werror_flag"
61069                          || test ! -s conftest.err'
61070   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61071   (eval $ac_try) 2>&5
61072   ac_status=$?
61073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61074   (exit $ac_status); }; } &&
61075          { ac_try='test -s conftest.$ac_objext'
61076   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61077   (eval $ac_try) 2>&5
61078   ac_status=$?
61079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61080   (exit $ac_status); }; }; then
61081   glibcxx_cv_func_frexpf_use=yes
61082 else
61083   echo "$as_me: failed program was:" >&5
61084 sed 's/^/| /' conftest.$ac_ext >&5
61085
61086 glibcxx_cv_func_frexpf_use=no
61087 fi
61088 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61089       ac_ext=c
61090 ac_cpp='$CPP $CPPFLAGS'
61091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61094
61095
61096 fi
61097
61098   fi
61099   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
61100 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
61101
61102   if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
61103
61104 for ac_func in frexpf
61105 do
61106 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61107 echo "$as_me:$LINENO: checking for $ac_func" >&5
61108 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61109 if eval "test \"\${$as_ac_var+set}\" = set"; then
61110   echo $ECHO_N "(cached) $ECHO_C" >&6
61111 else
61112   if test x$gcc_no_link = xyes; then
61113   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61114 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61115    { (exit 1); exit 1; }; }
61116 fi
61117 cat >conftest.$ac_ext <<_ACEOF
61118 /* confdefs.h.  */
61119 _ACEOF
61120 cat confdefs.h >>conftest.$ac_ext
61121 cat >>conftest.$ac_ext <<_ACEOF
61122 /* end confdefs.h.  */
61123 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61124    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61125 #define $ac_func innocuous_$ac_func
61126
61127 /* System header to define __stub macros and hopefully few prototypes,
61128     which can conflict with char $ac_func (); below.
61129     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61130     <limits.h> exists even on freestanding compilers.  */
61131
61132 #ifdef __STDC__
61133 # include <limits.h>
61134 #else
61135 # include <assert.h>
61136 #endif
61137
61138 #undef $ac_func
61139
61140 /* Override any gcc2 internal prototype to avoid an error.  */
61141 #ifdef __cplusplus
61142 extern "C"
61143 {
61144 #endif
61145 /* We use char because int might match the return type of a gcc2
61146    builtin and then its argument prototype would still apply.  */
61147 char $ac_func ();
61148 /* The GNU C library defines this for functions which it implements
61149     to always fail with ENOSYS.  Some functions are actually named
61150     something starting with __ and the normal name is an alias.  */
61151 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61152 choke me
61153 #else
61154 char (*f) () = $ac_func;
61155 #endif
61156 #ifdef __cplusplus
61157 }
61158 #endif
61159
61160 int
61161 main ()
61162 {
61163 return f != $ac_func;
61164   ;
61165   return 0;
61166 }
61167 _ACEOF
61168 rm -f conftest.$ac_objext conftest$ac_exeext
61169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61170   (eval $ac_link) 2>conftest.er1
61171   ac_status=$?
61172   grep -v '^ *+' conftest.er1 >conftest.err
61173   rm -f conftest.er1
61174   cat conftest.err >&5
61175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61176   (exit $ac_status); } &&
61177          { ac_try='test -z "$ac_c_werror_flag"
61178                          || test ! -s conftest.err'
61179   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61180   (eval $ac_try) 2>&5
61181   ac_status=$?
61182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61183   (exit $ac_status); }; } &&
61184          { ac_try='test -s conftest$ac_exeext'
61185   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61186   (eval $ac_try) 2>&5
61187   ac_status=$?
61188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61189   (exit $ac_status); }; }; then
61190   eval "$as_ac_var=yes"
61191 else
61192   echo "$as_me: failed program was:" >&5
61193 sed 's/^/| /' conftest.$ac_ext >&5
61194
61195 eval "$as_ac_var=no"
61196 fi
61197 rm -f conftest.err conftest.$ac_objext \
61198       conftest$ac_exeext conftest.$ac_ext
61199 fi
61200 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61201 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61202 if test `eval echo '${'$as_ac_var'}'` = yes; then
61203   cat >>confdefs.h <<_ACEOF
61204 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61205 _ACEOF
61206
61207 fi
61208 done
61209
61210   else
61211
61212   echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
61213 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
61214   if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
61215     if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
61216   echo $ECHO_N "(cached) $ECHO_C" >&6
61217 else
61218
61219
61220
61221       ac_ext=cc
61222 ac_cpp='$CXXCPP $CPPFLAGS'
61223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61226
61227       cat >conftest.$ac_ext <<_ACEOF
61228 /* confdefs.h.  */
61229 _ACEOF
61230 cat confdefs.h >>conftest.$ac_ext
61231 cat >>conftest.$ac_ext <<_ACEOF
61232 /* end confdefs.h.  */
61233 #include <math.h>
61234 int
61235 main ()
61236 {
61237  _frexpf(0, 0);
61238   ;
61239   return 0;
61240 }
61241 _ACEOF
61242 rm -f conftest.$ac_objext
61243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61244   (eval $ac_compile) 2>conftest.er1
61245   ac_status=$?
61246   grep -v '^ *+' conftest.er1 >conftest.err
61247   rm -f conftest.er1
61248   cat conftest.err >&5
61249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61250   (exit $ac_status); } &&
61251          { ac_try='test -z "$ac_cxx_werror_flag"
61252                          || test ! -s conftest.err'
61253   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61254   (eval $ac_try) 2>&5
61255   ac_status=$?
61256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61257   (exit $ac_status); }; } &&
61258          { ac_try='test -s conftest.$ac_objext'
61259   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61260   (eval $ac_try) 2>&5
61261   ac_status=$?
61262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61263   (exit $ac_status); }; }; then
61264   glibcxx_cv_func__frexpf_use=yes
61265 else
61266   echo "$as_me: failed program was:" >&5
61267 sed 's/^/| /' conftest.$ac_ext >&5
61268
61269 glibcxx_cv_func__frexpf_use=no
61270 fi
61271 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61272       ac_ext=c
61273 ac_cpp='$CPP $CPPFLAGS'
61274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61277
61278
61279 fi
61280
61281   fi
61282   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
61283 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
61284
61285     if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
61286
61287 for ac_func in _frexpf
61288 do
61289 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61290 echo "$as_me:$LINENO: checking for $ac_func" >&5
61291 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61292 if eval "test \"\${$as_ac_var+set}\" = set"; then
61293   echo $ECHO_N "(cached) $ECHO_C" >&6
61294 else
61295   if test x$gcc_no_link = xyes; then
61296   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61297 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61298    { (exit 1); exit 1; }; }
61299 fi
61300 cat >conftest.$ac_ext <<_ACEOF
61301 /* confdefs.h.  */
61302 _ACEOF
61303 cat confdefs.h >>conftest.$ac_ext
61304 cat >>conftest.$ac_ext <<_ACEOF
61305 /* end confdefs.h.  */
61306 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61307    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61308 #define $ac_func innocuous_$ac_func
61309
61310 /* System header to define __stub macros and hopefully few prototypes,
61311     which can conflict with char $ac_func (); below.
61312     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61313     <limits.h> exists even on freestanding compilers.  */
61314
61315 #ifdef __STDC__
61316 # include <limits.h>
61317 #else
61318 # include <assert.h>
61319 #endif
61320
61321 #undef $ac_func
61322
61323 /* Override any gcc2 internal prototype to avoid an error.  */
61324 #ifdef __cplusplus
61325 extern "C"
61326 {
61327 #endif
61328 /* We use char because int might match the return type of a gcc2
61329    builtin and then its argument prototype would still apply.  */
61330 char $ac_func ();
61331 /* The GNU C library defines this for functions which it implements
61332     to always fail with ENOSYS.  Some functions are actually named
61333     something starting with __ and the normal name is an alias.  */
61334 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61335 choke me
61336 #else
61337 char (*f) () = $ac_func;
61338 #endif
61339 #ifdef __cplusplus
61340 }
61341 #endif
61342
61343 int
61344 main ()
61345 {
61346 return f != $ac_func;
61347   ;
61348   return 0;
61349 }
61350 _ACEOF
61351 rm -f conftest.$ac_objext conftest$ac_exeext
61352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61353   (eval $ac_link) 2>conftest.er1
61354   ac_status=$?
61355   grep -v '^ *+' conftest.er1 >conftest.err
61356   rm -f conftest.er1
61357   cat conftest.err >&5
61358   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61359   (exit $ac_status); } &&
61360          { ac_try='test -z "$ac_c_werror_flag"
61361                          || test ! -s conftest.err'
61362   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61363   (eval $ac_try) 2>&5
61364   ac_status=$?
61365   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61366   (exit $ac_status); }; } &&
61367          { ac_try='test -s conftest$ac_exeext'
61368   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61369   (eval $ac_try) 2>&5
61370   ac_status=$?
61371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61372   (exit $ac_status); }; }; then
61373   eval "$as_ac_var=yes"
61374 else
61375   echo "$as_me: failed program was:" >&5
61376 sed 's/^/| /' conftest.$ac_ext >&5
61377
61378 eval "$as_ac_var=no"
61379 fi
61380 rm -f conftest.err conftest.$ac_objext \
61381       conftest$ac_exeext conftest.$ac_ext
61382 fi
61383 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61384 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61385 if test `eval echo '${'$as_ac_var'}'` = yes; then
61386   cat >>confdefs.h <<_ACEOF
61387 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61388 _ACEOF
61389
61390 fi
61391 done
61392
61393     fi
61394   fi
61395
61396
61397
61398   echo "$as_me:$LINENO: checking for hypotf declaration" >&5
61399 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
61400   if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
61401     if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
61402   echo $ECHO_N "(cached) $ECHO_C" >&6
61403 else
61404
61405
61406
61407       ac_ext=cc
61408 ac_cpp='$CXXCPP $CPPFLAGS'
61409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61412
61413       cat >conftest.$ac_ext <<_ACEOF
61414 /* confdefs.h.  */
61415 _ACEOF
61416 cat confdefs.h >>conftest.$ac_ext
61417 cat >>conftest.$ac_ext <<_ACEOF
61418 /* end confdefs.h.  */
61419 #include <math.h>
61420 int
61421 main ()
61422 {
61423  hypotf(0, 0);
61424   ;
61425   return 0;
61426 }
61427 _ACEOF
61428 rm -f conftest.$ac_objext
61429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61430   (eval $ac_compile) 2>conftest.er1
61431   ac_status=$?
61432   grep -v '^ *+' conftest.er1 >conftest.err
61433   rm -f conftest.er1
61434   cat conftest.err >&5
61435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61436   (exit $ac_status); } &&
61437          { ac_try='test -z "$ac_cxx_werror_flag"
61438                          || test ! -s conftest.err'
61439   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61440   (eval $ac_try) 2>&5
61441   ac_status=$?
61442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61443   (exit $ac_status); }; } &&
61444          { ac_try='test -s conftest.$ac_objext'
61445   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61446   (eval $ac_try) 2>&5
61447   ac_status=$?
61448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61449   (exit $ac_status); }; }; then
61450   glibcxx_cv_func_hypotf_use=yes
61451 else
61452   echo "$as_me: failed program was:" >&5
61453 sed 's/^/| /' conftest.$ac_ext >&5
61454
61455 glibcxx_cv_func_hypotf_use=no
61456 fi
61457 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61458       ac_ext=c
61459 ac_cpp='$CPP $CPPFLAGS'
61460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61463
61464
61465 fi
61466
61467   fi
61468   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
61469 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
61470
61471   if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
61472
61473 for ac_func in hypotf
61474 do
61475 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61476 echo "$as_me:$LINENO: checking for $ac_func" >&5
61477 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61478 if eval "test \"\${$as_ac_var+set}\" = set"; then
61479   echo $ECHO_N "(cached) $ECHO_C" >&6
61480 else
61481   if test x$gcc_no_link = xyes; then
61482   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61483 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61484    { (exit 1); exit 1; }; }
61485 fi
61486 cat >conftest.$ac_ext <<_ACEOF
61487 /* confdefs.h.  */
61488 _ACEOF
61489 cat confdefs.h >>conftest.$ac_ext
61490 cat >>conftest.$ac_ext <<_ACEOF
61491 /* end confdefs.h.  */
61492 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61493    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61494 #define $ac_func innocuous_$ac_func
61495
61496 /* System header to define __stub macros and hopefully few prototypes,
61497     which can conflict with char $ac_func (); below.
61498     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61499     <limits.h> exists even on freestanding compilers.  */
61500
61501 #ifdef __STDC__
61502 # include <limits.h>
61503 #else
61504 # include <assert.h>
61505 #endif
61506
61507 #undef $ac_func
61508
61509 /* Override any gcc2 internal prototype to avoid an error.  */
61510 #ifdef __cplusplus
61511 extern "C"
61512 {
61513 #endif
61514 /* We use char because int might match the return type of a gcc2
61515    builtin and then its argument prototype would still apply.  */
61516 char $ac_func ();
61517 /* The GNU C library defines this for functions which it implements
61518     to always fail with ENOSYS.  Some functions are actually named
61519     something starting with __ and the normal name is an alias.  */
61520 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61521 choke me
61522 #else
61523 char (*f) () = $ac_func;
61524 #endif
61525 #ifdef __cplusplus
61526 }
61527 #endif
61528
61529 int
61530 main ()
61531 {
61532 return f != $ac_func;
61533   ;
61534   return 0;
61535 }
61536 _ACEOF
61537 rm -f conftest.$ac_objext conftest$ac_exeext
61538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61539   (eval $ac_link) 2>conftest.er1
61540   ac_status=$?
61541   grep -v '^ *+' conftest.er1 >conftest.err
61542   rm -f conftest.er1
61543   cat conftest.err >&5
61544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61545   (exit $ac_status); } &&
61546          { ac_try='test -z "$ac_c_werror_flag"
61547                          || test ! -s conftest.err'
61548   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61549   (eval $ac_try) 2>&5
61550   ac_status=$?
61551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61552   (exit $ac_status); }; } &&
61553          { ac_try='test -s conftest$ac_exeext'
61554   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61555   (eval $ac_try) 2>&5
61556   ac_status=$?
61557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61558   (exit $ac_status); }; }; then
61559   eval "$as_ac_var=yes"
61560 else
61561   echo "$as_me: failed program was:" >&5
61562 sed 's/^/| /' conftest.$ac_ext >&5
61563
61564 eval "$as_ac_var=no"
61565 fi
61566 rm -f conftest.err conftest.$ac_objext \
61567       conftest$ac_exeext conftest.$ac_ext
61568 fi
61569 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61570 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61571 if test `eval echo '${'$as_ac_var'}'` = yes; then
61572   cat >>confdefs.h <<_ACEOF
61573 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61574 _ACEOF
61575
61576 fi
61577 done
61578
61579   else
61580
61581   echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
61582 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
61583   if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
61584     if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
61585   echo $ECHO_N "(cached) $ECHO_C" >&6
61586 else
61587
61588
61589
61590       ac_ext=cc
61591 ac_cpp='$CXXCPP $CPPFLAGS'
61592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61595
61596       cat >conftest.$ac_ext <<_ACEOF
61597 /* confdefs.h.  */
61598 _ACEOF
61599 cat confdefs.h >>conftest.$ac_ext
61600 cat >>conftest.$ac_ext <<_ACEOF
61601 /* end confdefs.h.  */
61602 #include <math.h>
61603 int
61604 main ()
61605 {
61606  _hypotf(0, 0);
61607   ;
61608   return 0;
61609 }
61610 _ACEOF
61611 rm -f conftest.$ac_objext
61612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61613   (eval $ac_compile) 2>conftest.er1
61614   ac_status=$?
61615   grep -v '^ *+' conftest.er1 >conftest.err
61616   rm -f conftest.er1
61617   cat conftest.err >&5
61618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61619   (exit $ac_status); } &&
61620          { ac_try='test -z "$ac_cxx_werror_flag"
61621                          || test ! -s conftest.err'
61622   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61623   (eval $ac_try) 2>&5
61624   ac_status=$?
61625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61626   (exit $ac_status); }; } &&
61627          { ac_try='test -s conftest.$ac_objext'
61628   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61629   (eval $ac_try) 2>&5
61630   ac_status=$?
61631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61632   (exit $ac_status); }; }; then
61633   glibcxx_cv_func__hypotf_use=yes
61634 else
61635   echo "$as_me: failed program was:" >&5
61636 sed 's/^/| /' conftest.$ac_ext >&5
61637
61638 glibcxx_cv_func__hypotf_use=no
61639 fi
61640 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61641       ac_ext=c
61642 ac_cpp='$CPP $CPPFLAGS'
61643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61646
61647
61648 fi
61649
61650   fi
61651   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
61652 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
61653
61654     if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
61655
61656 for ac_func in _hypotf
61657 do
61658 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61659 echo "$as_me:$LINENO: checking for $ac_func" >&5
61660 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61661 if eval "test \"\${$as_ac_var+set}\" = set"; then
61662   echo $ECHO_N "(cached) $ECHO_C" >&6
61663 else
61664   if test x$gcc_no_link = xyes; then
61665   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61666 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61667    { (exit 1); exit 1; }; }
61668 fi
61669 cat >conftest.$ac_ext <<_ACEOF
61670 /* confdefs.h.  */
61671 _ACEOF
61672 cat confdefs.h >>conftest.$ac_ext
61673 cat >>conftest.$ac_ext <<_ACEOF
61674 /* end confdefs.h.  */
61675 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61676    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61677 #define $ac_func innocuous_$ac_func
61678
61679 /* System header to define __stub macros and hopefully few prototypes,
61680     which can conflict with char $ac_func (); below.
61681     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61682     <limits.h> exists even on freestanding compilers.  */
61683
61684 #ifdef __STDC__
61685 # include <limits.h>
61686 #else
61687 # include <assert.h>
61688 #endif
61689
61690 #undef $ac_func
61691
61692 /* Override any gcc2 internal prototype to avoid an error.  */
61693 #ifdef __cplusplus
61694 extern "C"
61695 {
61696 #endif
61697 /* We use char because int might match the return type of a gcc2
61698    builtin and then its argument prototype would still apply.  */
61699 char $ac_func ();
61700 /* The GNU C library defines this for functions which it implements
61701     to always fail with ENOSYS.  Some functions are actually named
61702     something starting with __ and the normal name is an alias.  */
61703 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61704 choke me
61705 #else
61706 char (*f) () = $ac_func;
61707 #endif
61708 #ifdef __cplusplus
61709 }
61710 #endif
61711
61712 int
61713 main ()
61714 {
61715 return f != $ac_func;
61716   ;
61717   return 0;
61718 }
61719 _ACEOF
61720 rm -f conftest.$ac_objext conftest$ac_exeext
61721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61722   (eval $ac_link) 2>conftest.er1
61723   ac_status=$?
61724   grep -v '^ *+' conftest.er1 >conftest.err
61725   rm -f conftest.er1
61726   cat conftest.err >&5
61727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61728   (exit $ac_status); } &&
61729          { ac_try='test -z "$ac_c_werror_flag"
61730                          || test ! -s conftest.err'
61731   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61732   (eval $ac_try) 2>&5
61733   ac_status=$?
61734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61735   (exit $ac_status); }; } &&
61736          { ac_try='test -s conftest$ac_exeext'
61737   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61738   (eval $ac_try) 2>&5
61739   ac_status=$?
61740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61741   (exit $ac_status); }; }; then
61742   eval "$as_ac_var=yes"
61743 else
61744   echo "$as_me: failed program was:" >&5
61745 sed 's/^/| /' conftest.$ac_ext >&5
61746
61747 eval "$as_ac_var=no"
61748 fi
61749 rm -f conftest.err conftest.$ac_objext \
61750       conftest$ac_exeext conftest.$ac_ext
61751 fi
61752 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61753 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61754 if test `eval echo '${'$as_ac_var'}'` = yes; then
61755   cat >>confdefs.h <<_ACEOF
61756 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61757 _ACEOF
61758
61759 fi
61760 done
61761
61762     fi
61763   fi
61764
61765
61766
61767   echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
61768 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
61769   if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
61770     if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
61771   echo $ECHO_N "(cached) $ECHO_C" >&6
61772 else
61773
61774
61775
61776       ac_ext=cc
61777 ac_cpp='$CXXCPP $CPPFLAGS'
61778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61781
61782       cat >conftest.$ac_ext <<_ACEOF
61783 /* confdefs.h.  */
61784 _ACEOF
61785 cat confdefs.h >>conftest.$ac_ext
61786 cat >>conftest.$ac_ext <<_ACEOF
61787 /* end confdefs.h.  */
61788 #include <math.h>
61789 int
61790 main ()
61791 {
61792  ldexpf(0, 0);
61793   ;
61794   return 0;
61795 }
61796 _ACEOF
61797 rm -f conftest.$ac_objext
61798 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61799   (eval $ac_compile) 2>conftest.er1
61800   ac_status=$?
61801   grep -v '^ *+' conftest.er1 >conftest.err
61802   rm -f conftest.er1
61803   cat conftest.err >&5
61804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61805   (exit $ac_status); } &&
61806          { ac_try='test -z "$ac_cxx_werror_flag"
61807                          || test ! -s conftest.err'
61808   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61809   (eval $ac_try) 2>&5
61810   ac_status=$?
61811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61812   (exit $ac_status); }; } &&
61813          { ac_try='test -s conftest.$ac_objext'
61814   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61815   (eval $ac_try) 2>&5
61816   ac_status=$?
61817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61818   (exit $ac_status); }; }; then
61819   glibcxx_cv_func_ldexpf_use=yes
61820 else
61821   echo "$as_me: failed program was:" >&5
61822 sed 's/^/| /' conftest.$ac_ext >&5
61823
61824 glibcxx_cv_func_ldexpf_use=no
61825 fi
61826 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61827       ac_ext=c
61828 ac_cpp='$CPP $CPPFLAGS'
61829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61832
61833
61834 fi
61835
61836   fi
61837   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
61838 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
61839
61840   if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
61841
61842 for ac_func in ldexpf
61843 do
61844 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61845 echo "$as_me:$LINENO: checking for $ac_func" >&5
61846 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61847 if eval "test \"\${$as_ac_var+set}\" = set"; then
61848   echo $ECHO_N "(cached) $ECHO_C" >&6
61849 else
61850   if test x$gcc_no_link = xyes; then
61851   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61852 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61853    { (exit 1); exit 1; }; }
61854 fi
61855 cat >conftest.$ac_ext <<_ACEOF
61856 /* confdefs.h.  */
61857 _ACEOF
61858 cat confdefs.h >>conftest.$ac_ext
61859 cat >>conftest.$ac_ext <<_ACEOF
61860 /* end confdefs.h.  */
61861 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61862    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
61863 #define $ac_func innocuous_$ac_func
61864
61865 /* System header to define __stub macros and hopefully few prototypes,
61866     which can conflict with char $ac_func (); below.
61867     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61868     <limits.h> exists even on freestanding compilers.  */
61869
61870 #ifdef __STDC__
61871 # include <limits.h>
61872 #else
61873 # include <assert.h>
61874 #endif
61875
61876 #undef $ac_func
61877
61878 /* Override any gcc2 internal prototype to avoid an error.  */
61879 #ifdef __cplusplus
61880 extern "C"
61881 {
61882 #endif
61883 /* We use char because int might match the return type of a gcc2
61884    builtin and then its argument prototype would still apply.  */
61885 char $ac_func ();
61886 /* The GNU C library defines this for functions which it implements
61887     to always fail with ENOSYS.  Some functions are actually named
61888     something starting with __ and the normal name is an alias.  */
61889 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61890 choke me
61891 #else
61892 char (*f) () = $ac_func;
61893 #endif
61894 #ifdef __cplusplus
61895 }
61896 #endif
61897
61898 int
61899 main ()
61900 {
61901 return f != $ac_func;
61902   ;
61903   return 0;
61904 }
61905 _ACEOF
61906 rm -f conftest.$ac_objext conftest$ac_exeext
61907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61908   (eval $ac_link) 2>conftest.er1
61909   ac_status=$?
61910   grep -v '^ *+' conftest.er1 >conftest.err
61911   rm -f conftest.er1
61912   cat conftest.err >&5
61913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61914   (exit $ac_status); } &&
61915          { ac_try='test -z "$ac_c_werror_flag"
61916                          || test ! -s conftest.err'
61917   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61918   (eval $ac_try) 2>&5
61919   ac_status=$?
61920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61921   (exit $ac_status); }; } &&
61922          { ac_try='test -s conftest$ac_exeext'
61923   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61924   (eval $ac_try) 2>&5
61925   ac_status=$?
61926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61927   (exit $ac_status); }; }; then
61928   eval "$as_ac_var=yes"
61929 else
61930   echo "$as_me: failed program was:" >&5
61931 sed 's/^/| /' conftest.$ac_ext >&5
61932
61933 eval "$as_ac_var=no"
61934 fi
61935 rm -f conftest.err conftest.$ac_objext \
61936       conftest$ac_exeext conftest.$ac_ext
61937 fi
61938 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61939 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61940 if test `eval echo '${'$as_ac_var'}'` = yes; then
61941   cat >>confdefs.h <<_ACEOF
61942 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61943 _ACEOF
61944
61945 fi
61946 done
61947
61948   else
61949
61950   echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
61951 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
61952   if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
61953     if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
61954   echo $ECHO_N "(cached) $ECHO_C" >&6
61955 else
61956
61957
61958
61959       ac_ext=cc
61960 ac_cpp='$CXXCPP $CPPFLAGS'
61961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61964
61965       cat >conftest.$ac_ext <<_ACEOF
61966 /* confdefs.h.  */
61967 _ACEOF
61968 cat confdefs.h >>conftest.$ac_ext
61969 cat >>conftest.$ac_ext <<_ACEOF
61970 /* end confdefs.h.  */
61971 #include <math.h>
61972 int
61973 main ()
61974 {
61975  _ldexpf(0, 0);
61976   ;
61977   return 0;
61978 }
61979 _ACEOF
61980 rm -f conftest.$ac_objext
61981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61982   (eval $ac_compile) 2>conftest.er1
61983   ac_status=$?
61984   grep -v '^ *+' conftest.er1 >conftest.err
61985   rm -f conftest.er1
61986   cat conftest.err >&5
61987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61988   (exit $ac_status); } &&
61989          { ac_try='test -z "$ac_cxx_werror_flag"
61990                          || test ! -s conftest.err'
61991   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61992   (eval $ac_try) 2>&5
61993   ac_status=$?
61994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
61995   (exit $ac_status); }; } &&
61996          { ac_try='test -s conftest.$ac_objext'
61997   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61998   (eval $ac_try) 2>&5
61999   ac_status=$?
62000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62001   (exit $ac_status); }; }; then
62002   glibcxx_cv_func__ldexpf_use=yes
62003 else
62004   echo "$as_me: failed program was:" >&5
62005 sed 's/^/| /' conftest.$ac_ext >&5
62006
62007 glibcxx_cv_func__ldexpf_use=no
62008 fi
62009 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62010       ac_ext=c
62011 ac_cpp='$CPP $CPPFLAGS'
62012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62015
62016
62017 fi
62018
62019   fi
62020   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
62021 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
62022
62023     if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
62024
62025 for ac_func in _ldexpf
62026 do
62027 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62028 echo "$as_me:$LINENO: checking for $ac_func" >&5
62029 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62030 if eval "test \"\${$as_ac_var+set}\" = set"; then
62031   echo $ECHO_N "(cached) $ECHO_C" >&6
62032 else
62033   if test x$gcc_no_link = xyes; then
62034   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62035 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62036    { (exit 1); exit 1; }; }
62037 fi
62038 cat >conftest.$ac_ext <<_ACEOF
62039 /* confdefs.h.  */
62040 _ACEOF
62041 cat confdefs.h >>conftest.$ac_ext
62042 cat >>conftest.$ac_ext <<_ACEOF
62043 /* end confdefs.h.  */
62044 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62045    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62046 #define $ac_func innocuous_$ac_func
62047
62048 /* System header to define __stub macros and hopefully few prototypes,
62049     which can conflict with char $ac_func (); below.
62050     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62051     <limits.h> exists even on freestanding compilers.  */
62052
62053 #ifdef __STDC__
62054 # include <limits.h>
62055 #else
62056 # include <assert.h>
62057 #endif
62058
62059 #undef $ac_func
62060
62061 /* Override any gcc2 internal prototype to avoid an error.  */
62062 #ifdef __cplusplus
62063 extern "C"
62064 {
62065 #endif
62066 /* We use char because int might match the return type of a gcc2
62067    builtin and then its argument prototype would still apply.  */
62068 char $ac_func ();
62069 /* The GNU C library defines this for functions which it implements
62070     to always fail with ENOSYS.  Some functions are actually named
62071     something starting with __ and the normal name is an alias.  */
62072 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62073 choke me
62074 #else
62075 char (*f) () = $ac_func;
62076 #endif
62077 #ifdef __cplusplus
62078 }
62079 #endif
62080
62081 int
62082 main ()
62083 {
62084 return f != $ac_func;
62085   ;
62086   return 0;
62087 }
62088 _ACEOF
62089 rm -f conftest.$ac_objext conftest$ac_exeext
62090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62091   (eval $ac_link) 2>conftest.er1
62092   ac_status=$?
62093   grep -v '^ *+' conftest.er1 >conftest.err
62094   rm -f conftest.er1
62095   cat conftest.err >&5
62096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62097   (exit $ac_status); } &&
62098          { ac_try='test -z "$ac_c_werror_flag"
62099                          || test ! -s conftest.err'
62100   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62101   (eval $ac_try) 2>&5
62102   ac_status=$?
62103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62104   (exit $ac_status); }; } &&
62105          { ac_try='test -s conftest$ac_exeext'
62106   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62107   (eval $ac_try) 2>&5
62108   ac_status=$?
62109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62110   (exit $ac_status); }; }; then
62111   eval "$as_ac_var=yes"
62112 else
62113   echo "$as_me: failed program was:" >&5
62114 sed 's/^/| /' conftest.$ac_ext >&5
62115
62116 eval "$as_ac_var=no"
62117 fi
62118 rm -f conftest.err conftest.$ac_objext \
62119       conftest$ac_exeext conftest.$ac_ext
62120 fi
62121 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62122 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62123 if test `eval echo '${'$as_ac_var'}'` = yes; then
62124   cat >>confdefs.h <<_ACEOF
62125 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62126 _ACEOF
62127
62128 fi
62129 done
62130
62131     fi
62132   fi
62133
62134
62135
62136   echo "$as_me:$LINENO: checking for logf declaration" >&5
62137 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
62138   if test x${glibcxx_cv_func_logf_use+set} != xset; then
62139     if test "${glibcxx_cv_func_logf_use+set}" = set; then
62140   echo $ECHO_N "(cached) $ECHO_C" >&6
62141 else
62142
62143
62144
62145       ac_ext=cc
62146 ac_cpp='$CXXCPP $CPPFLAGS'
62147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62150
62151       cat >conftest.$ac_ext <<_ACEOF
62152 /* confdefs.h.  */
62153 _ACEOF
62154 cat confdefs.h >>conftest.$ac_ext
62155 cat >>conftest.$ac_ext <<_ACEOF
62156 /* end confdefs.h.  */
62157 #include <math.h>
62158                       #ifdef HAVE_IEEEFP_H
62159                       #include <ieeefp.h>
62160                       #endif
62161
62162 int
62163 main ()
62164 {
62165  logf(0);
62166   ;
62167   return 0;
62168 }
62169 _ACEOF
62170 rm -f conftest.$ac_objext
62171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62172   (eval $ac_compile) 2>conftest.er1
62173   ac_status=$?
62174   grep -v '^ *+' conftest.er1 >conftest.err
62175   rm -f conftest.er1
62176   cat conftest.err >&5
62177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62178   (exit $ac_status); } &&
62179          { ac_try='test -z "$ac_cxx_werror_flag"
62180                          || test ! -s conftest.err'
62181   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62182   (eval $ac_try) 2>&5
62183   ac_status=$?
62184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62185   (exit $ac_status); }; } &&
62186          { ac_try='test -s conftest.$ac_objext'
62187   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62188   (eval $ac_try) 2>&5
62189   ac_status=$?
62190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62191   (exit $ac_status); }; }; then
62192   glibcxx_cv_func_logf_use=yes
62193 else
62194   echo "$as_me: failed program was:" >&5
62195 sed 's/^/| /' conftest.$ac_ext >&5
62196
62197 glibcxx_cv_func_logf_use=no
62198 fi
62199 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62200       ac_ext=c
62201 ac_cpp='$CPP $CPPFLAGS'
62202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62205
62206
62207 fi
62208
62209   fi
62210   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
62211 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
62212
62213   if test x$glibcxx_cv_func_logf_use = x"yes"; then
62214
62215 for ac_func in logf
62216 do
62217 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62218 echo "$as_me:$LINENO: checking for $ac_func" >&5
62219 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62220 if eval "test \"\${$as_ac_var+set}\" = set"; then
62221   echo $ECHO_N "(cached) $ECHO_C" >&6
62222 else
62223   if test x$gcc_no_link = xyes; then
62224   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62225 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62226    { (exit 1); exit 1; }; }
62227 fi
62228 cat >conftest.$ac_ext <<_ACEOF
62229 /* confdefs.h.  */
62230 _ACEOF
62231 cat confdefs.h >>conftest.$ac_ext
62232 cat >>conftest.$ac_ext <<_ACEOF
62233 /* end confdefs.h.  */
62234 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62235    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62236 #define $ac_func innocuous_$ac_func
62237
62238 /* System header to define __stub macros and hopefully few prototypes,
62239     which can conflict with char $ac_func (); below.
62240     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62241     <limits.h> exists even on freestanding compilers.  */
62242
62243 #ifdef __STDC__
62244 # include <limits.h>
62245 #else
62246 # include <assert.h>
62247 #endif
62248
62249 #undef $ac_func
62250
62251 /* Override any gcc2 internal prototype to avoid an error.  */
62252 #ifdef __cplusplus
62253 extern "C"
62254 {
62255 #endif
62256 /* We use char because int might match the return type of a gcc2
62257    builtin and then its argument prototype would still apply.  */
62258 char $ac_func ();
62259 /* The GNU C library defines this for functions which it implements
62260     to always fail with ENOSYS.  Some functions are actually named
62261     something starting with __ and the normal name is an alias.  */
62262 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62263 choke me
62264 #else
62265 char (*f) () = $ac_func;
62266 #endif
62267 #ifdef __cplusplus
62268 }
62269 #endif
62270
62271 int
62272 main ()
62273 {
62274 return f != $ac_func;
62275   ;
62276   return 0;
62277 }
62278 _ACEOF
62279 rm -f conftest.$ac_objext conftest$ac_exeext
62280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62281   (eval $ac_link) 2>conftest.er1
62282   ac_status=$?
62283   grep -v '^ *+' conftest.er1 >conftest.err
62284   rm -f conftest.er1
62285   cat conftest.err >&5
62286   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62287   (exit $ac_status); } &&
62288          { ac_try='test -z "$ac_c_werror_flag"
62289                          || test ! -s conftest.err'
62290   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62291   (eval $ac_try) 2>&5
62292   ac_status=$?
62293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62294   (exit $ac_status); }; } &&
62295          { ac_try='test -s conftest$ac_exeext'
62296   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62297   (eval $ac_try) 2>&5
62298   ac_status=$?
62299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62300   (exit $ac_status); }; }; then
62301   eval "$as_ac_var=yes"
62302 else
62303   echo "$as_me: failed program was:" >&5
62304 sed 's/^/| /' conftest.$ac_ext >&5
62305
62306 eval "$as_ac_var=no"
62307 fi
62308 rm -f conftest.err conftest.$ac_objext \
62309       conftest$ac_exeext conftest.$ac_ext
62310 fi
62311 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62312 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62313 if test `eval echo '${'$as_ac_var'}'` = yes; then
62314   cat >>confdefs.h <<_ACEOF
62315 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62316 _ACEOF
62317
62318 fi
62319 done
62320
62321   else
62322
62323   echo "$as_me:$LINENO: checking for _logf declaration" >&5
62324 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
62325   if test x${glibcxx_cv_func__logf_use+set} != xset; then
62326     if test "${glibcxx_cv_func__logf_use+set}" = set; then
62327   echo $ECHO_N "(cached) $ECHO_C" >&6
62328 else
62329
62330
62331
62332       ac_ext=cc
62333 ac_cpp='$CXXCPP $CPPFLAGS'
62334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62337
62338       cat >conftest.$ac_ext <<_ACEOF
62339 /* confdefs.h.  */
62340 _ACEOF
62341 cat confdefs.h >>conftest.$ac_ext
62342 cat >>conftest.$ac_ext <<_ACEOF
62343 /* end confdefs.h.  */
62344 #include <math.h>
62345                       #ifdef HAVE_IEEEFP_H
62346                       #include <ieeefp.h>
62347                       #endif
62348
62349 int
62350 main ()
62351 {
62352  _logf(0);
62353   ;
62354   return 0;
62355 }
62356 _ACEOF
62357 rm -f conftest.$ac_objext
62358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62359   (eval $ac_compile) 2>conftest.er1
62360   ac_status=$?
62361   grep -v '^ *+' conftest.er1 >conftest.err
62362   rm -f conftest.er1
62363   cat conftest.err >&5
62364   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62365   (exit $ac_status); } &&
62366          { ac_try='test -z "$ac_cxx_werror_flag"
62367                          || test ! -s conftest.err'
62368   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62369   (eval $ac_try) 2>&5
62370   ac_status=$?
62371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62372   (exit $ac_status); }; } &&
62373          { ac_try='test -s conftest.$ac_objext'
62374   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62375   (eval $ac_try) 2>&5
62376   ac_status=$?
62377   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62378   (exit $ac_status); }; }; then
62379   glibcxx_cv_func__logf_use=yes
62380 else
62381   echo "$as_me: failed program was:" >&5
62382 sed 's/^/| /' conftest.$ac_ext >&5
62383
62384 glibcxx_cv_func__logf_use=no
62385 fi
62386 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62387       ac_ext=c
62388 ac_cpp='$CPP $CPPFLAGS'
62389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62392
62393
62394 fi
62395
62396   fi
62397   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
62398 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
62399
62400     if test x$glibcxx_cv_func__logf_use = x"yes"; then
62401
62402 for ac_func in _logf
62403 do
62404 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62405 echo "$as_me:$LINENO: checking for $ac_func" >&5
62406 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62407 if eval "test \"\${$as_ac_var+set}\" = set"; then
62408   echo $ECHO_N "(cached) $ECHO_C" >&6
62409 else
62410   if test x$gcc_no_link = xyes; then
62411   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62412 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62413    { (exit 1); exit 1; }; }
62414 fi
62415 cat >conftest.$ac_ext <<_ACEOF
62416 /* confdefs.h.  */
62417 _ACEOF
62418 cat confdefs.h >>conftest.$ac_ext
62419 cat >>conftest.$ac_ext <<_ACEOF
62420 /* end confdefs.h.  */
62421 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62422    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62423 #define $ac_func innocuous_$ac_func
62424
62425 /* System header to define __stub macros and hopefully few prototypes,
62426     which can conflict with char $ac_func (); below.
62427     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62428     <limits.h> exists even on freestanding compilers.  */
62429
62430 #ifdef __STDC__
62431 # include <limits.h>
62432 #else
62433 # include <assert.h>
62434 #endif
62435
62436 #undef $ac_func
62437
62438 /* Override any gcc2 internal prototype to avoid an error.  */
62439 #ifdef __cplusplus
62440 extern "C"
62441 {
62442 #endif
62443 /* We use char because int might match the return type of a gcc2
62444    builtin and then its argument prototype would still apply.  */
62445 char $ac_func ();
62446 /* The GNU C library defines this for functions which it implements
62447     to always fail with ENOSYS.  Some functions are actually named
62448     something starting with __ and the normal name is an alias.  */
62449 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62450 choke me
62451 #else
62452 char (*f) () = $ac_func;
62453 #endif
62454 #ifdef __cplusplus
62455 }
62456 #endif
62457
62458 int
62459 main ()
62460 {
62461 return f != $ac_func;
62462   ;
62463   return 0;
62464 }
62465 _ACEOF
62466 rm -f conftest.$ac_objext conftest$ac_exeext
62467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62468   (eval $ac_link) 2>conftest.er1
62469   ac_status=$?
62470   grep -v '^ *+' conftest.er1 >conftest.err
62471   rm -f conftest.er1
62472   cat conftest.err >&5
62473   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62474   (exit $ac_status); } &&
62475          { ac_try='test -z "$ac_c_werror_flag"
62476                          || test ! -s conftest.err'
62477   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62478   (eval $ac_try) 2>&5
62479   ac_status=$?
62480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62481   (exit $ac_status); }; } &&
62482          { ac_try='test -s conftest$ac_exeext'
62483   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62484   (eval $ac_try) 2>&5
62485   ac_status=$?
62486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62487   (exit $ac_status); }; }; then
62488   eval "$as_ac_var=yes"
62489 else
62490   echo "$as_me: failed program was:" >&5
62491 sed 's/^/| /' conftest.$ac_ext >&5
62492
62493 eval "$as_ac_var=no"
62494 fi
62495 rm -f conftest.err conftest.$ac_objext \
62496       conftest$ac_exeext conftest.$ac_ext
62497 fi
62498 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62499 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62500 if test `eval echo '${'$as_ac_var'}'` = yes; then
62501   cat >>confdefs.h <<_ACEOF
62502 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62503 _ACEOF
62504
62505 fi
62506 done
62507
62508     fi
62509   fi
62510
62511
62512
62513   echo "$as_me:$LINENO: checking for log10f declaration" >&5
62514 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
62515   if test x${glibcxx_cv_func_log10f_use+set} != xset; then
62516     if test "${glibcxx_cv_func_log10f_use+set}" = set; then
62517   echo $ECHO_N "(cached) $ECHO_C" >&6
62518 else
62519
62520
62521
62522       ac_ext=cc
62523 ac_cpp='$CXXCPP $CPPFLAGS'
62524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62527
62528       cat >conftest.$ac_ext <<_ACEOF
62529 /* confdefs.h.  */
62530 _ACEOF
62531 cat confdefs.h >>conftest.$ac_ext
62532 cat >>conftest.$ac_ext <<_ACEOF
62533 /* end confdefs.h.  */
62534 #include <math.h>
62535                       #ifdef HAVE_IEEEFP_H
62536                       #include <ieeefp.h>
62537                       #endif
62538
62539 int
62540 main ()
62541 {
62542  log10f(0);
62543   ;
62544   return 0;
62545 }
62546 _ACEOF
62547 rm -f conftest.$ac_objext
62548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62549   (eval $ac_compile) 2>conftest.er1
62550   ac_status=$?
62551   grep -v '^ *+' conftest.er1 >conftest.err
62552   rm -f conftest.er1
62553   cat conftest.err >&5
62554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62555   (exit $ac_status); } &&
62556          { ac_try='test -z "$ac_cxx_werror_flag"
62557                          || test ! -s conftest.err'
62558   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62559   (eval $ac_try) 2>&5
62560   ac_status=$?
62561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62562   (exit $ac_status); }; } &&
62563          { ac_try='test -s conftest.$ac_objext'
62564   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62565   (eval $ac_try) 2>&5
62566   ac_status=$?
62567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62568   (exit $ac_status); }; }; then
62569   glibcxx_cv_func_log10f_use=yes
62570 else
62571   echo "$as_me: failed program was:" >&5
62572 sed 's/^/| /' conftest.$ac_ext >&5
62573
62574 glibcxx_cv_func_log10f_use=no
62575 fi
62576 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62577       ac_ext=c
62578 ac_cpp='$CPP $CPPFLAGS'
62579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62582
62583
62584 fi
62585
62586   fi
62587   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
62588 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
62589
62590   if test x$glibcxx_cv_func_log10f_use = x"yes"; then
62591
62592 for ac_func in log10f
62593 do
62594 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62595 echo "$as_me:$LINENO: checking for $ac_func" >&5
62596 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62597 if eval "test \"\${$as_ac_var+set}\" = set"; then
62598   echo $ECHO_N "(cached) $ECHO_C" >&6
62599 else
62600   if test x$gcc_no_link = xyes; then
62601   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62602 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62603    { (exit 1); exit 1; }; }
62604 fi
62605 cat >conftest.$ac_ext <<_ACEOF
62606 /* confdefs.h.  */
62607 _ACEOF
62608 cat confdefs.h >>conftest.$ac_ext
62609 cat >>conftest.$ac_ext <<_ACEOF
62610 /* end confdefs.h.  */
62611 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62612    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62613 #define $ac_func innocuous_$ac_func
62614
62615 /* System header to define __stub macros and hopefully few prototypes,
62616     which can conflict with char $ac_func (); below.
62617     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62618     <limits.h> exists even on freestanding compilers.  */
62619
62620 #ifdef __STDC__
62621 # include <limits.h>
62622 #else
62623 # include <assert.h>
62624 #endif
62625
62626 #undef $ac_func
62627
62628 /* Override any gcc2 internal prototype to avoid an error.  */
62629 #ifdef __cplusplus
62630 extern "C"
62631 {
62632 #endif
62633 /* We use char because int might match the return type of a gcc2
62634    builtin and then its argument prototype would still apply.  */
62635 char $ac_func ();
62636 /* The GNU C library defines this for functions which it implements
62637     to always fail with ENOSYS.  Some functions are actually named
62638     something starting with __ and the normal name is an alias.  */
62639 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62640 choke me
62641 #else
62642 char (*f) () = $ac_func;
62643 #endif
62644 #ifdef __cplusplus
62645 }
62646 #endif
62647
62648 int
62649 main ()
62650 {
62651 return f != $ac_func;
62652   ;
62653   return 0;
62654 }
62655 _ACEOF
62656 rm -f conftest.$ac_objext conftest$ac_exeext
62657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62658   (eval $ac_link) 2>conftest.er1
62659   ac_status=$?
62660   grep -v '^ *+' conftest.er1 >conftest.err
62661   rm -f conftest.er1
62662   cat conftest.err >&5
62663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62664   (exit $ac_status); } &&
62665          { ac_try='test -z "$ac_c_werror_flag"
62666                          || test ! -s conftest.err'
62667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62668   (eval $ac_try) 2>&5
62669   ac_status=$?
62670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62671   (exit $ac_status); }; } &&
62672          { ac_try='test -s conftest$ac_exeext'
62673   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62674   (eval $ac_try) 2>&5
62675   ac_status=$?
62676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62677   (exit $ac_status); }; }; then
62678   eval "$as_ac_var=yes"
62679 else
62680   echo "$as_me: failed program was:" >&5
62681 sed 's/^/| /' conftest.$ac_ext >&5
62682
62683 eval "$as_ac_var=no"
62684 fi
62685 rm -f conftest.err conftest.$ac_objext \
62686       conftest$ac_exeext conftest.$ac_ext
62687 fi
62688 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62689 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62690 if test `eval echo '${'$as_ac_var'}'` = yes; then
62691   cat >>confdefs.h <<_ACEOF
62692 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62693 _ACEOF
62694
62695 fi
62696 done
62697
62698   else
62699
62700   echo "$as_me:$LINENO: checking for _log10f declaration" >&5
62701 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
62702   if test x${glibcxx_cv_func__log10f_use+set} != xset; then
62703     if test "${glibcxx_cv_func__log10f_use+set}" = set; then
62704   echo $ECHO_N "(cached) $ECHO_C" >&6
62705 else
62706
62707
62708
62709       ac_ext=cc
62710 ac_cpp='$CXXCPP $CPPFLAGS'
62711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62714
62715       cat >conftest.$ac_ext <<_ACEOF
62716 /* confdefs.h.  */
62717 _ACEOF
62718 cat confdefs.h >>conftest.$ac_ext
62719 cat >>conftest.$ac_ext <<_ACEOF
62720 /* end confdefs.h.  */
62721 #include <math.h>
62722                       #ifdef HAVE_IEEEFP_H
62723                       #include <ieeefp.h>
62724                       #endif
62725
62726 int
62727 main ()
62728 {
62729  _log10f(0);
62730   ;
62731   return 0;
62732 }
62733 _ACEOF
62734 rm -f conftest.$ac_objext
62735 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62736   (eval $ac_compile) 2>conftest.er1
62737   ac_status=$?
62738   grep -v '^ *+' conftest.er1 >conftest.err
62739   rm -f conftest.er1
62740   cat conftest.err >&5
62741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62742   (exit $ac_status); } &&
62743          { ac_try='test -z "$ac_cxx_werror_flag"
62744                          || test ! -s conftest.err'
62745   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62746   (eval $ac_try) 2>&5
62747   ac_status=$?
62748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62749   (exit $ac_status); }; } &&
62750          { ac_try='test -s conftest.$ac_objext'
62751   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62752   (eval $ac_try) 2>&5
62753   ac_status=$?
62754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62755   (exit $ac_status); }; }; then
62756   glibcxx_cv_func__log10f_use=yes
62757 else
62758   echo "$as_me: failed program was:" >&5
62759 sed 's/^/| /' conftest.$ac_ext >&5
62760
62761 glibcxx_cv_func__log10f_use=no
62762 fi
62763 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62764       ac_ext=c
62765 ac_cpp='$CPP $CPPFLAGS'
62766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62769
62770
62771 fi
62772
62773   fi
62774   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
62775 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
62776
62777     if test x$glibcxx_cv_func__log10f_use = x"yes"; then
62778
62779 for ac_func in _log10f
62780 do
62781 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62782 echo "$as_me:$LINENO: checking for $ac_func" >&5
62783 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62784 if eval "test \"\${$as_ac_var+set}\" = set"; then
62785   echo $ECHO_N "(cached) $ECHO_C" >&6
62786 else
62787   if test x$gcc_no_link = xyes; then
62788   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62789 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62790    { (exit 1); exit 1; }; }
62791 fi
62792 cat >conftest.$ac_ext <<_ACEOF
62793 /* confdefs.h.  */
62794 _ACEOF
62795 cat confdefs.h >>conftest.$ac_ext
62796 cat >>conftest.$ac_ext <<_ACEOF
62797 /* end confdefs.h.  */
62798 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62799    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62800 #define $ac_func innocuous_$ac_func
62801
62802 /* System header to define __stub macros and hopefully few prototypes,
62803     which can conflict with char $ac_func (); below.
62804     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62805     <limits.h> exists even on freestanding compilers.  */
62806
62807 #ifdef __STDC__
62808 # include <limits.h>
62809 #else
62810 # include <assert.h>
62811 #endif
62812
62813 #undef $ac_func
62814
62815 /* Override any gcc2 internal prototype to avoid an error.  */
62816 #ifdef __cplusplus
62817 extern "C"
62818 {
62819 #endif
62820 /* We use char because int might match the return type of a gcc2
62821    builtin and then its argument prototype would still apply.  */
62822 char $ac_func ();
62823 /* The GNU C library defines this for functions which it implements
62824     to always fail with ENOSYS.  Some functions are actually named
62825     something starting with __ and the normal name is an alias.  */
62826 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62827 choke me
62828 #else
62829 char (*f) () = $ac_func;
62830 #endif
62831 #ifdef __cplusplus
62832 }
62833 #endif
62834
62835 int
62836 main ()
62837 {
62838 return f != $ac_func;
62839   ;
62840   return 0;
62841 }
62842 _ACEOF
62843 rm -f conftest.$ac_objext conftest$ac_exeext
62844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62845   (eval $ac_link) 2>conftest.er1
62846   ac_status=$?
62847   grep -v '^ *+' conftest.er1 >conftest.err
62848   rm -f conftest.er1
62849   cat conftest.err >&5
62850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62851   (exit $ac_status); } &&
62852          { ac_try='test -z "$ac_c_werror_flag"
62853                          || test ! -s conftest.err'
62854   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62855   (eval $ac_try) 2>&5
62856   ac_status=$?
62857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62858   (exit $ac_status); }; } &&
62859          { ac_try='test -s conftest$ac_exeext'
62860   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62861   (eval $ac_try) 2>&5
62862   ac_status=$?
62863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62864   (exit $ac_status); }; }; then
62865   eval "$as_ac_var=yes"
62866 else
62867   echo "$as_me: failed program was:" >&5
62868 sed 's/^/| /' conftest.$ac_ext >&5
62869
62870 eval "$as_ac_var=no"
62871 fi
62872 rm -f conftest.err conftest.$ac_objext \
62873       conftest$ac_exeext conftest.$ac_ext
62874 fi
62875 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62876 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62877 if test `eval echo '${'$as_ac_var'}'` = yes; then
62878   cat >>confdefs.h <<_ACEOF
62879 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62880 _ACEOF
62881
62882 fi
62883 done
62884
62885     fi
62886   fi
62887
62888
62889
62890   echo "$as_me:$LINENO: checking for modff declaration" >&5
62891 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
62892   if test x${glibcxx_cv_func_modff_use+set} != xset; then
62893     if test "${glibcxx_cv_func_modff_use+set}" = set; then
62894   echo $ECHO_N "(cached) $ECHO_C" >&6
62895 else
62896
62897
62898
62899       ac_ext=cc
62900 ac_cpp='$CXXCPP $CPPFLAGS'
62901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62904
62905       cat >conftest.$ac_ext <<_ACEOF
62906 /* confdefs.h.  */
62907 _ACEOF
62908 cat confdefs.h >>conftest.$ac_ext
62909 cat >>conftest.$ac_ext <<_ACEOF
62910 /* end confdefs.h.  */
62911 #include <math.h>
62912 int
62913 main ()
62914 {
62915  modff(0, 0);
62916   ;
62917   return 0;
62918 }
62919 _ACEOF
62920 rm -f conftest.$ac_objext
62921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62922   (eval $ac_compile) 2>conftest.er1
62923   ac_status=$?
62924   grep -v '^ *+' conftest.er1 >conftest.err
62925   rm -f conftest.er1
62926   cat conftest.err >&5
62927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62928   (exit $ac_status); } &&
62929          { ac_try='test -z "$ac_cxx_werror_flag"
62930                          || test ! -s conftest.err'
62931   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62932   (eval $ac_try) 2>&5
62933   ac_status=$?
62934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62935   (exit $ac_status); }; } &&
62936          { ac_try='test -s conftest.$ac_objext'
62937   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62938   (eval $ac_try) 2>&5
62939   ac_status=$?
62940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
62941   (exit $ac_status); }; }; then
62942   glibcxx_cv_func_modff_use=yes
62943 else
62944   echo "$as_me: failed program was:" >&5
62945 sed 's/^/| /' conftest.$ac_ext >&5
62946
62947 glibcxx_cv_func_modff_use=no
62948 fi
62949 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62950       ac_ext=c
62951 ac_cpp='$CPP $CPPFLAGS'
62952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62955
62956
62957 fi
62958
62959   fi
62960   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
62961 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
62962
62963   if test x$glibcxx_cv_func_modff_use = x"yes"; then
62964
62965 for ac_func in modff
62966 do
62967 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62968 echo "$as_me:$LINENO: checking for $ac_func" >&5
62969 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62970 if eval "test \"\${$as_ac_var+set}\" = set"; then
62971   echo $ECHO_N "(cached) $ECHO_C" >&6
62972 else
62973   if test x$gcc_no_link = xyes; then
62974   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62975 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62976    { (exit 1); exit 1; }; }
62977 fi
62978 cat >conftest.$ac_ext <<_ACEOF
62979 /* confdefs.h.  */
62980 _ACEOF
62981 cat confdefs.h >>conftest.$ac_ext
62982 cat >>conftest.$ac_ext <<_ACEOF
62983 /* end confdefs.h.  */
62984 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62985    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
62986 #define $ac_func innocuous_$ac_func
62987
62988 /* System header to define __stub macros and hopefully few prototypes,
62989     which can conflict with char $ac_func (); below.
62990     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62991     <limits.h> exists even on freestanding compilers.  */
62992
62993 #ifdef __STDC__
62994 # include <limits.h>
62995 #else
62996 # include <assert.h>
62997 #endif
62998
62999 #undef $ac_func
63000
63001 /* Override any gcc2 internal prototype to avoid an error.  */
63002 #ifdef __cplusplus
63003 extern "C"
63004 {
63005 #endif
63006 /* We use char because int might match the return type of a gcc2
63007    builtin and then its argument prototype would still apply.  */
63008 char $ac_func ();
63009 /* The GNU C library defines this for functions which it implements
63010     to always fail with ENOSYS.  Some functions are actually named
63011     something starting with __ and the normal name is an alias.  */
63012 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63013 choke me
63014 #else
63015 char (*f) () = $ac_func;
63016 #endif
63017 #ifdef __cplusplus
63018 }
63019 #endif
63020
63021 int
63022 main ()
63023 {
63024 return f != $ac_func;
63025   ;
63026   return 0;
63027 }
63028 _ACEOF
63029 rm -f conftest.$ac_objext conftest$ac_exeext
63030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63031   (eval $ac_link) 2>conftest.er1
63032   ac_status=$?
63033   grep -v '^ *+' conftest.er1 >conftest.err
63034   rm -f conftest.er1
63035   cat conftest.err >&5
63036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63037   (exit $ac_status); } &&
63038          { ac_try='test -z "$ac_c_werror_flag"
63039                          || test ! -s conftest.err'
63040   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63041   (eval $ac_try) 2>&5
63042   ac_status=$?
63043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63044   (exit $ac_status); }; } &&
63045          { ac_try='test -s conftest$ac_exeext'
63046   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63047   (eval $ac_try) 2>&5
63048   ac_status=$?
63049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63050   (exit $ac_status); }; }; then
63051   eval "$as_ac_var=yes"
63052 else
63053   echo "$as_me: failed program was:" >&5
63054 sed 's/^/| /' conftest.$ac_ext >&5
63055
63056 eval "$as_ac_var=no"
63057 fi
63058 rm -f conftest.err conftest.$ac_objext \
63059       conftest$ac_exeext conftest.$ac_ext
63060 fi
63061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63062 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63063 if test `eval echo '${'$as_ac_var'}'` = yes; then
63064   cat >>confdefs.h <<_ACEOF
63065 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63066 _ACEOF
63067
63068 fi
63069 done
63070
63071   else
63072
63073   echo "$as_me:$LINENO: checking for _modff declaration" >&5
63074 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
63075   if test x${glibcxx_cv_func__modff_use+set} != xset; then
63076     if test "${glibcxx_cv_func__modff_use+set}" = set; then
63077   echo $ECHO_N "(cached) $ECHO_C" >&6
63078 else
63079
63080
63081
63082       ac_ext=cc
63083 ac_cpp='$CXXCPP $CPPFLAGS'
63084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63087
63088       cat >conftest.$ac_ext <<_ACEOF
63089 /* confdefs.h.  */
63090 _ACEOF
63091 cat confdefs.h >>conftest.$ac_ext
63092 cat >>conftest.$ac_ext <<_ACEOF
63093 /* end confdefs.h.  */
63094 #include <math.h>
63095 int
63096 main ()
63097 {
63098  _modff(0, 0);
63099   ;
63100   return 0;
63101 }
63102 _ACEOF
63103 rm -f conftest.$ac_objext
63104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63105   (eval $ac_compile) 2>conftest.er1
63106   ac_status=$?
63107   grep -v '^ *+' conftest.er1 >conftest.err
63108   rm -f conftest.er1
63109   cat conftest.err >&5
63110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63111   (exit $ac_status); } &&
63112          { ac_try='test -z "$ac_cxx_werror_flag"
63113                          || test ! -s conftest.err'
63114   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63115   (eval $ac_try) 2>&5
63116   ac_status=$?
63117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63118   (exit $ac_status); }; } &&
63119          { ac_try='test -s conftest.$ac_objext'
63120   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63121   (eval $ac_try) 2>&5
63122   ac_status=$?
63123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63124   (exit $ac_status); }; }; then
63125   glibcxx_cv_func__modff_use=yes
63126 else
63127   echo "$as_me: failed program was:" >&5
63128 sed 's/^/| /' conftest.$ac_ext >&5
63129
63130 glibcxx_cv_func__modff_use=no
63131 fi
63132 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63133       ac_ext=c
63134 ac_cpp='$CPP $CPPFLAGS'
63135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63138
63139
63140 fi
63141
63142   fi
63143   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
63144 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
63145
63146     if test x$glibcxx_cv_func__modff_use = x"yes"; then
63147
63148 for ac_func in _modff
63149 do
63150 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63151 echo "$as_me:$LINENO: checking for $ac_func" >&5
63152 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63153 if eval "test \"\${$as_ac_var+set}\" = set"; then
63154   echo $ECHO_N "(cached) $ECHO_C" >&6
63155 else
63156   if test x$gcc_no_link = xyes; then
63157   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63158 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63159    { (exit 1); exit 1; }; }
63160 fi
63161 cat >conftest.$ac_ext <<_ACEOF
63162 /* confdefs.h.  */
63163 _ACEOF
63164 cat confdefs.h >>conftest.$ac_ext
63165 cat >>conftest.$ac_ext <<_ACEOF
63166 /* end confdefs.h.  */
63167 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63168    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63169 #define $ac_func innocuous_$ac_func
63170
63171 /* System header to define __stub macros and hopefully few prototypes,
63172     which can conflict with char $ac_func (); below.
63173     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63174     <limits.h> exists even on freestanding compilers.  */
63175
63176 #ifdef __STDC__
63177 # include <limits.h>
63178 #else
63179 # include <assert.h>
63180 #endif
63181
63182 #undef $ac_func
63183
63184 /* Override any gcc2 internal prototype to avoid an error.  */
63185 #ifdef __cplusplus
63186 extern "C"
63187 {
63188 #endif
63189 /* We use char because int might match the return type of a gcc2
63190    builtin and then its argument prototype would still apply.  */
63191 char $ac_func ();
63192 /* The GNU C library defines this for functions which it implements
63193     to always fail with ENOSYS.  Some functions are actually named
63194     something starting with __ and the normal name is an alias.  */
63195 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63196 choke me
63197 #else
63198 char (*f) () = $ac_func;
63199 #endif
63200 #ifdef __cplusplus
63201 }
63202 #endif
63203
63204 int
63205 main ()
63206 {
63207 return f != $ac_func;
63208   ;
63209   return 0;
63210 }
63211 _ACEOF
63212 rm -f conftest.$ac_objext conftest$ac_exeext
63213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63214   (eval $ac_link) 2>conftest.er1
63215   ac_status=$?
63216   grep -v '^ *+' conftest.er1 >conftest.err
63217   rm -f conftest.er1
63218   cat conftest.err >&5
63219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63220   (exit $ac_status); } &&
63221          { ac_try='test -z "$ac_c_werror_flag"
63222                          || test ! -s conftest.err'
63223   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63224   (eval $ac_try) 2>&5
63225   ac_status=$?
63226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63227   (exit $ac_status); }; } &&
63228          { ac_try='test -s conftest$ac_exeext'
63229   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63230   (eval $ac_try) 2>&5
63231   ac_status=$?
63232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63233   (exit $ac_status); }; }; then
63234   eval "$as_ac_var=yes"
63235 else
63236   echo "$as_me: failed program was:" >&5
63237 sed 's/^/| /' conftest.$ac_ext >&5
63238
63239 eval "$as_ac_var=no"
63240 fi
63241 rm -f conftest.err conftest.$ac_objext \
63242       conftest$ac_exeext conftest.$ac_ext
63243 fi
63244 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63245 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63246 if test `eval echo '${'$as_ac_var'}'` = yes; then
63247   cat >>confdefs.h <<_ACEOF
63248 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63249 _ACEOF
63250
63251 fi
63252 done
63253
63254     fi
63255   fi
63256
63257
63258
63259   echo "$as_me:$LINENO: checking for powf declaration" >&5
63260 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
63261   if test x${glibcxx_cv_func_powf_use+set} != xset; then
63262     if test "${glibcxx_cv_func_powf_use+set}" = set; then
63263   echo $ECHO_N "(cached) $ECHO_C" >&6
63264 else
63265
63266
63267
63268       ac_ext=cc
63269 ac_cpp='$CXXCPP $CPPFLAGS'
63270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63273
63274       cat >conftest.$ac_ext <<_ACEOF
63275 /* confdefs.h.  */
63276 _ACEOF
63277 cat confdefs.h >>conftest.$ac_ext
63278 cat >>conftest.$ac_ext <<_ACEOF
63279 /* end confdefs.h.  */
63280 #include <math.h>
63281 int
63282 main ()
63283 {
63284  powf(0, 0);
63285   ;
63286   return 0;
63287 }
63288 _ACEOF
63289 rm -f conftest.$ac_objext
63290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63291   (eval $ac_compile) 2>conftest.er1
63292   ac_status=$?
63293   grep -v '^ *+' conftest.er1 >conftest.err
63294   rm -f conftest.er1
63295   cat conftest.err >&5
63296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63297   (exit $ac_status); } &&
63298          { ac_try='test -z "$ac_cxx_werror_flag"
63299                          || test ! -s conftest.err'
63300   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63301   (eval $ac_try) 2>&5
63302   ac_status=$?
63303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63304   (exit $ac_status); }; } &&
63305          { ac_try='test -s conftest.$ac_objext'
63306   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63307   (eval $ac_try) 2>&5
63308   ac_status=$?
63309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63310   (exit $ac_status); }; }; then
63311   glibcxx_cv_func_powf_use=yes
63312 else
63313   echo "$as_me: failed program was:" >&5
63314 sed 's/^/| /' conftest.$ac_ext >&5
63315
63316 glibcxx_cv_func_powf_use=no
63317 fi
63318 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63319       ac_ext=c
63320 ac_cpp='$CPP $CPPFLAGS'
63321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63324
63325
63326 fi
63327
63328   fi
63329   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
63330 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
63331
63332   if test x$glibcxx_cv_func_powf_use = x"yes"; then
63333
63334 for ac_func in powf
63335 do
63336 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63337 echo "$as_me:$LINENO: checking for $ac_func" >&5
63338 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63339 if eval "test \"\${$as_ac_var+set}\" = set"; then
63340   echo $ECHO_N "(cached) $ECHO_C" >&6
63341 else
63342   if test x$gcc_no_link = xyes; then
63343   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63344 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63345    { (exit 1); exit 1; }; }
63346 fi
63347 cat >conftest.$ac_ext <<_ACEOF
63348 /* confdefs.h.  */
63349 _ACEOF
63350 cat confdefs.h >>conftest.$ac_ext
63351 cat >>conftest.$ac_ext <<_ACEOF
63352 /* end confdefs.h.  */
63353 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63354    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63355 #define $ac_func innocuous_$ac_func
63356
63357 /* System header to define __stub macros and hopefully few prototypes,
63358     which can conflict with char $ac_func (); below.
63359     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63360     <limits.h> exists even on freestanding compilers.  */
63361
63362 #ifdef __STDC__
63363 # include <limits.h>
63364 #else
63365 # include <assert.h>
63366 #endif
63367
63368 #undef $ac_func
63369
63370 /* Override any gcc2 internal prototype to avoid an error.  */
63371 #ifdef __cplusplus
63372 extern "C"
63373 {
63374 #endif
63375 /* We use char because int might match the return type of a gcc2
63376    builtin and then its argument prototype would still apply.  */
63377 char $ac_func ();
63378 /* The GNU C library defines this for functions which it implements
63379     to always fail with ENOSYS.  Some functions are actually named
63380     something starting with __ and the normal name is an alias.  */
63381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63382 choke me
63383 #else
63384 char (*f) () = $ac_func;
63385 #endif
63386 #ifdef __cplusplus
63387 }
63388 #endif
63389
63390 int
63391 main ()
63392 {
63393 return f != $ac_func;
63394   ;
63395   return 0;
63396 }
63397 _ACEOF
63398 rm -f conftest.$ac_objext conftest$ac_exeext
63399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63400   (eval $ac_link) 2>conftest.er1
63401   ac_status=$?
63402   grep -v '^ *+' conftest.er1 >conftest.err
63403   rm -f conftest.er1
63404   cat conftest.err >&5
63405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63406   (exit $ac_status); } &&
63407          { ac_try='test -z "$ac_c_werror_flag"
63408                          || test ! -s conftest.err'
63409   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63410   (eval $ac_try) 2>&5
63411   ac_status=$?
63412   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63413   (exit $ac_status); }; } &&
63414          { ac_try='test -s conftest$ac_exeext'
63415   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63416   (eval $ac_try) 2>&5
63417   ac_status=$?
63418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63419   (exit $ac_status); }; }; then
63420   eval "$as_ac_var=yes"
63421 else
63422   echo "$as_me: failed program was:" >&5
63423 sed 's/^/| /' conftest.$ac_ext >&5
63424
63425 eval "$as_ac_var=no"
63426 fi
63427 rm -f conftest.err conftest.$ac_objext \
63428       conftest$ac_exeext conftest.$ac_ext
63429 fi
63430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63431 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63432 if test `eval echo '${'$as_ac_var'}'` = yes; then
63433   cat >>confdefs.h <<_ACEOF
63434 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63435 _ACEOF
63436
63437 fi
63438 done
63439
63440   else
63441
63442   echo "$as_me:$LINENO: checking for _powf declaration" >&5
63443 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
63444   if test x${glibcxx_cv_func__powf_use+set} != xset; then
63445     if test "${glibcxx_cv_func__powf_use+set}" = set; then
63446   echo $ECHO_N "(cached) $ECHO_C" >&6
63447 else
63448
63449
63450
63451       ac_ext=cc
63452 ac_cpp='$CXXCPP $CPPFLAGS'
63453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63456
63457       cat >conftest.$ac_ext <<_ACEOF
63458 /* confdefs.h.  */
63459 _ACEOF
63460 cat confdefs.h >>conftest.$ac_ext
63461 cat >>conftest.$ac_ext <<_ACEOF
63462 /* end confdefs.h.  */
63463 #include <math.h>
63464 int
63465 main ()
63466 {
63467  _powf(0, 0);
63468   ;
63469   return 0;
63470 }
63471 _ACEOF
63472 rm -f conftest.$ac_objext
63473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63474   (eval $ac_compile) 2>conftest.er1
63475   ac_status=$?
63476   grep -v '^ *+' conftest.er1 >conftest.err
63477   rm -f conftest.er1
63478   cat conftest.err >&5
63479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63480   (exit $ac_status); } &&
63481          { ac_try='test -z "$ac_cxx_werror_flag"
63482                          || test ! -s conftest.err'
63483   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63484   (eval $ac_try) 2>&5
63485   ac_status=$?
63486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63487   (exit $ac_status); }; } &&
63488          { ac_try='test -s conftest.$ac_objext'
63489   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63490   (eval $ac_try) 2>&5
63491   ac_status=$?
63492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63493   (exit $ac_status); }; }; then
63494   glibcxx_cv_func__powf_use=yes
63495 else
63496   echo "$as_me: failed program was:" >&5
63497 sed 's/^/| /' conftest.$ac_ext >&5
63498
63499 glibcxx_cv_func__powf_use=no
63500 fi
63501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63502       ac_ext=c
63503 ac_cpp='$CPP $CPPFLAGS'
63504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63507
63508
63509 fi
63510
63511   fi
63512   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
63513 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
63514
63515     if test x$glibcxx_cv_func__powf_use = x"yes"; then
63516
63517 for ac_func in _powf
63518 do
63519 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63520 echo "$as_me:$LINENO: checking for $ac_func" >&5
63521 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63522 if eval "test \"\${$as_ac_var+set}\" = set"; then
63523   echo $ECHO_N "(cached) $ECHO_C" >&6
63524 else
63525   if test x$gcc_no_link = xyes; then
63526   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63527 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63528    { (exit 1); exit 1; }; }
63529 fi
63530 cat >conftest.$ac_ext <<_ACEOF
63531 /* confdefs.h.  */
63532 _ACEOF
63533 cat confdefs.h >>conftest.$ac_ext
63534 cat >>conftest.$ac_ext <<_ACEOF
63535 /* end confdefs.h.  */
63536 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63537    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63538 #define $ac_func innocuous_$ac_func
63539
63540 /* System header to define __stub macros and hopefully few prototypes,
63541     which can conflict with char $ac_func (); below.
63542     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63543     <limits.h> exists even on freestanding compilers.  */
63544
63545 #ifdef __STDC__
63546 # include <limits.h>
63547 #else
63548 # include <assert.h>
63549 #endif
63550
63551 #undef $ac_func
63552
63553 /* Override any gcc2 internal prototype to avoid an error.  */
63554 #ifdef __cplusplus
63555 extern "C"
63556 {
63557 #endif
63558 /* We use char because int might match the return type of a gcc2
63559    builtin and then its argument prototype would still apply.  */
63560 char $ac_func ();
63561 /* The GNU C library defines this for functions which it implements
63562     to always fail with ENOSYS.  Some functions are actually named
63563     something starting with __ and the normal name is an alias.  */
63564 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63565 choke me
63566 #else
63567 char (*f) () = $ac_func;
63568 #endif
63569 #ifdef __cplusplus
63570 }
63571 #endif
63572
63573 int
63574 main ()
63575 {
63576 return f != $ac_func;
63577   ;
63578   return 0;
63579 }
63580 _ACEOF
63581 rm -f conftest.$ac_objext conftest$ac_exeext
63582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63583   (eval $ac_link) 2>conftest.er1
63584   ac_status=$?
63585   grep -v '^ *+' conftest.er1 >conftest.err
63586   rm -f conftest.er1
63587   cat conftest.err >&5
63588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63589   (exit $ac_status); } &&
63590          { ac_try='test -z "$ac_c_werror_flag"
63591                          || test ! -s conftest.err'
63592   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63593   (eval $ac_try) 2>&5
63594   ac_status=$?
63595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63596   (exit $ac_status); }; } &&
63597          { ac_try='test -s conftest$ac_exeext'
63598   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63599   (eval $ac_try) 2>&5
63600   ac_status=$?
63601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63602   (exit $ac_status); }; }; then
63603   eval "$as_ac_var=yes"
63604 else
63605   echo "$as_me: failed program was:" >&5
63606 sed 's/^/| /' conftest.$ac_ext >&5
63607
63608 eval "$as_ac_var=no"
63609 fi
63610 rm -f conftest.err conftest.$ac_objext \
63611       conftest$ac_exeext conftest.$ac_ext
63612 fi
63613 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63614 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63615 if test `eval echo '${'$as_ac_var'}'` = yes; then
63616   cat >>confdefs.h <<_ACEOF
63617 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63618 _ACEOF
63619
63620 fi
63621 done
63622
63623     fi
63624   fi
63625
63626
63627
63628   echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
63629 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
63630   if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
63631     if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
63632   echo $ECHO_N "(cached) $ECHO_C" >&6
63633 else
63634
63635
63636
63637       ac_ext=cc
63638 ac_cpp='$CXXCPP $CPPFLAGS'
63639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63642
63643       cat >conftest.$ac_ext <<_ACEOF
63644 /* confdefs.h.  */
63645 _ACEOF
63646 cat confdefs.h >>conftest.$ac_ext
63647 cat >>conftest.$ac_ext <<_ACEOF
63648 /* end confdefs.h.  */
63649 #include <math.h>
63650                       #ifdef HAVE_IEEEFP_H
63651                       #include <ieeefp.h>
63652                       #endif
63653
63654 int
63655 main ()
63656 {
63657  sqrtf(0);
63658   ;
63659   return 0;
63660 }
63661 _ACEOF
63662 rm -f conftest.$ac_objext
63663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63664   (eval $ac_compile) 2>conftest.er1
63665   ac_status=$?
63666   grep -v '^ *+' conftest.er1 >conftest.err
63667   rm -f conftest.er1
63668   cat conftest.err >&5
63669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63670   (exit $ac_status); } &&
63671          { ac_try='test -z "$ac_cxx_werror_flag"
63672                          || test ! -s conftest.err'
63673   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63674   (eval $ac_try) 2>&5
63675   ac_status=$?
63676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63677   (exit $ac_status); }; } &&
63678          { ac_try='test -s conftest.$ac_objext'
63679   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63680   (eval $ac_try) 2>&5
63681   ac_status=$?
63682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63683   (exit $ac_status); }; }; then
63684   glibcxx_cv_func_sqrtf_use=yes
63685 else
63686   echo "$as_me: failed program was:" >&5
63687 sed 's/^/| /' conftest.$ac_ext >&5
63688
63689 glibcxx_cv_func_sqrtf_use=no
63690 fi
63691 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63692       ac_ext=c
63693 ac_cpp='$CPP $CPPFLAGS'
63694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63697
63698
63699 fi
63700
63701   fi
63702   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
63703 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
63704
63705   if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
63706
63707 for ac_func in sqrtf
63708 do
63709 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63710 echo "$as_me:$LINENO: checking for $ac_func" >&5
63711 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63712 if eval "test \"\${$as_ac_var+set}\" = set"; then
63713   echo $ECHO_N "(cached) $ECHO_C" >&6
63714 else
63715   if test x$gcc_no_link = xyes; then
63716   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63717 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63718    { (exit 1); exit 1; }; }
63719 fi
63720 cat >conftest.$ac_ext <<_ACEOF
63721 /* confdefs.h.  */
63722 _ACEOF
63723 cat confdefs.h >>conftest.$ac_ext
63724 cat >>conftest.$ac_ext <<_ACEOF
63725 /* end confdefs.h.  */
63726 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63727    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63728 #define $ac_func innocuous_$ac_func
63729
63730 /* System header to define __stub macros and hopefully few prototypes,
63731     which can conflict with char $ac_func (); below.
63732     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63733     <limits.h> exists even on freestanding compilers.  */
63734
63735 #ifdef __STDC__
63736 # include <limits.h>
63737 #else
63738 # include <assert.h>
63739 #endif
63740
63741 #undef $ac_func
63742
63743 /* Override any gcc2 internal prototype to avoid an error.  */
63744 #ifdef __cplusplus
63745 extern "C"
63746 {
63747 #endif
63748 /* We use char because int might match the return type of a gcc2
63749    builtin and then its argument prototype would still apply.  */
63750 char $ac_func ();
63751 /* The GNU C library defines this for functions which it implements
63752     to always fail with ENOSYS.  Some functions are actually named
63753     something starting with __ and the normal name is an alias.  */
63754 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63755 choke me
63756 #else
63757 char (*f) () = $ac_func;
63758 #endif
63759 #ifdef __cplusplus
63760 }
63761 #endif
63762
63763 int
63764 main ()
63765 {
63766 return f != $ac_func;
63767   ;
63768   return 0;
63769 }
63770 _ACEOF
63771 rm -f conftest.$ac_objext conftest$ac_exeext
63772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63773   (eval $ac_link) 2>conftest.er1
63774   ac_status=$?
63775   grep -v '^ *+' conftest.er1 >conftest.err
63776   rm -f conftest.er1
63777   cat conftest.err >&5
63778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63779   (exit $ac_status); } &&
63780          { ac_try='test -z "$ac_c_werror_flag"
63781                          || test ! -s conftest.err'
63782   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63783   (eval $ac_try) 2>&5
63784   ac_status=$?
63785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63786   (exit $ac_status); }; } &&
63787          { ac_try='test -s conftest$ac_exeext'
63788   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63789   (eval $ac_try) 2>&5
63790   ac_status=$?
63791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63792   (exit $ac_status); }; }; then
63793   eval "$as_ac_var=yes"
63794 else
63795   echo "$as_me: failed program was:" >&5
63796 sed 's/^/| /' conftest.$ac_ext >&5
63797
63798 eval "$as_ac_var=no"
63799 fi
63800 rm -f conftest.err conftest.$ac_objext \
63801       conftest$ac_exeext conftest.$ac_ext
63802 fi
63803 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63804 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63805 if test `eval echo '${'$as_ac_var'}'` = yes; then
63806   cat >>confdefs.h <<_ACEOF
63807 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63808 _ACEOF
63809
63810 fi
63811 done
63812
63813   else
63814
63815   echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
63816 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
63817   if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
63818     if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
63819   echo $ECHO_N "(cached) $ECHO_C" >&6
63820 else
63821
63822
63823
63824       ac_ext=cc
63825 ac_cpp='$CXXCPP $CPPFLAGS'
63826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63829
63830       cat >conftest.$ac_ext <<_ACEOF
63831 /* confdefs.h.  */
63832 _ACEOF
63833 cat confdefs.h >>conftest.$ac_ext
63834 cat >>conftest.$ac_ext <<_ACEOF
63835 /* end confdefs.h.  */
63836 #include <math.h>
63837                       #ifdef HAVE_IEEEFP_H
63838                       #include <ieeefp.h>
63839                       #endif
63840
63841 int
63842 main ()
63843 {
63844  _sqrtf(0);
63845   ;
63846   return 0;
63847 }
63848 _ACEOF
63849 rm -f conftest.$ac_objext
63850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63851   (eval $ac_compile) 2>conftest.er1
63852   ac_status=$?
63853   grep -v '^ *+' conftest.er1 >conftest.err
63854   rm -f conftest.er1
63855   cat conftest.err >&5
63856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63857   (exit $ac_status); } &&
63858          { ac_try='test -z "$ac_cxx_werror_flag"
63859                          || test ! -s conftest.err'
63860   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63861   (eval $ac_try) 2>&5
63862   ac_status=$?
63863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63864   (exit $ac_status); }; } &&
63865          { ac_try='test -s conftest.$ac_objext'
63866   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63867   (eval $ac_try) 2>&5
63868   ac_status=$?
63869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63870   (exit $ac_status); }; }; then
63871   glibcxx_cv_func__sqrtf_use=yes
63872 else
63873   echo "$as_me: failed program was:" >&5
63874 sed 's/^/| /' conftest.$ac_ext >&5
63875
63876 glibcxx_cv_func__sqrtf_use=no
63877 fi
63878 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63879       ac_ext=c
63880 ac_cpp='$CPP $CPPFLAGS'
63881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63884
63885
63886 fi
63887
63888   fi
63889   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
63890 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
63891
63892     if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
63893
63894 for ac_func in _sqrtf
63895 do
63896 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63897 echo "$as_me:$LINENO: checking for $ac_func" >&5
63898 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63899 if eval "test \"\${$as_ac_var+set}\" = set"; then
63900   echo $ECHO_N "(cached) $ECHO_C" >&6
63901 else
63902   if test x$gcc_no_link = xyes; then
63903   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63904 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63905    { (exit 1); exit 1; }; }
63906 fi
63907 cat >conftest.$ac_ext <<_ACEOF
63908 /* confdefs.h.  */
63909 _ACEOF
63910 cat confdefs.h >>conftest.$ac_ext
63911 cat >>conftest.$ac_ext <<_ACEOF
63912 /* end confdefs.h.  */
63913 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63914    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
63915 #define $ac_func innocuous_$ac_func
63916
63917 /* System header to define __stub macros and hopefully few prototypes,
63918     which can conflict with char $ac_func (); below.
63919     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63920     <limits.h> exists even on freestanding compilers.  */
63921
63922 #ifdef __STDC__
63923 # include <limits.h>
63924 #else
63925 # include <assert.h>
63926 #endif
63927
63928 #undef $ac_func
63929
63930 /* Override any gcc2 internal prototype to avoid an error.  */
63931 #ifdef __cplusplus
63932 extern "C"
63933 {
63934 #endif
63935 /* We use char because int might match the return type of a gcc2
63936    builtin and then its argument prototype would still apply.  */
63937 char $ac_func ();
63938 /* The GNU C library defines this for functions which it implements
63939     to always fail with ENOSYS.  Some functions are actually named
63940     something starting with __ and the normal name is an alias.  */
63941 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63942 choke me
63943 #else
63944 char (*f) () = $ac_func;
63945 #endif
63946 #ifdef __cplusplus
63947 }
63948 #endif
63949
63950 int
63951 main ()
63952 {
63953 return f != $ac_func;
63954   ;
63955   return 0;
63956 }
63957 _ACEOF
63958 rm -f conftest.$ac_objext conftest$ac_exeext
63959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63960   (eval $ac_link) 2>conftest.er1
63961   ac_status=$?
63962   grep -v '^ *+' conftest.er1 >conftest.err
63963   rm -f conftest.er1
63964   cat conftest.err >&5
63965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63966   (exit $ac_status); } &&
63967          { ac_try='test -z "$ac_c_werror_flag"
63968                          || test ! -s conftest.err'
63969   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63970   (eval $ac_try) 2>&5
63971   ac_status=$?
63972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63973   (exit $ac_status); }; } &&
63974          { ac_try='test -s conftest$ac_exeext'
63975   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63976   (eval $ac_try) 2>&5
63977   ac_status=$?
63978   echo "$as_me:$LINENO: \$? = $ac_status" >&5
63979   (exit $ac_status); }; }; then
63980   eval "$as_ac_var=yes"
63981 else
63982   echo "$as_me: failed program was:" >&5
63983 sed 's/^/| /' conftest.$ac_ext >&5
63984
63985 eval "$as_ac_var=no"
63986 fi
63987 rm -f conftest.err conftest.$ac_objext \
63988       conftest$ac_exeext conftest.$ac_ext
63989 fi
63990 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63991 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63992 if test `eval echo '${'$as_ac_var'}'` = yes; then
63993   cat >>confdefs.h <<_ACEOF
63994 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63995 _ACEOF
63996
63997 fi
63998 done
63999
64000     fi
64001   fi
64002
64003
64004
64005   echo "$as_me:$LINENO: checking for sincosf declaration" >&5
64006 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
64007   if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
64008     if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
64009   echo $ECHO_N "(cached) $ECHO_C" >&6
64010 else
64011
64012
64013
64014       ac_ext=cc
64015 ac_cpp='$CXXCPP $CPPFLAGS'
64016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64019
64020       cat >conftest.$ac_ext <<_ACEOF
64021 /* confdefs.h.  */
64022 _ACEOF
64023 cat confdefs.h >>conftest.$ac_ext
64024 cat >>conftest.$ac_ext <<_ACEOF
64025 /* end confdefs.h.  */
64026 #include <math.h>
64027 int
64028 main ()
64029 {
64030  sincosf(0, 0, 0);
64031   ;
64032   return 0;
64033 }
64034 _ACEOF
64035 rm -f conftest.$ac_objext
64036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64037   (eval $ac_compile) 2>conftest.er1
64038   ac_status=$?
64039   grep -v '^ *+' conftest.er1 >conftest.err
64040   rm -f conftest.er1
64041   cat conftest.err >&5
64042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64043   (exit $ac_status); } &&
64044          { ac_try='test -z "$ac_cxx_werror_flag"
64045                          || test ! -s conftest.err'
64046   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64047   (eval $ac_try) 2>&5
64048   ac_status=$?
64049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64050   (exit $ac_status); }; } &&
64051          { ac_try='test -s conftest.$ac_objext'
64052   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64053   (eval $ac_try) 2>&5
64054   ac_status=$?
64055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64056   (exit $ac_status); }; }; then
64057   glibcxx_cv_func_sincosf_use=yes
64058 else
64059   echo "$as_me: failed program was:" >&5
64060 sed 's/^/| /' conftest.$ac_ext >&5
64061
64062 glibcxx_cv_func_sincosf_use=no
64063 fi
64064 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64065       ac_ext=c
64066 ac_cpp='$CPP $CPPFLAGS'
64067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64070
64071
64072 fi
64073
64074   fi
64075   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
64076 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
64077
64078   if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
64079
64080 for ac_func in sincosf
64081 do
64082 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64083 echo "$as_me:$LINENO: checking for $ac_func" >&5
64084 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64085 if eval "test \"\${$as_ac_var+set}\" = set"; then
64086   echo $ECHO_N "(cached) $ECHO_C" >&6
64087 else
64088   if test x$gcc_no_link = xyes; then
64089   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64090 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64091    { (exit 1); exit 1; }; }
64092 fi
64093 cat >conftest.$ac_ext <<_ACEOF
64094 /* confdefs.h.  */
64095 _ACEOF
64096 cat confdefs.h >>conftest.$ac_ext
64097 cat >>conftest.$ac_ext <<_ACEOF
64098 /* end confdefs.h.  */
64099 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64100    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64101 #define $ac_func innocuous_$ac_func
64102
64103 /* System header to define __stub macros and hopefully few prototypes,
64104     which can conflict with char $ac_func (); below.
64105     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64106     <limits.h> exists even on freestanding compilers.  */
64107
64108 #ifdef __STDC__
64109 # include <limits.h>
64110 #else
64111 # include <assert.h>
64112 #endif
64113
64114 #undef $ac_func
64115
64116 /* Override any gcc2 internal prototype to avoid an error.  */
64117 #ifdef __cplusplus
64118 extern "C"
64119 {
64120 #endif
64121 /* We use char because int might match the return type of a gcc2
64122    builtin and then its argument prototype would still apply.  */
64123 char $ac_func ();
64124 /* The GNU C library defines this for functions which it implements
64125     to always fail with ENOSYS.  Some functions are actually named
64126     something starting with __ and the normal name is an alias.  */
64127 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64128 choke me
64129 #else
64130 char (*f) () = $ac_func;
64131 #endif
64132 #ifdef __cplusplus
64133 }
64134 #endif
64135
64136 int
64137 main ()
64138 {
64139 return f != $ac_func;
64140   ;
64141   return 0;
64142 }
64143 _ACEOF
64144 rm -f conftest.$ac_objext conftest$ac_exeext
64145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64146   (eval $ac_link) 2>conftest.er1
64147   ac_status=$?
64148   grep -v '^ *+' conftest.er1 >conftest.err
64149   rm -f conftest.er1
64150   cat conftest.err >&5
64151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64152   (exit $ac_status); } &&
64153          { ac_try='test -z "$ac_c_werror_flag"
64154                          || test ! -s conftest.err'
64155   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64156   (eval $ac_try) 2>&5
64157   ac_status=$?
64158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64159   (exit $ac_status); }; } &&
64160          { ac_try='test -s conftest$ac_exeext'
64161   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64162   (eval $ac_try) 2>&5
64163   ac_status=$?
64164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64165   (exit $ac_status); }; }; then
64166   eval "$as_ac_var=yes"
64167 else
64168   echo "$as_me: failed program was:" >&5
64169 sed 's/^/| /' conftest.$ac_ext >&5
64170
64171 eval "$as_ac_var=no"
64172 fi
64173 rm -f conftest.err conftest.$ac_objext \
64174       conftest$ac_exeext conftest.$ac_ext
64175 fi
64176 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64177 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64178 if test `eval echo '${'$as_ac_var'}'` = yes; then
64179   cat >>confdefs.h <<_ACEOF
64180 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64181 _ACEOF
64182
64183 fi
64184 done
64185
64186   else
64187
64188   echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
64189 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
64190   if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
64191     if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
64192   echo $ECHO_N "(cached) $ECHO_C" >&6
64193 else
64194
64195
64196
64197       ac_ext=cc
64198 ac_cpp='$CXXCPP $CPPFLAGS'
64199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64202
64203       cat >conftest.$ac_ext <<_ACEOF
64204 /* confdefs.h.  */
64205 _ACEOF
64206 cat confdefs.h >>conftest.$ac_ext
64207 cat >>conftest.$ac_ext <<_ACEOF
64208 /* end confdefs.h.  */
64209 #include <math.h>
64210 int
64211 main ()
64212 {
64213  _sincosf(0, 0, 0);
64214   ;
64215   return 0;
64216 }
64217 _ACEOF
64218 rm -f conftest.$ac_objext
64219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64220   (eval $ac_compile) 2>conftest.er1
64221   ac_status=$?
64222   grep -v '^ *+' conftest.er1 >conftest.err
64223   rm -f conftest.er1
64224   cat conftest.err >&5
64225   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64226   (exit $ac_status); } &&
64227          { ac_try='test -z "$ac_cxx_werror_flag"
64228                          || test ! -s conftest.err'
64229   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64230   (eval $ac_try) 2>&5
64231   ac_status=$?
64232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64233   (exit $ac_status); }; } &&
64234          { ac_try='test -s conftest.$ac_objext'
64235   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64236   (eval $ac_try) 2>&5
64237   ac_status=$?
64238   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64239   (exit $ac_status); }; }; then
64240   glibcxx_cv_func__sincosf_use=yes
64241 else
64242   echo "$as_me: failed program was:" >&5
64243 sed 's/^/| /' conftest.$ac_ext >&5
64244
64245 glibcxx_cv_func__sincosf_use=no
64246 fi
64247 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64248       ac_ext=c
64249 ac_cpp='$CPP $CPPFLAGS'
64250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64253
64254
64255 fi
64256
64257   fi
64258   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
64259 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
64260
64261     if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
64262
64263 for ac_func in _sincosf
64264 do
64265 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64266 echo "$as_me:$LINENO: checking for $ac_func" >&5
64267 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64268 if eval "test \"\${$as_ac_var+set}\" = set"; then
64269   echo $ECHO_N "(cached) $ECHO_C" >&6
64270 else
64271   if test x$gcc_no_link = xyes; then
64272   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64273 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64274    { (exit 1); exit 1; }; }
64275 fi
64276 cat >conftest.$ac_ext <<_ACEOF
64277 /* confdefs.h.  */
64278 _ACEOF
64279 cat confdefs.h >>conftest.$ac_ext
64280 cat >>conftest.$ac_ext <<_ACEOF
64281 /* end confdefs.h.  */
64282 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64283    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64284 #define $ac_func innocuous_$ac_func
64285
64286 /* System header to define __stub macros and hopefully few prototypes,
64287     which can conflict with char $ac_func (); below.
64288     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64289     <limits.h> exists even on freestanding compilers.  */
64290
64291 #ifdef __STDC__
64292 # include <limits.h>
64293 #else
64294 # include <assert.h>
64295 #endif
64296
64297 #undef $ac_func
64298
64299 /* Override any gcc2 internal prototype to avoid an error.  */
64300 #ifdef __cplusplus
64301 extern "C"
64302 {
64303 #endif
64304 /* We use char because int might match the return type of a gcc2
64305    builtin and then its argument prototype would still apply.  */
64306 char $ac_func ();
64307 /* The GNU C library defines this for functions which it implements
64308     to always fail with ENOSYS.  Some functions are actually named
64309     something starting with __ and the normal name is an alias.  */
64310 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64311 choke me
64312 #else
64313 char (*f) () = $ac_func;
64314 #endif
64315 #ifdef __cplusplus
64316 }
64317 #endif
64318
64319 int
64320 main ()
64321 {
64322 return f != $ac_func;
64323   ;
64324   return 0;
64325 }
64326 _ACEOF
64327 rm -f conftest.$ac_objext conftest$ac_exeext
64328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64329   (eval $ac_link) 2>conftest.er1
64330   ac_status=$?
64331   grep -v '^ *+' conftest.er1 >conftest.err
64332   rm -f conftest.er1
64333   cat conftest.err >&5
64334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64335   (exit $ac_status); } &&
64336          { ac_try='test -z "$ac_c_werror_flag"
64337                          || test ! -s conftest.err'
64338   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64339   (eval $ac_try) 2>&5
64340   ac_status=$?
64341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64342   (exit $ac_status); }; } &&
64343          { ac_try='test -s conftest$ac_exeext'
64344   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64345   (eval $ac_try) 2>&5
64346   ac_status=$?
64347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64348   (exit $ac_status); }; }; then
64349   eval "$as_ac_var=yes"
64350 else
64351   echo "$as_me: failed program was:" >&5
64352 sed 's/^/| /' conftest.$ac_ext >&5
64353
64354 eval "$as_ac_var=no"
64355 fi
64356 rm -f conftest.err conftest.$ac_objext \
64357       conftest$ac_exeext conftest.$ac_ext
64358 fi
64359 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64360 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64361 if test `eval echo '${'$as_ac_var'}'` = yes; then
64362   cat >>confdefs.h <<_ACEOF
64363 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64364 _ACEOF
64365
64366 fi
64367 done
64368
64369     fi
64370   fi
64371
64372
64373
64374   echo "$as_me:$LINENO: checking for finitef declaration" >&5
64375 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
64376   if test x${glibcxx_cv_func_finitef_use+set} != xset; then
64377     if test "${glibcxx_cv_func_finitef_use+set}" = set; then
64378   echo $ECHO_N "(cached) $ECHO_C" >&6
64379 else
64380
64381
64382
64383       ac_ext=cc
64384 ac_cpp='$CXXCPP $CPPFLAGS'
64385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64388
64389       cat >conftest.$ac_ext <<_ACEOF
64390 /* confdefs.h.  */
64391 _ACEOF
64392 cat confdefs.h >>conftest.$ac_ext
64393 cat >>conftest.$ac_ext <<_ACEOF
64394 /* end confdefs.h.  */
64395 #include <math.h>
64396                       #ifdef HAVE_IEEEFP_H
64397                       #include <ieeefp.h>
64398                       #endif
64399
64400 int
64401 main ()
64402 {
64403  finitef(0);
64404   ;
64405   return 0;
64406 }
64407 _ACEOF
64408 rm -f conftest.$ac_objext
64409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64410   (eval $ac_compile) 2>conftest.er1
64411   ac_status=$?
64412   grep -v '^ *+' conftest.er1 >conftest.err
64413   rm -f conftest.er1
64414   cat conftest.err >&5
64415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64416   (exit $ac_status); } &&
64417          { ac_try='test -z "$ac_cxx_werror_flag"
64418                          || test ! -s conftest.err'
64419   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64420   (eval $ac_try) 2>&5
64421   ac_status=$?
64422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64423   (exit $ac_status); }; } &&
64424          { ac_try='test -s conftest.$ac_objext'
64425   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64426   (eval $ac_try) 2>&5
64427   ac_status=$?
64428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64429   (exit $ac_status); }; }; then
64430   glibcxx_cv_func_finitef_use=yes
64431 else
64432   echo "$as_me: failed program was:" >&5
64433 sed 's/^/| /' conftest.$ac_ext >&5
64434
64435 glibcxx_cv_func_finitef_use=no
64436 fi
64437 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64438       ac_ext=c
64439 ac_cpp='$CPP $CPPFLAGS'
64440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64443
64444
64445 fi
64446
64447   fi
64448   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
64449 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
64450
64451   if test x$glibcxx_cv_func_finitef_use = x"yes"; then
64452
64453 for ac_func in finitef
64454 do
64455 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64456 echo "$as_me:$LINENO: checking for $ac_func" >&5
64457 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64458 if eval "test \"\${$as_ac_var+set}\" = set"; then
64459   echo $ECHO_N "(cached) $ECHO_C" >&6
64460 else
64461   if test x$gcc_no_link = xyes; then
64462   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64463 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64464    { (exit 1); exit 1; }; }
64465 fi
64466 cat >conftest.$ac_ext <<_ACEOF
64467 /* confdefs.h.  */
64468 _ACEOF
64469 cat confdefs.h >>conftest.$ac_ext
64470 cat >>conftest.$ac_ext <<_ACEOF
64471 /* end confdefs.h.  */
64472 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64473    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64474 #define $ac_func innocuous_$ac_func
64475
64476 /* System header to define __stub macros and hopefully few prototypes,
64477     which can conflict with char $ac_func (); below.
64478     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64479     <limits.h> exists even on freestanding compilers.  */
64480
64481 #ifdef __STDC__
64482 # include <limits.h>
64483 #else
64484 # include <assert.h>
64485 #endif
64486
64487 #undef $ac_func
64488
64489 /* Override any gcc2 internal prototype to avoid an error.  */
64490 #ifdef __cplusplus
64491 extern "C"
64492 {
64493 #endif
64494 /* We use char because int might match the return type of a gcc2
64495    builtin and then its argument prototype would still apply.  */
64496 char $ac_func ();
64497 /* The GNU C library defines this for functions which it implements
64498     to always fail with ENOSYS.  Some functions are actually named
64499     something starting with __ and the normal name is an alias.  */
64500 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64501 choke me
64502 #else
64503 char (*f) () = $ac_func;
64504 #endif
64505 #ifdef __cplusplus
64506 }
64507 #endif
64508
64509 int
64510 main ()
64511 {
64512 return f != $ac_func;
64513   ;
64514   return 0;
64515 }
64516 _ACEOF
64517 rm -f conftest.$ac_objext conftest$ac_exeext
64518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64519   (eval $ac_link) 2>conftest.er1
64520   ac_status=$?
64521   grep -v '^ *+' conftest.er1 >conftest.err
64522   rm -f conftest.er1
64523   cat conftest.err >&5
64524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64525   (exit $ac_status); } &&
64526          { ac_try='test -z "$ac_c_werror_flag"
64527                          || test ! -s conftest.err'
64528   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64529   (eval $ac_try) 2>&5
64530   ac_status=$?
64531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64532   (exit $ac_status); }; } &&
64533          { ac_try='test -s conftest$ac_exeext'
64534   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64535   (eval $ac_try) 2>&5
64536   ac_status=$?
64537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64538   (exit $ac_status); }; }; then
64539   eval "$as_ac_var=yes"
64540 else
64541   echo "$as_me: failed program was:" >&5
64542 sed 's/^/| /' conftest.$ac_ext >&5
64543
64544 eval "$as_ac_var=no"
64545 fi
64546 rm -f conftest.err conftest.$ac_objext \
64547       conftest$ac_exeext conftest.$ac_ext
64548 fi
64549 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64550 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64551 if test `eval echo '${'$as_ac_var'}'` = yes; then
64552   cat >>confdefs.h <<_ACEOF
64553 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64554 _ACEOF
64555
64556 fi
64557 done
64558
64559   else
64560
64561   echo "$as_me:$LINENO: checking for _finitef declaration" >&5
64562 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
64563   if test x${glibcxx_cv_func__finitef_use+set} != xset; then
64564     if test "${glibcxx_cv_func__finitef_use+set}" = set; then
64565   echo $ECHO_N "(cached) $ECHO_C" >&6
64566 else
64567
64568
64569
64570       ac_ext=cc
64571 ac_cpp='$CXXCPP $CPPFLAGS'
64572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64575
64576       cat >conftest.$ac_ext <<_ACEOF
64577 /* confdefs.h.  */
64578 _ACEOF
64579 cat confdefs.h >>conftest.$ac_ext
64580 cat >>conftest.$ac_ext <<_ACEOF
64581 /* end confdefs.h.  */
64582 #include <math.h>
64583                       #ifdef HAVE_IEEEFP_H
64584                       #include <ieeefp.h>
64585                       #endif
64586
64587 int
64588 main ()
64589 {
64590  _finitef(0);
64591   ;
64592   return 0;
64593 }
64594 _ACEOF
64595 rm -f conftest.$ac_objext
64596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64597   (eval $ac_compile) 2>conftest.er1
64598   ac_status=$?
64599   grep -v '^ *+' conftest.er1 >conftest.err
64600   rm -f conftest.er1
64601   cat conftest.err >&5
64602   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64603   (exit $ac_status); } &&
64604          { ac_try='test -z "$ac_cxx_werror_flag"
64605                          || test ! -s conftest.err'
64606   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64607   (eval $ac_try) 2>&5
64608   ac_status=$?
64609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64610   (exit $ac_status); }; } &&
64611          { ac_try='test -s conftest.$ac_objext'
64612   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64613   (eval $ac_try) 2>&5
64614   ac_status=$?
64615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64616   (exit $ac_status); }; }; then
64617   glibcxx_cv_func__finitef_use=yes
64618 else
64619   echo "$as_me: failed program was:" >&5
64620 sed 's/^/| /' conftest.$ac_ext >&5
64621
64622 glibcxx_cv_func__finitef_use=no
64623 fi
64624 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64625       ac_ext=c
64626 ac_cpp='$CPP $CPPFLAGS'
64627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64630
64631
64632 fi
64633
64634   fi
64635   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
64636 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
64637
64638     if test x$glibcxx_cv_func__finitef_use = x"yes"; then
64639
64640 for ac_func in _finitef
64641 do
64642 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64643 echo "$as_me:$LINENO: checking for $ac_func" >&5
64644 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64645 if eval "test \"\${$as_ac_var+set}\" = set"; then
64646   echo $ECHO_N "(cached) $ECHO_C" >&6
64647 else
64648   if test x$gcc_no_link = xyes; then
64649   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64650 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64651    { (exit 1); exit 1; }; }
64652 fi
64653 cat >conftest.$ac_ext <<_ACEOF
64654 /* confdefs.h.  */
64655 _ACEOF
64656 cat confdefs.h >>conftest.$ac_ext
64657 cat >>conftest.$ac_ext <<_ACEOF
64658 /* end confdefs.h.  */
64659 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64660    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64661 #define $ac_func innocuous_$ac_func
64662
64663 /* System header to define __stub macros and hopefully few prototypes,
64664     which can conflict with char $ac_func (); below.
64665     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64666     <limits.h> exists even on freestanding compilers.  */
64667
64668 #ifdef __STDC__
64669 # include <limits.h>
64670 #else
64671 # include <assert.h>
64672 #endif
64673
64674 #undef $ac_func
64675
64676 /* Override any gcc2 internal prototype to avoid an error.  */
64677 #ifdef __cplusplus
64678 extern "C"
64679 {
64680 #endif
64681 /* We use char because int might match the return type of a gcc2
64682    builtin and then its argument prototype would still apply.  */
64683 char $ac_func ();
64684 /* The GNU C library defines this for functions which it implements
64685     to always fail with ENOSYS.  Some functions are actually named
64686     something starting with __ and the normal name is an alias.  */
64687 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64688 choke me
64689 #else
64690 char (*f) () = $ac_func;
64691 #endif
64692 #ifdef __cplusplus
64693 }
64694 #endif
64695
64696 int
64697 main ()
64698 {
64699 return f != $ac_func;
64700   ;
64701   return 0;
64702 }
64703 _ACEOF
64704 rm -f conftest.$ac_objext conftest$ac_exeext
64705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64706   (eval $ac_link) 2>conftest.er1
64707   ac_status=$?
64708   grep -v '^ *+' conftest.er1 >conftest.err
64709   rm -f conftest.er1
64710   cat conftest.err >&5
64711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64712   (exit $ac_status); } &&
64713          { ac_try='test -z "$ac_c_werror_flag"
64714                          || test ! -s conftest.err'
64715   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64716   (eval $ac_try) 2>&5
64717   ac_status=$?
64718   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64719   (exit $ac_status); }; } &&
64720          { ac_try='test -s conftest$ac_exeext'
64721   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64722   (eval $ac_try) 2>&5
64723   ac_status=$?
64724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64725   (exit $ac_status); }; }; then
64726   eval "$as_ac_var=yes"
64727 else
64728   echo "$as_me: failed program was:" >&5
64729 sed 's/^/| /' conftest.$ac_ext >&5
64730
64731 eval "$as_ac_var=no"
64732 fi
64733 rm -f conftest.err conftest.$ac_objext \
64734       conftest$ac_exeext conftest.$ac_ext
64735 fi
64736 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64737 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64738 if test `eval echo '${'$as_ac_var'}'` = yes; then
64739   cat >>confdefs.h <<_ACEOF
64740 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64741 _ACEOF
64742
64743 fi
64744 done
64745
64746     fi
64747   fi
64748
64749
64750
64751   echo "$as_me:$LINENO: checking for long double trig functions" >&5
64752 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
64753   if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
64754   echo $ECHO_N "(cached) $ECHO_C" >&6
64755 else
64756
64757
64758
64759     ac_ext=cc
64760 ac_cpp='$CXXCPP $CPPFLAGS'
64761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64764
64765     cat >conftest.$ac_ext <<_ACEOF
64766 /* confdefs.h.  */
64767 _ACEOF
64768 cat confdefs.h >>conftest.$ac_ext
64769 cat >>conftest.$ac_ext <<_ACEOF
64770 /* end confdefs.h.  */
64771 #include <math.h>
64772 int
64773 main ()
64774 {
64775  `for x in acosl asinl atanl \
64776                                           cosl sinl tanl \
64777                                           coshl sinhl tanhl; do echo "$x (0);"; done`
64778   ;
64779   return 0;
64780 }
64781 _ACEOF
64782 rm -f conftest.$ac_objext
64783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64784   (eval $ac_compile) 2>conftest.er1
64785   ac_status=$?
64786   grep -v '^ *+' conftest.er1 >conftest.err
64787   rm -f conftest.er1
64788   cat conftest.err >&5
64789   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64790   (exit $ac_status); } &&
64791          { ac_try='test -z "$ac_cxx_werror_flag"
64792                          || test ! -s conftest.err'
64793   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64794   (eval $ac_try) 2>&5
64795   ac_status=$?
64796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64797   (exit $ac_status); }; } &&
64798          { ac_try='test -s conftest.$ac_objext'
64799   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64800   (eval $ac_try) 2>&5
64801   ac_status=$?
64802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64803   (exit $ac_status); }; }; then
64804   glibcxx_cv_func_long_double_trig_use=yes
64805 else
64806   echo "$as_me: failed program was:" >&5
64807 sed 's/^/| /' conftest.$ac_ext >&5
64808
64809 glibcxx_cv_func_long_double_trig_use=no
64810 fi
64811 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64812     ac_ext=c
64813 ac_cpp='$CPP $CPPFLAGS'
64814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64817
64818 fi
64819
64820   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
64821 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
64822   if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
64823
64824
64825
64826
64827
64828
64829
64830
64831
64832 for ac_func in acosl asinl atanl \
64833                                           cosl sinl tanl \
64834                                           coshl sinhl tanhl
64835 do
64836 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64837 echo "$as_me:$LINENO: checking for $ac_func" >&5
64838 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64839 if eval "test \"\${$as_ac_var+set}\" = set"; then
64840   echo $ECHO_N "(cached) $ECHO_C" >&6
64841 else
64842   if test x$gcc_no_link = xyes; then
64843   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64844 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64845    { (exit 1); exit 1; }; }
64846 fi
64847 cat >conftest.$ac_ext <<_ACEOF
64848 /* confdefs.h.  */
64849 _ACEOF
64850 cat confdefs.h >>conftest.$ac_ext
64851 cat >>conftest.$ac_ext <<_ACEOF
64852 /* end confdefs.h.  */
64853 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64854    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
64855 #define $ac_func innocuous_$ac_func
64856
64857 /* System header to define __stub macros and hopefully few prototypes,
64858     which can conflict with char $ac_func (); below.
64859     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64860     <limits.h> exists even on freestanding compilers.  */
64861
64862 #ifdef __STDC__
64863 # include <limits.h>
64864 #else
64865 # include <assert.h>
64866 #endif
64867
64868 #undef $ac_func
64869
64870 /* Override any gcc2 internal prototype to avoid an error.  */
64871 #ifdef __cplusplus
64872 extern "C"
64873 {
64874 #endif
64875 /* We use char because int might match the return type of a gcc2
64876    builtin and then its argument prototype would still apply.  */
64877 char $ac_func ();
64878 /* The GNU C library defines this for functions which it implements
64879     to always fail with ENOSYS.  Some functions are actually named
64880     something starting with __ and the normal name is an alias.  */
64881 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64882 choke me
64883 #else
64884 char (*f) () = $ac_func;
64885 #endif
64886 #ifdef __cplusplus
64887 }
64888 #endif
64889
64890 int
64891 main ()
64892 {
64893 return f != $ac_func;
64894   ;
64895   return 0;
64896 }
64897 _ACEOF
64898 rm -f conftest.$ac_objext conftest$ac_exeext
64899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64900   (eval $ac_link) 2>conftest.er1
64901   ac_status=$?
64902   grep -v '^ *+' conftest.er1 >conftest.err
64903   rm -f conftest.er1
64904   cat conftest.err >&5
64905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64906   (exit $ac_status); } &&
64907          { ac_try='test -z "$ac_c_werror_flag"
64908                          || test ! -s conftest.err'
64909   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64910   (eval $ac_try) 2>&5
64911   ac_status=$?
64912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64913   (exit $ac_status); }; } &&
64914          { ac_try='test -s conftest$ac_exeext'
64915   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64916   (eval $ac_try) 2>&5
64917   ac_status=$?
64918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64919   (exit $ac_status); }; }; then
64920   eval "$as_ac_var=yes"
64921 else
64922   echo "$as_me: failed program was:" >&5
64923 sed 's/^/| /' conftest.$ac_ext >&5
64924
64925 eval "$as_ac_var=no"
64926 fi
64927 rm -f conftest.err conftest.$ac_objext \
64928       conftest$ac_exeext conftest.$ac_ext
64929 fi
64930 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64931 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64932 if test `eval echo '${'$as_ac_var'}'` = yes; then
64933   cat >>confdefs.h <<_ACEOF
64934 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64935 _ACEOF
64936
64937 fi
64938 done
64939
64940   fi
64941
64942
64943   echo "$as_me:$LINENO: checking for long double round functions" >&5
64944 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
64945   if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
64946   echo $ECHO_N "(cached) $ECHO_C" >&6
64947 else
64948
64949
64950
64951     ac_ext=cc
64952 ac_cpp='$CXXCPP $CPPFLAGS'
64953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64956
64957     cat >conftest.$ac_ext <<_ACEOF
64958 /* confdefs.h.  */
64959 _ACEOF
64960 cat confdefs.h >>conftest.$ac_ext
64961 cat >>conftest.$ac_ext <<_ACEOF
64962 /* end confdefs.h.  */
64963 #include <math.h>
64964 int
64965 main ()
64966 {
64967  `for x in ceill floorl; do echo "$x (0);"; done`
64968   ;
64969   return 0;
64970 }
64971 _ACEOF
64972 rm -f conftest.$ac_objext
64973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64974   (eval $ac_compile) 2>conftest.er1
64975   ac_status=$?
64976   grep -v '^ *+' conftest.er1 >conftest.err
64977   rm -f conftest.er1
64978   cat conftest.err >&5
64979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64980   (exit $ac_status); } &&
64981          { ac_try='test -z "$ac_cxx_werror_flag"
64982                          || test ! -s conftest.err'
64983   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64984   (eval $ac_try) 2>&5
64985   ac_status=$?
64986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64987   (exit $ac_status); }; } &&
64988          { ac_try='test -s conftest.$ac_objext'
64989   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64990   (eval $ac_try) 2>&5
64991   ac_status=$?
64992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
64993   (exit $ac_status); }; }; then
64994   glibcxx_cv_func_long_double_round_use=yes
64995 else
64996   echo "$as_me: failed program was:" >&5
64997 sed 's/^/| /' conftest.$ac_ext >&5
64998
64999 glibcxx_cv_func_long_double_round_use=no
65000 fi
65001 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65002     ac_ext=c
65003 ac_cpp='$CPP $CPPFLAGS'
65004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65007
65008 fi
65009
65010   echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
65011 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
65012   if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
65013
65014
65015 for ac_func in ceill floorl
65016 do
65017 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65018 echo "$as_me:$LINENO: checking for $ac_func" >&5
65019 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65020 if eval "test \"\${$as_ac_var+set}\" = set"; then
65021   echo $ECHO_N "(cached) $ECHO_C" >&6
65022 else
65023   if test x$gcc_no_link = xyes; then
65024   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65025 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65026    { (exit 1); exit 1; }; }
65027 fi
65028 cat >conftest.$ac_ext <<_ACEOF
65029 /* confdefs.h.  */
65030 _ACEOF
65031 cat confdefs.h >>conftest.$ac_ext
65032 cat >>conftest.$ac_ext <<_ACEOF
65033 /* end confdefs.h.  */
65034 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65035    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65036 #define $ac_func innocuous_$ac_func
65037
65038 /* System header to define __stub macros and hopefully few prototypes,
65039     which can conflict with char $ac_func (); below.
65040     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65041     <limits.h> exists even on freestanding compilers.  */
65042
65043 #ifdef __STDC__
65044 # include <limits.h>
65045 #else
65046 # include <assert.h>
65047 #endif
65048
65049 #undef $ac_func
65050
65051 /* Override any gcc2 internal prototype to avoid an error.  */
65052 #ifdef __cplusplus
65053 extern "C"
65054 {
65055 #endif
65056 /* We use char because int might match the return type of a gcc2
65057    builtin and then its argument prototype would still apply.  */
65058 char $ac_func ();
65059 /* The GNU C library defines this for functions which it implements
65060     to always fail with ENOSYS.  Some functions are actually named
65061     something starting with __ and the normal name is an alias.  */
65062 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65063 choke me
65064 #else
65065 char (*f) () = $ac_func;
65066 #endif
65067 #ifdef __cplusplus
65068 }
65069 #endif
65070
65071 int
65072 main ()
65073 {
65074 return f != $ac_func;
65075   ;
65076   return 0;
65077 }
65078 _ACEOF
65079 rm -f conftest.$ac_objext conftest$ac_exeext
65080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65081   (eval $ac_link) 2>conftest.er1
65082   ac_status=$?
65083   grep -v '^ *+' conftest.er1 >conftest.err
65084   rm -f conftest.er1
65085   cat conftest.err >&5
65086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65087   (exit $ac_status); } &&
65088          { ac_try='test -z "$ac_c_werror_flag"
65089                          || test ! -s conftest.err'
65090   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65091   (eval $ac_try) 2>&5
65092   ac_status=$?
65093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65094   (exit $ac_status); }; } &&
65095          { ac_try='test -s conftest$ac_exeext'
65096   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65097   (eval $ac_try) 2>&5
65098   ac_status=$?
65099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65100   (exit $ac_status); }; }; then
65101   eval "$as_ac_var=yes"
65102 else
65103   echo "$as_me: failed program was:" >&5
65104 sed 's/^/| /' conftest.$ac_ext >&5
65105
65106 eval "$as_ac_var=no"
65107 fi
65108 rm -f conftest.err conftest.$ac_objext \
65109       conftest$ac_exeext conftest.$ac_ext
65110 fi
65111 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65112 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65113 if test `eval echo '${'$as_ac_var'}'` = yes; then
65114   cat >>confdefs.h <<_ACEOF
65115 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65116 _ACEOF
65117
65118 fi
65119 done
65120
65121   fi
65122
65123
65124
65125   echo "$as_me:$LINENO: checking for isnanl declaration" >&5
65126 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
65127   if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
65128     if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
65129   echo $ECHO_N "(cached) $ECHO_C" >&6
65130 else
65131
65132
65133
65134       ac_ext=cc
65135 ac_cpp='$CXXCPP $CPPFLAGS'
65136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65139
65140       cat >conftest.$ac_ext <<_ACEOF
65141 /* confdefs.h.  */
65142 _ACEOF
65143 cat confdefs.h >>conftest.$ac_ext
65144 cat >>conftest.$ac_ext <<_ACEOF
65145 /* end confdefs.h.  */
65146 #include <math.h>
65147                       #ifdef HAVE_IEEEFP_H
65148                       #include <ieeefp.h>
65149                       #endif
65150
65151 int
65152 main ()
65153 {
65154  isnanl(0);
65155   ;
65156   return 0;
65157 }
65158 _ACEOF
65159 rm -f conftest.$ac_objext
65160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65161   (eval $ac_compile) 2>conftest.er1
65162   ac_status=$?
65163   grep -v '^ *+' conftest.er1 >conftest.err
65164   rm -f conftest.er1
65165   cat conftest.err >&5
65166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65167   (exit $ac_status); } &&
65168          { ac_try='test -z "$ac_cxx_werror_flag"
65169                          || test ! -s conftest.err'
65170   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65171   (eval $ac_try) 2>&5
65172   ac_status=$?
65173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65174   (exit $ac_status); }; } &&
65175          { ac_try='test -s conftest.$ac_objext'
65176   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65177   (eval $ac_try) 2>&5
65178   ac_status=$?
65179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65180   (exit $ac_status); }; }; then
65181   glibcxx_cv_func_isnanl_use=yes
65182 else
65183   echo "$as_me: failed program was:" >&5
65184 sed 's/^/| /' conftest.$ac_ext >&5
65185
65186 glibcxx_cv_func_isnanl_use=no
65187 fi
65188 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65189       ac_ext=c
65190 ac_cpp='$CPP $CPPFLAGS'
65191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65194
65195
65196 fi
65197
65198   fi
65199   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
65200 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
65201
65202   if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
65203
65204 for ac_func in isnanl
65205 do
65206 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65207 echo "$as_me:$LINENO: checking for $ac_func" >&5
65208 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65209 if eval "test \"\${$as_ac_var+set}\" = set"; then
65210   echo $ECHO_N "(cached) $ECHO_C" >&6
65211 else
65212   if test x$gcc_no_link = xyes; then
65213   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65214 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65215    { (exit 1); exit 1; }; }
65216 fi
65217 cat >conftest.$ac_ext <<_ACEOF
65218 /* confdefs.h.  */
65219 _ACEOF
65220 cat confdefs.h >>conftest.$ac_ext
65221 cat >>conftest.$ac_ext <<_ACEOF
65222 /* end confdefs.h.  */
65223 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65224    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65225 #define $ac_func innocuous_$ac_func
65226
65227 /* System header to define __stub macros and hopefully few prototypes,
65228     which can conflict with char $ac_func (); below.
65229     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65230     <limits.h> exists even on freestanding compilers.  */
65231
65232 #ifdef __STDC__
65233 # include <limits.h>
65234 #else
65235 # include <assert.h>
65236 #endif
65237
65238 #undef $ac_func
65239
65240 /* Override any gcc2 internal prototype to avoid an error.  */
65241 #ifdef __cplusplus
65242 extern "C"
65243 {
65244 #endif
65245 /* We use char because int might match the return type of a gcc2
65246    builtin and then its argument prototype would still apply.  */
65247 char $ac_func ();
65248 /* The GNU C library defines this for functions which it implements
65249     to always fail with ENOSYS.  Some functions are actually named
65250     something starting with __ and the normal name is an alias.  */
65251 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65252 choke me
65253 #else
65254 char (*f) () = $ac_func;
65255 #endif
65256 #ifdef __cplusplus
65257 }
65258 #endif
65259
65260 int
65261 main ()
65262 {
65263 return f != $ac_func;
65264   ;
65265   return 0;
65266 }
65267 _ACEOF
65268 rm -f conftest.$ac_objext conftest$ac_exeext
65269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65270   (eval $ac_link) 2>conftest.er1
65271   ac_status=$?
65272   grep -v '^ *+' conftest.er1 >conftest.err
65273   rm -f conftest.er1
65274   cat conftest.err >&5
65275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65276   (exit $ac_status); } &&
65277          { ac_try='test -z "$ac_c_werror_flag"
65278                          || test ! -s conftest.err'
65279   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65280   (eval $ac_try) 2>&5
65281   ac_status=$?
65282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65283   (exit $ac_status); }; } &&
65284          { ac_try='test -s conftest$ac_exeext'
65285   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65286   (eval $ac_try) 2>&5
65287   ac_status=$?
65288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65289   (exit $ac_status); }; }; then
65290   eval "$as_ac_var=yes"
65291 else
65292   echo "$as_me: failed program was:" >&5
65293 sed 's/^/| /' conftest.$ac_ext >&5
65294
65295 eval "$as_ac_var=no"
65296 fi
65297 rm -f conftest.err conftest.$ac_objext \
65298       conftest$ac_exeext conftest.$ac_ext
65299 fi
65300 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65301 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65302 if test `eval echo '${'$as_ac_var'}'` = yes; then
65303   cat >>confdefs.h <<_ACEOF
65304 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65305 _ACEOF
65306
65307 fi
65308 done
65309
65310   else
65311
65312   echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
65313 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
65314   if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
65315     if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
65316   echo $ECHO_N "(cached) $ECHO_C" >&6
65317 else
65318
65319
65320
65321       ac_ext=cc
65322 ac_cpp='$CXXCPP $CPPFLAGS'
65323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65326
65327       cat >conftest.$ac_ext <<_ACEOF
65328 /* confdefs.h.  */
65329 _ACEOF
65330 cat confdefs.h >>conftest.$ac_ext
65331 cat >>conftest.$ac_ext <<_ACEOF
65332 /* end confdefs.h.  */
65333 #include <math.h>
65334                       #ifdef HAVE_IEEEFP_H
65335                       #include <ieeefp.h>
65336                       #endif
65337
65338 int
65339 main ()
65340 {
65341  _isnanl(0);
65342   ;
65343   return 0;
65344 }
65345 _ACEOF
65346 rm -f conftest.$ac_objext
65347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65348   (eval $ac_compile) 2>conftest.er1
65349   ac_status=$?
65350   grep -v '^ *+' conftest.er1 >conftest.err
65351   rm -f conftest.er1
65352   cat conftest.err >&5
65353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65354   (exit $ac_status); } &&
65355          { ac_try='test -z "$ac_cxx_werror_flag"
65356                          || test ! -s conftest.err'
65357   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65358   (eval $ac_try) 2>&5
65359   ac_status=$?
65360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65361   (exit $ac_status); }; } &&
65362          { ac_try='test -s conftest.$ac_objext'
65363   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65364   (eval $ac_try) 2>&5
65365   ac_status=$?
65366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65367   (exit $ac_status); }; }; then
65368   glibcxx_cv_func__isnanl_use=yes
65369 else
65370   echo "$as_me: failed program was:" >&5
65371 sed 's/^/| /' conftest.$ac_ext >&5
65372
65373 glibcxx_cv_func__isnanl_use=no
65374 fi
65375 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65376       ac_ext=c
65377 ac_cpp='$CPP $CPPFLAGS'
65378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65381
65382
65383 fi
65384
65385   fi
65386   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
65387 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
65388
65389     if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
65390
65391 for ac_func in _isnanl
65392 do
65393 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65394 echo "$as_me:$LINENO: checking for $ac_func" >&5
65395 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65396 if eval "test \"\${$as_ac_var+set}\" = set"; then
65397   echo $ECHO_N "(cached) $ECHO_C" >&6
65398 else
65399   if test x$gcc_no_link = xyes; then
65400   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65401 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65402    { (exit 1); exit 1; }; }
65403 fi
65404 cat >conftest.$ac_ext <<_ACEOF
65405 /* confdefs.h.  */
65406 _ACEOF
65407 cat confdefs.h >>conftest.$ac_ext
65408 cat >>conftest.$ac_ext <<_ACEOF
65409 /* end confdefs.h.  */
65410 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65411    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65412 #define $ac_func innocuous_$ac_func
65413
65414 /* System header to define __stub macros and hopefully few prototypes,
65415     which can conflict with char $ac_func (); below.
65416     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65417     <limits.h> exists even on freestanding compilers.  */
65418
65419 #ifdef __STDC__
65420 # include <limits.h>
65421 #else
65422 # include <assert.h>
65423 #endif
65424
65425 #undef $ac_func
65426
65427 /* Override any gcc2 internal prototype to avoid an error.  */
65428 #ifdef __cplusplus
65429 extern "C"
65430 {
65431 #endif
65432 /* We use char because int might match the return type of a gcc2
65433    builtin and then its argument prototype would still apply.  */
65434 char $ac_func ();
65435 /* The GNU C library defines this for functions which it implements
65436     to always fail with ENOSYS.  Some functions are actually named
65437     something starting with __ and the normal name is an alias.  */
65438 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65439 choke me
65440 #else
65441 char (*f) () = $ac_func;
65442 #endif
65443 #ifdef __cplusplus
65444 }
65445 #endif
65446
65447 int
65448 main ()
65449 {
65450 return f != $ac_func;
65451   ;
65452   return 0;
65453 }
65454 _ACEOF
65455 rm -f conftest.$ac_objext conftest$ac_exeext
65456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65457   (eval $ac_link) 2>conftest.er1
65458   ac_status=$?
65459   grep -v '^ *+' conftest.er1 >conftest.err
65460   rm -f conftest.er1
65461   cat conftest.err >&5
65462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65463   (exit $ac_status); } &&
65464          { ac_try='test -z "$ac_c_werror_flag"
65465                          || test ! -s conftest.err'
65466   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65467   (eval $ac_try) 2>&5
65468   ac_status=$?
65469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65470   (exit $ac_status); }; } &&
65471          { ac_try='test -s conftest$ac_exeext'
65472   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65473   (eval $ac_try) 2>&5
65474   ac_status=$?
65475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65476   (exit $ac_status); }; }; then
65477   eval "$as_ac_var=yes"
65478 else
65479   echo "$as_me: failed program was:" >&5
65480 sed 's/^/| /' conftest.$ac_ext >&5
65481
65482 eval "$as_ac_var=no"
65483 fi
65484 rm -f conftest.err conftest.$ac_objext \
65485       conftest$ac_exeext conftest.$ac_ext
65486 fi
65487 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65488 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65489 if test `eval echo '${'$as_ac_var'}'` = yes; then
65490   cat >>confdefs.h <<_ACEOF
65491 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65492 _ACEOF
65493
65494 fi
65495 done
65496
65497     fi
65498   fi
65499
65500
65501
65502   echo "$as_me:$LINENO: checking for isinfl declaration" >&5
65503 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
65504   if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
65505     if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
65506   echo $ECHO_N "(cached) $ECHO_C" >&6
65507 else
65508
65509
65510
65511       ac_ext=cc
65512 ac_cpp='$CXXCPP $CPPFLAGS'
65513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65516
65517       cat >conftest.$ac_ext <<_ACEOF
65518 /* confdefs.h.  */
65519 _ACEOF
65520 cat confdefs.h >>conftest.$ac_ext
65521 cat >>conftest.$ac_ext <<_ACEOF
65522 /* end confdefs.h.  */
65523 #include <math.h>
65524                       #ifdef HAVE_IEEEFP_H
65525                       #include <ieeefp.h>
65526                       #endif
65527
65528 int
65529 main ()
65530 {
65531  isinfl(0);
65532   ;
65533   return 0;
65534 }
65535 _ACEOF
65536 rm -f conftest.$ac_objext
65537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65538   (eval $ac_compile) 2>conftest.er1
65539   ac_status=$?
65540   grep -v '^ *+' conftest.er1 >conftest.err
65541   rm -f conftest.er1
65542   cat conftest.err >&5
65543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65544   (exit $ac_status); } &&
65545          { ac_try='test -z "$ac_cxx_werror_flag"
65546                          || test ! -s conftest.err'
65547   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65548   (eval $ac_try) 2>&5
65549   ac_status=$?
65550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65551   (exit $ac_status); }; } &&
65552          { ac_try='test -s conftest.$ac_objext'
65553   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65554   (eval $ac_try) 2>&5
65555   ac_status=$?
65556   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65557   (exit $ac_status); }; }; then
65558   glibcxx_cv_func_isinfl_use=yes
65559 else
65560   echo "$as_me: failed program was:" >&5
65561 sed 's/^/| /' conftest.$ac_ext >&5
65562
65563 glibcxx_cv_func_isinfl_use=no
65564 fi
65565 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65566       ac_ext=c
65567 ac_cpp='$CPP $CPPFLAGS'
65568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65571
65572
65573 fi
65574
65575   fi
65576   echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
65577 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
65578
65579   if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
65580
65581 for ac_func in isinfl
65582 do
65583 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65584 echo "$as_me:$LINENO: checking for $ac_func" >&5
65585 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65586 if eval "test \"\${$as_ac_var+set}\" = set"; then
65587   echo $ECHO_N "(cached) $ECHO_C" >&6
65588 else
65589   if test x$gcc_no_link = xyes; then
65590   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65591 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65592    { (exit 1); exit 1; }; }
65593 fi
65594 cat >conftest.$ac_ext <<_ACEOF
65595 /* confdefs.h.  */
65596 _ACEOF
65597 cat confdefs.h >>conftest.$ac_ext
65598 cat >>conftest.$ac_ext <<_ACEOF
65599 /* end confdefs.h.  */
65600 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65601    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65602 #define $ac_func innocuous_$ac_func
65603
65604 /* System header to define __stub macros and hopefully few prototypes,
65605     which can conflict with char $ac_func (); below.
65606     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65607     <limits.h> exists even on freestanding compilers.  */
65608
65609 #ifdef __STDC__
65610 # include <limits.h>
65611 #else
65612 # include <assert.h>
65613 #endif
65614
65615 #undef $ac_func
65616
65617 /* Override any gcc2 internal prototype to avoid an error.  */
65618 #ifdef __cplusplus
65619 extern "C"
65620 {
65621 #endif
65622 /* We use char because int might match the return type of a gcc2
65623    builtin and then its argument prototype would still apply.  */
65624 char $ac_func ();
65625 /* The GNU C library defines this for functions which it implements
65626     to always fail with ENOSYS.  Some functions are actually named
65627     something starting with __ and the normal name is an alias.  */
65628 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65629 choke me
65630 #else
65631 char (*f) () = $ac_func;
65632 #endif
65633 #ifdef __cplusplus
65634 }
65635 #endif
65636
65637 int
65638 main ()
65639 {
65640 return f != $ac_func;
65641   ;
65642   return 0;
65643 }
65644 _ACEOF
65645 rm -f conftest.$ac_objext conftest$ac_exeext
65646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65647   (eval $ac_link) 2>conftest.er1
65648   ac_status=$?
65649   grep -v '^ *+' conftest.er1 >conftest.err
65650   rm -f conftest.er1
65651   cat conftest.err >&5
65652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65653   (exit $ac_status); } &&
65654          { ac_try='test -z "$ac_c_werror_flag"
65655                          || test ! -s conftest.err'
65656   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65657   (eval $ac_try) 2>&5
65658   ac_status=$?
65659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65660   (exit $ac_status); }; } &&
65661          { ac_try='test -s conftest$ac_exeext'
65662   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65663   (eval $ac_try) 2>&5
65664   ac_status=$?
65665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65666   (exit $ac_status); }; }; then
65667   eval "$as_ac_var=yes"
65668 else
65669   echo "$as_me: failed program was:" >&5
65670 sed 's/^/| /' conftest.$ac_ext >&5
65671
65672 eval "$as_ac_var=no"
65673 fi
65674 rm -f conftest.err conftest.$ac_objext \
65675       conftest$ac_exeext conftest.$ac_ext
65676 fi
65677 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65678 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65679 if test `eval echo '${'$as_ac_var'}'` = yes; then
65680   cat >>confdefs.h <<_ACEOF
65681 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65682 _ACEOF
65683
65684 fi
65685 done
65686
65687   else
65688
65689   echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
65690 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
65691   if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
65692     if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
65693   echo $ECHO_N "(cached) $ECHO_C" >&6
65694 else
65695
65696
65697
65698       ac_ext=cc
65699 ac_cpp='$CXXCPP $CPPFLAGS'
65700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65703
65704       cat >conftest.$ac_ext <<_ACEOF
65705 /* confdefs.h.  */
65706 _ACEOF
65707 cat confdefs.h >>conftest.$ac_ext
65708 cat >>conftest.$ac_ext <<_ACEOF
65709 /* end confdefs.h.  */
65710 #include <math.h>
65711                       #ifdef HAVE_IEEEFP_H
65712                       #include <ieeefp.h>
65713                       #endif
65714
65715 int
65716 main ()
65717 {
65718  _isinfl(0);
65719   ;
65720   return 0;
65721 }
65722 _ACEOF
65723 rm -f conftest.$ac_objext
65724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65725   (eval $ac_compile) 2>conftest.er1
65726   ac_status=$?
65727   grep -v '^ *+' conftest.er1 >conftest.err
65728   rm -f conftest.er1
65729   cat conftest.err >&5
65730   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65731   (exit $ac_status); } &&
65732          { ac_try='test -z "$ac_cxx_werror_flag"
65733                          || test ! -s conftest.err'
65734   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65735   (eval $ac_try) 2>&5
65736   ac_status=$?
65737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65738   (exit $ac_status); }; } &&
65739          { ac_try='test -s conftest.$ac_objext'
65740   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65741   (eval $ac_try) 2>&5
65742   ac_status=$?
65743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65744   (exit $ac_status); }; }; then
65745   glibcxx_cv_func__isinfl_use=yes
65746 else
65747   echo "$as_me: failed program was:" >&5
65748 sed 's/^/| /' conftest.$ac_ext >&5
65749
65750 glibcxx_cv_func__isinfl_use=no
65751 fi
65752 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65753       ac_ext=c
65754 ac_cpp='$CPP $CPPFLAGS'
65755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65758
65759
65760 fi
65761
65762   fi
65763   echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
65764 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
65765
65766     if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
65767
65768 for ac_func in _isinfl
65769 do
65770 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65771 echo "$as_me:$LINENO: checking for $ac_func" >&5
65772 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65773 if eval "test \"\${$as_ac_var+set}\" = set"; then
65774   echo $ECHO_N "(cached) $ECHO_C" >&6
65775 else
65776   if test x$gcc_no_link = xyes; then
65777   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65778 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65779    { (exit 1); exit 1; }; }
65780 fi
65781 cat >conftest.$ac_ext <<_ACEOF
65782 /* confdefs.h.  */
65783 _ACEOF
65784 cat confdefs.h >>conftest.$ac_ext
65785 cat >>conftest.$ac_ext <<_ACEOF
65786 /* end confdefs.h.  */
65787 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65788    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65789 #define $ac_func innocuous_$ac_func
65790
65791 /* System header to define __stub macros and hopefully few prototypes,
65792     which can conflict with char $ac_func (); below.
65793     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65794     <limits.h> exists even on freestanding compilers.  */
65795
65796 #ifdef __STDC__
65797 # include <limits.h>
65798 #else
65799 # include <assert.h>
65800 #endif
65801
65802 #undef $ac_func
65803
65804 /* Override any gcc2 internal prototype to avoid an error.  */
65805 #ifdef __cplusplus
65806 extern "C"
65807 {
65808 #endif
65809 /* We use char because int might match the return type of a gcc2
65810    builtin and then its argument prototype would still apply.  */
65811 char $ac_func ();
65812 /* The GNU C library defines this for functions which it implements
65813     to always fail with ENOSYS.  Some functions are actually named
65814     something starting with __ and the normal name is an alias.  */
65815 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65816 choke me
65817 #else
65818 char (*f) () = $ac_func;
65819 #endif
65820 #ifdef __cplusplus
65821 }
65822 #endif
65823
65824 int
65825 main ()
65826 {
65827 return f != $ac_func;
65828   ;
65829   return 0;
65830 }
65831 _ACEOF
65832 rm -f conftest.$ac_objext conftest$ac_exeext
65833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65834   (eval $ac_link) 2>conftest.er1
65835   ac_status=$?
65836   grep -v '^ *+' conftest.er1 >conftest.err
65837   rm -f conftest.er1
65838   cat conftest.err >&5
65839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65840   (exit $ac_status); } &&
65841          { ac_try='test -z "$ac_c_werror_flag"
65842                          || test ! -s conftest.err'
65843   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65844   (eval $ac_try) 2>&5
65845   ac_status=$?
65846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65847   (exit $ac_status); }; } &&
65848          { ac_try='test -s conftest$ac_exeext'
65849   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65850   (eval $ac_try) 2>&5
65851   ac_status=$?
65852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65853   (exit $ac_status); }; }; then
65854   eval "$as_ac_var=yes"
65855 else
65856   echo "$as_me: failed program was:" >&5
65857 sed 's/^/| /' conftest.$ac_ext >&5
65858
65859 eval "$as_ac_var=no"
65860 fi
65861 rm -f conftest.err conftest.$ac_objext \
65862       conftest$ac_exeext conftest.$ac_ext
65863 fi
65864 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65865 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65866 if test `eval echo '${'$as_ac_var'}'` = yes; then
65867   cat >>confdefs.h <<_ACEOF
65868 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65869 _ACEOF
65870
65871 fi
65872 done
65873
65874     fi
65875   fi
65876
65877
65878
65879   echo "$as_me:$LINENO: checking for copysignl declaration" >&5
65880 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
65881   if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
65882     if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
65883   echo $ECHO_N "(cached) $ECHO_C" >&6
65884 else
65885
65886
65887
65888       ac_ext=cc
65889 ac_cpp='$CXXCPP $CPPFLAGS'
65890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65893
65894       cat >conftest.$ac_ext <<_ACEOF
65895 /* confdefs.h.  */
65896 _ACEOF
65897 cat confdefs.h >>conftest.$ac_ext
65898 cat >>conftest.$ac_ext <<_ACEOF
65899 /* end confdefs.h.  */
65900 #include <math.h>
65901 int
65902 main ()
65903 {
65904  copysignl(0, 0);
65905   ;
65906   return 0;
65907 }
65908 _ACEOF
65909 rm -f conftest.$ac_objext
65910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65911   (eval $ac_compile) 2>conftest.er1
65912   ac_status=$?
65913   grep -v '^ *+' conftest.er1 >conftest.err
65914   rm -f conftest.er1
65915   cat conftest.err >&5
65916   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65917   (exit $ac_status); } &&
65918          { ac_try='test -z "$ac_cxx_werror_flag"
65919                          || test ! -s conftest.err'
65920   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65921   (eval $ac_try) 2>&5
65922   ac_status=$?
65923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65924   (exit $ac_status); }; } &&
65925          { ac_try='test -s conftest.$ac_objext'
65926   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65927   (eval $ac_try) 2>&5
65928   ac_status=$?
65929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
65930   (exit $ac_status); }; }; then
65931   glibcxx_cv_func_copysignl_use=yes
65932 else
65933   echo "$as_me: failed program was:" >&5
65934 sed 's/^/| /' conftest.$ac_ext >&5
65935
65936 glibcxx_cv_func_copysignl_use=no
65937 fi
65938 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65939       ac_ext=c
65940 ac_cpp='$CPP $CPPFLAGS'
65941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65944
65945
65946 fi
65947
65948   fi
65949   echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
65950 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
65951
65952   if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
65953
65954 for ac_func in copysignl
65955 do
65956 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65957 echo "$as_me:$LINENO: checking for $ac_func" >&5
65958 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65959 if eval "test \"\${$as_ac_var+set}\" = set"; then
65960   echo $ECHO_N "(cached) $ECHO_C" >&6
65961 else
65962   if test x$gcc_no_link = xyes; then
65963   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65964 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65965    { (exit 1); exit 1; }; }
65966 fi
65967 cat >conftest.$ac_ext <<_ACEOF
65968 /* confdefs.h.  */
65969 _ACEOF
65970 cat confdefs.h >>conftest.$ac_ext
65971 cat >>conftest.$ac_ext <<_ACEOF
65972 /* end confdefs.h.  */
65973 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65974    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
65975 #define $ac_func innocuous_$ac_func
65976
65977 /* System header to define __stub macros and hopefully few prototypes,
65978     which can conflict with char $ac_func (); below.
65979     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65980     <limits.h> exists even on freestanding compilers.  */
65981
65982 #ifdef __STDC__
65983 # include <limits.h>
65984 #else
65985 # include <assert.h>
65986 #endif
65987
65988 #undef $ac_func
65989
65990 /* Override any gcc2 internal prototype to avoid an error.  */
65991 #ifdef __cplusplus
65992 extern "C"
65993 {
65994 #endif
65995 /* We use char because int might match the return type of a gcc2
65996    builtin and then its argument prototype would still apply.  */
65997 char $ac_func ();
65998 /* The GNU C library defines this for functions which it implements
65999     to always fail with ENOSYS.  Some functions are actually named
66000     something starting with __ and the normal name is an alias.  */
66001 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66002 choke me
66003 #else
66004 char (*f) () = $ac_func;
66005 #endif
66006 #ifdef __cplusplus
66007 }
66008 #endif
66009
66010 int
66011 main ()
66012 {
66013 return f != $ac_func;
66014   ;
66015   return 0;
66016 }
66017 _ACEOF
66018 rm -f conftest.$ac_objext conftest$ac_exeext
66019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66020   (eval $ac_link) 2>conftest.er1
66021   ac_status=$?
66022   grep -v '^ *+' conftest.er1 >conftest.err
66023   rm -f conftest.er1
66024   cat conftest.err >&5
66025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66026   (exit $ac_status); } &&
66027          { ac_try='test -z "$ac_c_werror_flag"
66028                          || test ! -s conftest.err'
66029   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66030   (eval $ac_try) 2>&5
66031   ac_status=$?
66032   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66033   (exit $ac_status); }; } &&
66034          { ac_try='test -s conftest$ac_exeext'
66035   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66036   (eval $ac_try) 2>&5
66037   ac_status=$?
66038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66039   (exit $ac_status); }; }; then
66040   eval "$as_ac_var=yes"
66041 else
66042   echo "$as_me: failed program was:" >&5
66043 sed 's/^/| /' conftest.$ac_ext >&5
66044
66045 eval "$as_ac_var=no"
66046 fi
66047 rm -f conftest.err conftest.$ac_objext \
66048       conftest$ac_exeext conftest.$ac_ext
66049 fi
66050 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66051 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66052 if test `eval echo '${'$as_ac_var'}'` = yes; then
66053   cat >>confdefs.h <<_ACEOF
66054 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66055 _ACEOF
66056
66057 fi
66058 done
66059
66060   else
66061
66062   echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
66063 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
66064   if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
66065     if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
66066   echo $ECHO_N "(cached) $ECHO_C" >&6
66067 else
66068
66069
66070
66071       ac_ext=cc
66072 ac_cpp='$CXXCPP $CPPFLAGS'
66073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66076
66077       cat >conftest.$ac_ext <<_ACEOF
66078 /* confdefs.h.  */
66079 _ACEOF
66080 cat confdefs.h >>conftest.$ac_ext
66081 cat >>conftest.$ac_ext <<_ACEOF
66082 /* end confdefs.h.  */
66083 #include <math.h>
66084 int
66085 main ()
66086 {
66087  _copysignl(0, 0);
66088   ;
66089   return 0;
66090 }
66091 _ACEOF
66092 rm -f conftest.$ac_objext
66093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66094   (eval $ac_compile) 2>conftest.er1
66095   ac_status=$?
66096   grep -v '^ *+' conftest.er1 >conftest.err
66097   rm -f conftest.er1
66098   cat conftest.err >&5
66099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66100   (exit $ac_status); } &&
66101          { ac_try='test -z "$ac_cxx_werror_flag"
66102                          || test ! -s conftest.err'
66103   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66104   (eval $ac_try) 2>&5
66105   ac_status=$?
66106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66107   (exit $ac_status); }; } &&
66108          { ac_try='test -s conftest.$ac_objext'
66109   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66110   (eval $ac_try) 2>&5
66111   ac_status=$?
66112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66113   (exit $ac_status); }; }; then
66114   glibcxx_cv_func__copysignl_use=yes
66115 else
66116   echo "$as_me: failed program was:" >&5
66117 sed 's/^/| /' conftest.$ac_ext >&5
66118
66119 glibcxx_cv_func__copysignl_use=no
66120 fi
66121 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66122       ac_ext=c
66123 ac_cpp='$CPP $CPPFLAGS'
66124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66127
66128
66129 fi
66130
66131   fi
66132   echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
66133 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
66134
66135     if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
66136
66137 for ac_func in _copysignl
66138 do
66139 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66140 echo "$as_me:$LINENO: checking for $ac_func" >&5
66141 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66142 if eval "test \"\${$as_ac_var+set}\" = set"; then
66143   echo $ECHO_N "(cached) $ECHO_C" >&6
66144 else
66145   if test x$gcc_no_link = xyes; then
66146   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66147 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66148    { (exit 1); exit 1; }; }
66149 fi
66150 cat >conftest.$ac_ext <<_ACEOF
66151 /* confdefs.h.  */
66152 _ACEOF
66153 cat confdefs.h >>conftest.$ac_ext
66154 cat >>conftest.$ac_ext <<_ACEOF
66155 /* end confdefs.h.  */
66156 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66157    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66158 #define $ac_func innocuous_$ac_func
66159
66160 /* System header to define __stub macros and hopefully few prototypes,
66161     which can conflict with char $ac_func (); below.
66162     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66163     <limits.h> exists even on freestanding compilers.  */
66164
66165 #ifdef __STDC__
66166 # include <limits.h>
66167 #else
66168 # include <assert.h>
66169 #endif
66170
66171 #undef $ac_func
66172
66173 /* Override any gcc2 internal prototype to avoid an error.  */
66174 #ifdef __cplusplus
66175 extern "C"
66176 {
66177 #endif
66178 /* We use char because int might match the return type of a gcc2
66179    builtin and then its argument prototype would still apply.  */
66180 char $ac_func ();
66181 /* The GNU C library defines this for functions which it implements
66182     to always fail with ENOSYS.  Some functions are actually named
66183     something starting with __ and the normal name is an alias.  */
66184 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66185 choke me
66186 #else
66187 char (*f) () = $ac_func;
66188 #endif
66189 #ifdef __cplusplus
66190 }
66191 #endif
66192
66193 int
66194 main ()
66195 {
66196 return f != $ac_func;
66197   ;
66198   return 0;
66199 }
66200 _ACEOF
66201 rm -f conftest.$ac_objext conftest$ac_exeext
66202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66203   (eval $ac_link) 2>conftest.er1
66204   ac_status=$?
66205   grep -v '^ *+' conftest.er1 >conftest.err
66206   rm -f conftest.er1
66207   cat conftest.err >&5
66208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66209   (exit $ac_status); } &&
66210          { ac_try='test -z "$ac_c_werror_flag"
66211                          || test ! -s conftest.err'
66212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66213   (eval $ac_try) 2>&5
66214   ac_status=$?
66215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66216   (exit $ac_status); }; } &&
66217          { ac_try='test -s conftest$ac_exeext'
66218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66219   (eval $ac_try) 2>&5
66220   ac_status=$?
66221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66222   (exit $ac_status); }; }; then
66223   eval "$as_ac_var=yes"
66224 else
66225   echo "$as_me: failed program was:" >&5
66226 sed 's/^/| /' conftest.$ac_ext >&5
66227
66228 eval "$as_ac_var=no"
66229 fi
66230 rm -f conftest.err conftest.$ac_objext \
66231       conftest$ac_exeext conftest.$ac_ext
66232 fi
66233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66234 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66235 if test `eval echo '${'$as_ac_var'}'` = yes; then
66236   cat >>confdefs.h <<_ACEOF
66237 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66238 _ACEOF
66239
66240 fi
66241 done
66242
66243     fi
66244   fi
66245
66246
66247
66248   echo "$as_me:$LINENO: checking for atan2l declaration" >&5
66249 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
66250   if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
66251     if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
66252   echo $ECHO_N "(cached) $ECHO_C" >&6
66253 else
66254
66255
66256
66257       ac_ext=cc
66258 ac_cpp='$CXXCPP $CPPFLAGS'
66259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66262
66263       cat >conftest.$ac_ext <<_ACEOF
66264 /* confdefs.h.  */
66265 _ACEOF
66266 cat confdefs.h >>conftest.$ac_ext
66267 cat >>conftest.$ac_ext <<_ACEOF
66268 /* end confdefs.h.  */
66269 #include <math.h>
66270 int
66271 main ()
66272 {
66273  atan2l(0, 0);
66274   ;
66275   return 0;
66276 }
66277 _ACEOF
66278 rm -f conftest.$ac_objext
66279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66280   (eval $ac_compile) 2>conftest.er1
66281   ac_status=$?
66282   grep -v '^ *+' conftest.er1 >conftest.err
66283   rm -f conftest.er1
66284   cat conftest.err >&5
66285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66286   (exit $ac_status); } &&
66287          { ac_try='test -z "$ac_cxx_werror_flag"
66288                          || test ! -s conftest.err'
66289   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66290   (eval $ac_try) 2>&5
66291   ac_status=$?
66292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66293   (exit $ac_status); }; } &&
66294          { ac_try='test -s conftest.$ac_objext'
66295   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66296   (eval $ac_try) 2>&5
66297   ac_status=$?
66298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66299   (exit $ac_status); }; }; then
66300   glibcxx_cv_func_atan2l_use=yes
66301 else
66302   echo "$as_me: failed program was:" >&5
66303 sed 's/^/| /' conftest.$ac_ext >&5
66304
66305 glibcxx_cv_func_atan2l_use=no
66306 fi
66307 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66308       ac_ext=c
66309 ac_cpp='$CPP $CPPFLAGS'
66310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66313
66314
66315 fi
66316
66317   fi
66318   echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
66319 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
66320
66321   if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
66322
66323 for ac_func in atan2l
66324 do
66325 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66326 echo "$as_me:$LINENO: checking for $ac_func" >&5
66327 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66328 if eval "test \"\${$as_ac_var+set}\" = set"; then
66329   echo $ECHO_N "(cached) $ECHO_C" >&6
66330 else
66331   if test x$gcc_no_link = xyes; then
66332   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66333 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66334    { (exit 1); exit 1; }; }
66335 fi
66336 cat >conftest.$ac_ext <<_ACEOF
66337 /* confdefs.h.  */
66338 _ACEOF
66339 cat confdefs.h >>conftest.$ac_ext
66340 cat >>conftest.$ac_ext <<_ACEOF
66341 /* end confdefs.h.  */
66342 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66343    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66344 #define $ac_func innocuous_$ac_func
66345
66346 /* System header to define __stub macros and hopefully few prototypes,
66347     which can conflict with char $ac_func (); below.
66348     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66349     <limits.h> exists even on freestanding compilers.  */
66350
66351 #ifdef __STDC__
66352 # include <limits.h>
66353 #else
66354 # include <assert.h>
66355 #endif
66356
66357 #undef $ac_func
66358
66359 /* Override any gcc2 internal prototype to avoid an error.  */
66360 #ifdef __cplusplus
66361 extern "C"
66362 {
66363 #endif
66364 /* We use char because int might match the return type of a gcc2
66365    builtin and then its argument prototype would still apply.  */
66366 char $ac_func ();
66367 /* The GNU C library defines this for functions which it implements
66368     to always fail with ENOSYS.  Some functions are actually named
66369     something starting with __ and the normal name is an alias.  */
66370 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66371 choke me
66372 #else
66373 char (*f) () = $ac_func;
66374 #endif
66375 #ifdef __cplusplus
66376 }
66377 #endif
66378
66379 int
66380 main ()
66381 {
66382 return f != $ac_func;
66383   ;
66384   return 0;
66385 }
66386 _ACEOF
66387 rm -f conftest.$ac_objext conftest$ac_exeext
66388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66389   (eval $ac_link) 2>conftest.er1
66390   ac_status=$?
66391   grep -v '^ *+' conftest.er1 >conftest.err
66392   rm -f conftest.er1
66393   cat conftest.err >&5
66394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66395   (exit $ac_status); } &&
66396          { ac_try='test -z "$ac_c_werror_flag"
66397                          || test ! -s conftest.err'
66398   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66399   (eval $ac_try) 2>&5
66400   ac_status=$?
66401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66402   (exit $ac_status); }; } &&
66403          { ac_try='test -s conftest$ac_exeext'
66404   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66405   (eval $ac_try) 2>&5
66406   ac_status=$?
66407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66408   (exit $ac_status); }; }; then
66409   eval "$as_ac_var=yes"
66410 else
66411   echo "$as_me: failed program was:" >&5
66412 sed 's/^/| /' conftest.$ac_ext >&5
66413
66414 eval "$as_ac_var=no"
66415 fi
66416 rm -f conftest.err conftest.$ac_objext \
66417       conftest$ac_exeext conftest.$ac_ext
66418 fi
66419 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66420 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66421 if test `eval echo '${'$as_ac_var'}'` = yes; then
66422   cat >>confdefs.h <<_ACEOF
66423 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66424 _ACEOF
66425
66426 fi
66427 done
66428
66429   else
66430
66431   echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
66432 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
66433   if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
66434     if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
66435   echo $ECHO_N "(cached) $ECHO_C" >&6
66436 else
66437
66438
66439
66440       ac_ext=cc
66441 ac_cpp='$CXXCPP $CPPFLAGS'
66442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66445
66446       cat >conftest.$ac_ext <<_ACEOF
66447 /* confdefs.h.  */
66448 _ACEOF
66449 cat confdefs.h >>conftest.$ac_ext
66450 cat >>conftest.$ac_ext <<_ACEOF
66451 /* end confdefs.h.  */
66452 #include <math.h>
66453 int
66454 main ()
66455 {
66456  _atan2l(0, 0);
66457   ;
66458   return 0;
66459 }
66460 _ACEOF
66461 rm -f conftest.$ac_objext
66462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66463   (eval $ac_compile) 2>conftest.er1
66464   ac_status=$?
66465   grep -v '^ *+' conftest.er1 >conftest.err
66466   rm -f conftest.er1
66467   cat conftest.err >&5
66468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66469   (exit $ac_status); } &&
66470          { ac_try='test -z "$ac_cxx_werror_flag"
66471                          || test ! -s conftest.err'
66472   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66473   (eval $ac_try) 2>&5
66474   ac_status=$?
66475   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66476   (exit $ac_status); }; } &&
66477          { ac_try='test -s conftest.$ac_objext'
66478   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66479   (eval $ac_try) 2>&5
66480   ac_status=$?
66481   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66482   (exit $ac_status); }; }; then
66483   glibcxx_cv_func__atan2l_use=yes
66484 else
66485   echo "$as_me: failed program was:" >&5
66486 sed 's/^/| /' conftest.$ac_ext >&5
66487
66488 glibcxx_cv_func__atan2l_use=no
66489 fi
66490 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66491       ac_ext=c
66492 ac_cpp='$CPP $CPPFLAGS'
66493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66496
66497
66498 fi
66499
66500   fi
66501   echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
66502 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
66503
66504     if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
66505
66506 for ac_func in _atan2l
66507 do
66508 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66509 echo "$as_me:$LINENO: checking for $ac_func" >&5
66510 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66511 if eval "test \"\${$as_ac_var+set}\" = set"; then
66512   echo $ECHO_N "(cached) $ECHO_C" >&6
66513 else
66514   if test x$gcc_no_link = xyes; then
66515   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66516 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66517    { (exit 1); exit 1; }; }
66518 fi
66519 cat >conftest.$ac_ext <<_ACEOF
66520 /* confdefs.h.  */
66521 _ACEOF
66522 cat confdefs.h >>conftest.$ac_ext
66523 cat >>conftest.$ac_ext <<_ACEOF
66524 /* end confdefs.h.  */
66525 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66526    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66527 #define $ac_func innocuous_$ac_func
66528
66529 /* System header to define __stub macros and hopefully few prototypes,
66530     which can conflict with char $ac_func (); below.
66531     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66532     <limits.h> exists even on freestanding compilers.  */
66533
66534 #ifdef __STDC__
66535 # include <limits.h>
66536 #else
66537 # include <assert.h>
66538 #endif
66539
66540 #undef $ac_func
66541
66542 /* Override any gcc2 internal prototype to avoid an error.  */
66543 #ifdef __cplusplus
66544 extern "C"
66545 {
66546 #endif
66547 /* We use char because int might match the return type of a gcc2
66548    builtin and then its argument prototype would still apply.  */
66549 char $ac_func ();
66550 /* The GNU C library defines this for functions which it implements
66551     to always fail with ENOSYS.  Some functions are actually named
66552     something starting with __ and the normal name is an alias.  */
66553 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66554 choke me
66555 #else
66556 char (*f) () = $ac_func;
66557 #endif
66558 #ifdef __cplusplus
66559 }
66560 #endif
66561
66562 int
66563 main ()
66564 {
66565 return f != $ac_func;
66566   ;
66567   return 0;
66568 }
66569 _ACEOF
66570 rm -f conftest.$ac_objext conftest$ac_exeext
66571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66572   (eval $ac_link) 2>conftest.er1
66573   ac_status=$?
66574   grep -v '^ *+' conftest.er1 >conftest.err
66575   rm -f conftest.er1
66576   cat conftest.err >&5
66577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66578   (exit $ac_status); } &&
66579          { ac_try='test -z "$ac_c_werror_flag"
66580                          || test ! -s conftest.err'
66581   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66582   (eval $ac_try) 2>&5
66583   ac_status=$?
66584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66585   (exit $ac_status); }; } &&
66586          { ac_try='test -s conftest$ac_exeext'
66587   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66588   (eval $ac_try) 2>&5
66589   ac_status=$?
66590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66591   (exit $ac_status); }; }; then
66592   eval "$as_ac_var=yes"
66593 else
66594   echo "$as_me: failed program was:" >&5
66595 sed 's/^/| /' conftest.$ac_ext >&5
66596
66597 eval "$as_ac_var=no"
66598 fi
66599 rm -f conftest.err conftest.$ac_objext \
66600       conftest$ac_exeext conftest.$ac_ext
66601 fi
66602 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66603 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66604 if test `eval echo '${'$as_ac_var'}'` = yes; then
66605   cat >>confdefs.h <<_ACEOF
66606 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66607 _ACEOF
66608
66609 fi
66610 done
66611
66612     fi
66613   fi
66614
66615
66616
66617   echo "$as_me:$LINENO: checking for expl declaration" >&5
66618 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
66619   if test x${glibcxx_cv_func_expl_use+set} != xset; then
66620     if test "${glibcxx_cv_func_expl_use+set}" = set; then
66621   echo $ECHO_N "(cached) $ECHO_C" >&6
66622 else
66623
66624
66625
66626       ac_ext=cc
66627 ac_cpp='$CXXCPP $CPPFLAGS'
66628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66631
66632       cat >conftest.$ac_ext <<_ACEOF
66633 /* confdefs.h.  */
66634 _ACEOF
66635 cat confdefs.h >>conftest.$ac_ext
66636 cat >>conftest.$ac_ext <<_ACEOF
66637 /* end confdefs.h.  */
66638 #include <math.h>
66639                       #ifdef HAVE_IEEEFP_H
66640                       #include <ieeefp.h>
66641                       #endif
66642
66643 int
66644 main ()
66645 {
66646  expl(0);
66647   ;
66648   return 0;
66649 }
66650 _ACEOF
66651 rm -f conftest.$ac_objext
66652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66653   (eval $ac_compile) 2>conftest.er1
66654   ac_status=$?
66655   grep -v '^ *+' conftest.er1 >conftest.err
66656   rm -f conftest.er1
66657   cat conftest.err >&5
66658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66659   (exit $ac_status); } &&
66660          { ac_try='test -z "$ac_cxx_werror_flag"
66661                          || test ! -s conftest.err'
66662   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66663   (eval $ac_try) 2>&5
66664   ac_status=$?
66665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66666   (exit $ac_status); }; } &&
66667          { ac_try='test -s conftest.$ac_objext'
66668   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66669   (eval $ac_try) 2>&5
66670   ac_status=$?
66671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66672   (exit $ac_status); }; }; then
66673   glibcxx_cv_func_expl_use=yes
66674 else
66675   echo "$as_me: failed program was:" >&5
66676 sed 's/^/| /' conftest.$ac_ext >&5
66677
66678 glibcxx_cv_func_expl_use=no
66679 fi
66680 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66681       ac_ext=c
66682 ac_cpp='$CPP $CPPFLAGS'
66683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66686
66687
66688 fi
66689
66690   fi
66691   echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
66692 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
66693
66694   if test x$glibcxx_cv_func_expl_use = x"yes"; then
66695
66696 for ac_func in expl
66697 do
66698 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66699 echo "$as_me:$LINENO: checking for $ac_func" >&5
66700 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66701 if eval "test \"\${$as_ac_var+set}\" = set"; then
66702   echo $ECHO_N "(cached) $ECHO_C" >&6
66703 else
66704   if test x$gcc_no_link = xyes; then
66705   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66706 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66707    { (exit 1); exit 1; }; }
66708 fi
66709 cat >conftest.$ac_ext <<_ACEOF
66710 /* confdefs.h.  */
66711 _ACEOF
66712 cat confdefs.h >>conftest.$ac_ext
66713 cat >>conftest.$ac_ext <<_ACEOF
66714 /* end confdefs.h.  */
66715 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66716    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66717 #define $ac_func innocuous_$ac_func
66718
66719 /* System header to define __stub macros and hopefully few prototypes,
66720     which can conflict with char $ac_func (); below.
66721     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66722     <limits.h> exists even on freestanding compilers.  */
66723
66724 #ifdef __STDC__
66725 # include <limits.h>
66726 #else
66727 # include <assert.h>
66728 #endif
66729
66730 #undef $ac_func
66731
66732 /* Override any gcc2 internal prototype to avoid an error.  */
66733 #ifdef __cplusplus
66734 extern "C"
66735 {
66736 #endif
66737 /* We use char because int might match the return type of a gcc2
66738    builtin and then its argument prototype would still apply.  */
66739 char $ac_func ();
66740 /* The GNU C library defines this for functions which it implements
66741     to always fail with ENOSYS.  Some functions are actually named
66742     something starting with __ and the normal name is an alias.  */
66743 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66744 choke me
66745 #else
66746 char (*f) () = $ac_func;
66747 #endif
66748 #ifdef __cplusplus
66749 }
66750 #endif
66751
66752 int
66753 main ()
66754 {
66755 return f != $ac_func;
66756   ;
66757   return 0;
66758 }
66759 _ACEOF
66760 rm -f conftest.$ac_objext conftest$ac_exeext
66761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66762   (eval $ac_link) 2>conftest.er1
66763   ac_status=$?
66764   grep -v '^ *+' conftest.er1 >conftest.err
66765   rm -f conftest.er1
66766   cat conftest.err >&5
66767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66768   (exit $ac_status); } &&
66769          { ac_try='test -z "$ac_c_werror_flag"
66770                          || test ! -s conftest.err'
66771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66772   (eval $ac_try) 2>&5
66773   ac_status=$?
66774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66775   (exit $ac_status); }; } &&
66776          { ac_try='test -s conftest$ac_exeext'
66777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66778   (eval $ac_try) 2>&5
66779   ac_status=$?
66780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66781   (exit $ac_status); }; }; then
66782   eval "$as_ac_var=yes"
66783 else
66784   echo "$as_me: failed program was:" >&5
66785 sed 's/^/| /' conftest.$ac_ext >&5
66786
66787 eval "$as_ac_var=no"
66788 fi
66789 rm -f conftest.err conftest.$ac_objext \
66790       conftest$ac_exeext conftest.$ac_ext
66791 fi
66792 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66793 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66794 if test `eval echo '${'$as_ac_var'}'` = yes; then
66795   cat >>confdefs.h <<_ACEOF
66796 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66797 _ACEOF
66798
66799 fi
66800 done
66801
66802   else
66803
66804   echo "$as_me:$LINENO: checking for _expl declaration" >&5
66805 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
66806   if test x${glibcxx_cv_func__expl_use+set} != xset; then
66807     if test "${glibcxx_cv_func__expl_use+set}" = set; then
66808   echo $ECHO_N "(cached) $ECHO_C" >&6
66809 else
66810
66811
66812
66813       ac_ext=cc
66814 ac_cpp='$CXXCPP $CPPFLAGS'
66815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66818
66819       cat >conftest.$ac_ext <<_ACEOF
66820 /* confdefs.h.  */
66821 _ACEOF
66822 cat confdefs.h >>conftest.$ac_ext
66823 cat >>conftest.$ac_ext <<_ACEOF
66824 /* end confdefs.h.  */
66825 #include <math.h>
66826                       #ifdef HAVE_IEEEFP_H
66827                       #include <ieeefp.h>
66828                       #endif
66829
66830 int
66831 main ()
66832 {
66833  _expl(0);
66834   ;
66835   return 0;
66836 }
66837 _ACEOF
66838 rm -f conftest.$ac_objext
66839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66840   (eval $ac_compile) 2>conftest.er1
66841   ac_status=$?
66842   grep -v '^ *+' conftest.er1 >conftest.err
66843   rm -f conftest.er1
66844   cat conftest.err >&5
66845   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66846   (exit $ac_status); } &&
66847          { ac_try='test -z "$ac_cxx_werror_flag"
66848                          || test ! -s conftest.err'
66849   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66850   (eval $ac_try) 2>&5
66851   ac_status=$?
66852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66853   (exit $ac_status); }; } &&
66854          { ac_try='test -s conftest.$ac_objext'
66855   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66856   (eval $ac_try) 2>&5
66857   ac_status=$?
66858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66859   (exit $ac_status); }; }; then
66860   glibcxx_cv_func__expl_use=yes
66861 else
66862   echo "$as_me: failed program was:" >&5
66863 sed 's/^/| /' conftest.$ac_ext >&5
66864
66865 glibcxx_cv_func__expl_use=no
66866 fi
66867 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66868       ac_ext=c
66869 ac_cpp='$CPP $CPPFLAGS'
66870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66873
66874
66875 fi
66876
66877   fi
66878   echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
66879 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
66880
66881     if test x$glibcxx_cv_func__expl_use = x"yes"; then
66882
66883 for ac_func in _expl
66884 do
66885 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66886 echo "$as_me:$LINENO: checking for $ac_func" >&5
66887 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66888 if eval "test \"\${$as_ac_var+set}\" = set"; then
66889   echo $ECHO_N "(cached) $ECHO_C" >&6
66890 else
66891   if test x$gcc_no_link = xyes; then
66892   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66893 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66894    { (exit 1); exit 1; }; }
66895 fi
66896 cat >conftest.$ac_ext <<_ACEOF
66897 /* confdefs.h.  */
66898 _ACEOF
66899 cat confdefs.h >>conftest.$ac_ext
66900 cat >>conftest.$ac_ext <<_ACEOF
66901 /* end confdefs.h.  */
66902 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66903    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
66904 #define $ac_func innocuous_$ac_func
66905
66906 /* System header to define __stub macros and hopefully few prototypes,
66907     which can conflict with char $ac_func (); below.
66908     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66909     <limits.h> exists even on freestanding compilers.  */
66910
66911 #ifdef __STDC__
66912 # include <limits.h>
66913 #else
66914 # include <assert.h>
66915 #endif
66916
66917 #undef $ac_func
66918
66919 /* Override any gcc2 internal prototype to avoid an error.  */
66920 #ifdef __cplusplus
66921 extern "C"
66922 {
66923 #endif
66924 /* We use char because int might match the return type of a gcc2
66925    builtin and then its argument prototype would still apply.  */
66926 char $ac_func ();
66927 /* The GNU C library defines this for functions which it implements
66928     to always fail with ENOSYS.  Some functions are actually named
66929     something starting with __ and the normal name is an alias.  */
66930 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66931 choke me
66932 #else
66933 char (*f) () = $ac_func;
66934 #endif
66935 #ifdef __cplusplus
66936 }
66937 #endif
66938
66939 int
66940 main ()
66941 {
66942 return f != $ac_func;
66943   ;
66944   return 0;
66945 }
66946 _ACEOF
66947 rm -f conftest.$ac_objext conftest$ac_exeext
66948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66949   (eval $ac_link) 2>conftest.er1
66950   ac_status=$?
66951   grep -v '^ *+' conftest.er1 >conftest.err
66952   rm -f conftest.er1
66953   cat conftest.err >&5
66954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66955   (exit $ac_status); } &&
66956          { ac_try='test -z "$ac_c_werror_flag"
66957                          || test ! -s conftest.err'
66958   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66959   (eval $ac_try) 2>&5
66960   ac_status=$?
66961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66962   (exit $ac_status); }; } &&
66963          { ac_try='test -s conftest$ac_exeext'
66964   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66965   (eval $ac_try) 2>&5
66966   ac_status=$?
66967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
66968   (exit $ac_status); }; }; then
66969   eval "$as_ac_var=yes"
66970 else
66971   echo "$as_me: failed program was:" >&5
66972 sed 's/^/| /' conftest.$ac_ext >&5
66973
66974 eval "$as_ac_var=no"
66975 fi
66976 rm -f conftest.err conftest.$ac_objext \
66977       conftest$ac_exeext conftest.$ac_ext
66978 fi
66979 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66980 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66981 if test `eval echo '${'$as_ac_var'}'` = yes; then
66982   cat >>confdefs.h <<_ACEOF
66983 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66984 _ACEOF
66985
66986 fi
66987 done
66988
66989     fi
66990   fi
66991
66992
66993
66994   echo "$as_me:$LINENO: checking for fabsl declaration" >&5
66995 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
66996   if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
66997     if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
66998   echo $ECHO_N "(cached) $ECHO_C" >&6
66999 else
67000
67001
67002
67003       ac_ext=cc
67004 ac_cpp='$CXXCPP $CPPFLAGS'
67005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67008
67009       cat >conftest.$ac_ext <<_ACEOF
67010 /* confdefs.h.  */
67011 _ACEOF
67012 cat confdefs.h >>conftest.$ac_ext
67013 cat >>conftest.$ac_ext <<_ACEOF
67014 /* end confdefs.h.  */
67015 #include <math.h>
67016                       #ifdef HAVE_IEEEFP_H
67017                       #include <ieeefp.h>
67018                       #endif
67019
67020 int
67021 main ()
67022 {
67023  fabsl(0);
67024   ;
67025   return 0;
67026 }
67027 _ACEOF
67028 rm -f conftest.$ac_objext
67029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67030   (eval $ac_compile) 2>conftest.er1
67031   ac_status=$?
67032   grep -v '^ *+' conftest.er1 >conftest.err
67033   rm -f conftest.er1
67034   cat conftest.err >&5
67035   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67036   (exit $ac_status); } &&
67037          { ac_try='test -z "$ac_cxx_werror_flag"
67038                          || test ! -s conftest.err'
67039   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67040   (eval $ac_try) 2>&5
67041   ac_status=$?
67042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67043   (exit $ac_status); }; } &&
67044          { ac_try='test -s conftest.$ac_objext'
67045   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67046   (eval $ac_try) 2>&5
67047   ac_status=$?
67048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67049   (exit $ac_status); }; }; then
67050   glibcxx_cv_func_fabsl_use=yes
67051 else
67052   echo "$as_me: failed program was:" >&5
67053 sed 's/^/| /' conftest.$ac_ext >&5
67054
67055 glibcxx_cv_func_fabsl_use=no
67056 fi
67057 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67058       ac_ext=c
67059 ac_cpp='$CPP $CPPFLAGS'
67060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67063
67064
67065 fi
67066
67067   fi
67068   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
67069 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
67070
67071   if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
67072
67073 for ac_func in fabsl
67074 do
67075 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67076 echo "$as_me:$LINENO: checking for $ac_func" >&5
67077 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67078 if eval "test \"\${$as_ac_var+set}\" = set"; then
67079   echo $ECHO_N "(cached) $ECHO_C" >&6
67080 else
67081   if test x$gcc_no_link = xyes; then
67082   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67083 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67084    { (exit 1); exit 1; }; }
67085 fi
67086 cat >conftest.$ac_ext <<_ACEOF
67087 /* confdefs.h.  */
67088 _ACEOF
67089 cat confdefs.h >>conftest.$ac_ext
67090 cat >>conftest.$ac_ext <<_ACEOF
67091 /* end confdefs.h.  */
67092 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67093    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67094 #define $ac_func innocuous_$ac_func
67095
67096 /* System header to define __stub macros and hopefully few prototypes,
67097     which can conflict with char $ac_func (); below.
67098     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67099     <limits.h> exists even on freestanding compilers.  */
67100
67101 #ifdef __STDC__
67102 # include <limits.h>
67103 #else
67104 # include <assert.h>
67105 #endif
67106
67107 #undef $ac_func
67108
67109 /* Override any gcc2 internal prototype to avoid an error.  */
67110 #ifdef __cplusplus
67111 extern "C"
67112 {
67113 #endif
67114 /* We use char because int might match the return type of a gcc2
67115    builtin and then its argument prototype would still apply.  */
67116 char $ac_func ();
67117 /* The GNU C library defines this for functions which it implements
67118     to always fail with ENOSYS.  Some functions are actually named
67119     something starting with __ and the normal name is an alias.  */
67120 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67121 choke me
67122 #else
67123 char (*f) () = $ac_func;
67124 #endif
67125 #ifdef __cplusplus
67126 }
67127 #endif
67128
67129 int
67130 main ()
67131 {
67132 return f != $ac_func;
67133   ;
67134   return 0;
67135 }
67136 _ACEOF
67137 rm -f conftest.$ac_objext conftest$ac_exeext
67138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67139   (eval $ac_link) 2>conftest.er1
67140   ac_status=$?
67141   grep -v '^ *+' conftest.er1 >conftest.err
67142   rm -f conftest.er1
67143   cat conftest.err >&5
67144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67145   (exit $ac_status); } &&
67146          { ac_try='test -z "$ac_c_werror_flag"
67147                          || test ! -s conftest.err'
67148   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67149   (eval $ac_try) 2>&5
67150   ac_status=$?
67151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67152   (exit $ac_status); }; } &&
67153          { ac_try='test -s conftest$ac_exeext'
67154   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67155   (eval $ac_try) 2>&5
67156   ac_status=$?
67157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67158   (exit $ac_status); }; }; then
67159   eval "$as_ac_var=yes"
67160 else
67161   echo "$as_me: failed program was:" >&5
67162 sed 's/^/| /' conftest.$ac_ext >&5
67163
67164 eval "$as_ac_var=no"
67165 fi
67166 rm -f conftest.err conftest.$ac_objext \
67167       conftest$ac_exeext conftest.$ac_ext
67168 fi
67169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67170 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67171 if test `eval echo '${'$as_ac_var'}'` = yes; then
67172   cat >>confdefs.h <<_ACEOF
67173 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67174 _ACEOF
67175
67176 fi
67177 done
67178
67179   else
67180
67181   echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
67182 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
67183   if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
67184     if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
67185   echo $ECHO_N "(cached) $ECHO_C" >&6
67186 else
67187
67188
67189
67190       ac_ext=cc
67191 ac_cpp='$CXXCPP $CPPFLAGS'
67192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67195
67196       cat >conftest.$ac_ext <<_ACEOF
67197 /* confdefs.h.  */
67198 _ACEOF
67199 cat confdefs.h >>conftest.$ac_ext
67200 cat >>conftest.$ac_ext <<_ACEOF
67201 /* end confdefs.h.  */
67202 #include <math.h>
67203                       #ifdef HAVE_IEEEFP_H
67204                       #include <ieeefp.h>
67205                       #endif
67206
67207 int
67208 main ()
67209 {
67210  _fabsl(0);
67211   ;
67212   return 0;
67213 }
67214 _ACEOF
67215 rm -f conftest.$ac_objext
67216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67217   (eval $ac_compile) 2>conftest.er1
67218   ac_status=$?
67219   grep -v '^ *+' conftest.er1 >conftest.err
67220   rm -f conftest.er1
67221   cat conftest.err >&5
67222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67223   (exit $ac_status); } &&
67224          { ac_try='test -z "$ac_cxx_werror_flag"
67225                          || test ! -s conftest.err'
67226   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67227   (eval $ac_try) 2>&5
67228   ac_status=$?
67229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67230   (exit $ac_status); }; } &&
67231          { ac_try='test -s conftest.$ac_objext'
67232   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67233   (eval $ac_try) 2>&5
67234   ac_status=$?
67235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67236   (exit $ac_status); }; }; then
67237   glibcxx_cv_func__fabsl_use=yes
67238 else
67239   echo "$as_me: failed program was:" >&5
67240 sed 's/^/| /' conftest.$ac_ext >&5
67241
67242 glibcxx_cv_func__fabsl_use=no
67243 fi
67244 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67245       ac_ext=c
67246 ac_cpp='$CPP $CPPFLAGS'
67247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67250
67251
67252 fi
67253
67254   fi
67255   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
67256 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
67257
67258     if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
67259
67260 for ac_func in _fabsl
67261 do
67262 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67263 echo "$as_me:$LINENO: checking for $ac_func" >&5
67264 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67265 if eval "test \"\${$as_ac_var+set}\" = set"; then
67266   echo $ECHO_N "(cached) $ECHO_C" >&6
67267 else
67268   if test x$gcc_no_link = xyes; then
67269   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67270 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67271    { (exit 1); exit 1; }; }
67272 fi
67273 cat >conftest.$ac_ext <<_ACEOF
67274 /* confdefs.h.  */
67275 _ACEOF
67276 cat confdefs.h >>conftest.$ac_ext
67277 cat >>conftest.$ac_ext <<_ACEOF
67278 /* end confdefs.h.  */
67279 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67280    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67281 #define $ac_func innocuous_$ac_func
67282
67283 /* System header to define __stub macros and hopefully few prototypes,
67284     which can conflict with char $ac_func (); below.
67285     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67286     <limits.h> exists even on freestanding compilers.  */
67287
67288 #ifdef __STDC__
67289 # include <limits.h>
67290 #else
67291 # include <assert.h>
67292 #endif
67293
67294 #undef $ac_func
67295
67296 /* Override any gcc2 internal prototype to avoid an error.  */
67297 #ifdef __cplusplus
67298 extern "C"
67299 {
67300 #endif
67301 /* We use char because int might match the return type of a gcc2
67302    builtin and then its argument prototype would still apply.  */
67303 char $ac_func ();
67304 /* The GNU C library defines this for functions which it implements
67305     to always fail with ENOSYS.  Some functions are actually named
67306     something starting with __ and the normal name is an alias.  */
67307 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67308 choke me
67309 #else
67310 char (*f) () = $ac_func;
67311 #endif
67312 #ifdef __cplusplus
67313 }
67314 #endif
67315
67316 int
67317 main ()
67318 {
67319 return f != $ac_func;
67320   ;
67321   return 0;
67322 }
67323 _ACEOF
67324 rm -f conftest.$ac_objext conftest$ac_exeext
67325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67326   (eval $ac_link) 2>conftest.er1
67327   ac_status=$?
67328   grep -v '^ *+' conftest.er1 >conftest.err
67329   rm -f conftest.er1
67330   cat conftest.err >&5
67331   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67332   (exit $ac_status); } &&
67333          { ac_try='test -z "$ac_c_werror_flag"
67334                          || test ! -s conftest.err'
67335   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67336   (eval $ac_try) 2>&5
67337   ac_status=$?
67338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67339   (exit $ac_status); }; } &&
67340          { ac_try='test -s conftest$ac_exeext'
67341   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67342   (eval $ac_try) 2>&5
67343   ac_status=$?
67344   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67345   (exit $ac_status); }; }; then
67346   eval "$as_ac_var=yes"
67347 else
67348   echo "$as_me: failed program was:" >&5
67349 sed 's/^/| /' conftest.$ac_ext >&5
67350
67351 eval "$as_ac_var=no"
67352 fi
67353 rm -f conftest.err conftest.$ac_objext \
67354       conftest$ac_exeext conftest.$ac_ext
67355 fi
67356 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67357 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67358 if test `eval echo '${'$as_ac_var'}'` = yes; then
67359   cat >>confdefs.h <<_ACEOF
67360 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67361 _ACEOF
67362
67363 fi
67364 done
67365
67366     fi
67367   fi
67368
67369
67370
67371   echo "$as_me:$LINENO: checking for fmodl declaration" >&5
67372 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
67373   if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
67374     if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
67375   echo $ECHO_N "(cached) $ECHO_C" >&6
67376 else
67377
67378
67379
67380       ac_ext=cc
67381 ac_cpp='$CXXCPP $CPPFLAGS'
67382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67385
67386       cat >conftest.$ac_ext <<_ACEOF
67387 /* confdefs.h.  */
67388 _ACEOF
67389 cat confdefs.h >>conftest.$ac_ext
67390 cat >>conftest.$ac_ext <<_ACEOF
67391 /* end confdefs.h.  */
67392 #include <math.h>
67393 int
67394 main ()
67395 {
67396  fmodl(0, 0);
67397   ;
67398   return 0;
67399 }
67400 _ACEOF
67401 rm -f conftest.$ac_objext
67402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67403   (eval $ac_compile) 2>conftest.er1
67404   ac_status=$?
67405   grep -v '^ *+' conftest.er1 >conftest.err
67406   rm -f conftest.er1
67407   cat conftest.err >&5
67408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67409   (exit $ac_status); } &&
67410          { ac_try='test -z "$ac_cxx_werror_flag"
67411                          || test ! -s conftest.err'
67412   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67413   (eval $ac_try) 2>&5
67414   ac_status=$?
67415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67416   (exit $ac_status); }; } &&
67417          { ac_try='test -s conftest.$ac_objext'
67418   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67419   (eval $ac_try) 2>&5
67420   ac_status=$?
67421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67422   (exit $ac_status); }; }; then
67423   glibcxx_cv_func_fmodl_use=yes
67424 else
67425   echo "$as_me: failed program was:" >&5
67426 sed 's/^/| /' conftest.$ac_ext >&5
67427
67428 glibcxx_cv_func_fmodl_use=no
67429 fi
67430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67431       ac_ext=c
67432 ac_cpp='$CPP $CPPFLAGS'
67433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67436
67437
67438 fi
67439
67440   fi
67441   echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
67442 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
67443
67444   if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
67445
67446 for ac_func in fmodl
67447 do
67448 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67449 echo "$as_me:$LINENO: checking for $ac_func" >&5
67450 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67451 if eval "test \"\${$as_ac_var+set}\" = set"; then
67452   echo $ECHO_N "(cached) $ECHO_C" >&6
67453 else
67454   if test x$gcc_no_link = xyes; then
67455   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67456 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67457    { (exit 1); exit 1; }; }
67458 fi
67459 cat >conftest.$ac_ext <<_ACEOF
67460 /* confdefs.h.  */
67461 _ACEOF
67462 cat confdefs.h >>conftest.$ac_ext
67463 cat >>conftest.$ac_ext <<_ACEOF
67464 /* end confdefs.h.  */
67465 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67466    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67467 #define $ac_func innocuous_$ac_func
67468
67469 /* System header to define __stub macros and hopefully few prototypes,
67470     which can conflict with char $ac_func (); below.
67471     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67472     <limits.h> exists even on freestanding compilers.  */
67473
67474 #ifdef __STDC__
67475 # include <limits.h>
67476 #else
67477 # include <assert.h>
67478 #endif
67479
67480 #undef $ac_func
67481
67482 /* Override any gcc2 internal prototype to avoid an error.  */
67483 #ifdef __cplusplus
67484 extern "C"
67485 {
67486 #endif
67487 /* We use char because int might match the return type of a gcc2
67488    builtin and then its argument prototype would still apply.  */
67489 char $ac_func ();
67490 /* The GNU C library defines this for functions which it implements
67491     to always fail with ENOSYS.  Some functions are actually named
67492     something starting with __ and the normal name is an alias.  */
67493 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67494 choke me
67495 #else
67496 char (*f) () = $ac_func;
67497 #endif
67498 #ifdef __cplusplus
67499 }
67500 #endif
67501
67502 int
67503 main ()
67504 {
67505 return f != $ac_func;
67506   ;
67507   return 0;
67508 }
67509 _ACEOF
67510 rm -f conftest.$ac_objext conftest$ac_exeext
67511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67512   (eval $ac_link) 2>conftest.er1
67513   ac_status=$?
67514   grep -v '^ *+' conftest.er1 >conftest.err
67515   rm -f conftest.er1
67516   cat conftest.err >&5
67517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67518   (exit $ac_status); } &&
67519          { ac_try='test -z "$ac_c_werror_flag"
67520                          || test ! -s conftest.err'
67521   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67522   (eval $ac_try) 2>&5
67523   ac_status=$?
67524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67525   (exit $ac_status); }; } &&
67526          { ac_try='test -s conftest$ac_exeext'
67527   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67528   (eval $ac_try) 2>&5
67529   ac_status=$?
67530   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67531   (exit $ac_status); }; }; then
67532   eval "$as_ac_var=yes"
67533 else
67534   echo "$as_me: failed program was:" >&5
67535 sed 's/^/| /' conftest.$ac_ext >&5
67536
67537 eval "$as_ac_var=no"
67538 fi
67539 rm -f conftest.err conftest.$ac_objext \
67540       conftest$ac_exeext conftest.$ac_ext
67541 fi
67542 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67543 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67544 if test `eval echo '${'$as_ac_var'}'` = yes; then
67545   cat >>confdefs.h <<_ACEOF
67546 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67547 _ACEOF
67548
67549 fi
67550 done
67551
67552   else
67553
67554   echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
67555 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
67556   if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
67557     if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
67558   echo $ECHO_N "(cached) $ECHO_C" >&6
67559 else
67560
67561
67562
67563       ac_ext=cc
67564 ac_cpp='$CXXCPP $CPPFLAGS'
67565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67568
67569       cat >conftest.$ac_ext <<_ACEOF
67570 /* confdefs.h.  */
67571 _ACEOF
67572 cat confdefs.h >>conftest.$ac_ext
67573 cat >>conftest.$ac_ext <<_ACEOF
67574 /* end confdefs.h.  */
67575 #include <math.h>
67576 int
67577 main ()
67578 {
67579  _fmodl(0, 0);
67580   ;
67581   return 0;
67582 }
67583 _ACEOF
67584 rm -f conftest.$ac_objext
67585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67586   (eval $ac_compile) 2>conftest.er1
67587   ac_status=$?
67588   grep -v '^ *+' conftest.er1 >conftest.err
67589   rm -f conftest.er1
67590   cat conftest.err >&5
67591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67592   (exit $ac_status); } &&
67593          { ac_try='test -z "$ac_cxx_werror_flag"
67594                          || test ! -s conftest.err'
67595   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67596   (eval $ac_try) 2>&5
67597   ac_status=$?
67598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67599   (exit $ac_status); }; } &&
67600          { ac_try='test -s conftest.$ac_objext'
67601   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67602   (eval $ac_try) 2>&5
67603   ac_status=$?
67604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67605   (exit $ac_status); }; }; then
67606   glibcxx_cv_func__fmodl_use=yes
67607 else
67608   echo "$as_me: failed program was:" >&5
67609 sed 's/^/| /' conftest.$ac_ext >&5
67610
67611 glibcxx_cv_func__fmodl_use=no
67612 fi
67613 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67614       ac_ext=c
67615 ac_cpp='$CPP $CPPFLAGS'
67616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67619
67620
67621 fi
67622
67623   fi
67624   echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
67625 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
67626
67627     if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
67628
67629 for ac_func in _fmodl
67630 do
67631 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67632 echo "$as_me:$LINENO: checking for $ac_func" >&5
67633 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67634 if eval "test \"\${$as_ac_var+set}\" = set"; then
67635   echo $ECHO_N "(cached) $ECHO_C" >&6
67636 else
67637   if test x$gcc_no_link = xyes; then
67638   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67639 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67640    { (exit 1); exit 1; }; }
67641 fi
67642 cat >conftest.$ac_ext <<_ACEOF
67643 /* confdefs.h.  */
67644 _ACEOF
67645 cat confdefs.h >>conftest.$ac_ext
67646 cat >>conftest.$ac_ext <<_ACEOF
67647 /* end confdefs.h.  */
67648 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67649    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67650 #define $ac_func innocuous_$ac_func
67651
67652 /* System header to define __stub macros and hopefully few prototypes,
67653     which can conflict with char $ac_func (); below.
67654     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67655     <limits.h> exists even on freestanding compilers.  */
67656
67657 #ifdef __STDC__
67658 # include <limits.h>
67659 #else
67660 # include <assert.h>
67661 #endif
67662
67663 #undef $ac_func
67664
67665 /* Override any gcc2 internal prototype to avoid an error.  */
67666 #ifdef __cplusplus
67667 extern "C"
67668 {
67669 #endif
67670 /* We use char because int might match the return type of a gcc2
67671    builtin and then its argument prototype would still apply.  */
67672 char $ac_func ();
67673 /* The GNU C library defines this for functions which it implements
67674     to always fail with ENOSYS.  Some functions are actually named
67675     something starting with __ and the normal name is an alias.  */
67676 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67677 choke me
67678 #else
67679 char (*f) () = $ac_func;
67680 #endif
67681 #ifdef __cplusplus
67682 }
67683 #endif
67684
67685 int
67686 main ()
67687 {
67688 return f != $ac_func;
67689   ;
67690   return 0;
67691 }
67692 _ACEOF
67693 rm -f conftest.$ac_objext conftest$ac_exeext
67694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67695   (eval $ac_link) 2>conftest.er1
67696   ac_status=$?
67697   grep -v '^ *+' conftest.er1 >conftest.err
67698   rm -f conftest.er1
67699   cat conftest.err >&5
67700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67701   (exit $ac_status); } &&
67702          { ac_try='test -z "$ac_c_werror_flag"
67703                          || test ! -s conftest.err'
67704   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67705   (eval $ac_try) 2>&5
67706   ac_status=$?
67707   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67708   (exit $ac_status); }; } &&
67709          { ac_try='test -s conftest$ac_exeext'
67710   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67711   (eval $ac_try) 2>&5
67712   ac_status=$?
67713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67714   (exit $ac_status); }; }; then
67715   eval "$as_ac_var=yes"
67716 else
67717   echo "$as_me: failed program was:" >&5
67718 sed 's/^/| /' conftest.$ac_ext >&5
67719
67720 eval "$as_ac_var=no"
67721 fi
67722 rm -f conftest.err conftest.$ac_objext \
67723       conftest$ac_exeext conftest.$ac_ext
67724 fi
67725 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67726 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67727 if test `eval echo '${'$as_ac_var'}'` = yes; then
67728   cat >>confdefs.h <<_ACEOF
67729 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67730 _ACEOF
67731
67732 fi
67733 done
67734
67735     fi
67736   fi
67737
67738
67739
67740   echo "$as_me:$LINENO: checking for frexpl declaration" >&5
67741 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
67742   if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
67743     if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
67744   echo $ECHO_N "(cached) $ECHO_C" >&6
67745 else
67746
67747
67748
67749       ac_ext=cc
67750 ac_cpp='$CXXCPP $CPPFLAGS'
67751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67754
67755       cat >conftest.$ac_ext <<_ACEOF
67756 /* confdefs.h.  */
67757 _ACEOF
67758 cat confdefs.h >>conftest.$ac_ext
67759 cat >>conftest.$ac_ext <<_ACEOF
67760 /* end confdefs.h.  */
67761 #include <math.h>
67762 int
67763 main ()
67764 {
67765  frexpl(0, 0);
67766   ;
67767   return 0;
67768 }
67769 _ACEOF
67770 rm -f conftest.$ac_objext
67771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67772   (eval $ac_compile) 2>conftest.er1
67773   ac_status=$?
67774   grep -v '^ *+' conftest.er1 >conftest.err
67775   rm -f conftest.er1
67776   cat conftest.err >&5
67777   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67778   (exit $ac_status); } &&
67779          { ac_try='test -z "$ac_cxx_werror_flag"
67780                          || test ! -s conftest.err'
67781   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67782   (eval $ac_try) 2>&5
67783   ac_status=$?
67784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67785   (exit $ac_status); }; } &&
67786          { ac_try='test -s conftest.$ac_objext'
67787   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67788   (eval $ac_try) 2>&5
67789   ac_status=$?
67790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67791   (exit $ac_status); }; }; then
67792   glibcxx_cv_func_frexpl_use=yes
67793 else
67794   echo "$as_me: failed program was:" >&5
67795 sed 's/^/| /' conftest.$ac_ext >&5
67796
67797 glibcxx_cv_func_frexpl_use=no
67798 fi
67799 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67800       ac_ext=c
67801 ac_cpp='$CPP $CPPFLAGS'
67802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67805
67806
67807 fi
67808
67809   fi
67810   echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
67811 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
67812
67813   if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
67814
67815 for ac_func in frexpl
67816 do
67817 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67818 echo "$as_me:$LINENO: checking for $ac_func" >&5
67819 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67820 if eval "test \"\${$as_ac_var+set}\" = set"; then
67821   echo $ECHO_N "(cached) $ECHO_C" >&6
67822 else
67823   if test x$gcc_no_link = xyes; then
67824   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67825 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67826    { (exit 1); exit 1; }; }
67827 fi
67828 cat >conftest.$ac_ext <<_ACEOF
67829 /* confdefs.h.  */
67830 _ACEOF
67831 cat confdefs.h >>conftest.$ac_ext
67832 cat >>conftest.$ac_ext <<_ACEOF
67833 /* end confdefs.h.  */
67834 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67835    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
67836 #define $ac_func innocuous_$ac_func
67837
67838 /* System header to define __stub macros and hopefully few prototypes,
67839     which can conflict with char $ac_func (); below.
67840     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67841     <limits.h> exists even on freestanding compilers.  */
67842
67843 #ifdef __STDC__
67844 # include <limits.h>
67845 #else
67846 # include <assert.h>
67847 #endif
67848
67849 #undef $ac_func
67850
67851 /* Override any gcc2 internal prototype to avoid an error.  */
67852 #ifdef __cplusplus
67853 extern "C"
67854 {
67855 #endif
67856 /* We use char because int might match the return type of a gcc2
67857    builtin and then its argument prototype would still apply.  */
67858 char $ac_func ();
67859 /* The GNU C library defines this for functions which it implements
67860     to always fail with ENOSYS.  Some functions are actually named
67861     something starting with __ and the normal name is an alias.  */
67862 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67863 choke me
67864 #else
67865 char (*f) () = $ac_func;
67866 #endif
67867 #ifdef __cplusplus
67868 }
67869 #endif
67870
67871 int
67872 main ()
67873 {
67874 return f != $ac_func;
67875   ;
67876   return 0;
67877 }
67878 _ACEOF
67879 rm -f conftest.$ac_objext conftest$ac_exeext
67880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67881   (eval $ac_link) 2>conftest.er1
67882   ac_status=$?
67883   grep -v '^ *+' conftest.er1 >conftest.err
67884   rm -f conftest.er1
67885   cat conftest.err >&5
67886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67887   (exit $ac_status); } &&
67888          { ac_try='test -z "$ac_c_werror_flag"
67889                          || test ! -s conftest.err'
67890   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67891   (eval $ac_try) 2>&5
67892   ac_status=$?
67893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67894   (exit $ac_status); }; } &&
67895          { ac_try='test -s conftest$ac_exeext'
67896   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67897   (eval $ac_try) 2>&5
67898   ac_status=$?
67899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67900   (exit $ac_status); }; }; then
67901   eval "$as_ac_var=yes"
67902 else
67903   echo "$as_me: failed program was:" >&5
67904 sed 's/^/| /' conftest.$ac_ext >&5
67905
67906 eval "$as_ac_var=no"
67907 fi
67908 rm -f conftest.err conftest.$ac_objext \
67909       conftest$ac_exeext conftest.$ac_ext
67910 fi
67911 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67912 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67913 if test `eval echo '${'$as_ac_var'}'` = yes; then
67914   cat >>confdefs.h <<_ACEOF
67915 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67916 _ACEOF
67917
67918 fi
67919 done
67920
67921   else
67922
67923   echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
67924 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
67925   if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
67926     if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
67927   echo $ECHO_N "(cached) $ECHO_C" >&6
67928 else
67929
67930
67931
67932       ac_ext=cc
67933 ac_cpp='$CXXCPP $CPPFLAGS'
67934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67937
67938       cat >conftest.$ac_ext <<_ACEOF
67939 /* confdefs.h.  */
67940 _ACEOF
67941 cat confdefs.h >>conftest.$ac_ext
67942 cat >>conftest.$ac_ext <<_ACEOF
67943 /* end confdefs.h.  */
67944 #include <math.h>
67945 int
67946 main ()
67947 {
67948  _frexpl(0, 0);
67949   ;
67950   return 0;
67951 }
67952 _ACEOF
67953 rm -f conftest.$ac_objext
67954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67955   (eval $ac_compile) 2>conftest.er1
67956   ac_status=$?
67957   grep -v '^ *+' conftest.er1 >conftest.err
67958   rm -f conftest.er1
67959   cat conftest.err >&5
67960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67961   (exit $ac_status); } &&
67962          { ac_try='test -z "$ac_cxx_werror_flag"
67963                          || test ! -s conftest.err'
67964   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67965   (eval $ac_try) 2>&5
67966   ac_status=$?
67967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67968   (exit $ac_status); }; } &&
67969          { ac_try='test -s conftest.$ac_objext'
67970   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67971   (eval $ac_try) 2>&5
67972   ac_status=$?
67973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
67974   (exit $ac_status); }; }; then
67975   glibcxx_cv_func__frexpl_use=yes
67976 else
67977   echo "$as_me: failed program was:" >&5
67978 sed 's/^/| /' conftest.$ac_ext >&5
67979
67980 glibcxx_cv_func__frexpl_use=no
67981 fi
67982 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67983       ac_ext=c
67984 ac_cpp='$CPP $CPPFLAGS'
67985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67988
67989
67990 fi
67991
67992   fi
67993   echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
67994 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
67995
67996     if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
67997
67998 for ac_func in _frexpl
67999 do
68000 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68001 echo "$as_me:$LINENO: checking for $ac_func" >&5
68002 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68003 if eval "test \"\${$as_ac_var+set}\" = set"; then
68004   echo $ECHO_N "(cached) $ECHO_C" >&6
68005 else
68006   if test x$gcc_no_link = xyes; then
68007   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68008 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68009    { (exit 1); exit 1; }; }
68010 fi
68011 cat >conftest.$ac_ext <<_ACEOF
68012 /* confdefs.h.  */
68013 _ACEOF
68014 cat confdefs.h >>conftest.$ac_ext
68015 cat >>conftest.$ac_ext <<_ACEOF
68016 /* end confdefs.h.  */
68017 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68018    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68019 #define $ac_func innocuous_$ac_func
68020
68021 /* System header to define __stub macros and hopefully few prototypes,
68022     which can conflict with char $ac_func (); below.
68023     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68024     <limits.h> exists even on freestanding compilers.  */
68025
68026 #ifdef __STDC__
68027 # include <limits.h>
68028 #else
68029 # include <assert.h>
68030 #endif
68031
68032 #undef $ac_func
68033
68034 /* Override any gcc2 internal prototype to avoid an error.  */
68035 #ifdef __cplusplus
68036 extern "C"
68037 {
68038 #endif
68039 /* We use char because int might match the return type of a gcc2
68040    builtin and then its argument prototype would still apply.  */
68041 char $ac_func ();
68042 /* The GNU C library defines this for functions which it implements
68043     to always fail with ENOSYS.  Some functions are actually named
68044     something starting with __ and the normal name is an alias.  */
68045 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68046 choke me
68047 #else
68048 char (*f) () = $ac_func;
68049 #endif
68050 #ifdef __cplusplus
68051 }
68052 #endif
68053
68054 int
68055 main ()
68056 {
68057 return f != $ac_func;
68058   ;
68059   return 0;
68060 }
68061 _ACEOF
68062 rm -f conftest.$ac_objext conftest$ac_exeext
68063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68064   (eval $ac_link) 2>conftest.er1
68065   ac_status=$?
68066   grep -v '^ *+' conftest.er1 >conftest.err
68067   rm -f conftest.er1
68068   cat conftest.err >&5
68069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68070   (exit $ac_status); } &&
68071          { ac_try='test -z "$ac_c_werror_flag"
68072                          || test ! -s conftest.err'
68073   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68074   (eval $ac_try) 2>&5
68075   ac_status=$?
68076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68077   (exit $ac_status); }; } &&
68078          { ac_try='test -s conftest$ac_exeext'
68079   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68080   (eval $ac_try) 2>&5
68081   ac_status=$?
68082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68083   (exit $ac_status); }; }; then
68084   eval "$as_ac_var=yes"
68085 else
68086   echo "$as_me: failed program was:" >&5
68087 sed 's/^/| /' conftest.$ac_ext >&5
68088
68089 eval "$as_ac_var=no"
68090 fi
68091 rm -f conftest.err conftest.$ac_objext \
68092       conftest$ac_exeext conftest.$ac_ext
68093 fi
68094 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68095 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68096 if test `eval echo '${'$as_ac_var'}'` = yes; then
68097   cat >>confdefs.h <<_ACEOF
68098 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68099 _ACEOF
68100
68101 fi
68102 done
68103
68104     fi
68105   fi
68106
68107
68108
68109   echo "$as_me:$LINENO: checking for hypotl declaration" >&5
68110 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
68111   if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
68112     if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
68113   echo $ECHO_N "(cached) $ECHO_C" >&6
68114 else
68115
68116
68117
68118       ac_ext=cc
68119 ac_cpp='$CXXCPP $CPPFLAGS'
68120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68123
68124       cat >conftest.$ac_ext <<_ACEOF
68125 /* confdefs.h.  */
68126 _ACEOF
68127 cat confdefs.h >>conftest.$ac_ext
68128 cat >>conftest.$ac_ext <<_ACEOF
68129 /* end confdefs.h.  */
68130 #include <math.h>
68131 int
68132 main ()
68133 {
68134  hypotl(0, 0);
68135   ;
68136   return 0;
68137 }
68138 _ACEOF
68139 rm -f conftest.$ac_objext
68140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68141   (eval $ac_compile) 2>conftest.er1
68142   ac_status=$?
68143   grep -v '^ *+' conftest.er1 >conftest.err
68144   rm -f conftest.er1
68145   cat conftest.err >&5
68146   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68147   (exit $ac_status); } &&
68148          { ac_try='test -z "$ac_cxx_werror_flag"
68149                          || test ! -s conftest.err'
68150   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68151   (eval $ac_try) 2>&5
68152   ac_status=$?
68153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68154   (exit $ac_status); }; } &&
68155          { ac_try='test -s conftest.$ac_objext'
68156   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68157   (eval $ac_try) 2>&5
68158   ac_status=$?
68159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68160   (exit $ac_status); }; }; then
68161   glibcxx_cv_func_hypotl_use=yes
68162 else
68163   echo "$as_me: failed program was:" >&5
68164 sed 's/^/| /' conftest.$ac_ext >&5
68165
68166 glibcxx_cv_func_hypotl_use=no
68167 fi
68168 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68169       ac_ext=c
68170 ac_cpp='$CPP $CPPFLAGS'
68171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68174
68175
68176 fi
68177
68178   fi
68179   echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
68180 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
68181
68182   if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
68183
68184 for ac_func in hypotl
68185 do
68186 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68187 echo "$as_me:$LINENO: checking for $ac_func" >&5
68188 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68189 if eval "test \"\${$as_ac_var+set}\" = set"; then
68190   echo $ECHO_N "(cached) $ECHO_C" >&6
68191 else
68192   if test x$gcc_no_link = xyes; then
68193   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68194 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68195    { (exit 1); exit 1; }; }
68196 fi
68197 cat >conftest.$ac_ext <<_ACEOF
68198 /* confdefs.h.  */
68199 _ACEOF
68200 cat confdefs.h >>conftest.$ac_ext
68201 cat >>conftest.$ac_ext <<_ACEOF
68202 /* end confdefs.h.  */
68203 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68204    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68205 #define $ac_func innocuous_$ac_func
68206
68207 /* System header to define __stub macros and hopefully few prototypes,
68208     which can conflict with char $ac_func (); below.
68209     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68210     <limits.h> exists even on freestanding compilers.  */
68211
68212 #ifdef __STDC__
68213 # include <limits.h>
68214 #else
68215 # include <assert.h>
68216 #endif
68217
68218 #undef $ac_func
68219
68220 /* Override any gcc2 internal prototype to avoid an error.  */
68221 #ifdef __cplusplus
68222 extern "C"
68223 {
68224 #endif
68225 /* We use char because int might match the return type of a gcc2
68226    builtin and then its argument prototype would still apply.  */
68227 char $ac_func ();
68228 /* The GNU C library defines this for functions which it implements
68229     to always fail with ENOSYS.  Some functions are actually named
68230     something starting with __ and the normal name is an alias.  */
68231 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68232 choke me
68233 #else
68234 char (*f) () = $ac_func;
68235 #endif
68236 #ifdef __cplusplus
68237 }
68238 #endif
68239
68240 int
68241 main ()
68242 {
68243 return f != $ac_func;
68244   ;
68245   return 0;
68246 }
68247 _ACEOF
68248 rm -f conftest.$ac_objext conftest$ac_exeext
68249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68250   (eval $ac_link) 2>conftest.er1
68251   ac_status=$?
68252   grep -v '^ *+' conftest.er1 >conftest.err
68253   rm -f conftest.er1
68254   cat conftest.err >&5
68255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68256   (exit $ac_status); } &&
68257          { ac_try='test -z "$ac_c_werror_flag"
68258                          || test ! -s conftest.err'
68259   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68260   (eval $ac_try) 2>&5
68261   ac_status=$?
68262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68263   (exit $ac_status); }; } &&
68264          { ac_try='test -s conftest$ac_exeext'
68265   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68266   (eval $ac_try) 2>&5
68267   ac_status=$?
68268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68269   (exit $ac_status); }; }; then
68270   eval "$as_ac_var=yes"
68271 else
68272   echo "$as_me: failed program was:" >&5
68273 sed 's/^/| /' conftest.$ac_ext >&5
68274
68275 eval "$as_ac_var=no"
68276 fi
68277 rm -f conftest.err conftest.$ac_objext \
68278       conftest$ac_exeext conftest.$ac_ext
68279 fi
68280 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68281 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68282 if test `eval echo '${'$as_ac_var'}'` = yes; then
68283   cat >>confdefs.h <<_ACEOF
68284 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68285 _ACEOF
68286
68287 fi
68288 done
68289
68290   else
68291
68292   echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
68293 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
68294   if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
68295     if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
68296   echo $ECHO_N "(cached) $ECHO_C" >&6
68297 else
68298
68299
68300
68301       ac_ext=cc
68302 ac_cpp='$CXXCPP $CPPFLAGS'
68303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68306
68307       cat >conftest.$ac_ext <<_ACEOF
68308 /* confdefs.h.  */
68309 _ACEOF
68310 cat confdefs.h >>conftest.$ac_ext
68311 cat >>conftest.$ac_ext <<_ACEOF
68312 /* end confdefs.h.  */
68313 #include <math.h>
68314 int
68315 main ()
68316 {
68317  _hypotl(0, 0);
68318   ;
68319   return 0;
68320 }
68321 _ACEOF
68322 rm -f conftest.$ac_objext
68323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68324   (eval $ac_compile) 2>conftest.er1
68325   ac_status=$?
68326   grep -v '^ *+' conftest.er1 >conftest.err
68327   rm -f conftest.er1
68328   cat conftest.err >&5
68329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68330   (exit $ac_status); } &&
68331          { ac_try='test -z "$ac_cxx_werror_flag"
68332                          || test ! -s conftest.err'
68333   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68334   (eval $ac_try) 2>&5
68335   ac_status=$?
68336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68337   (exit $ac_status); }; } &&
68338          { ac_try='test -s conftest.$ac_objext'
68339   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68340   (eval $ac_try) 2>&5
68341   ac_status=$?
68342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68343   (exit $ac_status); }; }; then
68344   glibcxx_cv_func__hypotl_use=yes
68345 else
68346   echo "$as_me: failed program was:" >&5
68347 sed 's/^/| /' conftest.$ac_ext >&5
68348
68349 glibcxx_cv_func__hypotl_use=no
68350 fi
68351 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68352       ac_ext=c
68353 ac_cpp='$CPP $CPPFLAGS'
68354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68357
68358
68359 fi
68360
68361   fi
68362   echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
68363 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
68364
68365     if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
68366
68367 for ac_func in _hypotl
68368 do
68369 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68370 echo "$as_me:$LINENO: checking for $ac_func" >&5
68371 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68372 if eval "test \"\${$as_ac_var+set}\" = set"; then
68373   echo $ECHO_N "(cached) $ECHO_C" >&6
68374 else
68375   if test x$gcc_no_link = xyes; then
68376   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68377 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68378    { (exit 1); exit 1; }; }
68379 fi
68380 cat >conftest.$ac_ext <<_ACEOF
68381 /* confdefs.h.  */
68382 _ACEOF
68383 cat confdefs.h >>conftest.$ac_ext
68384 cat >>conftest.$ac_ext <<_ACEOF
68385 /* end confdefs.h.  */
68386 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68387    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68388 #define $ac_func innocuous_$ac_func
68389
68390 /* System header to define __stub macros and hopefully few prototypes,
68391     which can conflict with char $ac_func (); below.
68392     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68393     <limits.h> exists even on freestanding compilers.  */
68394
68395 #ifdef __STDC__
68396 # include <limits.h>
68397 #else
68398 # include <assert.h>
68399 #endif
68400
68401 #undef $ac_func
68402
68403 /* Override any gcc2 internal prototype to avoid an error.  */
68404 #ifdef __cplusplus
68405 extern "C"
68406 {
68407 #endif
68408 /* We use char because int might match the return type of a gcc2
68409    builtin and then its argument prototype would still apply.  */
68410 char $ac_func ();
68411 /* The GNU C library defines this for functions which it implements
68412     to always fail with ENOSYS.  Some functions are actually named
68413     something starting with __ and the normal name is an alias.  */
68414 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68415 choke me
68416 #else
68417 char (*f) () = $ac_func;
68418 #endif
68419 #ifdef __cplusplus
68420 }
68421 #endif
68422
68423 int
68424 main ()
68425 {
68426 return f != $ac_func;
68427   ;
68428   return 0;
68429 }
68430 _ACEOF
68431 rm -f conftest.$ac_objext conftest$ac_exeext
68432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68433   (eval $ac_link) 2>conftest.er1
68434   ac_status=$?
68435   grep -v '^ *+' conftest.er1 >conftest.err
68436   rm -f conftest.er1
68437   cat conftest.err >&5
68438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68439   (exit $ac_status); } &&
68440          { ac_try='test -z "$ac_c_werror_flag"
68441                          || test ! -s conftest.err'
68442   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68443   (eval $ac_try) 2>&5
68444   ac_status=$?
68445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68446   (exit $ac_status); }; } &&
68447          { ac_try='test -s conftest$ac_exeext'
68448   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68449   (eval $ac_try) 2>&5
68450   ac_status=$?
68451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68452   (exit $ac_status); }; }; then
68453   eval "$as_ac_var=yes"
68454 else
68455   echo "$as_me: failed program was:" >&5
68456 sed 's/^/| /' conftest.$ac_ext >&5
68457
68458 eval "$as_ac_var=no"
68459 fi
68460 rm -f conftest.err conftest.$ac_objext \
68461       conftest$ac_exeext conftest.$ac_ext
68462 fi
68463 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68464 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68465 if test `eval echo '${'$as_ac_var'}'` = yes; then
68466   cat >>confdefs.h <<_ACEOF
68467 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68468 _ACEOF
68469
68470 fi
68471 done
68472
68473     fi
68474   fi
68475
68476
68477
68478   echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
68479 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
68480   if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
68481     if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
68482   echo $ECHO_N "(cached) $ECHO_C" >&6
68483 else
68484
68485
68486
68487       ac_ext=cc
68488 ac_cpp='$CXXCPP $CPPFLAGS'
68489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68492
68493       cat >conftest.$ac_ext <<_ACEOF
68494 /* confdefs.h.  */
68495 _ACEOF
68496 cat confdefs.h >>conftest.$ac_ext
68497 cat >>conftest.$ac_ext <<_ACEOF
68498 /* end confdefs.h.  */
68499 #include <math.h>
68500 int
68501 main ()
68502 {
68503  ldexpl(0, 0);
68504   ;
68505   return 0;
68506 }
68507 _ACEOF
68508 rm -f conftest.$ac_objext
68509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68510   (eval $ac_compile) 2>conftest.er1
68511   ac_status=$?
68512   grep -v '^ *+' conftest.er1 >conftest.err
68513   rm -f conftest.er1
68514   cat conftest.err >&5
68515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68516   (exit $ac_status); } &&
68517          { ac_try='test -z "$ac_cxx_werror_flag"
68518                          || test ! -s conftest.err'
68519   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68520   (eval $ac_try) 2>&5
68521   ac_status=$?
68522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68523   (exit $ac_status); }; } &&
68524          { ac_try='test -s conftest.$ac_objext'
68525   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68526   (eval $ac_try) 2>&5
68527   ac_status=$?
68528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68529   (exit $ac_status); }; }; then
68530   glibcxx_cv_func_ldexpl_use=yes
68531 else
68532   echo "$as_me: failed program was:" >&5
68533 sed 's/^/| /' conftest.$ac_ext >&5
68534
68535 glibcxx_cv_func_ldexpl_use=no
68536 fi
68537 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68538       ac_ext=c
68539 ac_cpp='$CPP $CPPFLAGS'
68540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68543
68544
68545 fi
68546
68547   fi
68548   echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
68549 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
68550
68551   if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
68552
68553 for ac_func in ldexpl
68554 do
68555 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68556 echo "$as_me:$LINENO: checking for $ac_func" >&5
68557 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68558 if eval "test \"\${$as_ac_var+set}\" = set"; then
68559   echo $ECHO_N "(cached) $ECHO_C" >&6
68560 else
68561   if test x$gcc_no_link = xyes; then
68562   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68563 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68564    { (exit 1); exit 1; }; }
68565 fi
68566 cat >conftest.$ac_ext <<_ACEOF
68567 /* confdefs.h.  */
68568 _ACEOF
68569 cat confdefs.h >>conftest.$ac_ext
68570 cat >>conftest.$ac_ext <<_ACEOF
68571 /* end confdefs.h.  */
68572 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68573    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68574 #define $ac_func innocuous_$ac_func
68575
68576 /* System header to define __stub macros and hopefully few prototypes,
68577     which can conflict with char $ac_func (); below.
68578     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68579     <limits.h> exists even on freestanding compilers.  */
68580
68581 #ifdef __STDC__
68582 # include <limits.h>
68583 #else
68584 # include <assert.h>
68585 #endif
68586
68587 #undef $ac_func
68588
68589 /* Override any gcc2 internal prototype to avoid an error.  */
68590 #ifdef __cplusplus
68591 extern "C"
68592 {
68593 #endif
68594 /* We use char because int might match the return type of a gcc2
68595    builtin and then its argument prototype would still apply.  */
68596 char $ac_func ();
68597 /* The GNU C library defines this for functions which it implements
68598     to always fail with ENOSYS.  Some functions are actually named
68599     something starting with __ and the normal name is an alias.  */
68600 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68601 choke me
68602 #else
68603 char (*f) () = $ac_func;
68604 #endif
68605 #ifdef __cplusplus
68606 }
68607 #endif
68608
68609 int
68610 main ()
68611 {
68612 return f != $ac_func;
68613   ;
68614   return 0;
68615 }
68616 _ACEOF
68617 rm -f conftest.$ac_objext conftest$ac_exeext
68618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68619   (eval $ac_link) 2>conftest.er1
68620   ac_status=$?
68621   grep -v '^ *+' conftest.er1 >conftest.err
68622   rm -f conftest.er1
68623   cat conftest.err >&5
68624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68625   (exit $ac_status); } &&
68626          { ac_try='test -z "$ac_c_werror_flag"
68627                          || test ! -s conftest.err'
68628   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68629   (eval $ac_try) 2>&5
68630   ac_status=$?
68631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68632   (exit $ac_status); }; } &&
68633          { ac_try='test -s conftest$ac_exeext'
68634   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68635   (eval $ac_try) 2>&5
68636   ac_status=$?
68637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68638   (exit $ac_status); }; }; then
68639   eval "$as_ac_var=yes"
68640 else
68641   echo "$as_me: failed program was:" >&5
68642 sed 's/^/| /' conftest.$ac_ext >&5
68643
68644 eval "$as_ac_var=no"
68645 fi
68646 rm -f conftest.err conftest.$ac_objext \
68647       conftest$ac_exeext conftest.$ac_ext
68648 fi
68649 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68650 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68651 if test `eval echo '${'$as_ac_var'}'` = yes; then
68652   cat >>confdefs.h <<_ACEOF
68653 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68654 _ACEOF
68655
68656 fi
68657 done
68658
68659   else
68660
68661   echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
68662 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
68663   if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
68664     if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
68665   echo $ECHO_N "(cached) $ECHO_C" >&6
68666 else
68667
68668
68669
68670       ac_ext=cc
68671 ac_cpp='$CXXCPP $CPPFLAGS'
68672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68675
68676       cat >conftest.$ac_ext <<_ACEOF
68677 /* confdefs.h.  */
68678 _ACEOF
68679 cat confdefs.h >>conftest.$ac_ext
68680 cat >>conftest.$ac_ext <<_ACEOF
68681 /* end confdefs.h.  */
68682 #include <math.h>
68683 int
68684 main ()
68685 {
68686  _ldexpl(0, 0);
68687   ;
68688   return 0;
68689 }
68690 _ACEOF
68691 rm -f conftest.$ac_objext
68692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68693   (eval $ac_compile) 2>conftest.er1
68694   ac_status=$?
68695   grep -v '^ *+' conftest.er1 >conftest.err
68696   rm -f conftest.er1
68697   cat conftest.err >&5
68698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68699   (exit $ac_status); } &&
68700          { ac_try='test -z "$ac_cxx_werror_flag"
68701                          || test ! -s conftest.err'
68702   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68703   (eval $ac_try) 2>&5
68704   ac_status=$?
68705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68706   (exit $ac_status); }; } &&
68707          { ac_try='test -s conftest.$ac_objext'
68708   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68709   (eval $ac_try) 2>&5
68710   ac_status=$?
68711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68712   (exit $ac_status); }; }; then
68713   glibcxx_cv_func__ldexpl_use=yes
68714 else
68715   echo "$as_me: failed program was:" >&5
68716 sed 's/^/| /' conftest.$ac_ext >&5
68717
68718 glibcxx_cv_func__ldexpl_use=no
68719 fi
68720 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68721       ac_ext=c
68722 ac_cpp='$CPP $CPPFLAGS'
68723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68726
68727
68728 fi
68729
68730   fi
68731   echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
68732 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
68733
68734     if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
68735
68736 for ac_func in _ldexpl
68737 do
68738 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68739 echo "$as_me:$LINENO: checking for $ac_func" >&5
68740 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68741 if eval "test \"\${$as_ac_var+set}\" = set"; then
68742   echo $ECHO_N "(cached) $ECHO_C" >&6
68743 else
68744   if test x$gcc_no_link = xyes; then
68745   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68746 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68747    { (exit 1); exit 1; }; }
68748 fi
68749 cat >conftest.$ac_ext <<_ACEOF
68750 /* confdefs.h.  */
68751 _ACEOF
68752 cat confdefs.h >>conftest.$ac_ext
68753 cat >>conftest.$ac_ext <<_ACEOF
68754 /* end confdefs.h.  */
68755 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68756    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68757 #define $ac_func innocuous_$ac_func
68758
68759 /* System header to define __stub macros and hopefully few prototypes,
68760     which can conflict with char $ac_func (); below.
68761     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68762     <limits.h> exists even on freestanding compilers.  */
68763
68764 #ifdef __STDC__
68765 # include <limits.h>
68766 #else
68767 # include <assert.h>
68768 #endif
68769
68770 #undef $ac_func
68771
68772 /* Override any gcc2 internal prototype to avoid an error.  */
68773 #ifdef __cplusplus
68774 extern "C"
68775 {
68776 #endif
68777 /* We use char because int might match the return type of a gcc2
68778    builtin and then its argument prototype would still apply.  */
68779 char $ac_func ();
68780 /* The GNU C library defines this for functions which it implements
68781     to always fail with ENOSYS.  Some functions are actually named
68782     something starting with __ and the normal name is an alias.  */
68783 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68784 choke me
68785 #else
68786 char (*f) () = $ac_func;
68787 #endif
68788 #ifdef __cplusplus
68789 }
68790 #endif
68791
68792 int
68793 main ()
68794 {
68795 return f != $ac_func;
68796   ;
68797   return 0;
68798 }
68799 _ACEOF
68800 rm -f conftest.$ac_objext conftest$ac_exeext
68801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68802   (eval $ac_link) 2>conftest.er1
68803   ac_status=$?
68804   grep -v '^ *+' conftest.er1 >conftest.err
68805   rm -f conftest.er1
68806   cat conftest.err >&5
68807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68808   (exit $ac_status); } &&
68809          { ac_try='test -z "$ac_c_werror_flag"
68810                          || test ! -s conftest.err'
68811   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68812   (eval $ac_try) 2>&5
68813   ac_status=$?
68814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68815   (exit $ac_status); }; } &&
68816          { ac_try='test -s conftest$ac_exeext'
68817   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68818   (eval $ac_try) 2>&5
68819   ac_status=$?
68820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68821   (exit $ac_status); }; }; then
68822   eval "$as_ac_var=yes"
68823 else
68824   echo "$as_me: failed program was:" >&5
68825 sed 's/^/| /' conftest.$ac_ext >&5
68826
68827 eval "$as_ac_var=no"
68828 fi
68829 rm -f conftest.err conftest.$ac_objext \
68830       conftest$ac_exeext conftest.$ac_ext
68831 fi
68832 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68833 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68834 if test `eval echo '${'$as_ac_var'}'` = yes; then
68835   cat >>confdefs.h <<_ACEOF
68836 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68837 _ACEOF
68838
68839 fi
68840 done
68841
68842     fi
68843   fi
68844
68845
68846
68847   echo "$as_me:$LINENO: checking for logl declaration" >&5
68848 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
68849   if test x${glibcxx_cv_func_logl_use+set} != xset; then
68850     if test "${glibcxx_cv_func_logl_use+set}" = set; then
68851   echo $ECHO_N "(cached) $ECHO_C" >&6
68852 else
68853
68854
68855
68856       ac_ext=cc
68857 ac_cpp='$CXXCPP $CPPFLAGS'
68858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68861
68862       cat >conftest.$ac_ext <<_ACEOF
68863 /* confdefs.h.  */
68864 _ACEOF
68865 cat confdefs.h >>conftest.$ac_ext
68866 cat >>conftest.$ac_ext <<_ACEOF
68867 /* end confdefs.h.  */
68868 #include <math.h>
68869                       #ifdef HAVE_IEEEFP_H
68870                       #include <ieeefp.h>
68871                       #endif
68872
68873 int
68874 main ()
68875 {
68876  logl(0);
68877   ;
68878   return 0;
68879 }
68880 _ACEOF
68881 rm -f conftest.$ac_objext
68882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68883   (eval $ac_compile) 2>conftest.er1
68884   ac_status=$?
68885   grep -v '^ *+' conftest.er1 >conftest.err
68886   rm -f conftest.er1
68887   cat conftest.err >&5
68888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68889   (exit $ac_status); } &&
68890          { ac_try='test -z "$ac_cxx_werror_flag"
68891                          || test ! -s conftest.err'
68892   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68893   (eval $ac_try) 2>&5
68894   ac_status=$?
68895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68896   (exit $ac_status); }; } &&
68897          { ac_try='test -s conftest.$ac_objext'
68898   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68899   (eval $ac_try) 2>&5
68900   ac_status=$?
68901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68902   (exit $ac_status); }; }; then
68903   glibcxx_cv_func_logl_use=yes
68904 else
68905   echo "$as_me: failed program was:" >&5
68906 sed 's/^/| /' conftest.$ac_ext >&5
68907
68908 glibcxx_cv_func_logl_use=no
68909 fi
68910 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68911       ac_ext=c
68912 ac_cpp='$CPP $CPPFLAGS'
68913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68916
68917
68918 fi
68919
68920   fi
68921   echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
68922 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
68923
68924   if test x$glibcxx_cv_func_logl_use = x"yes"; then
68925
68926 for ac_func in logl
68927 do
68928 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68929 echo "$as_me:$LINENO: checking for $ac_func" >&5
68930 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68931 if eval "test \"\${$as_ac_var+set}\" = set"; then
68932   echo $ECHO_N "(cached) $ECHO_C" >&6
68933 else
68934   if test x$gcc_no_link = xyes; then
68935   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68936 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68937    { (exit 1); exit 1; }; }
68938 fi
68939 cat >conftest.$ac_ext <<_ACEOF
68940 /* confdefs.h.  */
68941 _ACEOF
68942 cat confdefs.h >>conftest.$ac_ext
68943 cat >>conftest.$ac_ext <<_ACEOF
68944 /* end confdefs.h.  */
68945 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68946    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
68947 #define $ac_func innocuous_$ac_func
68948
68949 /* System header to define __stub macros and hopefully few prototypes,
68950     which can conflict with char $ac_func (); below.
68951     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68952     <limits.h> exists even on freestanding compilers.  */
68953
68954 #ifdef __STDC__
68955 # include <limits.h>
68956 #else
68957 # include <assert.h>
68958 #endif
68959
68960 #undef $ac_func
68961
68962 /* Override any gcc2 internal prototype to avoid an error.  */
68963 #ifdef __cplusplus
68964 extern "C"
68965 {
68966 #endif
68967 /* We use char because int might match the return type of a gcc2
68968    builtin and then its argument prototype would still apply.  */
68969 char $ac_func ();
68970 /* The GNU C library defines this for functions which it implements
68971     to always fail with ENOSYS.  Some functions are actually named
68972     something starting with __ and the normal name is an alias.  */
68973 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68974 choke me
68975 #else
68976 char (*f) () = $ac_func;
68977 #endif
68978 #ifdef __cplusplus
68979 }
68980 #endif
68981
68982 int
68983 main ()
68984 {
68985 return f != $ac_func;
68986   ;
68987   return 0;
68988 }
68989 _ACEOF
68990 rm -f conftest.$ac_objext conftest$ac_exeext
68991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68992   (eval $ac_link) 2>conftest.er1
68993   ac_status=$?
68994   grep -v '^ *+' conftest.er1 >conftest.err
68995   rm -f conftest.er1
68996   cat conftest.err >&5
68997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
68998   (exit $ac_status); } &&
68999          { ac_try='test -z "$ac_c_werror_flag"
69000                          || test ! -s conftest.err'
69001   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69002   (eval $ac_try) 2>&5
69003   ac_status=$?
69004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69005   (exit $ac_status); }; } &&
69006          { ac_try='test -s conftest$ac_exeext'
69007   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69008   (eval $ac_try) 2>&5
69009   ac_status=$?
69010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69011   (exit $ac_status); }; }; then
69012   eval "$as_ac_var=yes"
69013 else
69014   echo "$as_me: failed program was:" >&5
69015 sed 's/^/| /' conftest.$ac_ext >&5
69016
69017 eval "$as_ac_var=no"
69018 fi
69019 rm -f conftest.err conftest.$ac_objext \
69020       conftest$ac_exeext conftest.$ac_ext
69021 fi
69022 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69023 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69024 if test `eval echo '${'$as_ac_var'}'` = yes; then
69025   cat >>confdefs.h <<_ACEOF
69026 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69027 _ACEOF
69028
69029 fi
69030 done
69031
69032   else
69033
69034   echo "$as_me:$LINENO: checking for _logl declaration" >&5
69035 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
69036   if test x${glibcxx_cv_func__logl_use+set} != xset; then
69037     if test "${glibcxx_cv_func__logl_use+set}" = set; then
69038   echo $ECHO_N "(cached) $ECHO_C" >&6
69039 else
69040
69041
69042
69043       ac_ext=cc
69044 ac_cpp='$CXXCPP $CPPFLAGS'
69045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69048
69049       cat >conftest.$ac_ext <<_ACEOF
69050 /* confdefs.h.  */
69051 _ACEOF
69052 cat confdefs.h >>conftest.$ac_ext
69053 cat >>conftest.$ac_ext <<_ACEOF
69054 /* end confdefs.h.  */
69055 #include <math.h>
69056                       #ifdef HAVE_IEEEFP_H
69057                       #include <ieeefp.h>
69058                       #endif
69059
69060 int
69061 main ()
69062 {
69063  _logl(0);
69064   ;
69065   return 0;
69066 }
69067 _ACEOF
69068 rm -f conftest.$ac_objext
69069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69070   (eval $ac_compile) 2>conftest.er1
69071   ac_status=$?
69072   grep -v '^ *+' conftest.er1 >conftest.err
69073   rm -f conftest.er1
69074   cat conftest.err >&5
69075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69076   (exit $ac_status); } &&
69077          { ac_try='test -z "$ac_cxx_werror_flag"
69078                          || test ! -s conftest.err'
69079   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69080   (eval $ac_try) 2>&5
69081   ac_status=$?
69082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69083   (exit $ac_status); }; } &&
69084          { ac_try='test -s conftest.$ac_objext'
69085   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69086   (eval $ac_try) 2>&5
69087   ac_status=$?
69088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69089   (exit $ac_status); }; }; then
69090   glibcxx_cv_func__logl_use=yes
69091 else
69092   echo "$as_me: failed program was:" >&5
69093 sed 's/^/| /' conftest.$ac_ext >&5
69094
69095 glibcxx_cv_func__logl_use=no
69096 fi
69097 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69098       ac_ext=c
69099 ac_cpp='$CPP $CPPFLAGS'
69100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69103
69104
69105 fi
69106
69107   fi
69108   echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
69109 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
69110
69111     if test x$glibcxx_cv_func__logl_use = x"yes"; then
69112
69113 for ac_func in _logl
69114 do
69115 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69116 echo "$as_me:$LINENO: checking for $ac_func" >&5
69117 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69118 if eval "test \"\${$as_ac_var+set}\" = set"; then
69119   echo $ECHO_N "(cached) $ECHO_C" >&6
69120 else
69121   if test x$gcc_no_link = xyes; then
69122   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69123 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69124    { (exit 1); exit 1; }; }
69125 fi
69126 cat >conftest.$ac_ext <<_ACEOF
69127 /* confdefs.h.  */
69128 _ACEOF
69129 cat confdefs.h >>conftest.$ac_ext
69130 cat >>conftest.$ac_ext <<_ACEOF
69131 /* end confdefs.h.  */
69132 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69133    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69134 #define $ac_func innocuous_$ac_func
69135
69136 /* System header to define __stub macros and hopefully few prototypes,
69137     which can conflict with char $ac_func (); below.
69138     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69139     <limits.h> exists even on freestanding compilers.  */
69140
69141 #ifdef __STDC__
69142 # include <limits.h>
69143 #else
69144 # include <assert.h>
69145 #endif
69146
69147 #undef $ac_func
69148
69149 /* Override any gcc2 internal prototype to avoid an error.  */
69150 #ifdef __cplusplus
69151 extern "C"
69152 {
69153 #endif
69154 /* We use char because int might match the return type of a gcc2
69155    builtin and then its argument prototype would still apply.  */
69156 char $ac_func ();
69157 /* The GNU C library defines this for functions which it implements
69158     to always fail with ENOSYS.  Some functions are actually named
69159     something starting with __ and the normal name is an alias.  */
69160 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69161 choke me
69162 #else
69163 char (*f) () = $ac_func;
69164 #endif
69165 #ifdef __cplusplus
69166 }
69167 #endif
69168
69169 int
69170 main ()
69171 {
69172 return f != $ac_func;
69173   ;
69174   return 0;
69175 }
69176 _ACEOF
69177 rm -f conftest.$ac_objext conftest$ac_exeext
69178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69179   (eval $ac_link) 2>conftest.er1
69180   ac_status=$?
69181   grep -v '^ *+' conftest.er1 >conftest.err
69182   rm -f conftest.er1
69183   cat conftest.err >&5
69184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69185   (exit $ac_status); } &&
69186          { ac_try='test -z "$ac_c_werror_flag"
69187                          || test ! -s conftest.err'
69188   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69189   (eval $ac_try) 2>&5
69190   ac_status=$?
69191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69192   (exit $ac_status); }; } &&
69193          { ac_try='test -s conftest$ac_exeext'
69194   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69195   (eval $ac_try) 2>&5
69196   ac_status=$?
69197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69198   (exit $ac_status); }; }; then
69199   eval "$as_ac_var=yes"
69200 else
69201   echo "$as_me: failed program was:" >&5
69202 sed 's/^/| /' conftest.$ac_ext >&5
69203
69204 eval "$as_ac_var=no"
69205 fi
69206 rm -f conftest.err conftest.$ac_objext \
69207       conftest$ac_exeext conftest.$ac_ext
69208 fi
69209 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69210 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69211 if test `eval echo '${'$as_ac_var'}'` = yes; then
69212   cat >>confdefs.h <<_ACEOF
69213 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69214 _ACEOF
69215
69216 fi
69217 done
69218
69219     fi
69220   fi
69221
69222
69223
69224   echo "$as_me:$LINENO: checking for log10l declaration" >&5
69225 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
69226   if test x${glibcxx_cv_func_log10l_use+set} != xset; then
69227     if test "${glibcxx_cv_func_log10l_use+set}" = set; then
69228   echo $ECHO_N "(cached) $ECHO_C" >&6
69229 else
69230
69231
69232
69233       ac_ext=cc
69234 ac_cpp='$CXXCPP $CPPFLAGS'
69235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69238
69239       cat >conftest.$ac_ext <<_ACEOF
69240 /* confdefs.h.  */
69241 _ACEOF
69242 cat confdefs.h >>conftest.$ac_ext
69243 cat >>conftest.$ac_ext <<_ACEOF
69244 /* end confdefs.h.  */
69245 #include <math.h>
69246                       #ifdef HAVE_IEEEFP_H
69247                       #include <ieeefp.h>
69248                       #endif
69249
69250 int
69251 main ()
69252 {
69253  log10l(0);
69254   ;
69255   return 0;
69256 }
69257 _ACEOF
69258 rm -f conftest.$ac_objext
69259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69260   (eval $ac_compile) 2>conftest.er1
69261   ac_status=$?
69262   grep -v '^ *+' conftest.er1 >conftest.err
69263   rm -f conftest.er1
69264   cat conftest.err >&5
69265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69266   (exit $ac_status); } &&
69267          { ac_try='test -z "$ac_cxx_werror_flag"
69268                          || test ! -s conftest.err'
69269   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69270   (eval $ac_try) 2>&5
69271   ac_status=$?
69272   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69273   (exit $ac_status); }; } &&
69274          { ac_try='test -s conftest.$ac_objext'
69275   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69276   (eval $ac_try) 2>&5
69277   ac_status=$?
69278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69279   (exit $ac_status); }; }; then
69280   glibcxx_cv_func_log10l_use=yes
69281 else
69282   echo "$as_me: failed program was:" >&5
69283 sed 's/^/| /' conftest.$ac_ext >&5
69284
69285 glibcxx_cv_func_log10l_use=no
69286 fi
69287 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69288       ac_ext=c
69289 ac_cpp='$CPP $CPPFLAGS'
69290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69293
69294
69295 fi
69296
69297   fi
69298   echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
69299 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
69300
69301   if test x$glibcxx_cv_func_log10l_use = x"yes"; then
69302
69303 for ac_func in log10l
69304 do
69305 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69306 echo "$as_me:$LINENO: checking for $ac_func" >&5
69307 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69308 if eval "test \"\${$as_ac_var+set}\" = set"; then
69309   echo $ECHO_N "(cached) $ECHO_C" >&6
69310 else
69311   if test x$gcc_no_link = xyes; then
69312   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69313 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69314    { (exit 1); exit 1; }; }
69315 fi
69316 cat >conftest.$ac_ext <<_ACEOF
69317 /* confdefs.h.  */
69318 _ACEOF
69319 cat confdefs.h >>conftest.$ac_ext
69320 cat >>conftest.$ac_ext <<_ACEOF
69321 /* end confdefs.h.  */
69322 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69323    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69324 #define $ac_func innocuous_$ac_func
69325
69326 /* System header to define __stub macros and hopefully few prototypes,
69327     which can conflict with char $ac_func (); below.
69328     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69329     <limits.h> exists even on freestanding compilers.  */
69330
69331 #ifdef __STDC__
69332 # include <limits.h>
69333 #else
69334 # include <assert.h>
69335 #endif
69336
69337 #undef $ac_func
69338
69339 /* Override any gcc2 internal prototype to avoid an error.  */
69340 #ifdef __cplusplus
69341 extern "C"
69342 {
69343 #endif
69344 /* We use char because int might match the return type of a gcc2
69345    builtin and then its argument prototype would still apply.  */
69346 char $ac_func ();
69347 /* The GNU C library defines this for functions which it implements
69348     to always fail with ENOSYS.  Some functions are actually named
69349     something starting with __ and the normal name is an alias.  */
69350 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69351 choke me
69352 #else
69353 char (*f) () = $ac_func;
69354 #endif
69355 #ifdef __cplusplus
69356 }
69357 #endif
69358
69359 int
69360 main ()
69361 {
69362 return f != $ac_func;
69363   ;
69364   return 0;
69365 }
69366 _ACEOF
69367 rm -f conftest.$ac_objext conftest$ac_exeext
69368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69369   (eval $ac_link) 2>conftest.er1
69370   ac_status=$?
69371   grep -v '^ *+' conftest.er1 >conftest.err
69372   rm -f conftest.er1
69373   cat conftest.err >&5
69374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69375   (exit $ac_status); } &&
69376          { ac_try='test -z "$ac_c_werror_flag"
69377                          || test ! -s conftest.err'
69378   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69379   (eval $ac_try) 2>&5
69380   ac_status=$?
69381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69382   (exit $ac_status); }; } &&
69383          { ac_try='test -s conftest$ac_exeext'
69384   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69385   (eval $ac_try) 2>&5
69386   ac_status=$?
69387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69388   (exit $ac_status); }; }; then
69389   eval "$as_ac_var=yes"
69390 else
69391   echo "$as_me: failed program was:" >&5
69392 sed 's/^/| /' conftest.$ac_ext >&5
69393
69394 eval "$as_ac_var=no"
69395 fi
69396 rm -f conftest.err conftest.$ac_objext \
69397       conftest$ac_exeext conftest.$ac_ext
69398 fi
69399 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69400 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69401 if test `eval echo '${'$as_ac_var'}'` = yes; then
69402   cat >>confdefs.h <<_ACEOF
69403 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69404 _ACEOF
69405
69406 fi
69407 done
69408
69409   else
69410
69411   echo "$as_me:$LINENO: checking for _log10l declaration" >&5
69412 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
69413   if test x${glibcxx_cv_func__log10l_use+set} != xset; then
69414     if test "${glibcxx_cv_func__log10l_use+set}" = set; then
69415   echo $ECHO_N "(cached) $ECHO_C" >&6
69416 else
69417
69418
69419
69420       ac_ext=cc
69421 ac_cpp='$CXXCPP $CPPFLAGS'
69422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69425
69426       cat >conftest.$ac_ext <<_ACEOF
69427 /* confdefs.h.  */
69428 _ACEOF
69429 cat confdefs.h >>conftest.$ac_ext
69430 cat >>conftest.$ac_ext <<_ACEOF
69431 /* end confdefs.h.  */
69432 #include <math.h>
69433                       #ifdef HAVE_IEEEFP_H
69434                       #include <ieeefp.h>
69435                       #endif
69436
69437 int
69438 main ()
69439 {
69440  _log10l(0);
69441   ;
69442   return 0;
69443 }
69444 _ACEOF
69445 rm -f conftest.$ac_objext
69446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69447   (eval $ac_compile) 2>conftest.er1
69448   ac_status=$?
69449   grep -v '^ *+' conftest.er1 >conftest.err
69450   rm -f conftest.er1
69451   cat conftest.err >&5
69452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69453   (exit $ac_status); } &&
69454          { ac_try='test -z "$ac_cxx_werror_flag"
69455                          || test ! -s conftest.err'
69456   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69457   (eval $ac_try) 2>&5
69458   ac_status=$?
69459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69460   (exit $ac_status); }; } &&
69461          { ac_try='test -s conftest.$ac_objext'
69462   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69463   (eval $ac_try) 2>&5
69464   ac_status=$?
69465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69466   (exit $ac_status); }; }; then
69467   glibcxx_cv_func__log10l_use=yes
69468 else
69469   echo "$as_me: failed program was:" >&5
69470 sed 's/^/| /' conftest.$ac_ext >&5
69471
69472 glibcxx_cv_func__log10l_use=no
69473 fi
69474 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69475       ac_ext=c
69476 ac_cpp='$CPP $CPPFLAGS'
69477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69480
69481
69482 fi
69483
69484   fi
69485   echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
69486 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
69487
69488     if test x$glibcxx_cv_func__log10l_use = x"yes"; then
69489
69490 for ac_func in _log10l
69491 do
69492 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69493 echo "$as_me:$LINENO: checking for $ac_func" >&5
69494 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69495 if eval "test \"\${$as_ac_var+set}\" = set"; then
69496   echo $ECHO_N "(cached) $ECHO_C" >&6
69497 else
69498   if test x$gcc_no_link = xyes; then
69499   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69500 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69501    { (exit 1); exit 1; }; }
69502 fi
69503 cat >conftest.$ac_ext <<_ACEOF
69504 /* confdefs.h.  */
69505 _ACEOF
69506 cat confdefs.h >>conftest.$ac_ext
69507 cat >>conftest.$ac_ext <<_ACEOF
69508 /* end confdefs.h.  */
69509 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69510    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69511 #define $ac_func innocuous_$ac_func
69512
69513 /* System header to define __stub macros and hopefully few prototypes,
69514     which can conflict with char $ac_func (); below.
69515     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69516     <limits.h> exists even on freestanding compilers.  */
69517
69518 #ifdef __STDC__
69519 # include <limits.h>
69520 #else
69521 # include <assert.h>
69522 #endif
69523
69524 #undef $ac_func
69525
69526 /* Override any gcc2 internal prototype to avoid an error.  */
69527 #ifdef __cplusplus
69528 extern "C"
69529 {
69530 #endif
69531 /* We use char because int might match the return type of a gcc2
69532    builtin and then its argument prototype would still apply.  */
69533 char $ac_func ();
69534 /* The GNU C library defines this for functions which it implements
69535     to always fail with ENOSYS.  Some functions are actually named
69536     something starting with __ and the normal name is an alias.  */
69537 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69538 choke me
69539 #else
69540 char (*f) () = $ac_func;
69541 #endif
69542 #ifdef __cplusplus
69543 }
69544 #endif
69545
69546 int
69547 main ()
69548 {
69549 return f != $ac_func;
69550   ;
69551   return 0;
69552 }
69553 _ACEOF
69554 rm -f conftest.$ac_objext conftest$ac_exeext
69555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69556   (eval $ac_link) 2>conftest.er1
69557   ac_status=$?
69558   grep -v '^ *+' conftest.er1 >conftest.err
69559   rm -f conftest.er1
69560   cat conftest.err >&5
69561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69562   (exit $ac_status); } &&
69563          { ac_try='test -z "$ac_c_werror_flag"
69564                          || test ! -s conftest.err'
69565   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69566   (eval $ac_try) 2>&5
69567   ac_status=$?
69568   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69569   (exit $ac_status); }; } &&
69570          { ac_try='test -s conftest$ac_exeext'
69571   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69572   (eval $ac_try) 2>&5
69573   ac_status=$?
69574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69575   (exit $ac_status); }; }; then
69576   eval "$as_ac_var=yes"
69577 else
69578   echo "$as_me: failed program was:" >&5
69579 sed 's/^/| /' conftest.$ac_ext >&5
69580
69581 eval "$as_ac_var=no"
69582 fi
69583 rm -f conftest.err conftest.$ac_objext \
69584       conftest$ac_exeext conftest.$ac_ext
69585 fi
69586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69587 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69588 if test `eval echo '${'$as_ac_var'}'` = yes; then
69589   cat >>confdefs.h <<_ACEOF
69590 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69591 _ACEOF
69592
69593 fi
69594 done
69595
69596     fi
69597   fi
69598
69599
69600
69601   echo "$as_me:$LINENO: checking for modfl declaration" >&5
69602 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
69603   if test x${glibcxx_cv_func_modfl_use+set} != xset; then
69604     if test "${glibcxx_cv_func_modfl_use+set}" = set; then
69605   echo $ECHO_N "(cached) $ECHO_C" >&6
69606 else
69607
69608
69609
69610       ac_ext=cc
69611 ac_cpp='$CXXCPP $CPPFLAGS'
69612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69615
69616       cat >conftest.$ac_ext <<_ACEOF
69617 /* confdefs.h.  */
69618 _ACEOF
69619 cat confdefs.h >>conftest.$ac_ext
69620 cat >>conftest.$ac_ext <<_ACEOF
69621 /* end confdefs.h.  */
69622 #include <math.h>
69623 int
69624 main ()
69625 {
69626  modfl(0, 0);
69627   ;
69628   return 0;
69629 }
69630 _ACEOF
69631 rm -f conftest.$ac_objext
69632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69633   (eval $ac_compile) 2>conftest.er1
69634   ac_status=$?
69635   grep -v '^ *+' conftest.er1 >conftest.err
69636   rm -f conftest.er1
69637   cat conftest.err >&5
69638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69639   (exit $ac_status); } &&
69640          { ac_try='test -z "$ac_cxx_werror_flag"
69641                          || test ! -s conftest.err'
69642   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69643   (eval $ac_try) 2>&5
69644   ac_status=$?
69645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69646   (exit $ac_status); }; } &&
69647          { ac_try='test -s conftest.$ac_objext'
69648   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69649   (eval $ac_try) 2>&5
69650   ac_status=$?
69651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69652   (exit $ac_status); }; }; then
69653   glibcxx_cv_func_modfl_use=yes
69654 else
69655   echo "$as_me: failed program was:" >&5
69656 sed 's/^/| /' conftest.$ac_ext >&5
69657
69658 glibcxx_cv_func_modfl_use=no
69659 fi
69660 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69661       ac_ext=c
69662 ac_cpp='$CPP $CPPFLAGS'
69663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69666
69667
69668 fi
69669
69670   fi
69671   echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
69672 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
69673
69674   if test x$glibcxx_cv_func_modfl_use = x"yes"; then
69675
69676 for ac_func in modfl
69677 do
69678 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69679 echo "$as_me:$LINENO: checking for $ac_func" >&5
69680 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69681 if eval "test \"\${$as_ac_var+set}\" = set"; then
69682   echo $ECHO_N "(cached) $ECHO_C" >&6
69683 else
69684   if test x$gcc_no_link = xyes; then
69685   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69686 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69687    { (exit 1); exit 1; }; }
69688 fi
69689 cat >conftest.$ac_ext <<_ACEOF
69690 /* confdefs.h.  */
69691 _ACEOF
69692 cat confdefs.h >>conftest.$ac_ext
69693 cat >>conftest.$ac_ext <<_ACEOF
69694 /* end confdefs.h.  */
69695 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69696    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69697 #define $ac_func innocuous_$ac_func
69698
69699 /* System header to define __stub macros and hopefully few prototypes,
69700     which can conflict with char $ac_func (); below.
69701     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69702     <limits.h> exists even on freestanding compilers.  */
69703
69704 #ifdef __STDC__
69705 # include <limits.h>
69706 #else
69707 # include <assert.h>
69708 #endif
69709
69710 #undef $ac_func
69711
69712 /* Override any gcc2 internal prototype to avoid an error.  */
69713 #ifdef __cplusplus
69714 extern "C"
69715 {
69716 #endif
69717 /* We use char because int might match the return type of a gcc2
69718    builtin and then its argument prototype would still apply.  */
69719 char $ac_func ();
69720 /* The GNU C library defines this for functions which it implements
69721     to always fail with ENOSYS.  Some functions are actually named
69722     something starting with __ and the normal name is an alias.  */
69723 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69724 choke me
69725 #else
69726 char (*f) () = $ac_func;
69727 #endif
69728 #ifdef __cplusplus
69729 }
69730 #endif
69731
69732 int
69733 main ()
69734 {
69735 return f != $ac_func;
69736   ;
69737   return 0;
69738 }
69739 _ACEOF
69740 rm -f conftest.$ac_objext conftest$ac_exeext
69741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69742   (eval $ac_link) 2>conftest.er1
69743   ac_status=$?
69744   grep -v '^ *+' conftest.er1 >conftest.err
69745   rm -f conftest.er1
69746   cat conftest.err >&5
69747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69748   (exit $ac_status); } &&
69749          { ac_try='test -z "$ac_c_werror_flag"
69750                          || test ! -s conftest.err'
69751   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69752   (eval $ac_try) 2>&5
69753   ac_status=$?
69754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69755   (exit $ac_status); }; } &&
69756          { ac_try='test -s conftest$ac_exeext'
69757   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69758   (eval $ac_try) 2>&5
69759   ac_status=$?
69760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69761   (exit $ac_status); }; }; then
69762   eval "$as_ac_var=yes"
69763 else
69764   echo "$as_me: failed program was:" >&5
69765 sed 's/^/| /' conftest.$ac_ext >&5
69766
69767 eval "$as_ac_var=no"
69768 fi
69769 rm -f conftest.err conftest.$ac_objext \
69770       conftest$ac_exeext conftest.$ac_ext
69771 fi
69772 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69773 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69774 if test `eval echo '${'$as_ac_var'}'` = yes; then
69775   cat >>confdefs.h <<_ACEOF
69776 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69777 _ACEOF
69778
69779 fi
69780 done
69781
69782   else
69783
69784   echo "$as_me:$LINENO: checking for _modfl declaration" >&5
69785 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
69786   if test x${glibcxx_cv_func__modfl_use+set} != xset; then
69787     if test "${glibcxx_cv_func__modfl_use+set}" = set; then
69788   echo $ECHO_N "(cached) $ECHO_C" >&6
69789 else
69790
69791
69792
69793       ac_ext=cc
69794 ac_cpp='$CXXCPP $CPPFLAGS'
69795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69798
69799       cat >conftest.$ac_ext <<_ACEOF
69800 /* confdefs.h.  */
69801 _ACEOF
69802 cat confdefs.h >>conftest.$ac_ext
69803 cat >>conftest.$ac_ext <<_ACEOF
69804 /* end confdefs.h.  */
69805 #include <math.h>
69806 int
69807 main ()
69808 {
69809  _modfl(0, 0);
69810   ;
69811   return 0;
69812 }
69813 _ACEOF
69814 rm -f conftest.$ac_objext
69815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69816   (eval $ac_compile) 2>conftest.er1
69817   ac_status=$?
69818   grep -v '^ *+' conftest.er1 >conftest.err
69819   rm -f conftest.er1
69820   cat conftest.err >&5
69821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69822   (exit $ac_status); } &&
69823          { ac_try='test -z "$ac_cxx_werror_flag"
69824                          || test ! -s conftest.err'
69825   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69826   (eval $ac_try) 2>&5
69827   ac_status=$?
69828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69829   (exit $ac_status); }; } &&
69830          { ac_try='test -s conftest.$ac_objext'
69831   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69832   (eval $ac_try) 2>&5
69833   ac_status=$?
69834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69835   (exit $ac_status); }; }; then
69836   glibcxx_cv_func__modfl_use=yes
69837 else
69838   echo "$as_me: failed program was:" >&5
69839 sed 's/^/| /' conftest.$ac_ext >&5
69840
69841 glibcxx_cv_func__modfl_use=no
69842 fi
69843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69844       ac_ext=c
69845 ac_cpp='$CPP $CPPFLAGS'
69846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69849
69850
69851 fi
69852
69853   fi
69854   echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
69855 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
69856
69857     if test x$glibcxx_cv_func__modfl_use = x"yes"; then
69858
69859 for ac_func in _modfl
69860 do
69861 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69862 echo "$as_me:$LINENO: checking for $ac_func" >&5
69863 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69864 if eval "test \"\${$as_ac_var+set}\" = set"; then
69865   echo $ECHO_N "(cached) $ECHO_C" >&6
69866 else
69867   if test x$gcc_no_link = xyes; then
69868   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69869 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69870    { (exit 1); exit 1; }; }
69871 fi
69872 cat >conftest.$ac_ext <<_ACEOF
69873 /* confdefs.h.  */
69874 _ACEOF
69875 cat confdefs.h >>conftest.$ac_ext
69876 cat >>conftest.$ac_ext <<_ACEOF
69877 /* end confdefs.h.  */
69878 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69879    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
69880 #define $ac_func innocuous_$ac_func
69881
69882 /* System header to define __stub macros and hopefully few prototypes,
69883     which can conflict with char $ac_func (); below.
69884     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69885     <limits.h> exists even on freestanding compilers.  */
69886
69887 #ifdef __STDC__
69888 # include <limits.h>
69889 #else
69890 # include <assert.h>
69891 #endif
69892
69893 #undef $ac_func
69894
69895 /* Override any gcc2 internal prototype to avoid an error.  */
69896 #ifdef __cplusplus
69897 extern "C"
69898 {
69899 #endif
69900 /* We use char because int might match the return type of a gcc2
69901    builtin and then its argument prototype would still apply.  */
69902 char $ac_func ();
69903 /* The GNU C library defines this for functions which it implements
69904     to always fail with ENOSYS.  Some functions are actually named
69905     something starting with __ and the normal name is an alias.  */
69906 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69907 choke me
69908 #else
69909 char (*f) () = $ac_func;
69910 #endif
69911 #ifdef __cplusplus
69912 }
69913 #endif
69914
69915 int
69916 main ()
69917 {
69918 return f != $ac_func;
69919   ;
69920   return 0;
69921 }
69922 _ACEOF
69923 rm -f conftest.$ac_objext conftest$ac_exeext
69924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69925   (eval $ac_link) 2>conftest.er1
69926   ac_status=$?
69927   grep -v '^ *+' conftest.er1 >conftest.err
69928   rm -f conftest.er1
69929   cat conftest.err >&5
69930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69931   (exit $ac_status); } &&
69932          { ac_try='test -z "$ac_c_werror_flag"
69933                          || test ! -s conftest.err'
69934   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69935   (eval $ac_try) 2>&5
69936   ac_status=$?
69937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69938   (exit $ac_status); }; } &&
69939          { ac_try='test -s conftest$ac_exeext'
69940   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69941   (eval $ac_try) 2>&5
69942   ac_status=$?
69943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
69944   (exit $ac_status); }; }; then
69945   eval "$as_ac_var=yes"
69946 else
69947   echo "$as_me: failed program was:" >&5
69948 sed 's/^/| /' conftest.$ac_ext >&5
69949
69950 eval "$as_ac_var=no"
69951 fi
69952 rm -f conftest.err conftest.$ac_objext \
69953       conftest$ac_exeext conftest.$ac_ext
69954 fi
69955 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69956 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69957 if test `eval echo '${'$as_ac_var'}'` = yes; then
69958   cat >>confdefs.h <<_ACEOF
69959 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69960 _ACEOF
69961
69962 fi
69963 done
69964
69965     fi
69966   fi
69967
69968
69969
69970   echo "$as_me:$LINENO: checking for powl declaration" >&5
69971 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
69972   if test x${glibcxx_cv_func_powl_use+set} != xset; then
69973     if test "${glibcxx_cv_func_powl_use+set}" = set; then
69974   echo $ECHO_N "(cached) $ECHO_C" >&6
69975 else
69976
69977
69978
69979       ac_ext=cc
69980 ac_cpp='$CXXCPP $CPPFLAGS'
69981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69984
69985       cat >conftest.$ac_ext <<_ACEOF
69986 /* confdefs.h.  */
69987 _ACEOF
69988 cat confdefs.h >>conftest.$ac_ext
69989 cat >>conftest.$ac_ext <<_ACEOF
69990 /* end confdefs.h.  */
69991 #include <math.h>
69992 int
69993 main ()
69994 {
69995  powl(0, 0);
69996   ;
69997   return 0;
69998 }
69999 _ACEOF
70000 rm -f conftest.$ac_objext
70001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70002   (eval $ac_compile) 2>conftest.er1
70003   ac_status=$?
70004   grep -v '^ *+' conftest.er1 >conftest.err
70005   rm -f conftest.er1
70006   cat conftest.err >&5
70007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70008   (exit $ac_status); } &&
70009          { ac_try='test -z "$ac_cxx_werror_flag"
70010                          || test ! -s conftest.err'
70011   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70012   (eval $ac_try) 2>&5
70013   ac_status=$?
70014   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70015   (exit $ac_status); }; } &&
70016          { ac_try='test -s conftest.$ac_objext'
70017   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70018   (eval $ac_try) 2>&5
70019   ac_status=$?
70020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70021   (exit $ac_status); }; }; then
70022   glibcxx_cv_func_powl_use=yes
70023 else
70024   echo "$as_me: failed program was:" >&5
70025 sed 's/^/| /' conftest.$ac_ext >&5
70026
70027 glibcxx_cv_func_powl_use=no
70028 fi
70029 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70030       ac_ext=c
70031 ac_cpp='$CPP $CPPFLAGS'
70032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70035
70036
70037 fi
70038
70039   fi
70040   echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
70041 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
70042
70043   if test x$glibcxx_cv_func_powl_use = x"yes"; then
70044
70045 for ac_func in powl
70046 do
70047 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70048 echo "$as_me:$LINENO: checking for $ac_func" >&5
70049 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70050 if eval "test \"\${$as_ac_var+set}\" = set"; then
70051   echo $ECHO_N "(cached) $ECHO_C" >&6
70052 else
70053   if test x$gcc_no_link = xyes; then
70054   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70055 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70056    { (exit 1); exit 1; }; }
70057 fi
70058 cat >conftest.$ac_ext <<_ACEOF
70059 /* confdefs.h.  */
70060 _ACEOF
70061 cat confdefs.h >>conftest.$ac_ext
70062 cat >>conftest.$ac_ext <<_ACEOF
70063 /* end confdefs.h.  */
70064 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70065    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70066 #define $ac_func innocuous_$ac_func
70067
70068 /* System header to define __stub macros and hopefully few prototypes,
70069     which can conflict with char $ac_func (); below.
70070     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70071     <limits.h> exists even on freestanding compilers.  */
70072
70073 #ifdef __STDC__
70074 # include <limits.h>
70075 #else
70076 # include <assert.h>
70077 #endif
70078
70079 #undef $ac_func
70080
70081 /* Override any gcc2 internal prototype to avoid an error.  */
70082 #ifdef __cplusplus
70083 extern "C"
70084 {
70085 #endif
70086 /* We use char because int might match the return type of a gcc2
70087    builtin and then its argument prototype would still apply.  */
70088 char $ac_func ();
70089 /* The GNU C library defines this for functions which it implements
70090     to always fail with ENOSYS.  Some functions are actually named
70091     something starting with __ and the normal name is an alias.  */
70092 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70093 choke me
70094 #else
70095 char (*f) () = $ac_func;
70096 #endif
70097 #ifdef __cplusplus
70098 }
70099 #endif
70100
70101 int
70102 main ()
70103 {
70104 return f != $ac_func;
70105   ;
70106   return 0;
70107 }
70108 _ACEOF
70109 rm -f conftest.$ac_objext conftest$ac_exeext
70110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70111   (eval $ac_link) 2>conftest.er1
70112   ac_status=$?
70113   grep -v '^ *+' conftest.er1 >conftest.err
70114   rm -f conftest.er1
70115   cat conftest.err >&5
70116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70117   (exit $ac_status); } &&
70118          { ac_try='test -z "$ac_c_werror_flag"
70119                          || test ! -s conftest.err'
70120   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70121   (eval $ac_try) 2>&5
70122   ac_status=$?
70123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70124   (exit $ac_status); }; } &&
70125          { ac_try='test -s conftest$ac_exeext'
70126   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70127   (eval $ac_try) 2>&5
70128   ac_status=$?
70129   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70130   (exit $ac_status); }; }; then
70131   eval "$as_ac_var=yes"
70132 else
70133   echo "$as_me: failed program was:" >&5
70134 sed 's/^/| /' conftest.$ac_ext >&5
70135
70136 eval "$as_ac_var=no"
70137 fi
70138 rm -f conftest.err conftest.$ac_objext \
70139       conftest$ac_exeext conftest.$ac_ext
70140 fi
70141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70142 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70143 if test `eval echo '${'$as_ac_var'}'` = yes; then
70144   cat >>confdefs.h <<_ACEOF
70145 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70146 _ACEOF
70147
70148 fi
70149 done
70150
70151   else
70152
70153   echo "$as_me:$LINENO: checking for _powl declaration" >&5
70154 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
70155   if test x${glibcxx_cv_func__powl_use+set} != xset; then
70156     if test "${glibcxx_cv_func__powl_use+set}" = set; then
70157   echo $ECHO_N "(cached) $ECHO_C" >&6
70158 else
70159
70160
70161
70162       ac_ext=cc
70163 ac_cpp='$CXXCPP $CPPFLAGS'
70164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70167
70168       cat >conftest.$ac_ext <<_ACEOF
70169 /* confdefs.h.  */
70170 _ACEOF
70171 cat confdefs.h >>conftest.$ac_ext
70172 cat >>conftest.$ac_ext <<_ACEOF
70173 /* end confdefs.h.  */
70174 #include <math.h>
70175 int
70176 main ()
70177 {
70178  _powl(0, 0);
70179   ;
70180   return 0;
70181 }
70182 _ACEOF
70183 rm -f conftest.$ac_objext
70184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70185   (eval $ac_compile) 2>conftest.er1
70186   ac_status=$?
70187   grep -v '^ *+' conftest.er1 >conftest.err
70188   rm -f conftest.er1
70189   cat conftest.err >&5
70190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70191   (exit $ac_status); } &&
70192          { ac_try='test -z "$ac_cxx_werror_flag"
70193                          || test ! -s conftest.err'
70194   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70195   (eval $ac_try) 2>&5
70196   ac_status=$?
70197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70198   (exit $ac_status); }; } &&
70199          { ac_try='test -s conftest.$ac_objext'
70200   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70201   (eval $ac_try) 2>&5
70202   ac_status=$?
70203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70204   (exit $ac_status); }; }; then
70205   glibcxx_cv_func__powl_use=yes
70206 else
70207   echo "$as_me: failed program was:" >&5
70208 sed 's/^/| /' conftest.$ac_ext >&5
70209
70210 glibcxx_cv_func__powl_use=no
70211 fi
70212 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70213       ac_ext=c
70214 ac_cpp='$CPP $CPPFLAGS'
70215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70218
70219
70220 fi
70221
70222   fi
70223   echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
70224 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
70225
70226     if test x$glibcxx_cv_func__powl_use = x"yes"; then
70227
70228 for ac_func in _powl
70229 do
70230 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70231 echo "$as_me:$LINENO: checking for $ac_func" >&5
70232 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70233 if eval "test \"\${$as_ac_var+set}\" = set"; then
70234   echo $ECHO_N "(cached) $ECHO_C" >&6
70235 else
70236   if test x$gcc_no_link = xyes; then
70237   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70238 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70239    { (exit 1); exit 1; }; }
70240 fi
70241 cat >conftest.$ac_ext <<_ACEOF
70242 /* confdefs.h.  */
70243 _ACEOF
70244 cat confdefs.h >>conftest.$ac_ext
70245 cat >>conftest.$ac_ext <<_ACEOF
70246 /* end confdefs.h.  */
70247 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70248    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70249 #define $ac_func innocuous_$ac_func
70250
70251 /* System header to define __stub macros and hopefully few prototypes,
70252     which can conflict with char $ac_func (); below.
70253     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70254     <limits.h> exists even on freestanding compilers.  */
70255
70256 #ifdef __STDC__
70257 # include <limits.h>
70258 #else
70259 # include <assert.h>
70260 #endif
70261
70262 #undef $ac_func
70263
70264 /* Override any gcc2 internal prototype to avoid an error.  */
70265 #ifdef __cplusplus
70266 extern "C"
70267 {
70268 #endif
70269 /* We use char because int might match the return type of a gcc2
70270    builtin and then its argument prototype would still apply.  */
70271 char $ac_func ();
70272 /* The GNU C library defines this for functions which it implements
70273     to always fail with ENOSYS.  Some functions are actually named
70274     something starting with __ and the normal name is an alias.  */
70275 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70276 choke me
70277 #else
70278 char (*f) () = $ac_func;
70279 #endif
70280 #ifdef __cplusplus
70281 }
70282 #endif
70283
70284 int
70285 main ()
70286 {
70287 return f != $ac_func;
70288   ;
70289   return 0;
70290 }
70291 _ACEOF
70292 rm -f conftest.$ac_objext conftest$ac_exeext
70293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70294   (eval $ac_link) 2>conftest.er1
70295   ac_status=$?
70296   grep -v '^ *+' conftest.er1 >conftest.err
70297   rm -f conftest.er1
70298   cat conftest.err >&5
70299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70300   (exit $ac_status); } &&
70301          { ac_try='test -z "$ac_c_werror_flag"
70302                          || test ! -s conftest.err'
70303   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70304   (eval $ac_try) 2>&5
70305   ac_status=$?
70306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70307   (exit $ac_status); }; } &&
70308          { ac_try='test -s conftest$ac_exeext'
70309   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70310   (eval $ac_try) 2>&5
70311   ac_status=$?
70312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70313   (exit $ac_status); }; }; then
70314   eval "$as_ac_var=yes"
70315 else
70316   echo "$as_me: failed program was:" >&5
70317 sed 's/^/| /' conftest.$ac_ext >&5
70318
70319 eval "$as_ac_var=no"
70320 fi
70321 rm -f conftest.err conftest.$ac_objext \
70322       conftest$ac_exeext conftest.$ac_ext
70323 fi
70324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70325 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70326 if test `eval echo '${'$as_ac_var'}'` = yes; then
70327   cat >>confdefs.h <<_ACEOF
70328 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70329 _ACEOF
70330
70331 fi
70332 done
70333
70334     fi
70335   fi
70336
70337
70338
70339   echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
70340 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
70341   if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
70342     if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
70343   echo $ECHO_N "(cached) $ECHO_C" >&6
70344 else
70345
70346
70347
70348       ac_ext=cc
70349 ac_cpp='$CXXCPP $CPPFLAGS'
70350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70353
70354       cat >conftest.$ac_ext <<_ACEOF
70355 /* confdefs.h.  */
70356 _ACEOF
70357 cat confdefs.h >>conftest.$ac_ext
70358 cat >>conftest.$ac_ext <<_ACEOF
70359 /* end confdefs.h.  */
70360 #include <math.h>
70361                       #ifdef HAVE_IEEEFP_H
70362                       #include <ieeefp.h>
70363                       #endif
70364
70365 int
70366 main ()
70367 {
70368  sqrtl(0);
70369   ;
70370   return 0;
70371 }
70372 _ACEOF
70373 rm -f conftest.$ac_objext
70374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70375   (eval $ac_compile) 2>conftest.er1
70376   ac_status=$?
70377   grep -v '^ *+' conftest.er1 >conftest.err
70378   rm -f conftest.er1
70379   cat conftest.err >&5
70380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70381   (exit $ac_status); } &&
70382          { ac_try='test -z "$ac_cxx_werror_flag"
70383                          || test ! -s conftest.err'
70384   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70385   (eval $ac_try) 2>&5
70386   ac_status=$?
70387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70388   (exit $ac_status); }; } &&
70389          { ac_try='test -s conftest.$ac_objext'
70390   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70391   (eval $ac_try) 2>&5
70392   ac_status=$?
70393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70394   (exit $ac_status); }; }; then
70395   glibcxx_cv_func_sqrtl_use=yes
70396 else
70397   echo "$as_me: failed program was:" >&5
70398 sed 's/^/| /' conftest.$ac_ext >&5
70399
70400 glibcxx_cv_func_sqrtl_use=no
70401 fi
70402 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70403       ac_ext=c
70404 ac_cpp='$CPP $CPPFLAGS'
70405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70408
70409
70410 fi
70411
70412   fi
70413   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
70414 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
70415
70416   if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
70417
70418 for ac_func in sqrtl
70419 do
70420 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70421 echo "$as_me:$LINENO: checking for $ac_func" >&5
70422 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70423 if eval "test \"\${$as_ac_var+set}\" = set"; then
70424   echo $ECHO_N "(cached) $ECHO_C" >&6
70425 else
70426   if test x$gcc_no_link = xyes; then
70427   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70428 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70429    { (exit 1); exit 1; }; }
70430 fi
70431 cat >conftest.$ac_ext <<_ACEOF
70432 /* confdefs.h.  */
70433 _ACEOF
70434 cat confdefs.h >>conftest.$ac_ext
70435 cat >>conftest.$ac_ext <<_ACEOF
70436 /* end confdefs.h.  */
70437 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70438    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70439 #define $ac_func innocuous_$ac_func
70440
70441 /* System header to define __stub macros and hopefully few prototypes,
70442     which can conflict with char $ac_func (); below.
70443     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70444     <limits.h> exists even on freestanding compilers.  */
70445
70446 #ifdef __STDC__
70447 # include <limits.h>
70448 #else
70449 # include <assert.h>
70450 #endif
70451
70452 #undef $ac_func
70453
70454 /* Override any gcc2 internal prototype to avoid an error.  */
70455 #ifdef __cplusplus
70456 extern "C"
70457 {
70458 #endif
70459 /* We use char because int might match the return type of a gcc2
70460    builtin and then its argument prototype would still apply.  */
70461 char $ac_func ();
70462 /* The GNU C library defines this for functions which it implements
70463     to always fail with ENOSYS.  Some functions are actually named
70464     something starting with __ and the normal name is an alias.  */
70465 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70466 choke me
70467 #else
70468 char (*f) () = $ac_func;
70469 #endif
70470 #ifdef __cplusplus
70471 }
70472 #endif
70473
70474 int
70475 main ()
70476 {
70477 return f != $ac_func;
70478   ;
70479   return 0;
70480 }
70481 _ACEOF
70482 rm -f conftest.$ac_objext conftest$ac_exeext
70483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70484   (eval $ac_link) 2>conftest.er1
70485   ac_status=$?
70486   grep -v '^ *+' conftest.er1 >conftest.err
70487   rm -f conftest.er1
70488   cat conftest.err >&5
70489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70490   (exit $ac_status); } &&
70491          { ac_try='test -z "$ac_c_werror_flag"
70492                          || test ! -s conftest.err'
70493   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70494   (eval $ac_try) 2>&5
70495   ac_status=$?
70496   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70497   (exit $ac_status); }; } &&
70498          { ac_try='test -s conftest$ac_exeext'
70499   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70500   (eval $ac_try) 2>&5
70501   ac_status=$?
70502   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70503   (exit $ac_status); }; }; then
70504   eval "$as_ac_var=yes"
70505 else
70506   echo "$as_me: failed program was:" >&5
70507 sed 's/^/| /' conftest.$ac_ext >&5
70508
70509 eval "$as_ac_var=no"
70510 fi
70511 rm -f conftest.err conftest.$ac_objext \
70512       conftest$ac_exeext conftest.$ac_ext
70513 fi
70514 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70515 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70516 if test `eval echo '${'$as_ac_var'}'` = yes; then
70517   cat >>confdefs.h <<_ACEOF
70518 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70519 _ACEOF
70520
70521 fi
70522 done
70523
70524   else
70525
70526   echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
70527 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
70528   if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
70529     if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
70530   echo $ECHO_N "(cached) $ECHO_C" >&6
70531 else
70532
70533
70534
70535       ac_ext=cc
70536 ac_cpp='$CXXCPP $CPPFLAGS'
70537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70540
70541       cat >conftest.$ac_ext <<_ACEOF
70542 /* confdefs.h.  */
70543 _ACEOF
70544 cat confdefs.h >>conftest.$ac_ext
70545 cat >>conftest.$ac_ext <<_ACEOF
70546 /* end confdefs.h.  */
70547 #include <math.h>
70548                       #ifdef HAVE_IEEEFP_H
70549                       #include <ieeefp.h>
70550                       #endif
70551
70552 int
70553 main ()
70554 {
70555  _sqrtl(0);
70556   ;
70557   return 0;
70558 }
70559 _ACEOF
70560 rm -f conftest.$ac_objext
70561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70562   (eval $ac_compile) 2>conftest.er1
70563   ac_status=$?
70564   grep -v '^ *+' conftest.er1 >conftest.err
70565   rm -f conftest.er1
70566   cat conftest.err >&5
70567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70568   (exit $ac_status); } &&
70569          { ac_try='test -z "$ac_cxx_werror_flag"
70570                          || test ! -s conftest.err'
70571   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70572   (eval $ac_try) 2>&5
70573   ac_status=$?
70574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70575   (exit $ac_status); }; } &&
70576          { ac_try='test -s conftest.$ac_objext'
70577   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70578   (eval $ac_try) 2>&5
70579   ac_status=$?
70580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70581   (exit $ac_status); }; }; then
70582   glibcxx_cv_func__sqrtl_use=yes
70583 else
70584   echo "$as_me: failed program was:" >&5
70585 sed 's/^/| /' conftest.$ac_ext >&5
70586
70587 glibcxx_cv_func__sqrtl_use=no
70588 fi
70589 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70590       ac_ext=c
70591 ac_cpp='$CPP $CPPFLAGS'
70592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70595
70596
70597 fi
70598
70599   fi
70600   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
70601 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
70602
70603     if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
70604
70605 for ac_func in _sqrtl
70606 do
70607 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70608 echo "$as_me:$LINENO: checking for $ac_func" >&5
70609 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70610 if eval "test \"\${$as_ac_var+set}\" = set"; then
70611   echo $ECHO_N "(cached) $ECHO_C" >&6
70612 else
70613   if test x$gcc_no_link = xyes; then
70614   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70615 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70616    { (exit 1); exit 1; }; }
70617 fi
70618 cat >conftest.$ac_ext <<_ACEOF
70619 /* confdefs.h.  */
70620 _ACEOF
70621 cat confdefs.h >>conftest.$ac_ext
70622 cat >>conftest.$ac_ext <<_ACEOF
70623 /* end confdefs.h.  */
70624 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70625    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70626 #define $ac_func innocuous_$ac_func
70627
70628 /* System header to define __stub macros and hopefully few prototypes,
70629     which can conflict with char $ac_func (); below.
70630     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70631     <limits.h> exists even on freestanding compilers.  */
70632
70633 #ifdef __STDC__
70634 # include <limits.h>
70635 #else
70636 # include <assert.h>
70637 #endif
70638
70639 #undef $ac_func
70640
70641 /* Override any gcc2 internal prototype to avoid an error.  */
70642 #ifdef __cplusplus
70643 extern "C"
70644 {
70645 #endif
70646 /* We use char because int might match the return type of a gcc2
70647    builtin and then its argument prototype would still apply.  */
70648 char $ac_func ();
70649 /* The GNU C library defines this for functions which it implements
70650     to always fail with ENOSYS.  Some functions are actually named
70651     something starting with __ and the normal name is an alias.  */
70652 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70653 choke me
70654 #else
70655 char (*f) () = $ac_func;
70656 #endif
70657 #ifdef __cplusplus
70658 }
70659 #endif
70660
70661 int
70662 main ()
70663 {
70664 return f != $ac_func;
70665   ;
70666   return 0;
70667 }
70668 _ACEOF
70669 rm -f conftest.$ac_objext conftest$ac_exeext
70670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70671   (eval $ac_link) 2>conftest.er1
70672   ac_status=$?
70673   grep -v '^ *+' conftest.er1 >conftest.err
70674   rm -f conftest.er1
70675   cat conftest.err >&5
70676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70677   (exit $ac_status); } &&
70678          { ac_try='test -z "$ac_c_werror_flag"
70679                          || test ! -s conftest.err'
70680   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70681   (eval $ac_try) 2>&5
70682   ac_status=$?
70683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70684   (exit $ac_status); }; } &&
70685          { ac_try='test -s conftest$ac_exeext'
70686   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70687   (eval $ac_try) 2>&5
70688   ac_status=$?
70689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70690   (exit $ac_status); }; }; then
70691   eval "$as_ac_var=yes"
70692 else
70693   echo "$as_me: failed program was:" >&5
70694 sed 's/^/| /' conftest.$ac_ext >&5
70695
70696 eval "$as_ac_var=no"
70697 fi
70698 rm -f conftest.err conftest.$ac_objext \
70699       conftest$ac_exeext conftest.$ac_ext
70700 fi
70701 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70702 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70703 if test `eval echo '${'$as_ac_var'}'` = yes; then
70704   cat >>confdefs.h <<_ACEOF
70705 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70706 _ACEOF
70707
70708 fi
70709 done
70710
70711     fi
70712   fi
70713
70714
70715
70716   echo "$as_me:$LINENO: checking for sincosl declaration" >&5
70717 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
70718   if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
70719     if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
70720   echo $ECHO_N "(cached) $ECHO_C" >&6
70721 else
70722
70723
70724
70725       ac_ext=cc
70726 ac_cpp='$CXXCPP $CPPFLAGS'
70727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70730
70731       cat >conftest.$ac_ext <<_ACEOF
70732 /* confdefs.h.  */
70733 _ACEOF
70734 cat confdefs.h >>conftest.$ac_ext
70735 cat >>conftest.$ac_ext <<_ACEOF
70736 /* end confdefs.h.  */
70737 #include <math.h>
70738 int
70739 main ()
70740 {
70741  sincosl(0, 0, 0);
70742   ;
70743   return 0;
70744 }
70745 _ACEOF
70746 rm -f conftest.$ac_objext
70747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70748   (eval $ac_compile) 2>conftest.er1
70749   ac_status=$?
70750   grep -v '^ *+' conftest.er1 >conftest.err
70751   rm -f conftest.er1
70752   cat conftest.err >&5
70753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70754   (exit $ac_status); } &&
70755          { ac_try='test -z "$ac_cxx_werror_flag"
70756                          || test ! -s conftest.err'
70757   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70758   (eval $ac_try) 2>&5
70759   ac_status=$?
70760   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70761   (exit $ac_status); }; } &&
70762          { ac_try='test -s conftest.$ac_objext'
70763   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70764   (eval $ac_try) 2>&5
70765   ac_status=$?
70766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70767   (exit $ac_status); }; }; then
70768   glibcxx_cv_func_sincosl_use=yes
70769 else
70770   echo "$as_me: failed program was:" >&5
70771 sed 's/^/| /' conftest.$ac_ext >&5
70772
70773 glibcxx_cv_func_sincosl_use=no
70774 fi
70775 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70776       ac_ext=c
70777 ac_cpp='$CPP $CPPFLAGS'
70778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70781
70782
70783 fi
70784
70785   fi
70786   echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
70787 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
70788
70789   if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
70790
70791 for ac_func in sincosl
70792 do
70793 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70794 echo "$as_me:$LINENO: checking for $ac_func" >&5
70795 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70796 if eval "test \"\${$as_ac_var+set}\" = set"; then
70797   echo $ECHO_N "(cached) $ECHO_C" >&6
70798 else
70799   if test x$gcc_no_link = xyes; then
70800   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70801 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70802    { (exit 1); exit 1; }; }
70803 fi
70804 cat >conftest.$ac_ext <<_ACEOF
70805 /* confdefs.h.  */
70806 _ACEOF
70807 cat confdefs.h >>conftest.$ac_ext
70808 cat >>conftest.$ac_ext <<_ACEOF
70809 /* end confdefs.h.  */
70810 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70811    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70812 #define $ac_func innocuous_$ac_func
70813
70814 /* System header to define __stub macros and hopefully few prototypes,
70815     which can conflict with char $ac_func (); below.
70816     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70817     <limits.h> exists even on freestanding compilers.  */
70818
70819 #ifdef __STDC__
70820 # include <limits.h>
70821 #else
70822 # include <assert.h>
70823 #endif
70824
70825 #undef $ac_func
70826
70827 /* Override any gcc2 internal prototype to avoid an error.  */
70828 #ifdef __cplusplus
70829 extern "C"
70830 {
70831 #endif
70832 /* We use char because int might match the return type of a gcc2
70833    builtin and then its argument prototype would still apply.  */
70834 char $ac_func ();
70835 /* The GNU C library defines this for functions which it implements
70836     to always fail with ENOSYS.  Some functions are actually named
70837     something starting with __ and the normal name is an alias.  */
70838 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70839 choke me
70840 #else
70841 char (*f) () = $ac_func;
70842 #endif
70843 #ifdef __cplusplus
70844 }
70845 #endif
70846
70847 int
70848 main ()
70849 {
70850 return f != $ac_func;
70851   ;
70852   return 0;
70853 }
70854 _ACEOF
70855 rm -f conftest.$ac_objext conftest$ac_exeext
70856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70857   (eval $ac_link) 2>conftest.er1
70858   ac_status=$?
70859   grep -v '^ *+' conftest.er1 >conftest.err
70860   rm -f conftest.er1
70861   cat conftest.err >&5
70862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70863   (exit $ac_status); } &&
70864          { ac_try='test -z "$ac_c_werror_flag"
70865                          || test ! -s conftest.err'
70866   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70867   (eval $ac_try) 2>&5
70868   ac_status=$?
70869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70870   (exit $ac_status); }; } &&
70871          { ac_try='test -s conftest$ac_exeext'
70872   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70873   (eval $ac_try) 2>&5
70874   ac_status=$?
70875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70876   (exit $ac_status); }; }; then
70877   eval "$as_ac_var=yes"
70878 else
70879   echo "$as_me: failed program was:" >&5
70880 sed 's/^/| /' conftest.$ac_ext >&5
70881
70882 eval "$as_ac_var=no"
70883 fi
70884 rm -f conftest.err conftest.$ac_objext \
70885       conftest$ac_exeext conftest.$ac_ext
70886 fi
70887 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70888 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70889 if test `eval echo '${'$as_ac_var'}'` = yes; then
70890   cat >>confdefs.h <<_ACEOF
70891 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70892 _ACEOF
70893
70894 fi
70895 done
70896
70897   else
70898
70899   echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
70900 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
70901   if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
70902     if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
70903   echo $ECHO_N "(cached) $ECHO_C" >&6
70904 else
70905
70906
70907
70908       ac_ext=cc
70909 ac_cpp='$CXXCPP $CPPFLAGS'
70910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70913
70914       cat >conftest.$ac_ext <<_ACEOF
70915 /* confdefs.h.  */
70916 _ACEOF
70917 cat confdefs.h >>conftest.$ac_ext
70918 cat >>conftest.$ac_ext <<_ACEOF
70919 /* end confdefs.h.  */
70920 #include <math.h>
70921 int
70922 main ()
70923 {
70924  _sincosl(0, 0, 0);
70925   ;
70926   return 0;
70927 }
70928 _ACEOF
70929 rm -f conftest.$ac_objext
70930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70931   (eval $ac_compile) 2>conftest.er1
70932   ac_status=$?
70933   grep -v '^ *+' conftest.er1 >conftest.err
70934   rm -f conftest.er1
70935   cat conftest.err >&5
70936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70937   (exit $ac_status); } &&
70938          { ac_try='test -z "$ac_cxx_werror_flag"
70939                          || test ! -s conftest.err'
70940   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70941   (eval $ac_try) 2>&5
70942   ac_status=$?
70943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70944   (exit $ac_status); }; } &&
70945          { ac_try='test -s conftest.$ac_objext'
70946   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70947   (eval $ac_try) 2>&5
70948   ac_status=$?
70949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
70950   (exit $ac_status); }; }; then
70951   glibcxx_cv_func__sincosl_use=yes
70952 else
70953   echo "$as_me: failed program was:" >&5
70954 sed 's/^/| /' conftest.$ac_ext >&5
70955
70956 glibcxx_cv_func__sincosl_use=no
70957 fi
70958 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70959       ac_ext=c
70960 ac_cpp='$CPP $CPPFLAGS'
70961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70964
70965
70966 fi
70967
70968   fi
70969   echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
70970 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
70971
70972     if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
70973
70974 for ac_func in _sincosl
70975 do
70976 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70977 echo "$as_me:$LINENO: checking for $ac_func" >&5
70978 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70979 if eval "test \"\${$as_ac_var+set}\" = set"; then
70980   echo $ECHO_N "(cached) $ECHO_C" >&6
70981 else
70982   if test x$gcc_no_link = xyes; then
70983   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70984 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70985    { (exit 1); exit 1; }; }
70986 fi
70987 cat >conftest.$ac_ext <<_ACEOF
70988 /* confdefs.h.  */
70989 _ACEOF
70990 cat confdefs.h >>conftest.$ac_ext
70991 cat >>conftest.$ac_ext <<_ACEOF
70992 /* end confdefs.h.  */
70993 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70994    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
70995 #define $ac_func innocuous_$ac_func
70996
70997 /* System header to define __stub macros and hopefully few prototypes,
70998     which can conflict with char $ac_func (); below.
70999     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71000     <limits.h> exists even on freestanding compilers.  */
71001
71002 #ifdef __STDC__
71003 # include <limits.h>
71004 #else
71005 # include <assert.h>
71006 #endif
71007
71008 #undef $ac_func
71009
71010 /* Override any gcc2 internal prototype to avoid an error.  */
71011 #ifdef __cplusplus
71012 extern "C"
71013 {
71014 #endif
71015 /* We use char because int might match the return type of a gcc2
71016    builtin and then its argument prototype would still apply.  */
71017 char $ac_func ();
71018 /* The GNU C library defines this for functions which it implements
71019     to always fail with ENOSYS.  Some functions are actually named
71020     something starting with __ and the normal name is an alias.  */
71021 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71022 choke me
71023 #else
71024 char (*f) () = $ac_func;
71025 #endif
71026 #ifdef __cplusplus
71027 }
71028 #endif
71029
71030 int
71031 main ()
71032 {
71033 return f != $ac_func;
71034   ;
71035   return 0;
71036 }
71037 _ACEOF
71038 rm -f conftest.$ac_objext conftest$ac_exeext
71039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71040   (eval $ac_link) 2>conftest.er1
71041   ac_status=$?
71042   grep -v '^ *+' conftest.er1 >conftest.err
71043   rm -f conftest.er1
71044   cat conftest.err >&5
71045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71046   (exit $ac_status); } &&
71047          { ac_try='test -z "$ac_c_werror_flag"
71048                          || test ! -s conftest.err'
71049   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71050   (eval $ac_try) 2>&5
71051   ac_status=$?
71052   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71053   (exit $ac_status); }; } &&
71054          { ac_try='test -s conftest$ac_exeext'
71055   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71056   (eval $ac_try) 2>&5
71057   ac_status=$?
71058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71059   (exit $ac_status); }; }; then
71060   eval "$as_ac_var=yes"
71061 else
71062   echo "$as_me: failed program was:" >&5
71063 sed 's/^/| /' conftest.$ac_ext >&5
71064
71065 eval "$as_ac_var=no"
71066 fi
71067 rm -f conftest.err conftest.$ac_objext \
71068       conftest$ac_exeext conftest.$ac_ext
71069 fi
71070 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71071 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71072 if test `eval echo '${'$as_ac_var'}'` = yes; then
71073   cat >>confdefs.h <<_ACEOF
71074 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71075 _ACEOF
71076
71077 fi
71078 done
71079
71080     fi
71081   fi
71082
71083
71084
71085   echo "$as_me:$LINENO: checking for finitel declaration" >&5
71086 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
71087   if test x${glibcxx_cv_func_finitel_use+set} != xset; then
71088     if test "${glibcxx_cv_func_finitel_use+set}" = set; then
71089   echo $ECHO_N "(cached) $ECHO_C" >&6
71090 else
71091
71092
71093
71094       ac_ext=cc
71095 ac_cpp='$CXXCPP $CPPFLAGS'
71096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71099
71100       cat >conftest.$ac_ext <<_ACEOF
71101 /* confdefs.h.  */
71102 _ACEOF
71103 cat confdefs.h >>conftest.$ac_ext
71104 cat >>conftest.$ac_ext <<_ACEOF
71105 /* end confdefs.h.  */
71106 #include <math.h>
71107                       #ifdef HAVE_IEEEFP_H
71108                       #include <ieeefp.h>
71109                       #endif
71110
71111 int
71112 main ()
71113 {
71114  finitel(0);
71115   ;
71116   return 0;
71117 }
71118 _ACEOF
71119 rm -f conftest.$ac_objext
71120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71121   (eval $ac_compile) 2>conftest.er1
71122   ac_status=$?
71123   grep -v '^ *+' conftest.er1 >conftest.err
71124   rm -f conftest.er1
71125   cat conftest.err >&5
71126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71127   (exit $ac_status); } &&
71128          { ac_try='test -z "$ac_cxx_werror_flag"
71129                          || test ! -s conftest.err'
71130   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71131   (eval $ac_try) 2>&5
71132   ac_status=$?
71133   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71134   (exit $ac_status); }; } &&
71135          { ac_try='test -s conftest.$ac_objext'
71136   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71137   (eval $ac_try) 2>&5
71138   ac_status=$?
71139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71140   (exit $ac_status); }; }; then
71141   glibcxx_cv_func_finitel_use=yes
71142 else
71143   echo "$as_me: failed program was:" >&5
71144 sed 's/^/| /' conftest.$ac_ext >&5
71145
71146 glibcxx_cv_func_finitel_use=no
71147 fi
71148 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71149       ac_ext=c
71150 ac_cpp='$CPP $CPPFLAGS'
71151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71154
71155
71156 fi
71157
71158   fi
71159   echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
71160 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
71161
71162   if test x$glibcxx_cv_func_finitel_use = x"yes"; then
71163
71164 for ac_func in finitel
71165 do
71166 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71167 echo "$as_me:$LINENO: checking for $ac_func" >&5
71168 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71169 if eval "test \"\${$as_ac_var+set}\" = set"; then
71170   echo $ECHO_N "(cached) $ECHO_C" >&6
71171 else
71172   if test x$gcc_no_link = xyes; then
71173   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71174 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71175    { (exit 1); exit 1; }; }
71176 fi
71177 cat >conftest.$ac_ext <<_ACEOF
71178 /* confdefs.h.  */
71179 _ACEOF
71180 cat confdefs.h >>conftest.$ac_ext
71181 cat >>conftest.$ac_ext <<_ACEOF
71182 /* end confdefs.h.  */
71183 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71184    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71185 #define $ac_func innocuous_$ac_func
71186
71187 /* System header to define __stub macros and hopefully few prototypes,
71188     which can conflict with char $ac_func (); below.
71189     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71190     <limits.h> exists even on freestanding compilers.  */
71191
71192 #ifdef __STDC__
71193 # include <limits.h>
71194 #else
71195 # include <assert.h>
71196 #endif
71197
71198 #undef $ac_func
71199
71200 /* Override any gcc2 internal prototype to avoid an error.  */
71201 #ifdef __cplusplus
71202 extern "C"
71203 {
71204 #endif
71205 /* We use char because int might match the return type of a gcc2
71206    builtin and then its argument prototype would still apply.  */
71207 char $ac_func ();
71208 /* The GNU C library defines this for functions which it implements
71209     to always fail with ENOSYS.  Some functions are actually named
71210     something starting with __ and the normal name is an alias.  */
71211 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71212 choke me
71213 #else
71214 char (*f) () = $ac_func;
71215 #endif
71216 #ifdef __cplusplus
71217 }
71218 #endif
71219
71220 int
71221 main ()
71222 {
71223 return f != $ac_func;
71224   ;
71225   return 0;
71226 }
71227 _ACEOF
71228 rm -f conftest.$ac_objext conftest$ac_exeext
71229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71230   (eval $ac_link) 2>conftest.er1
71231   ac_status=$?
71232   grep -v '^ *+' conftest.er1 >conftest.err
71233   rm -f conftest.er1
71234   cat conftest.err >&5
71235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71236   (exit $ac_status); } &&
71237          { ac_try='test -z "$ac_c_werror_flag"
71238                          || test ! -s conftest.err'
71239   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71240   (eval $ac_try) 2>&5
71241   ac_status=$?
71242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71243   (exit $ac_status); }; } &&
71244          { ac_try='test -s conftest$ac_exeext'
71245   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71246   (eval $ac_try) 2>&5
71247   ac_status=$?
71248   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71249   (exit $ac_status); }; }; then
71250   eval "$as_ac_var=yes"
71251 else
71252   echo "$as_me: failed program was:" >&5
71253 sed 's/^/| /' conftest.$ac_ext >&5
71254
71255 eval "$as_ac_var=no"
71256 fi
71257 rm -f conftest.err conftest.$ac_objext \
71258       conftest$ac_exeext conftest.$ac_ext
71259 fi
71260 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71261 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71262 if test `eval echo '${'$as_ac_var'}'` = yes; then
71263   cat >>confdefs.h <<_ACEOF
71264 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71265 _ACEOF
71266
71267 fi
71268 done
71269
71270   else
71271
71272   echo "$as_me:$LINENO: checking for _finitel declaration" >&5
71273 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
71274   if test x${glibcxx_cv_func__finitel_use+set} != xset; then
71275     if test "${glibcxx_cv_func__finitel_use+set}" = set; then
71276   echo $ECHO_N "(cached) $ECHO_C" >&6
71277 else
71278
71279
71280
71281       ac_ext=cc
71282 ac_cpp='$CXXCPP $CPPFLAGS'
71283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71286
71287       cat >conftest.$ac_ext <<_ACEOF
71288 /* confdefs.h.  */
71289 _ACEOF
71290 cat confdefs.h >>conftest.$ac_ext
71291 cat >>conftest.$ac_ext <<_ACEOF
71292 /* end confdefs.h.  */
71293 #include <math.h>
71294                       #ifdef HAVE_IEEEFP_H
71295                       #include <ieeefp.h>
71296                       #endif
71297
71298 int
71299 main ()
71300 {
71301  _finitel(0);
71302   ;
71303   return 0;
71304 }
71305 _ACEOF
71306 rm -f conftest.$ac_objext
71307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71308   (eval $ac_compile) 2>conftest.er1
71309   ac_status=$?
71310   grep -v '^ *+' conftest.er1 >conftest.err
71311   rm -f conftest.er1
71312   cat conftest.err >&5
71313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71314   (exit $ac_status); } &&
71315          { ac_try='test -z "$ac_cxx_werror_flag"
71316                          || test ! -s conftest.err'
71317   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71318   (eval $ac_try) 2>&5
71319   ac_status=$?
71320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71321   (exit $ac_status); }; } &&
71322          { ac_try='test -s conftest.$ac_objext'
71323   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71324   (eval $ac_try) 2>&5
71325   ac_status=$?
71326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71327   (exit $ac_status); }; }; then
71328   glibcxx_cv_func__finitel_use=yes
71329 else
71330   echo "$as_me: failed program was:" >&5
71331 sed 's/^/| /' conftest.$ac_ext >&5
71332
71333 glibcxx_cv_func__finitel_use=no
71334 fi
71335 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71336       ac_ext=c
71337 ac_cpp='$CPP $CPPFLAGS'
71338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71341
71342
71343 fi
71344
71345   fi
71346   echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
71347 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
71348
71349     if test x$glibcxx_cv_func__finitel_use = x"yes"; then
71350
71351 for ac_func in _finitel
71352 do
71353 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71354 echo "$as_me:$LINENO: checking for $ac_func" >&5
71355 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71356 if eval "test \"\${$as_ac_var+set}\" = set"; then
71357   echo $ECHO_N "(cached) $ECHO_C" >&6
71358 else
71359   if test x$gcc_no_link = xyes; then
71360   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71361 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71362    { (exit 1); exit 1; }; }
71363 fi
71364 cat >conftest.$ac_ext <<_ACEOF
71365 /* confdefs.h.  */
71366 _ACEOF
71367 cat confdefs.h >>conftest.$ac_ext
71368 cat >>conftest.$ac_ext <<_ACEOF
71369 /* end confdefs.h.  */
71370 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71371    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71372 #define $ac_func innocuous_$ac_func
71373
71374 /* System header to define __stub macros and hopefully few prototypes,
71375     which can conflict with char $ac_func (); below.
71376     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71377     <limits.h> exists even on freestanding compilers.  */
71378
71379 #ifdef __STDC__
71380 # include <limits.h>
71381 #else
71382 # include <assert.h>
71383 #endif
71384
71385 #undef $ac_func
71386
71387 /* Override any gcc2 internal prototype to avoid an error.  */
71388 #ifdef __cplusplus
71389 extern "C"
71390 {
71391 #endif
71392 /* We use char because int might match the return type of a gcc2
71393    builtin and then its argument prototype would still apply.  */
71394 char $ac_func ();
71395 /* The GNU C library defines this for functions which it implements
71396     to always fail with ENOSYS.  Some functions are actually named
71397     something starting with __ and the normal name is an alias.  */
71398 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71399 choke me
71400 #else
71401 char (*f) () = $ac_func;
71402 #endif
71403 #ifdef __cplusplus
71404 }
71405 #endif
71406
71407 int
71408 main ()
71409 {
71410 return f != $ac_func;
71411   ;
71412   return 0;
71413 }
71414 _ACEOF
71415 rm -f conftest.$ac_objext conftest$ac_exeext
71416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71417   (eval $ac_link) 2>conftest.er1
71418   ac_status=$?
71419   grep -v '^ *+' conftest.er1 >conftest.err
71420   rm -f conftest.er1
71421   cat conftest.err >&5
71422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71423   (exit $ac_status); } &&
71424          { ac_try='test -z "$ac_c_werror_flag"
71425                          || test ! -s conftest.err'
71426   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71427   (eval $ac_try) 2>&5
71428   ac_status=$?
71429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71430   (exit $ac_status); }; } &&
71431          { ac_try='test -s conftest$ac_exeext'
71432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71433   (eval $ac_try) 2>&5
71434   ac_status=$?
71435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71436   (exit $ac_status); }; }; then
71437   eval "$as_ac_var=yes"
71438 else
71439   echo "$as_me: failed program was:" >&5
71440 sed 's/^/| /' conftest.$ac_ext >&5
71441
71442 eval "$as_ac_var=no"
71443 fi
71444 rm -f conftest.err conftest.$ac_objext \
71445       conftest$ac_exeext conftest.$ac_ext
71446 fi
71447 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71448 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71449 if test `eval echo '${'$as_ac_var'}'` = yes; then
71450   cat >>confdefs.h <<_ACEOF
71451 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71452 _ACEOF
71453
71454 fi
71455 done
71456
71457     fi
71458   fi
71459
71460
71461
71462
71463   echo "$as_me:$LINENO: checking for _float trig functions" >&5
71464 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
71465   if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
71466   echo $ECHO_N "(cached) $ECHO_C" >&6
71467 else
71468
71469
71470
71471     ac_ext=cc
71472 ac_cpp='$CXXCPP $CPPFLAGS'
71473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71476
71477     cat >conftest.$ac_ext <<_ACEOF
71478 /* confdefs.h.  */
71479 _ACEOF
71480 cat confdefs.h >>conftest.$ac_ext
71481 cat >>conftest.$ac_ext <<_ACEOF
71482 /* end confdefs.h.  */
71483 #include <math.h>
71484 int
71485 main ()
71486 {
71487  `for x in _acosf _asinf _atanf \
71488                                           _cosf _sinf _tanf \
71489                                           _coshf _sinhf _tanhf; do echo "$x (0);"; done`
71490   ;
71491   return 0;
71492 }
71493 _ACEOF
71494 rm -f conftest.$ac_objext
71495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71496   (eval $ac_compile) 2>conftest.er1
71497   ac_status=$?
71498   grep -v '^ *+' conftest.er1 >conftest.err
71499   rm -f conftest.er1
71500   cat conftest.err >&5
71501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71502   (exit $ac_status); } &&
71503          { ac_try='test -z "$ac_cxx_werror_flag"
71504                          || test ! -s conftest.err'
71505   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71506   (eval $ac_try) 2>&5
71507   ac_status=$?
71508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71509   (exit $ac_status); }; } &&
71510          { ac_try='test -s conftest.$ac_objext'
71511   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71512   (eval $ac_try) 2>&5
71513   ac_status=$?
71514   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71515   (exit $ac_status); }; }; then
71516   glibcxx_cv_func__float_trig_use=yes
71517 else
71518   echo "$as_me: failed program was:" >&5
71519 sed 's/^/| /' conftest.$ac_ext >&5
71520
71521 glibcxx_cv_func__float_trig_use=no
71522 fi
71523 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71524     ac_ext=c
71525 ac_cpp='$CPP $CPPFLAGS'
71526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71529
71530 fi
71531
71532   echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
71533 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
71534   if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
71535
71536
71537
71538
71539
71540
71541
71542
71543
71544 for ac_func in _acosf _asinf _atanf \
71545                                           _cosf _sinf _tanf \
71546                                           _coshf _sinhf _tanhf
71547 do
71548 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71549 echo "$as_me:$LINENO: checking for $ac_func" >&5
71550 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71551 if eval "test \"\${$as_ac_var+set}\" = set"; then
71552   echo $ECHO_N "(cached) $ECHO_C" >&6
71553 else
71554   if test x$gcc_no_link = xyes; then
71555   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71556 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71557    { (exit 1); exit 1; }; }
71558 fi
71559 cat >conftest.$ac_ext <<_ACEOF
71560 /* confdefs.h.  */
71561 _ACEOF
71562 cat confdefs.h >>conftest.$ac_ext
71563 cat >>conftest.$ac_ext <<_ACEOF
71564 /* end confdefs.h.  */
71565 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71566    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71567 #define $ac_func innocuous_$ac_func
71568
71569 /* System header to define __stub macros and hopefully few prototypes,
71570     which can conflict with char $ac_func (); below.
71571     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71572     <limits.h> exists even on freestanding compilers.  */
71573
71574 #ifdef __STDC__
71575 # include <limits.h>
71576 #else
71577 # include <assert.h>
71578 #endif
71579
71580 #undef $ac_func
71581
71582 /* Override any gcc2 internal prototype to avoid an error.  */
71583 #ifdef __cplusplus
71584 extern "C"
71585 {
71586 #endif
71587 /* We use char because int might match the return type of a gcc2
71588    builtin and then its argument prototype would still apply.  */
71589 char $ac_func ();
71590 /* The GNU C library defines this for functions which it implements
71591     to always fail with ENOSYS.  Some functions are actually named
71592     something starting with __ and the normal name is an alias.  */
71593 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71594 choke me
71595 #else
71596 char (*f) () = $ac_func;
71597 #endif
71598 #ifdef __cplusplus
71599 }
71600 #endif
71601
71602 int
71603 main ()
71604 {
71605 return f != $ac_func;
71606   ;
71607   return 0;
71608 }
71609 _ACEOF
71610 rm -f conftest.$ac_objext conftest$ac_exeext
71611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71612   (eval $ac_link) 2>conftest.er1
71613   ac_status=$?
71614   grep -v '^ *+' conftest.er1 >conftest.err
71615   rm -f conftest.er1
71616   cat conftest.err >&5
71617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71618   (exit $ac_status); } &&
71619          { ac_try='test -z "$ac_c_werror_flag"
71620                          || test ! -s conftest.err'
71621   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71622   (eval $ac_try) 2>&5
71623   ac_status=$?
71624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71625   (exit $ac_status); }; } &&
71626          { ac_try='test -s conftest$ac_exeext'
71627   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71628   (eval $ac_try) 2>&5
71629   ac_status=$?
71630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71631   (exit $ac_status); }; }; then
71632   eval "$as_ac_var=yes"
71633 else
71634   echo "$as_me: failed program was:" >&5
71635 sed 's/^/| /' conftest.$ac_ext >&5
71636
71637 eval "$as_ac_var=no"
71638 fi
71639 rm -f conftest.err conftest.$ac_objext \
71640       conftest$ac_exeext conftest.$ac_ext
71641 fi
71642 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71643 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71644 if test `eval echo '${'$as_ac_var'}'` = yes; then
71645   cat >>confdefs.h <<_ACEOF
71646 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71647 _ACEOF
71648
71649 fi
71650 done
71651
71652   fi
71653
71654
71655   echo "$as_me:$LINENO: checking for _float round functions" >&5
71656 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
71657   if test "${glibcxx_cv_func__float_round_use+set}" = set; then
71658   echo $ECHO_N "(cached) $ECHO_C" >&6
71659 else
71660
71661
71662
71663     ac_ext=cc
71664 ac_cpp='$CXXCPP $CPPFLAGS'
71665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71668
71669     cat >conftest.$ac_ext <<_ACEOF
71670 /* confdefs.h.  */
71671 _ACEOF
71672 cat confdefs.h >>conftest.$ac_ext
71673 cat >>conftest.$ac_ext <<_ACEOF
71674 /* end confdefs.h.  */
71675 #include <math.h>
71676 int
71677 main ()
71678 {
71679  `for x in _ceilf _floorf; do echo "$x (0);"; done`
71680   ;
71681   return 0;
71682 }
71683 _ACEOF
71684 rm -f conftest.$ac_objext
71685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71686   (eval $ac_compile) 2>conftest.er1
71687   ac_status=$?
71688   grep -v '^ *+' conftest.er1 >conftest.err
71689   rm -f conftest.er1
71690   cat conftest.err >&5
71691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71692   (exit $ac_status); } &&
71693          { ac_try='test -z "$ac_cxx_werror_flag"
71694                          || test ! -s conftest.err'
71695   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71696   (eval $ac_try) 2>&5
71697   ac_status=$?
71698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71699   (exit $ac_status); }; } &&
71700          { ac_try='test -s conftest.$ac_objext'
71701   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71702   (eval $ac_try) 2>&5
71703   ac_status=$?
71704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71705   (exit $ac_status); }; }; then
71706   glibcxx_cv_func__float_round_use=yes
71707 else
71708   echo "$as_me: failed program was:" >&5
71709 sed 's/^/| /' conftest.$ac_ext >&5
71710
71711 glibcxx_cv_func__float_round_use=no
71712 fi
71713 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71714     ac_ext=c
71715 ac_cpp='$CPP $CPPFLAGS'
71716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71719
71720 fi
71721
71722   echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
71723 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
71724   if test x$glibcxx_cv_func__float_round_use = x"yes"; then
71725
71726
71727 for ac_func in _ceilf _floorf
71728 do
71729 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71730 echo "$as_me:$LINENO: checking for $ac_func" >&5
71731 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71732 if eval "test \"\${$as_ac_var+set}\" = set"; then
71733   echo $ECHO_N "(cached) $ECHO_C" >&6
71734 else
71735   if test x$gcc_no_link = xyes; then
71736   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71737 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71738    { (exit 1); exit 1; }; }
71739 fi
71740 cat >conftest.$ac_ext <<_ACEOF
71741 /* confdefs.h.  */
71742 _ACEOF
71743 cat confdefs.h >>conftest.$ac_ext
71744 cat >>conftest.$ac_ext <<_ACEOF
71745 /* end confdefs.h.  */
71746 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71747    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71748 #define $ac_func innocuous_$ac_func
71749
71750 /* System header to define __stub macros and hopefully few prototypes,
71751     which can conflict with char $ac_func (); below.
71752     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71753     <limits.h> exists even on freestanding compilers.  */
71754
71755 #ifdef __STDC__
71756 # include <limits.h>
71757 #else
71758 # include <assert.h>
71759 #endif
71760
71761 #undef $ac_func
71762
71763 /* Override any gcc2 internal prototype to avoid an error.  */
71764 #ifdef __cplusplus
71765 extern "C"
71766 {
71767 #endif
71768 /* We use char because int might match the return type of a gcc2
71769    builtin and then its argument prototype would still apply.  */
71770 char $ac_func ();
71771 /* The GNU C library defines this for functions which it implements
71772     to always fail with ENOSYS.  Some functions are actually named
71773     something starting with __ and the normal name is an alias.  */
71774 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71775 choke me
71776 #else
71777 char (*f) () = $ac_func;
71778 #endif
71779 #ifdef __cplusplus
71780 }
71781 #endif
71782
71783 int
71784 main ()
71785 {
71786 return f != $ac_func;
71787   ;
71788   return 0;
71789 }
71790 _ACEOF
71791 rm -f conftest.$ac_objext conftest$ac_exeext
71792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71793   (eval $ac_link) 2>conftest.er1
71794   ac_status=$?
71795   grep -v '^ *+' conftest.er1 >conftest.err
71796   rm -f conftest.er1
71797   cat conftest.err >&5
71798   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71799   (exit $ac_status); } &&
71800          { ac_try='test -z "$ac_c_werror_flag"
71801                          || test ! -s conftest.err'
71802   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71803   (eval $ac_try) 2>&5
71804   ac_status=$?
71805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71806   (exit $ac_status); }; } &&
71807          { ac_try='test -s conftest$ac_exeext'
71808   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71809   (eval $ac_try) 2>&5
71810   ac_status=$?
71811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71812   (exit $ac_status); }; }; then
71813   eval "$as_ac_var=yes"
71814 else
71815   echo "$as_me: failed program was:" >&5
71816 sed 's/^/| /' conftest.$ac_ext >&5
71817
71818 eval "$as_ac_var=no"
71819 fi
71820 rm -f conftest.err conftest.$ac_objext \
71821       conftest$ac_exeext conftest.$ac_ext
71822 fi
71823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71824 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71825 if test `eval echo '${'$as_ac_var'}'` = yes; then
71826   cat >>confdefs.h <<_ACEOF
71827 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71828 _ACEOF
71829
71830 fi
71831 done
71832
71833   fi
71834
71835
71836
71837   echo "$as_me:$LINENO: checking for _long double trig functions" >&5
71838 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
71839   if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
71840   echo $ECHO_N "(cached) $ECHO_C" >&6
71841 else
71842
71843
71844
71845     ac_ext=cc
71846 ac_cpp='$CXXCPP $CPPFLAGS'
71847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71850
71851     cat >conftest.$ac_ext <<_ACEOF
71852 /* confdefs.h.  */
71853 _ACEOF
71854 cat confdefs.h >>conftest.$ac_ext
71855 cat >>conftest.$ac_ext <<_ACEOF
71856 /* end confdefs.h.  */
71857 #include <math.h>
71858 int
71859 main ()
71860 {
71861  `for x in _acosl _asinl _atanl \
71862                                           _cosl _sinl _tanl \
71863                                           _coshl _sinhl _tanhl; do echo "$x (0);"; done`
71864   ;
71865   return 0;
71866 }
71867 _ACEOF
71868 rm -f conftest.$ac_objext
71869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71870   (eval $ac_compile) 2>conftest.er1
71871   ac_status=$?
71872   grep -v '^ *+' conftest.er1 >conftest.err
71873   rm -f conftest.er1
71874   cat conftest.err >&5
71875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71876   (exit $ac_status); } &&
71877          { ac_try='test -z "$ac_cxx_werror_flag"
71878                          || test ! -s conftest.err'
71879   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71880   (eval $ac_try) 2>&5
71881   ac_status=$?
71882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71883   (exit $ac_status); }; } &&
71884          { ac_try='test -s conftest.$ac_objext'
71885   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71886   (eval $ac_try) 2>&5
71887   ac_status=$?
71888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71889   (exit $ac_status); }; }; then
71890   glibcxx_cv_func__long_double_trig_use=yes
71891 else
71892   echo "$as_me: failed program was:" >&5
71893 sed 's/^/| /' conftest.$ac_ext >&5
71894
71895 glibcxx_cv_func__long_double_trig_use=no
71896 fi
71897 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71898     ac_ext=c
71899 ac_cpp='$CPP $CPPFLAGS'
71900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71903
71904 fi
71905
71906   echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
71907 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
71908   if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
71909
71910
71911
71912
71913
71914
71915
71916
71917
71918 for ac_func in _acosl _asinl _atanl \
71919                                           _cosl _sinl _tanl \
71920                                           _coshl _sinhl _tanhl
71921 do
71922 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71923 echo "$as_me:$LINENO: checking for $ac_func" >&5
71924 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71925 if eval "test \"\${$as_ac_var+set}\" = set"; then
71926   echo $ECHO_N "(cached) $ECHO_C" >&6
71927 else
71928   if test x$gcc_no_link = xyes; then
71929   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71930 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71931    { (exit 1); exit 1; }; }
71932 fi
71933 cat >conftest.$ac_ext <<_ACEOF
71934 /* confdefs.h.  */
71935 _ACEOF
71936 cat confdefs.h >>conftest.$ac_ext
71937 cat >>conftest.$ac_ext <<_ACEOF
71938 /* end confdefs.h.  */
71939 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71940    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
71941 #define $ac_func innocuous_$ac_func
71942
71943 /* System header to define __stub macros and hopefully few prototypes,
71944     which can conflict with char $ac_func (); below.
71945     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71946     <limits.h> exists even on freestanding compilers.  */
71947
71948 #ifdef __STDC__
71949 # include <limits.h>
71950 #else
71951 # include <assert.h>
71952 #endif
71953
71954 #undef $ac_func
71955
71956 /* Override any gcc2 internal prototype to avoid an error.  */
71957 #ifdef __cplusplus
71958 extern "C"
71959 {
71960 #endif
71961 /* We use char because int might match the return type of a gcc2
71962    builtin and then its argument prototype would still apply.  */
71963 char $ac_func ();
71964 /* The GNU C library defines this for functions which it implements
71965     to always fail with ENOSYS.  Some functions are actually named
71966     something starting with __ and the normal name is an alias.  */
71967 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71968 choke me
71969 #else
71970 char (*f) () = $ac_func;
71971 #endif
71972 #ifdef __cplusplus
71973 }
71974 #endif
71975
71976 int
71977 main ()
71978 {
71979 return f != $ac_func;
71980   ;
71981   return 0;
71982 }
71983 _ACEOF
71984 rm -f conftest.$ac_objext conftest$ac_exeext
71985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71986   (eval $ac_link) 2>conftest.er1
71987   ac_status=$?
71988   grep -v '^ *+' conftest.er1 >conftest.err
71989   rm -f conftest.er1
71990   cat conftest.err >&5
71991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71992   (exit $ac_status); } &&
71993          { ac_try='test -z "$ac_c_werror_flag"
71994                          || test ! -s conftest.err'
71995   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71996   (eval $ac_try) 2>&5
71997   ac_status=$?
71998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
71999   (exit $ac_status); }; } &&
72000          { ac_try='test -s conftest$ac_exeext'
72001   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72002   (eval $ac_try) 2>&5
72003   ac_status=$?
72004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72005   (exit $ac_status); }; }; then
72006   eval "$as_ac_var=yes"
72007 else
72008   echo "$as_me: failed program was:" >&5
72009 sed 's/^/| /' conftest.$ac_ext >&5
72010
72011 eval "$as_ac_var=no"
72012 fi
72013 rm -f conftest.err conftest.$ac_objext \
72014       conftest$ac_exeext conftest.$ac_ext
72015 fi
72016 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72017 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72018 if test `eval echo '${'$as_ac_var'}'` = yes; then
72019   cat >>confdefs.h <<_ACEOF
72020 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72021 _ACEOF
72022
72023 fi
72024 done
72025
72026   fi
72027
72028
72029   echo "$as_me:$LINENO: checking for _long double round functions" >&5
72030 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
72031   if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
72032   echo $ECHO_N "(cached) $ECHO_C" >&6
72033 else
72034
72035
72036
72037     ac_ext=cc
72038 ac_cpp='$CXXCPP $CPPFLAGS'
72039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72042
72043     cat >conftest.$ac_ext <<_ACEOF
72044 /* confdefs.h.  */
72045 _ACEOF
72046 cat confdefs.h >>conftest.$ac_ext
72047 cat >>conftest.$ac_ext <<_ACEOF
72048 /* end confdefs.h.  */
72049 #include <math.h>
72050 int
72051 main ()
72052 {
72053  `for x in _ceill _floorl; do echo "$x (0);"; done`
72054   ;
72055   return 0;
72056 }
72057 _ACEOF
72058 rm -f conftest.$ac_objext
72059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72060   (eval $ac_compile) 2>conftest.er1
72061   ac_status=$?
72062   grep -v '^ *+' conftest.er1 >conftest.err
72063   rm -f conftest.er1
72064   cat conftest.err >&5
72065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72066   (exit $ac_status); } &&
72067          { ac_try='test -z "$ac_cxx_werror_flag"
72068                          || test ! -s conftest.err'
72069   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72070   (eval $ac_try) 2>&5
72071   ac_status=$?
72072   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72073   (exit $ac_status); }; } &&
72074          { ac_try='test -s conftest.$ac_objext'
72075   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72076   (eval $ac_try) 2>&5
72077   ac_status=$?
72078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72079   (exit $ac_status); }; }; then
72080   glibcxx_cv_func__long_double_round_use=yes
72081 else
72082   echo "$as_me: failed program was:" >&5
72083 sed 's/^/| /' conftest.$ac_ext >&5
72084
72085 glibcxx_cv_func__long_double_round_use=no
72086 fi
72087 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72088     ac_ext=c
72089 ac_cpp='$CPP $CPPFLAGS'
72090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72093
72094 fi
72095
72096   echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
72097 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
72098   if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
72099
72100
72101 for ac_func in _ceill _floorl
72102 do
72103 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72104 echo "$as_me:$LINENO: checking for $ac_func" >&5
72105 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72106 if eval "test \"\${$as_ac_var+set}\" = set"; then
72107   echo $ECHO_N "(cached) $ECHO_C" >&6
72108 else
72109   if test x$gcc_no_link = xyes; then
72110   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72111 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72112    { (exit 1); exit 1; }; }
72113 fi
72114 cat >conftest.$ac_ext <<_ACEOF
72115 /* confdefs.h.  */
72116 _ACEOF
72117 cat confdefs.h >>conftest.$ac_ext
72118 cat >>conftest.$ac_ext <<_ACEOF
72119 /* end confdefs.h.  */
72120 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72121    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
72122 #define $ac_func innocuous_$ac_func
72123
72124 /* System header to define __stub macros and hopefully few prototypes,
72125     which can conflict with char $ac_func (); below.
72126     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72127     <limits.h> exists even on freestanding compilers.  */
72128
72129 #ifdef __STDC__
72130 # include <limits.h>
72131 #else
72132 # include <assert.h>
72133 #endif
72134
72135 #undef $ac_func
72136
72137 /* Override any gcc2 internal prototype to avoid an error.  */
72138 #ifdef __cplusplus
72139 extern "C"
72140 {
72141 #endif
72142 /* We use char because int might match the return type of a gcc2
72143    builtin and then its argument prototype would still apply.  */
72144 char $ac_func ();
72145 /* The GNU C library defines this for functions which it implements
72146     to always fail with ENOSYS.  Some functions are actually named
72147     something starting with __ and the normal name is an alias.  */
72148 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72149 choke me
72150 #else
72151 char (*f) () = $ac_func;
72152 #endif
72153 #ifdef __cplusplus
72154 }
72155 #endif
72156
72157 int
72158 main ()
72159 {
72160 return f != $ac_func;
72161   ;
72162   return 0;
72163 }
72164 _ACEOF
72165 rm -f conftest.$ac_objext conftest$ac_exeext
72166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72167   (eval $ac_link) 2>conftest.er1
72168   ac_status=$?
72169   grep -v '^ *+' conftest.er1 >conftest.err
72170   rm -f conftest.er1
72171   cat conftest.err >&5
72172   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72173   (exit $ac_status); } &&
72174          { ac_try='test -z "$ac_c_werror_flag"
72175                          || test ! -s conftest.err'
72176   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72177   (eval $ac_try) 2>&5
72178   ac_status=$?
72179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72180   (exit $ac_status); }; } &&
72181          { ac_try='test -s conftest$ac_exeext'
72182   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72183   (eval $ac_try) 2>&5
72184   ac_status=$?
72185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72186   (exit $ac_status); }; }; then
72187   eval "$as_ac_var=yes"
72188 else
72189   echo "$as_me: failed program was:" >&5
72190 sed 's/^/| /' conftest.$ac_ext >&5
72191
72192 eval "$as_ac_var=no"
72193 fi
72194 rm -f conftest.err conftest.$ac_objext \
72195       conftest$ac_exeext conftest.$ac_ext
72196 fi
72197 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72198 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72199 if test `eval echo '${'$as_ac_var'}'` = yes; then
72200   cat >>confdefs.h <<_ACEOF
72201 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72202 _ACEOF
72203
72204 fi
72205 done
72206
72207   fi
72208
72209
72210   LIBS="$ac_save_LIBS"
72211   CXXFLAGS="$ac_save_CXXFLAGS"
72212
72213
72214
72215   echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
72216 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
72217   if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
72218     if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
72219   echo $ECHO_N "(cached) $ECHO_C" >&6
72220 else
72221
72222
72223
72224       ac_ext=cc
72225 ac_cpp='$CXXCPP $CPPFLAGS'
72226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72229
72230       cat >conftest.$ac_ext <<_ACEOF
72231 /* confdefs.h.  */
72232 _ACEOF
72233 cat confdefs.h >>conftest.$ac_ext
72234 cat >>conftest.$ac_ext <<_ACEOF
72235 /* end confdefs.h.  */
72236 #include <math.h>
72237 int
72238 main ()
72239 {
72240  __builtin_abs(0);
72241   ;
72242   return 0;
72243 }
72244 _ACEOF
72245 rm -f conftest.$ac_objext
72246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72247   (eval $ac_compile) 2>conftest.er1
72248   ac_status=$?
72249   grep -v '^ *+' conftest.er1 >conftest.err
72250   rm -f conftest.er1
72251   cat conftest.err >&5
72252   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72253   (exit $ac_status); } &&
72254          { ac_try='test -z "$ac_cxx_werror_flag"
72255                          || test ! -s conftest.err'
72256   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72257   (eval $ac_try) 2>&5
72258   ac_status=$?
72259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72260   (exit $ac_status); }; } &&
72261          { ac_try='test -s conftest.$ac_objext'
72262   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72263   (eval $ac_try) 2>&5
72264   ac_status=$?
72265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72266   (exit $ac_status); }; }; then
72267   glibcxx_cv_func___builtin_abs_use=yes
72268 else
72269   echo "$as_me: failed program was:" >&5
72270 sed 's/^/| /' conftest.$ac_ext >&5
72271
72272 glibcxx_cv_func___builtin_abs_use=no
72273 fi
72274 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72275       ac_ext=c
72276 ac_cpp='$CPP $CPPFLAGS'
72277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72280
72281
72282 fi
72283
72284   fi
72285   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
72286 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
72287   if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
72288     echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
72289 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
72290     if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
72291       if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
72292   echo $ECHO_N "(cached) $ECHO_C" >&6
72293 else
72294
72295         if test x$gcc_no_link = xyes; then
72296   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72297 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72298    { (exit 1); exit 1; }; }
72299 fi
72300 cat >conftest.$ac_ext <<_ACEOF
72301 /* confdefs.h.  */
72302 _ACEOF
72303 cat confdefs.h >>conftest.$ac_ext
72304 cat >>conftest.$ac_ext <<_ACEOF
72305 /* end confdefs.h.  */
72306 #include <math.h>
72307 int
72308 main ()
72309 {
72310  __builtin_abs(0);
72311   ;
72312   return 0;
72313 }
72314 _ACEOF
72315 rm -f conftest.$ac_objext conftest$ac_exeext
72316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72317   (eval $ac_link) 2>conftest.er1
72318   ac_status=$?
72319   grep -v '^ *+' conftest.er1 >conftest.err
72320   rm -f conftest.er1
72321   cat conftest.err >&5
72322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72323   (exit $ac_status); } &&
72324          { ac_try='test -z "$ac_c_werror_flag"
72325                          || test ! -s conftest.err'
72326   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72327   (eval $ac_try) 2>&5
72328   ac_status=$?
72329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72330   (exit $ac_status); }; } &&
72331          { ac_try='test -s conftest$ac_exeext'
72332   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72333   (eval $ac_try) 2>&5
72334   ac_status=$?
72335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72336   (exit $ac_status); }; }; then
72337   glibcxx_cv_func___builtin_abs_link=yes
72338 else
72339   echo "$as_me: failed program was:" >&5
72340 sed 's/^/| /' conftest.$ac_ext >&5
72341
72342 glibcxx_cv_func___builtin_abs_link=no
72343 fi
72344 rm -f conftest.err conftest.$ac_objext \
72345       conftest$ac_exeext conftest.$ac_ext
72346
72347 fi
72348
72349     fi
72350     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
72351 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
72352     if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
72353       ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
72354
72355 cat >>confdefs.h <<_ACEOF
72356 #define ${ac_tr_func} 1
72357 _ACEOF
72358
72359     fi
72360   fi
72361
72362
72363   echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
72364 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
72365   if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
72366     if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
72367   echo $ECHO_N "(cached) $ECHO_C" >&6
72368 else
72369
72370
72371
72372       ac_ext=cc
72373 ac_cpp='$CXXCPP $CPPFLAGS'
72374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72377
72378       cat >conftest.$ac_ext <<_ACEOF
72379 /* confdefs.h.  */
72380 _ACEOF
72381 cat confdefs.h >>conftest.$ac_ext
72382 cat >>conftest.$ac_ext <<_ACEOF
72383 /* end confdefs.h.  */
72384 #include <math.h>
72385 int
72386 main ()
72387 {
72388  __builtin_fabsf(0);
72389   ;
72390   return 0;
72391 }
72392 _ACEOF
72393 rm -f conftest.$ac_objext
72394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72395   (eval $ac_compile) 2>conftest.er1
72396   ac_status=$?
72397   grep -v '^ *+' conftest.er1 >conftest.err
72398   rm -f conftest.er1
72399   cat conftest.err >&5
72400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72401   (exit $ac_status); } &&
72402          { ac_try='test -z "$ac_cxx_werror_flag"
72403                          || test ! -s conftest.err'
72404   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72405   (eval $ac_try) 2>&5
72406   ac_status=$?
72407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72408   (exit $ac_status); }; } &&
72409          { ac_try='test -s conftest.$ac_objext'
72410   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72411   (eval $ac_try) 2>&5
72412   ac_status=$?
72413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72414   (exit $ac_status); }; }; then
72415   glibcxx_cv_func___builtin_fabsf_use=yes
72416 else
72417   echo "$as_me: failed program was:" >&5
72418 sed 's/^/| /' conftest.$ac_ext >&5
72419
72420 glibcxx_cv_func___builtin_fabsf_use=no
72421 fi
72422 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72423       ac_ext=c
72424 ac_cpp='$CPP $CPPFLAGS'
72425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72428
72429
72430 fi
72431
72432   fi
72433   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
72434 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
72435   if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
72436     echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
72437 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
72438     if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
72439       if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
72440   echo $ECHO_N "(cached) $ECHO_C" >&6
72441 else
72442
72443         if test x$gcc_no_link = xyes; then
72444   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72445 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72446    { (exit 1); exit 1; }; }
72447 fi
72448 cat >conftest.$ac_ext <<_ACEOF
72449 /* confdefs.h.  */
72450 _ACEOF
72451 cat confdefs.h >>conftest.$ac_ext
72452 cat >>conftest.$ac_ext <<_ACEOF
72453 /* end confdefs.h.  */
72454 #include <math.h>
72455 int
72456 main ()
72457 {
72458  __builtin_fabsf(0);
72459   ;
72460   return 0;
72461 }
72462 _ACEOF
72463 rm -f conftest.$ac_objext conftest$ac_exeext
72464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72465   (eval $ac_link) 2>conftest.er1
72466   ac_status=$?
72467   grep -v '^ *+' conftest.er1 >conftest.err
72468   rm -f conftest.er1
72469   cat conftest.err >&5
72470   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72471   (exit $ac_status); } &&
72472          { ac_try='test -z "$ac_c_werror_flag"
72473                          || test ! -s conftest.err'
72474   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72475   (eval $ac_try) 2>&5
72476   ac_status=$?
72477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72478   (exit $ac_status); }; } &&
72479          { ac_try='test -s conftest$ac_exeext'
72480   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72481   (eval $ac_try) 2>&5
72482   ac_status=$?
72483   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72484   (exit $ac_status); }; }; then
72485   glibcxx_cv_func___builtin_fabsf_link=yes
72486 else
72487   echo "$as_me: failed program was:" >&5
72488 sed 's/^/| /' conftest.$ac_ext >&5
72489
72490 glibcxx_cv_func___builtin_fabsf_link=no
72491 fi
72492 rm -f conftest.err conftest.$ac_objext \
72493       conftest$ac_exeext conftest.$ac_ext
72494
72495 fi
72496
72497     fi
72498     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
72499 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
72500     if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
72501       ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
72502
72503 cat >>confdefs.h <<_ACEOF
72504 #define ${ac_tr_func} 1
72505 _ACEOF
72506
72507     fi
72508   fi
72509
72510
72511   echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
72512 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
72513   if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
72514     if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
72515   echo $ECHO_N "(cached) $ECHO_C" >&6
72516 else
72517
72518
72519
72520       ac_ext=cc
72521 ac_cpp='$CXXCPP $CPPFLAGS'
72522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72525
72526       cat >conftest.$ac_ext <<_ACEOF
72527 /* confdefs.h.  */
72528 _ACEOF
72529 cat confdefs.h >>conftest.$ac_ext
72530 cat >>conftest.$ac_ext <<_ACEOF
72531 /* end confdefs.h.  */
72532 #include <math.h>
72533 int
72534 main ()
72535 {
72536  __builtin_fabs(0);
72537   ;
72538   return 0;
72539 }
72540 _ACEOF
72541 rm -f conftest.$ac_objext
72542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72543   (eval $ac_compile) 2>conftest.er1
72544   ac_status=$?
72545   grep -v '^ *+' conftest.er1 >conftest.err
72546   rm -f conftest.er1
72547   cat conftest.err >&5
72548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72549   (exit $ac_status); } &&
72550          { ac_try='test -z "$ac_cxx_werror_flag"
72551                          || test ! -s conftest.err'
72552   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72553   (eval $ac_try) 2>&5
72554   ac_status=$?
72555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72556   (exit $ac_status); }; } &&
72557          { ac_try='test -s conftest.$ac_objext'
72558   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72559   (eval $ac_try) 2>&5
72560   ac_status=$?
72561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72562   (exit $ac_status); }; }; then
72563   glibcxx_cv_func___builtin_fabs_use=yes
72564 else
72565   echo "$as_me: failed program was:" >&5
72566 sed 's/^/| /' conftest.$ac_ext >&5
72567
72568 glibcxx_cv_func___builtin_fabs_use=no
72569 fi
72570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72571       ac_ext=c
72572 ac_cpp='$CPP $CPPFLAGS'
72573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72576
72577
72578 fi
72579
72580   fi
72581   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
72582 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
72583   if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
72584     echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
72585 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
72586     if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
72587       if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
72588   echo $ECHO_N "(cached) $ECHO_C" >&6
72589 else
72590
72591         if test x$gcc_no_link = xyes; then
72592   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72593 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72594    { (exit 1); exit 1; }; }
72595 fi
72596 cat >conftest.$ac_ext <<_ACEOF
72597 /* confdefs.h.  */
72598 _ACEOF
72599 cat confdefs.h >>conftest.$ac_ext
72600 cat >>conftest.$ac_ext <<_ACEOF
72601 /* end confdefs.h.  */
72602 #include <math.h>
72603 int
72604 main ()
72605 {
72606  __builtin_fabs(0);
72607   ;
72608   return 0;
72609 }
72610 _ACEOF
72611 rm -f conftest.$ac_objext conftest$ac_exeext
72612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72613   (eval $ac_link) 2>conftest.er1
72614   ac_status=$?
72615   grep -v '^ *+' conftest.er1 >conftest.err
72616   rm -f conftest.er1
72617   cat conftest.err >&5
72618   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72619   (exit $ac_status); } &&
72620          { ac_try='test -z "$ac_c_werror_flag"
72621                          || test ! -s conftest.err'
72622   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72623   (eval $ac_try) 2>&5
72624   ac_status=$?
72625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72626   (exit $ac_status); }; } &&
72627          { ac_try='test -s conftest$ac_exeext'
72628   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72629   (eval $ac_try) 2>&5
72630   ac_status=$?
72631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72632   (exit $ac_status); }; }; then
72633   glibcxx_cv_func___builtin_fabs_link=yes
72634 else
72635   echo "$as_me: failed program was:" >&5
72636 sed 's/^/| /' conftest.$ac_ext >&5
72637
72638 glibcxx_cv_func___builtin_fabs_link=no
72639 fi
72640 rm -f conftest.err conftest.$ac_objext \
72641       conftest$ac_exeext conftest.$ac_ext
72642
72643 fi
72644
72645     fi
72646     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
72647 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
72648     if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
72649       ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
72650
72651 cat >>confdefs.h <<_ACEOF
72652 #define ${ac_tr_func} 1
72653 _ACEOF
72654
72655     fi
72656   fi
72657
72658
72659   echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
72660 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
72661   if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
72662     if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
72663   echo $ECHO_N "(cached) $ECHO_C" >&6
72664 else
72665
72666
72667
72668       ac_ext=cc
72669 ac_cpp='$CXXCPP $CPPFLAGS'
72670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72673
72674       cat >conftest.$ac_ext <<_ACEOF
72675 /* confdefs.h.  */
72676 _ACEOF
72677 cat confdefs.h >>conftest.$ac_ext
72678 cat >>conftest.$ac_ext <<_ACEOF
72679 /* end confdefs.h.  */
72680 #include <math.h>
72681 int
72682 main ()
72683 {
72684  __builtin_fabsl(0);
72685   ;
72686   return 0;
72687 }
72688 _ACEOF
72689 rm -f conftest.$ac_objext
72690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72691   (eval $ac_compile) 2>conftest.er1
72692   ac_status=$?
72693   grep -v '^ *+' conftest.er1 >conftest.err
72694   rm -f conftest.er1
72695   cat conftest.err >&5
72696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72697   (exit $ac_status); } &&
72698          { ac_try='test -z "$ac_cxx_werror_flag"
72699                          || test ! -s conftest.err'
72700   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72701   (eval $ac_try) 2>&5
72702   ac_status=$?
72703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72704   (exit $ac_status); }; } &&
72705          { ac_try='test -s conftest.$ac_objext'
72706   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72707   (eval $ac_try) 2>&5
72708   ac_status=$?
72709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72710   (exit $ac_status); }; }; then
72711   glibcxx_cv_func___builtin_fabsl_use=yes
72712 else
72713   echo "$as_me: failed program was:" >&5
72714 sed 's/^/| /' conftest.$ac_ext >&5
72715
72716 glibcxx_cv_func___builtin_fabsl_use=no
72717 fi
72718 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72719       ac_ext=c
72720 ac_cpp='$CPP $CPPFLAGS'
72721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72724
72725
72726 fi
72727
72728   fi
72729   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
72730 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
72731   if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
72732     echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
72733 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
72734     if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
72735       if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
72736   echo $ECHO_N "(cached) $ECHO_C" >&6
72737 else
72738
72739         if test x$gcc_no_link = xyes; then
72740   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72741 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72742    { (exit 1); exit 1; }; }
72743 fi
72744 cat >conftest.$ac_ext <<_ACEOF
72745 /* confdefs.h.  */
72746 _ACEOF
72747 cat confdefs.h >>conftest.$ac_ext
72748 cat >>conftest.$ac_ext <<_ACEOF
72749 /* end confdefs.h.  */
72750 #include <math.h>
72751 int
72752 main ()
72753 {
72754  __builtin_fabsl(0);
72755   ;
72756   return 0;
72757 }
72758 _ACEOF
72759 rm -f conftest.$ac_objext conftest$ac_exeext
72760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72761   (eval $ac_link) 2>conftest.er1
72762   ac_status=$?
72763   grep -v '^ *+' conftest.er1 >conftest.err
72764   rm -f conftest.er1
72765   cat conftest.err >&5
72766   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72767   (exit $ac_status); } &&
72768          { ac_try='test -z "$ac_c_werror_flag"
72769                          || test ! -s conftest.err'
72770   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72771   (eval $ac_try) 2>&5
72772   ac_status=$?
72773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72774   (exit $ac_status); }; } &&
72775          { ac_try='test -s conftest$ac_exeext'
72776   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72777   (eval $ac_try) 2>&5
72778   ac_status=$?
72779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72780   (exit $ac_status); }; }; then
72781   glibcxx_cv_func___builtin_fabsl_link=yes
72782 else
72783   echo "$as_me: failed program was:" >&5
72784 sed 's/^/| /' conftest.$ac_ext >&5
72785
72786 glibcxx_cv_func___builtin_fabsl_link=no
72787 fi
72788 rm -f conftest.err conftest.$ac_objext \
72789       conftest$ac_exeext conftest.$ac_ext
72790
72791 fi
72792
72793     fi
72794     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
72795 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
72796     if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
72797       ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
72798
72799 cat >>confdefs.h <<_ACEOF
72800 #define ${ac_tr_func} 1
72801 _ACEOF
72802
72803     fi
72804   fi
72805
72806
72807   echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
72808 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
72809   if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
72810     if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
72811   echo $ECHO_N "(cached) $ECHO_C" >&6
72812 else
72813
72814
72815
72816       ac_ext=cc
72817 ac_cpp='$CXXCPP $CPPFLAGS'
72818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72821
72822       cat >conftest.$ac_ext <<_ACEOF
72823 /* confdefs.h.  */
72824 _ACEOF
72825 cat confdefs.h >>conftest.$ac_ext
72826 cat >>conftest.$ac_ext <<_ACEOF
72827 /* end confdefs.h.  */
72828 #include <math.h>
72829 int
72830 main ()
72831 {
72832  __builtin_labs(0);
72833   ;
72834   return 0;
72835 }
72836 _ACEOF
72837 rm -f conftest.$ac_objext
72838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72839   (eval $ac_compile) 2>conftest.er1
72840   ac_status=$?
72841   grep -v '^ *+' conftest.er1 >conftest.err
72842   rm -f conftest.er1
72843   cat conftest.err >&5
72844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72845   (exit $ac_status); } &&
72846          { ac_try='test -z "$ac_cxx_werror_flag"
72847                          || test ! -s conftest.err'
72848   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72849   (eval $ac_try) 2>&5
72850   ac_status=$?
72851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72852   (exit $ac_status); }; } &&
72853          { ac_try='test -s conftest.$ac_objext'
72854   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72855   (eval $ac_try) 2>&5
72856   ac_status=$?
72857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72858   (exit $ac_status); }; }; then
72859   glibcxx_cv_func___builtin_labs_use=yes
72860 else
72861   echo "$as_me: failed program was:" >&5
72862 sed 's/^/| /' conftest.$ac_ext >&5
72863
72864 glibcxx_cv_func___builtin_labs_use=no
72865 fi
72866 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72867       ac_ext=c
72868 ac_cpp='$CPP $CPPFLAGS'
72869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72872
72873
72874 fi
72875
72876   fi
72877   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
72878 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
72879   if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
72880     echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
72881 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
72882     if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
72883       if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
72884   echo $ECHO_N "(cached) $ECHO_C" >&6
72885 else
72886
72887         if test x$gcc_no_link = xyes; then
72888   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72889 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72890    { (exit 1); exit 1; }; }
72891 fi
72892 cat >conftest.$ac_ext <<_ACEOF
72893 /* confdefs.h.  */
72894 _ACEOF
72895 cat confdefs.h >>conftest.$ac_ext
72896 cat >>conftest.$ac_ext <<_ACEOF
72897 /* end confdefs.h.  */
72898 #include <math.h>
72899 int
72900 main ()
72901 {
72902  __builtin_labs(0);
72903   ;
72904   return 0;
72905 }
72906 _ACEOF
72907 rm -f conftest.$ac_objext conftest$ac_exeext
72908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72909   (eval $ac_link) 2>conftest.er1
72910   ac_status=$?
72911   grep -v '^ *+' conftest.er1 >conftest.err
72912   rm -f conftest.er1
72913   cat conftest.err >&5
72914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72915   (exit $ac_status); } &&
72916          { ac_try='test -z "$ac_c_werror_flag"
72917                          || test ! -s conftest.err'
72918   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72919   (eval $ac_try) 2>&5
72920   ac_status=$?
72921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72922   (exit $ac_status); }; } &&
72923          { ac_try='test -s conftest$ac_exeext'
72924   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72925   (eval $ac_try) 2>&5
72926   ac_status=$?
72927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72928   (exit $ac_status); }; }; then
72929   glibcxx_cv_func___builtin_labs_link=yes
72930 else
72931   echo "$as_me: failed program was:" >&5
72932 sed 's/^/| /' conftest.$ac_ext >&5
72933
72934 glibcxx_cv_func___builtin_labs_link=no
72935 fi
72936 rm -f conftest.err conftest.$ac_objext \
72937       conftest$ac_exeext conftest.$ac_ext
72938
72939 fi
72940
72941     fi
72942     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
72943 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
72944     if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
72945       ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
72946
72947 cat >>confdefs.h <<_ACEOF
72948 #define ${ac_tr_func} 1
72949 _ACEOF
72950
72951     fi
72952   fi
72953
72954
72955
72956   echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
72957 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
72958   if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
72959     if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
72960   echo $ECHO_N "(cached) $ECHO_C" >&6
72961 else
72962
72963
72964
72965       ac_ext=cc
72966 ac_cpp='$CXXCPP $CPPFLAGS'
72967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72970
72971       cat >conftest.$ac_ext <<_ACEOF
72972 /* confdefs.h.  */
72973 _ACEOF
72974 cat confdefs.h >>conftest.$ac_ext
72975 cat >>conftest.$ac_ext <<_ACEOF
72976 /* end confdefs.h.  */
72977 #include <math.h>
72978 int
72979 main ()
72980 {
72981  __builtin_sqrtf(0);
72982   ;
72983   return 0;
72984 }
72985 _ACEOF
72986 rm -f conftest.$ac_objext
72987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72988   (eval $ac_compile) 2>conftest.er1
72989   ac_status=$?
72990   grep -v '^ *+' conftest.er1 >conftest.err
72991   rm -f conftest.er1
72992   cat conftest.err >&5
72993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
72994   (exit $ac_status); } &&
72995          { ac_try='test -z "$ac_cxx_werror_flag"
72996                          || test ! -s conftest.err'
72997   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72998   (eval $ac_try) 2>&5
72999   ac_status=$?
73000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73001   (exit $ac_status); }; } &&
73002          { ac_try='test -s conftest.$ac_objext'
73003   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73004   (eval $ac_try) 2>&5
73005   ac_status=$?
73006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73007   (exit $ac_status); }; }; then
73008   glibcxx_cv_func___builtin_sqrtf_use=yes
73009 else
73010   echo "$as_me: failed program was:" >&5
73011 sed 's/^/| /' conftest.$ac_ext >&5
73012
73013 glibcxx_cv_func___builtin_sqrtf_use=no
73014 fi
73015 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73016       ac_ext=c
73017 ac_cpp='$CPP $CPPFLAGS'
73018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73021
73022
73023 fi
73024
73025   fi
73026   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
73027 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
73028   if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
73029     echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
73030 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
73031     if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
73032       if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
73033   echo $ECHO_N "(cached) $ECHO_C" >&6
73034 else
73035
73036         if test x$gcc_no_link = xyes; then
73037   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73038 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73039    { (exit 1); exit 1; }; }
73040 fi
73041 cat >conftest.$ac_ext <<_ACEOF
73042 /* confdefs.h.  */
73043 _ACEOF
73044 cat confdefs.h >>conftest.$ac_ext
73045 cat >>conftest.$ac_ext <<_ACEOF
73046 /* end confdefs.h.  */
73047 #include <math.h>
73048 int
73049 main ()
73050 {
73051  __builtin_sqrtf(0);
73052   ;
73053   return 0;
73054 }
73055 _ACEOF
73056 rm -f conftest.$ac_objext conftest$ac_exeext
73057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73058   (eval $ac_link) 2>conftest.er1
73059   ac_status=$?
73060   grep -v '^ *+' conftest.er1 >conftest.err
73061   rm -f conftest.er1
73062   cat conftest.err >&5
73063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73064   (exit $ac_status); } &&
73065          { ac_try='test -z "$ac_c_werror_flag"
73066                          || test ! -s conftest.err'
73067   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73068   (eval $ac_try) 2>&5
73069   ac_status=$?
73070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73071   (exit $ac_status); }; } &&
73072          { ac_try='test -s conftest$ac_exeext'
73073   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73074   (eval $ac_try) 2>&5
73075   ac_status=$?
73076   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73077   (exit $ac_status); }; }; then
73078   glibcxx_cv_func___builtin_sqrtf_link=yes
73079 else
73080   echo "$as_me: failed program was:" >&5
73081 sed 's/^/| /' conftest.$ac_ext >&5
73082
73083 glibcxx_cv_func___builtin_sqrtf_link=no
73084 fi
73085 rm -f conftest.err conftest.$ac_objext \
73086       conftest$ac_exeext conftest.$ac_ext
73087
73088 fi
73089
73090     fi
73091     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
73092 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
73093     if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
73094       ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
73095
73096 cat >>confdefs.h <<_ACEOF
73097 #define ${ac_tr_func} 1
73098 _ACEOF
73099
73100     fi
73101   fi
73102
73103
73104   echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
73105 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
73106   if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
73107     if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
73108   echo $ECHO_N "(cached) $ECHO_C" >&6
73109 else
73110
73111
73112
73113       ac_ext=cc
73114 ac_cpp='$CXXCPP $CPPFLAGS'
73115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73118
73119       cat >conftest.$ac_ext <<_ACEOF
73120 /* confdefs.h.  */
73121 _ACEOF
73122 cat confdefs.h >>conftest.$ac_ext
73123 cat >>conftest.$ac_ext <<_ACEOF
73124 /* end confdefs.h.  */
73125 #include <math.h>
73126 int
73127 main ()
73128 {
73129  __builtin_sqrt(0);
73130   ;
73131   return 0;
73132 }
73133 _ACEOF
73134 rm -f conftest.$ac_objext
73135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73136   (eval $ac_compile) 2>conftest.er1
73137   ac_status=$?
73138   grep -v '^ *+' conftest.er1 >conftest.err
73139   rm -f conftest.er1
73140   cat conftest.err >&5
73141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73142   (exit $ac_status); } &&
73143          { ac_try='test -z "$ac_cxx_werror_flag"
73144                          || test ! -s conftest.err'
73145   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73146   (eval $ac_try) 2>&5
73147   ac_status=$?
73148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73149   (exit $ac_status); }; } &&
73150          { ac_try='test -s conftest.$ac_objext'
73151   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73152   (eval $ac_try) 2>&5
73153   ac_status=$?
73154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73155   (exit $ac_status); }; }; then
73156   glibcxx_cv_func___builtin_sqrt_use=yes
73157 else
73158   echo "$as_me: failed program was:" >&5
73159 sed 's/^/| /' conftest.$ac_ext >&5
73160
73161 glibcxx_cv_func___builtin_sqrt_use=no
73162 fi
73163 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73164       ac_ext=c
73165 ac_cpp='$CPP $CPPFLAGS'
73166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73169
73170
73171 fi
73172
73173   fi
73174   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
73175 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
73176   if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
73177     echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
73178 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
73179     if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
73180       if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
73181   echo $ECHO_N "(cached) $ECHO_C" >&6
73182 else
73183
73184         if test x$gcc_no_link = xyes; then
73185   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73186 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73187    { (exit 1); exit 1; }; }
73188 fi
73189 cat >conftest.$ac_ext <<_ACEOF
73190 /* confdefs.h.  */
73191 _ACEOF
73192 cat confdefs.h >>conftest.$ac_ext
73193 cat >>conftest.$ac_ext <<_ACEOF
73194 /* end confdefs.h.  */
73195 #include <math.h>
73196 int
73197 main ()
73198 {
73199  __builtin_sqrt(0);
73200   ;
73201   return 0;
73202 }
73203 _ACEOF
73204 rm -f conftest.$ac_objext conftest$ac_exeext
73205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73206   (eval $ac_link) 2>conftest.er1
73207   ac_status=$?
73208   grep -v '^ *+' conftest.er1 >conftest.err
73209   rm -f conftest.er1
73210   cat conftest.err >&5
73211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73212   (exit $ac_status); } &&
73213          { ac_try='test -z "$ac_c_werror_flag"
73214                          || test ! -s conftest.err'
73215   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73216   (eval $ac_try) 2>&5
73217   ac_status=$?
73218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73219   (exit $ac_status); }; } &&
73220          { ac_try='test -s conftest$ac_exeext'
73221   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73222   (eval $ac_try) 2>&5
73223   ac_status=$?
73224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73225   (exit $ac_status); }; }; then
73226   glibcxx_cv_func___builtin_sqrt_link=yes
73227 else
73228   echo "$as_me: failed program was:" >&5
73229 sed 's/^/| /' conftest.$ac_ext >&5
73230
73231 glibcxx_cv_func___builtin_sqrt_link=no
73232 fi
73233 rm -f conftest.err conftest.$ac_objext \
73234       conftest$ac_exeext conftest.$ac_ext
73235
73236 fi
73237
73238     fi
73239     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
73240 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
73241     if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
73242       ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
73243
73244 cat >>confdefs.h <<_ACEOF
73245 #define ${ac_tr_func} 1
73246 _ACEOF
73247
73248     fi
73249   fi
73250
73251
73252   echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
73253 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
73254   if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
73255     if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
73256   echo $ECHO_N "(cached) $ECHO_C" >&6
73257 else
73258
73259
73260
73261       ac_ext=cc
73262 ac_cpp='$CXXCPP $CPPFLAGS'
73263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73266
73267       cat >conftest.$ac_ext <<_ACEOF
73268 /* confdefs.h.  */
73269 _ACEOF
73270 cat confdefs.h >>conftest.$ac_ext
73271 cat >>conftest.$ac_ext <<_ACEOF
73272 /* end confdefs.h.  */
73273 #include <math.h>
73274 int
73275 main ()
73276 {
73277  __builtin_sqrtl(0);
73278   ;
73279   return 0;
73280 }
73281 _ACEOF
73282 rm -f conftest.$ac_objext
73283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73284   (eval $ac_compile) 2>conftest.er1
73285   ac_status=$?
73286   grep -v '^ *+' conftest.er1 >conftest.err
73287   rm -f conftest.er1
73288   cat conftest.err >&5
73289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73290   (exit $ac_status); } &&
73291          { ac_try='test -z "$ac_cxx_werror_flag"
73292                          || test ! -s conftest.err'
73293   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73294   (eval $ac_try) 2>&5
73295   ac_status=$?
73296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73297   (exit $ac_status); }; } &&
73298          { ac_try='test -s conftest.$ac_objext'
73299   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73300   (eval $ac_try) 2>&5
73301   ac_status=$?
73302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73303   (exit $ac_status); }; }; then
73304   glibcxx_cv_func___builtin_sqrtl_use=yes
73305 else
73306   echo "$as_me: failed program was:" >&5
73307 sed 's/^/| /' conftest.$ac_ext >&5
73308
73309 glibcxx_cv_func___builtin_sqrtl_use=no
73310 fi
73311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73312       ac_ext=c
73313 ac_cpp='$CPP $CPPFLAGS'
73314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73317
73318
73319 fi
73320
73321   fi
73322   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
73323 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
73324   if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
73325     echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
73326 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
73327     if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
73328       if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
73329   echo $ECHO_N "(cached) $ECHO_C" >&6
73330 else
73331
73332         if test x$gcc_no_link = xyes; then
73333   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73334 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73335    { (exit 1); exit 1; }; }
73336 fi
73337 cat >conftest.$ac_ext <<_ACEOF
73338 /* confdefs.h.  */
73339 _ACEOF
73340 cat confdefs.h >>conftest.$ac_ext
73341 cat >>conftest.$ac_ext <<_ACEOF
73342 /* end confdefs.h.  */
73343 #include <math.h>
73344 int
73345 main ()
73346 {
73347  __builtin_sqrtl(0);
73348   ;
73349   return 0;
73350 }
73351 _ACEOF
73352 rm -f conftest.$ac_objext conftest$ac_exeext
73353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73354   (eval $ac_link) 2>conftest.er1
73355   ac_status=$?
73356   grep -v '^ *+' conftest.er1 >conftest.err
73357   rm -f conftest.er1
73358   cat conftest.err >&5
73359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73360   (exit $ac_status); } &&
73361          { ac_try='test -z "$ac_c_werror_flag"
73362                          || test ! -s conftest.err'
73363   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73364   (eval $ac_try) 2>&5
73365   ac_status=$?
73366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73367   (exit $ac_status); }; } &&
73368          { ac_try='test -s conftest$ac_exeext'
73369   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73370   (eval $ac_try) 2>&5
73371   ac_status=$?
73372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73373   (exit $ac_status); }; }; then
73374   glibcxx_cv_func___builtin_sqrtl_link=yes
73375 else
73376   echo "$as_me: failed program was:" >&5
73377 sed 's/^/| /' conftest.$ac_ext >&5
73378
73379 glibcxx_cv_func___builtin_sqrtl_link=no
73380 fi
73381 rm -f conftest.err conftest.$ac_objext \
73382       conftest$ac_exeext conftest.$ac_ext
73383
73384 fi
73385
73386     fi
73387     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
73388 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
73389     if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
73390       ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
73391
73392 cat >>confdefs.h <<_ACEOF
73393 #define ${ac_tr_func} 1
73394 _ACEOF
73395
73396     fi
73397   fi
73398
73399
73400
73401   echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
73402 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
73403   if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
73404     if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
73405   echo $ECHO_N "(cached) $ECHO_C" >&6
73406 else
73407
73408
73409
73410       ac_ext=cc
73411 ac_cpp='$CXXCPP $CPPFLAGS'
73412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73415
73416       cat >conftest.$ac_ext <<_ACEOF
73417 /* confdefs.h.  */
73418 _ACEOF
73419 cat confdefs.h >>conftest.$ac_ext
73420 cat >>conftest.$ac_ext <<_ACEOF
73421 /* end confdefs.h.  */
73422 #include <math.h>
73423 int
73424 main ()
73425 {
73426  __builtin_sinf(0);
73427   ;
73428   return 0;
73429 }
73430 _ACEOF
73431 rm -f conftest.$ac_objext
73432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73433   (eval $ac_compile) 2>conftest.er1
73434   ac_status=$?
73435   grep -v '^ *+' conftest.er1 >conftest.err
73436   rm -f conftest.er1
73437   cat conftest.err >&5
73438   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73439   (exit $ac_status); } &&
73440          { ac_try='test -z "$ac_cxx_werror_flag"
73441                          || test ! -s conftest.err'
73442   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73443   (eval $ac_try) 2>&5
73444   ac_status=$?
73445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73446   (exit $ac_status); }; } &&
73447          { ac_try='test -s conftest.$ac_objext'
73448   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73449   (eval $ac_try) 2>&5
73450   ac_status=$?
73451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73452   (exit $ac_status); }; }; then
73453   glibcxx_cv_func___builtin_sinf_use=yes
73454 else
73455   echo "$as_me: failed program was:" >&5
73456 sed 's/^/| /' conftest.$ac_ext >&5
73457
73458 glibcxx_cv_func___builtin_sinf_use=no
73459 fi
73460 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73461       ac_ext=c
73462 ac_cpp='$CPP $CPPFLAGS'
73463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73466
73467
73468 fi
73469
73470   fi
73471   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
73472 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
73473   if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
73474     echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
73475 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
73476     if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
73477       if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
73478   echo $ECHO_N "(cached) $ECHO_C" >&6
73479 else
73480
73481         if test x$gcc_no_link = xyes; then
73482   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73483 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73484    { (exit 1); exit 1; }; }
73485 fi
73486 cat >conftest.$ac_ext <<_ACEOF
73487 /* confdefs.h.  */
73488 _ACEOF
73489 cat confdefs.h >>conftest.$ac_ext
73490 cat >>conftest.$ac_ext <<_ACEOF
73491 /* end confdefs.h.  */
73492 #include <math.h>
73493 int
73494 main ()
73495 {
73496  __builtin_sinf(0);
73497   ;
73498   return 0;
73499 }
73500 _ACEOF
73501 rm -f conftest.$ac_objext conftest$ac_exeext
73502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73503   (eval $ac_link) 2>conftest.er1
73504   ac_status=$?
73505   grep -v '^ *+' conftest.er1 >conftest.err
73506   rm -f conftest.er1
73507   cat conftest.err >&5
73508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73509   (exit $ac_status); } &&
73510          { ac_try='test -z "$ac_c_werror_flag"
73511                          || test ! -s conftest.err'
73512   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73513   (eval $ac_try) 2>&5
73514   ac_status=$?
73515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73516   (exit $ac_status); }; } &&
73517          { ac_try='test -s conftest$ac_exeext'
73518   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73519   (eval $ac_try) 2>&5
73520   ac_status=$?
73521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73522   (exit $ac_status); }; }; then
73523   glibcxx_cv_func___builtin_sinf_link=yes
73524 else
73525   echo "$as_me: failed program was:" >&5
73526 sed 's/^/| /' conftest.$ac_ext >&5
73527
73528 glibcxx_cv_func___builtin_sinf_link=no
73529 fi
73530 rm -f conftest.err conftest.$ac_objext \
73531       conftest$ac_exeext conftest.$ac_ext
73532
73533 fi
73534
73535     fi
73536     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
73537 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
73538     if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
73539       ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
73540
73541 cat >>confdefs.h <<_ACEOF
73542 #define ${ac_tr_func} 1
73543 _ACEOF
73544
73545     fi
73546   fi
73547
73548
73549   echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
73550 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
73551   if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
73552     if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
73553   echo $ECHO_N "(cached) $ECHO_C" >&6
73554 else
73555
73556
73557
73558       ac_ext=cc
73559 ac_cpp='$CXXCPP $CPPFLAGS'
73560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73563
73564       cat >conftest.$ac_ext <<_ACEOF
73565 /* confdefs.h.  */
73566 _ACEOF
73567 cat confdefs.h >>conftest.$ac_ext
73568 cat >>conftest.$ac_ext <<_ACEOF
73569 /* end confdefs.h.  */
73570 #include <math.h>
73571 int
73572 main ()
73573 {
73574  __builtin_sin(0);
73575   ;
73576   return 0;
73577 }
73578 _ACEOF
73579 rm -f conftest.$ac_objext
73580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73581   (eval $ac_compile) 2>conftest.er1
73582   ac_status=$?
73583   grep -v '^ *+' conftest.er1 >conftest.err
73584   rm -f conftest.er1
73585   cat conftest.err >&5
73586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73587   (exit $ac_status); } &&
73588          { ac_try='test -z "$ac_cxx_werror_flag"
73589                          || test ! -s conftest.err'
73590   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73591   (eval $ac_try) 2>&5
73592   ac_status=$?
73593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73594   (exit $ac_status); }; } &&
73595          { ac_try='test -s conftest.$ac_objext'
73596   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73597   (eval $ac_try) 2>&5
73598   ac_status=$?
73599   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73600   (exit $ac_status); }; }; then
73601   glibcxx_cv_func___builtin_sin_use=yes
73602 else
73603   echo "$as_me: failed program was:" >&5
73604 sed 's/^/| /' conftest.$ac_ext >&5
73605
73606 glibcxx_cv_func___builtin_sin_use=no
73607 fi
73608 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73609       ac_ext=c
73610 ac_cpp='$CPP $CPPFLAGS'
73611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73614
73615
73616 fi
73617
73618   fi
73619   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
73620 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
73621   if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
73622     echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
73623 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
73624     if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
73625       if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
73626   echo $ECHO_N "(cached) $ECHO_C" >&6
73627 else
73628
73629         if test x$gcc_no_link = xyes; then
73630   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73631 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73632    { (exit 1); exit 1; }; }
73633 fi
73634 cat >conftest.$ac_ext <<_ACEOF
73635 /* confdefs.h.  */
73636 _ACEOF
73637 cat confdefs.h >>conftest.$ac_ext
73638 cat >>conftest.$ac_ext <<_ACEOF
73639 /* end confdefs.h.  */
73640 #include <math.h>
73641 int
73642 main ()
73643 {
73644  __builtin_sin(0);
73645   ;
73646   return 0;
73647 }
73648 _ACEOF
73649 rm -f conftest.$ac_objext conftest$ac_exeext
73650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73651   (eval $ac_link) 2>conftest.er1
73652   ac_status=$?
73653   grep -v '^ *+' conftest.er1 >conftest.err
73654   rm -f conftest.er1
73655   cat conftest.err >&5
73656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73657   (exit $ac_status); } &&
73658          { ac_try='test -z "$ac_c_werror_flag"
73659                          || test ! -s conftest.err'
73660   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73661   (eval $ac_try) 2>&5
73662   ac_status=$?
73663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73664   (exit $ac_status); }; } &&
73665          { ac_try='test -s conftest$ac_exeext'
73666   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73667   (eval $ac_try) 2>&5
73668   ac_status=$?
73669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73670   (exit $ac_status); }; }; then
73671   glibcxx_cv_func___builtin_sin_link=yes
73672 else
73673   echo "$as_me: failed program was:" >&5
73674 sed 's/^/| /' conftest.$ac_ext >&5
73675
73676 glibcxx_cv_func___builtin_sin_link=no
73677 fi
73678 rm -f conftest.err conftest.$ac_objext \
73679       conftest$ac_exeext conftest.$ac_ext
73680
73681 fi
73682
73683     fi
73684     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
73685 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
73686     if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
73687       ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
73688
73689 cat >>confdefs.h <<_ACEOF
73690 #define ${ac_tr_func} 1
73691 _ACEOF
73692
73693     fi
73694   fi
73695
73696
73697   echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
73698 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
73699   if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
73700     if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
73701   echo $ECHO_N "(cached) $ECHO_C" >&6
73702 else
73703
73704
73705
73706       ac_ext=cc
73707 ac_cpp='$CXXCPP $CPPFLAGS'
73708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73711
73712       cat >conftest.$ac_ext <<_ACEOF
73713 /* confdefs.h.  */
73714 _ACEOF
73715 cat confdefs.h >>conftest.$ac_ext
73716 cat >>conftest.$ac_ext <<_ACEOF
73717 /* end confdefs.h.  */
73718 #include <math.h>
73719 int
73720 main ()
73721 {
73722  __builtin_sinl(0);
73723   ;
73724   return 0;
73725 }
73726 _ACEOF
73727 rm -f conftest.$ac_objext
73728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73729   (eval $ac_compile) 2>conftest.er1
73730   ac_status=$?
73731   grep -v '^ *+' conftest.er1 >conftest.err
73732   rm -f conftest.er1
73733   cat conftest.err >&5
73734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73735   (exit $ac_status); } &&
73736          { ac_try='test -z "$ac_cxx_werror_flag"
73737                          || test ! -s conftest.err'
73738   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73739   (eval $ac_try) 2>&5
73740   ac_status=$?
73741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73742   (exit $ac_status); }; } &&
73743          { ac_try='test -s conftest.$ac_objext'
73744   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73745   (eval $ac_try) 2>&5
73746   ac_status=$?
73747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73748   (exit $ac_status); }; }; then
73749   glibcxx_cv_func___builtin_sinl_use=yes
73750 else
73751   echo "$as_me: failed program was:" >&5
73752 sed 's/^/| /' conftest.$ac_ext >&5
73753
73754 glibcxx_cv_func___builtin_sinl_use=no
73755 fi
73756 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73757       ac_ext=c
73758 ac_cpp='$CPP $CPPFLAGS'
73759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73762
73763
73764 fi
73765
73766   fi
73767   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
73768 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
73769   if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
73770     echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
73771 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
73772     if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
73773       if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
73774   echo $ECHO_N "(cached) $ECHO_C" >&6
73775 else
73776
73777         if test x$gcc_no_link = xyes; then
73778   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73779 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73780    { (exit 1); exit 1; }; }
73781 fi
73782 cat >conftest.$ac_ext <<_ACEOF
73783 /* confdefs.h.  */
73784 _ACEOF
73785 cat confdefs.h >>conftest.$ac_ext
73786 cat >>conftest.$ac_ext <<_ACEOF
73787 /* end confdefs.h.  */
73788 #include <math.h>
73789 int
73790 main ()
73791 {
73792  __builtin_sinl(0);
73793   ;
73794   return 0;
73795 }
73796 _ACEOF
73797 rm -f conftest.$ac_objext conftest$ac_exeext
73798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73799   (eval $ac_link) 2>conftest.er1
73800   ac_status=$?
73801   grep -v '^ *+' conftest.er1 >conftest.err
73802   rm -f conftest.er1
73803   cat conftest.err >&5
73804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73805   (exit $ac_status); } &&
73806          { ac_try='test -z "$ac_c_werror_flag"
73807                          || test ! -s conftest.err'
73808   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73809   (eval $ac_try) 2>&5
73810   ac_status=$?
73811   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73812   (exit $ac_status); }; } &&
73813          { ac_try='test -s conftest$ac_exeext'
73814   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73815   (eval $ac_try) 2>&5
73816   ac_status=$?
73817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73818   (exit $ac_status); }; }; then
73819   glibcxx_cv_func___builtin_sinl_link=yes
73820 else
73821   echo "$as_me: failed program was:" >&5
73822 sed 's/^/| /' conftest.$ac_ext >&5
73823
73824 glibcxx_cv_func___builtin_sinl_link=no
73825 fi
73826 rm -f conftest.err conftest.$ac_objext \
73827       conftest$ac_exeext conftest.$ac_ext
73828
73829 fi
73830
73831     fi
73832     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
73833 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
73834     if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
73835       ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
73836
73837 cat >>confdefs.h <<_ACEOF
73838 #define ${ac_tr_func} 1
73839 _ACEOF
73840
73841     fi
73842   fi
73843
73844
73845
73846   echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
73847 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
73848   if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
73849     if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
73850   echo $ECHO_N "(cached) $ECHO_C" >&6
73851 else
73852
73853
73854
73855       ac_ext=cc
73856 ac_cpp='$CXXCPP $CPPFLAGS'
73857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73860
73861       cat >conftest.$ac_ext <<_ACEOF
73862 /* confdefs.h.  */
73863 _ACEOF
73864 cat confdefs.h >>conftest.$ac_ext
73865 cat >>conftest.$ac_ext <<_ACEOF
73866 /* end confdefs.h.  */
73867 #include <math.h>
73868 int
73869 main ()
73870 {
73871  __builtin_cosf(0);
73872   ;
73873   return 0;
73874 }
73875 _ACEOF
73876 rm -f conftest.$ac_objext
73877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73878   (eval $ac_compile) 2>conftest.er1
73879   ac_status=$?
73880   grep -v '^ *+' conftest.er1 >conftest.err
73881   rm -f conftest.er1
73882   cat conftest.err >&5
73883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73884   (exit $ac_status); } &&
73885          { ac_try='test -z "$ac_cxx_werror_flag"
73886                          || test ! -s conftest.err'
73887   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73888   (eval $ac_try) 2>&5
73889   ac_status=$?
73890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73891   (exit $ac_status); }; } &&
73892          { ac_try='test -s conftest.$ac_objext'
73893   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73894   (eval $ac_try) 2>&5
73895   ac_status=$?
73896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73897   (exit $ac_status); }; }; then
73898   glibcxx_cv_func___builtin_cosf_use=yes
73899 else
73900   echo "$as_me: failed program was:" >&5
73901 sed 's/^/| /' conftest.$ac_ext >&5
73902
73903 glibcxx_cv_func___builtin_cosf_use=no
73904 fi
73905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73906       ac_ext=c
73907 ac_cpp='$CPP $CPPFLAGS'
73908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73911
73912
73913 fi
73914
73915   fi
73916   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
73917 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
73918   if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
73919     echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
73920 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
73921     if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
73922       if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
73923   echo $ECHO_N "(cached) $ECHO_C" >&6
73924 else
73925
73926         if test x$gcc_no_link = xyes; then
73927   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73928 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73929    { (exit 1); exit 1; }; }
73930 fi
73931 cat >conftest.$ac_ext <<_ACEOF
73932 /* confdefs.h.  */
73933 _ACEOF
73934 cat confdefs.h >>conftest.$ac_ext
73935 cat >>conftest.$ac_ext <<_ACEOF
73936 /* end confdefs.h.  */
73937 #include <math.h>
73938 int
73939 main ()
73940 {
73941  __builtin_cosf(0);
73942   ;
73943   return 0;
73944 }
73945 _ACEOF
73946 rm -f conftest.$ac_objext conftest$ac_exeext
73947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73948   (eval $ac_link) 2>conftest.er1
73949   ac_status=$?
73950   grep -v '^ *+' conftest.er1 >conftest.err
73951   rm -f conftest.er1
73952   cat conftest.err >&5
73953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73954   (exit $ac_status); } &&
73955          { ac_try='test -z "$ac_c_werror_flag"
73956                          || test ! -s conftest.err'
73957   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73958   (eval $ac_try) 2>&5
73959   ac_status=$?
73960   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73961   (exit $ac_status); }; } &&
73962          { ac_try='test -s conftest$ac_exeext'
73963   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73964   (eval $ac_try) 2>&5
73965   ac_status=$?
73966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
73967   (exit $ac_status); }; }; then
73968   glibcxx_cv_func___builtin_cosf_link=yes
73969 else
73970   echo "$as_me: failed program was:" >&5
73971 sed 's/^/| /' conftest.$ac_ext >&5
73972
73973 glibcxx_cv_func___builtin_cosf_link=no
73974 fi
73975 rm -f conftest.err conftest.$ac_objext \
73976       conftest$ac_exeext conftest.$ac_ext
73977
73978 fi
73979
73980     fi
73981     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
73982 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
73983     if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
73984       ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
73985
73986 cat >>confdefs.h <<_ACEOF
73987 #define ${ac_tr_func} 1
73988 _ACEOF
73989
73990     fi
73991   fi
73992
73993
73994   echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
73995 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
73996   if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
73997     if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
73998   echo $ECHO_N "(cached) $ECHO_C" >&6
73999 else
74000
74001
74002
74003       ac_ext=cc
74004 ac_cpp='$CXXCPP $CPPFLAGS'
74005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74008
74009       cat >conftest.$ac_ext <<_ACEOF
74010 /* confdefs.h.  */
74011 _ACEOF
74012 cat confdefs.h >>conftest.$ac_ext
74013 cat >>conftest.$ac_ext <<_ACEOF
74014 /* end confdefs.h.  */
74015 #include <math.h>
74016 int
74017 main ()
74018 {
74019  __builtin_cos(0);
74020   ;
74021   return 0;
74022 }
74023 _ACEOF
74024 rm -f conftest.$ac_objext
74025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74026   (eval $ac_compile) 2>conftest.er1
74027   ac_status=$?
74028   grep -v '^ *+' conftest.er1 >conftest.err
74029   rm -f conftest.er1
74030   cat conftest.err >&5
74031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74032   (exit $ac_status); } &&
74033          { ac_try='test -z "$ac_cxx_werror_flag"
74034                          || test ! -s conftest.err'
74035   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74036   (eval $ac_try) 2>&5
74037   ac_status=$?
74038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74039   (exit $ac_status); }; } &&
74040          { ac_try='test -s conftest.$ac_objext'
74041   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74042   (eval $ac_try) 2>&5
74043   ac_status=$?
74044   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74045   (exit $ac_status); }; }; then
74046   glibcxx_cv_func___builtin_cos_use=yes
74047 else
74048   echo "$as_me: failed program was:" >&5
74049 sed 's/^/| /' conftest.$ac_ext >&5
74050
74051 glibcxx_cv_func___builtin_cos_use=no
74052 fi
74053 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74054       ac_ext=c
74055 ac_cpp='$CPP $CPPFLAGS'
74056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74059
74060
74061 fi
74062
74063   fi
74064   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
74065 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
74066   if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
74067     echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
74068 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
74069     if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
74070       if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
74071   echo $ECHO_N "(cached) $ECHO_C" >&6
74072 else
74073
74074         if test x$gcc_no_link = xyes; then
74075   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74076 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74077    { (exit 1); exit 1; }; }
74078 fi
74079 cat >conftest.$ac_ext <<_ACEOF
74080 /* confdefs.h.  */
74081 _ACEOF
74082 cat confdefs.h >>conftest.$ac_ext
74083 cat >>conftest.$ac_ext <<_ACEOF
74084 /* end confdefs.h.  */
74085 #include <math.h>
74086 int
74087 main ()
74088 {
74089  __builtin_cos(0);
74090   ;
74091   return 0;
74092 }
74093 _ACEOF
74094 rm -f conftest.$ac_objext conftest$ac_exeext
74095 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74096   (eval $ac_link) 2>conftest.er1
74097   ac_status=$?
74098   grep -v '^ *+' conftest.er1 >conftest.err
74099   rm -f conftest.er1
74100   cat conftest.err >&5
74101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74102   (exit $ac_status); } &&
74103          { ac_try='test -z "$ac_c_werror_flag"
74104                          || test ! -s conftest.err'
74105   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74106   (eval $ac_try) 2>&5
74107   ac_status=$?
74108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74109   (exit $ac_status); }; } &&
74110          { ac_try='test -s conftest$ac_exeext'
74111   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74112   (eval $ac_try) 2>&5
74113   ac_status=$?
74114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74115   (exit $ac_status); }; }; then
74116   glibcxx_cv_func___builtin_cos_link=yes
74117 else
74118   echo "$as_me: failed program was:" >&5
74119 sed 's/^/| /' conftest.$ac_ext >&5
74120
74121 glibcxx_cv_func___builtin_cos_link=no
74122 fi
74123 rm -f conftest.err conftest.$ac_objext \
74124       conftest$ac_exeext conftest.$ac_ext
74125
74126 fi
74127
74128     fi
74129     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
74130 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
74131     if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
74132       ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
74133
74134 cat >>confdefs.h <<_ACEOF
74135 #define ${ac_tr_func} 1
74136 _ACEOF
74137
74138     fi
74139   fi
74140
74141
74142   echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
74143 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
74144   if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
74145     if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
74146   echo $ECHO_N "(cached) $ECHO_C" >&6
74147 else
74148
74149
74150
74151       ac_ext=cc
74152 ac_cpp='$CXXCPP $CPPFLAGS'
74153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74156
74157       cat >conftest.$ac_ext <<_ACEOF
74158 /* confdefs.h.  */
74159 _ACEOF
74160 cat confdefs.h >>conftest.$ac_ext
74161 cat >>conftest.$ac_ext <<_ACEOF
74162 /* end confdefs.h.  */
74163 #include <math.h>
74164 int
74165 main ()
74166 {
74167  __builtin_cosl(0);
74168   ;
74169   return 0;
74170 }
74171 _ACEOF
74172 rm -f conftest.$ac_objext
74173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74174   (eval $ac_compile) 2>conftest.er1
74175   ac_status=$?
74176   grep -v '^ *+' conftest.er1 >conftest.err
74177   rm -f conftest.er1
74178   cat conftest.err >&5
74179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74180   (exit $ac_status); } &&
74181          { ac_try='test -z "$ac_cxx_werror_flag"
74182                          || test ! -s conftest.err'
74183   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74184   (eval $ac_try) 2>&5
74185   ac_status=$?
74186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74187   (exit $ac_status); }; } &&
74188          { ac_try='test -s conftest.$ac_objext'
74189   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74190   (eval $ac_try) 2>&5
74191   ac_status=$?
74192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74193   (exit $ac_status); }; }; then
74194   glibcxx_cv_func___builtin_cosl_use=yes
74195 else
74196   echo "$as_me: failed program was:" >&5
74197 sed 's/^/| /' conftest.$ac_ext >&5
74198
74199 glibcxx_cv_func___builtin_cosl_use=no
74200 fi
74201 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74202       ac_ext=c
74203 ac_cpp='$CPP $CPPFLAGS'
74204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74207
74208
74209 fi
74210
74211   fi
74212   echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
74213 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
74214   if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
74215     echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
74216 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
74217     if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
74218       if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
74219   echo $ECHO_N "(cached) $ECHO_C" >&6
74220 else
74221
74222         if test x$gcc_no_link = xyes; then
74223   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74224 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74225    { (exit 1); exit 1; }; }
74226 fi
74227 cat >conftest.$ac_ext <<_ACEOF
74228 /* confdefs.h.  */
74229 _ACEOF
74230 cat confdefs.h >>conftest.$ac_ext
74231 cat >>conftest.$ac_ext <<_ACEOF
74232 /* end confdefs.h.  */
74233 #include <math.h>
74234 int
74235 main ()
74236 {
74237  __builtin_cosl(0);
74238   ;
74239   return 0;
74240 }
74241 _ACEOF
74242 rm -f conftest.$ac_objext conftest$ac_exeext
74243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74244   (eval $ac_link) 2>conftest.er1
74245   ac_status=$?
74246   grep -v '^ *+' conftest.er1 >conftest.err
74247   rm -f conftest.er1
74248   cat conftest.err >&5
74249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74250   (exit $ac_status); } &&
74251          { ac_try='test -z "$ac_c_werror_flag"
74252                          || test ! -s conftest.err'
74253   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74254   (eval $ac_try) 2>&5
74255   ac_status=$?
74256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74257   (exit $ac_status); }; } &&
74258          { ac_try='test -s conftest$ac_exeext'
74259   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74260   (eval $ac_try) 2>&5
74261   ac_status=$?
74262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74263   (exit $ac_status); }; }; then
74264   glibcxx_cv_func___builtin_cosl_link=yes
74265 else
74266   echo "$as_me: failed program was:" >&5
74267 sed 's/^/| /' conftest.$ac_ext >&5
74268
74269 glibcxx_cv_func___builtin_cosl_link=no
74270 fi
74271 rm -f conftest.err conftest.$ac_objext \
74272       conftest$ac_exeext conftest.$ac_ext
74273
74274 fi
74275
74276     fi
74277     echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
74278 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
74279     if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
74280       ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
74281
74282 cat >>confdefs.h <<_ACEOF
74283 #define ${ac_tr_func} 1
74284 _ACEOF
74285
74286     fi
74287   fi
74288
74289
74290
74291
74292 echo "$as_me:$LINENO: checking for main in -lm" >&5
74293 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
74294 if test "${ac_cv_lib_m_main+set}" = set; then
74295   echo $ECHO_N "(cached) $ECHO_C" >&6
74296 else
74297   ac_check_lib_save_LIBS=$LIBS
74298 LIBS="-lm  $LIBS"
74299 if test x$gcc_no_link = xyes; then
74300   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74301 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74302    { (exit 1); exit 1; }; }
74303 fi
74304 cat >conftest.$ac_ext <<_ACEOF
74305 /* confdefs.h.  */
74306 _ACEOF
74307 cat confdefs.h >>conftest.$ac_ext
74308 cat >>conftest.$ac_ext <<_ACEOF
74309 /* end confdefs.h.  */
74310
74311
74312 int
74313 main ()
74314 {
74315 main ();
74316   ;
74317   return 0;
74318 }
74319 _ACEOF
74320 rm -f conftest.$ac_objext conftest$ac_exeext
74321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74322   (eval $ac_link) 2>conftest.er1
74323   ac_status=$?
74324   grep -v '^ *+' conftest.er1 >conftest.err
74325   rm -f conftest.er1
74326   cat conftest.err >&5
74327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74328   (exit $ac_status); } &&
74329          { ac_try='test -z "$ac_c_werror_flag"
74330                          || test ! -s conftest.err'
74331   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74332   (eval $ac_try) 2>&5
74333   ac_status=$?
74334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74335   (exit $ac_status); }; } &&
74336          { ac_try='test -s conftest$ac_exeext'
74337   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74338   (eval $ac_try) 2>&5
74339   ac_status=$?
74340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74341   (exit $ac_status); }; }; then
74342   ac_cv_lib_m_main=yes
74343 else
74344   echo "$as_me: failed program was:" >&5
74345 sed 's/^/| /' conftest.$ac_ext >&5
74346
74347 ac_cv_lib_m_main=no
74348 fi
74349 rm -f conftest.err conftest.$ac_objext \
74350       conftest$ac_exeext conftest.$ac_ext
74351 LIBS=$ac_check_lib_save_LIBS
74352 fi
74353 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
74354 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
74355 if test $ac_cv_lib_m_main = yes; then
74356   cat >>confdefs.h <<_ACEOF
74357 #define HAVE_LIBM 1
74358 _ACEOF
74359
74360   LIBS="-lm $LIBS"
74361
74362 fi
74363
74364
74365 for ac_func in copysignf
74366 do
74367 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74368 echo "$as_me:$LINENO: checking for $ac_func" >&5
74369 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74370 if eval "test \"\${$as_ac_var+set}\" = set"; then
74371   echo $ECHO_N "(cached) $ECHO_C" >&6
74372 else
74373   if test x$gcc_no_link = xyes; then
74374   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74375 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74376    { (exit 1); exit 1; }; }
74377 fi
74378 cat >conftest.$ac_ext <<_ACEOF
74379 /* confdefs.h.  */
74380 _ACEOF
74381 cat confdefs.h >>conftest.$ac_ext
74382 cat >>conftest.$ac_ext <<_ACEOF
74383 /* end confdefs.h.  */
74384 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74385    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74386 #define $ac_func innocuous_$ac_func
74387
74388 /* System header to define __stub macros and hopefully few prototypes,
74389     which can conflict with char $ac_func (); below.
74390     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74391     <limits.h> exists even on freestanding compilers.  */
74392
74393 #ifdef __STDC__
74394 # include <limits.h>
74395 #else
74396 # include <assert.h>
74397 #endif
74398
74399 #undef $ac_func
74400
74401 /* Override any gcc2 internal prototype to avoid an error.  */
74402 #ifdef __cplusplus
74403 extern "C"
74404 {
74405 #endif
74406 /* We use char because int might match the return type of a gcc2
74407    builtin and then its argument prototype would still apply.  */
74408 char $ac_func ();
74409 /* The GNU C library defines this for functions which it implements
74410     to always fail with ENOSYS.  Some functions are actually named
74411     something starting with __ and the normal name is an alias.  */
74412 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74413 choke me
74414 #else
74415 char (*f) () = $ac_func;
74416 #endif
74417 #ifdef __cplusplus
74418 }
74419 #endif
74420
74421 int
74422 main ()
74423 {
74424 return f != $ac_func;
74425   ;
74426   return 0;
74427 }
74428 _ACEOF
74429 rm -f conftest.$ac_objext conftest$ac_exeext
74430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74431   (eval $ac_link) 2>conftest.er1
74432   ac_status=$?
74433   grep -v '^ *+' conftest.er1 >conftest.err
74434   rm -f conftest.er1
74435   cat conftest.err >&5
74436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74437   (exit $ac_status); } &&
74438          { ac_try='test -z "$ac_c_werror_flag"
74439                          || test ! -s conftest.err'
74440   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74441   (eval $ac_try) 2>&5
74442   ac_status=$?
74443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74444   (exit $ac_status); }; } &&
74445          { ac_try='test -s conftest$ac_exeext'
74446   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74447   (eval $ac_try) 2>&5
74448   ac_status=$?
74449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74450   (exit $ac_status); }; }; then
74451   eval "$as_ac_var=yes"
74452 else
74453   echo "$as_me: failed program was:" >&5
74454 sed 's/^/| /' conftest.$ac_ext >&5
74455
74456 eval "$as_ac_var=no"
74457 fi
74458 rm -f conftest.err conftest.$ac_objext \
74459       conftest$ac_exeext conftest.$ac_ext
74460 fi
74461 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74462 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74463 if test `eval echo '${'$as_ac_var'}'` = yes; then
74464   cat >>confdefs.h <<_ACEOF
74465 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74466 _ACEOF
74467
74468 else
74469   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
74470 fi
74471 done
74472
74473
74474
74475 for ac_func in __signbit
74476 do
74477 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74478 echo "$as_me:$LINENO: checking for $ac_func" >&5
74479 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74480 if eval "test \"\${$as_ac_var+set}\" = set"; then
74481   echo $ECHO_N "(cached) $ECHO_C" >&6
74482 else
74483   if test x$gcc_no_link = xyes; then
74484   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74485 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74486    { (exit 1); exit 1; }; }
74487 fi
74488 cat >conftest.$ac_ext <<_ACEOF
74489 /* confdefs.h.  */
74490 _ACEOF
74491 cat confdefs.h >>conftest.$ac_ext
74492 cat >>conftest.$ac_ext <<_ACEOF
74493 /* end confdefs.h.  */
74494 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74495    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74496 #define $ac_func innocuous_$ac_func
74497
74498 /* System header to define __stub macros and hopefully few prototypes,
74499     which can conflict with char $ac_func (); below.
74500     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74501     <limits.h> exists even on freestanding compilers.  */
74502
74503 #ifdef __STDC__
74504 # include <limits.h>
74505 #else
74506 # include <assert.h>
74507 #endif
74508
74509 #undef $ac_func
74510
74511 /* Override any gcc2 internal prototype to avoid an error.  */
74512 #ifdef __cplusplus
74513 extern "C"
74514 {
74515 #endif
74516 /* We use char because int might match the return type of a gcc2
74517    builtin and then its argument prototype would still apply.  */
74518 char $ac_func ();
74519 /* The GNU C library defines this for functions which it implements
74520     to always fail with ENOSYS.  Some functions are actually named
74521     something starting with __ and the normal name is an alias.  */
74522 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74523 choke me
74524 #else
74525 char (*f) () = $ac_func;
74526 #endif
74527 #ifdef __cplusplus
74528 }
74529 #endif
74530
74531 int
74532 main ()
74533 {
74534 return f != $ac_func;
74535   ;
74536   return 0;
74537 }
74538 _ACEOF
74539 rm -f conftest.$ac_objext conftest$ac_exeext
74540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74541   (eval $ac_link) 2>conftest.er1
74542   ac_status=$?
74543   grep -v '^ *+' conftest.er1 >conftest.err
74544   rm -f conftest.er1
74545   cat conftest.err >&5
74546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74547   (exit $ac_status); } &&
74548          { ac_try='test -z "$ac_c_werror_flag"
74549                          || test ! -s conftest.err'
74550   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74551   (eval $ac_try) 2>&5
74552   ac_status=$?
74553   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74554   (exit $ac_status); }; } &&
74555          { ac_try='test -s conftest$ac_exeext'
74556   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74557   (eval $ac_try) 2>&5
74558   ac_status=$?
74559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74560   (exit $ac_status); }; }; then
74561   eval "$as_ac_var=yes"
74562 else
74563   echo "$as_me: failed program was:" >&5
74564 sed 's/^/| /' conftest.$ac_ext >&5
74565
74566 eval "$as_ac_var=no"
74567 fi
74568 rm -f conftest.err conftest.$ac_objext \
74569       conftest$ac_exeext conftest.$ac_ext
74570 fi
74571 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74572 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74573 if test `eval echo '${'$as_ac_var'}'` = yes; then
74574   cat >>confdefs.h <<_ACEOF
74575 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74576 _ACEOF
74577
74578 else
74579   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
74580 fi
74581 done
74582
74583
74584
74585 for ac_func in __signbitf
74586 do
74587 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74588 echo "$as_me:$LINENO: checking for $ac_func" >&5
74589 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74590 if eval "test \"\${$as_ac_var+set}\" = set"; then
74591   echo $ECHO_N "(cached) $ECHO_C" >&6
74592 else
74593   if test x$gcc_no_link = xyes; then
74594   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74595 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74596    { (exit 1); exit 1; }; }
74597 fi
74598 cat >conftest.$ac_ext <<_ACEOF
74599 /* confdefs.h.  */
74600 _ACEOF
74601 cat confdefs.h >>conftest.$ac_ext
74602 cat >>conftest.$ac_ext <<_ACEOF
74603 /* end confdefs.h.  */
74604 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74605    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74606 #define $ac_func innocuous_$ac_func
74607
74608 /* System header to define __stub macros and hopefully few prototypes,
74609     which can conflict with char $ac_func (); below.
74610     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74611     <limits.h> exists even on freestanding compilers.  */
74612
74613 #ifdef __STDC__
74614 # include <limits.h>
74615 #else
74616 # include <assert.h>
74617 #endif
74618
74619 #undef $ac_func
74620
74621 /* Override any gcc2 internal prototype to avoid an error.  */
74622 #ifdef __cplusplus
74623 extern "C"
74624 {
74625 #endif
74626 /* We use char because int might match the return type of a gcc2
74627    builtin and then its argument prototype would still apply.  */
74628 char $ac_func ();
74629 /* The GNU C library defines this for functions which it implements
74630     to always fail with ENOSYS.  Some functions are actually named
74631     something starting with __ and the normal name is an alias.  */
74632 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74633 choke me
74634 #else
74635 char (*f) () = $ac_func;
74636 #endif
74637 #ifdef __cplusplus
74638 }
74639 #endif
74640
74641 int
74642 main ()
74643 {
74644 return f != $ac_func;
74645   ;
74646   return 0;
74647 }
74648 _ACEOF
74649 rm -f conftest.$ac_objext conftest$ac_exeext
74650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74651   (eval $ac_link) 2>conftest.er1
74652   ac_status=$?
74653   grep -v '^ *+' conftest.er1 >conftest.err
74654   rm -f conftest.er1
74655   cat conftest.err >&5
74656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74657   (exit $ac_status); } &&
74658          { ac_try='test -z "$ac_c_werror_flag"
74659                          || test ! -s conftest.err'
74660   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74661   (eval $ac_try) 2>&5
74662   ac_status=$?
74663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74664   (exit $ac_status); }; } &&
74665          { ac_try='test -s conftest$ac_exeext'
74666   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74667   (eval $ac_try) 2>&5
74668   ac_status=$?
74669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74670   (exit $ac_status); }; }; then
74671   eval "$as_ac_var=yes"
74672 else
74673   echo "$as_me: failed program was:" >&5
74674 sed 's/^/| /' conftest.$ac_ext >&5
74675
74676 eval "$as_ac_var=no"
74677 fi
74678 rm -f conftest.err conftest.$ac_objext \
74679       conftest$ac_exeext conftest.$ac_ext
74680 fi
74681 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74682 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74683 if test `eval echo '${'$as_ac_var'}'` = yes; then
74684   cat >>confdefs.h <<_ACEOF
74685 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74686 _ACEOF
74687
74688 else
74689   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
74690 fi
74691 done
74692
74693
74694           if test x$ac_cv_func_copysignl = x"yes"; then
74695
74696 for ac_func in __signbitl
74697 do
74698 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74699 echo "$as_me:$LINENO: checking for $ac_func" >&5
74700 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74701 if eval "test \"\${$as_ac_var+set}\" = set"; then
74702   echo $ECHO_N "(cached) $ECHO_C" >&6
74703 else
74704   if test x$gcc_no_link = xyes; then
74705   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74706 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74707    { (exit 1); exit 1; }; }
74708 fi
74709 cat >conftest.$ac_ext <<_ACEOF
74710 /* confdefs.h.  */
74711 _ACEOF
74712 cat confdefs.h >>conftest.$ac_ext
74713 cat >>conftest.$ac_ext <<_ACEOF
74714 /* end confdefs.h.  */
74715 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74716    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
74717 #define $ac_func innocuous_$ac_func
74718
74719 /* System header to define __stub macros and hopefully few prototypes,
74720     which can conflict with char $ac_func (); below.
74721     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74722     <limits.h> exists even on freestanding compilers.  */
74723
74724 #ifdef __STDC__
74725 # include <limits.h>
74726 #else
74727 # include <assert.h>
74728 #endif
74729
74730 #undef $ac_func
74731
74732 /* Override any gcc2 internal prototype to avoid an error.  */
74733 #ifdef __cplusplus
74734 extern "C"
74735 {
74736 #endif
74737 /* We use char because int might match the return type of a gcc2
74738    builtin and then its argument prototype would still apply.  */
74739 char $ac_func ();
74740 /* The GNU C library defines this for functions which it implements
74741     to always fail with ENOSYS.  Some functions are actually named
74742     something starting with __ and the normal name is an alias.  */
74743 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74744 choke me
74745 #else
74746 char (*f) () = $ac_func;
74747 #endif
74748 #ifdef __cplusplus
74749 }
74750 #endif
74751
74752 int
74753 main ()
74754 {
74755 return f != $ac_func;
74756   ;
74757   return 0;
74758 }
74759 _ACEOF
74760 rm -f conftest.$ac_objext conftest$ac_exeext
74761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74762   (eval $ac_link) 2>conftest.er1
74763   ac_status=$?
74764   grep -v '^ *+' conftest.er1 >conftest.err
74765   rm -f conftest.er1
74766   cat conftest.err >&5
74767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74768   (exit $ac_status); } &&
74769          { ac_try='test -z "$ac_c_werror_flag"
74770                          || test ! -s conftest.err'
74771   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74772   (eval $ac_try) 2>&5
74773   ac_status=$?
74774   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74775   (exit $ac_status); }; } &&
74776          { ac_try='test -s conftest$ac_exeext'
74777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74778   (eval $ac_try) 2>&5
74779   ac_status=$?
74780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74781   (exit $ac_status); }; }; then
74782   eval "$as_ac_var=yes"
74783 else
74784   echo "$as_me: failed program was:" >&5
74785 sed 's/^/| /' conftest.$ac_ext >&5
74786
74787 eval "$as_ac_var=no"
74788 fi
74789 rm -f conftest.err conftest.$ac_objext \
74790       conftest$ac_exeext conftest.$ac_ext
74791 fi
74792 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74793 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74794 if test `eval echo '${'$as_ac_var'}'` = yes; then
74795   cat >>confdefs.h <<_ACEOF
74796 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74797 _ACEOF
74798
74799 else
74800   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
74801 fi
74802 done
74803
74804   fi
74805
74806   # Used in libmath/Makefile.am.
74807   if test -n "$LIBMATHOBJS"; then
74808     need_libmath=yes
74809   fi
74810
74811
74812
74813   # Test wchar.h for mbstate_t, which is needed for char_traits and
74814   # others even if wchar_t support is not on.
74815   echo "$as_me:$LINENO: checking for mbstate_t" >&5
74816 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
74817   cat >conftest.$ac_ext <<_ACEOF
74818 /* confdefs.h.  */
74819 _ACEOF
74820 cat confdefs.h >>conftest.$ac_ext
74821 cat >>conftest.$ac_ext <<_ACEOF
74822 /* end confdefs.h.  */
74823 #include <wchar.h>
74824 int
74825 main ()
74826 {
74827 mbstate_t teststate;
74828   ;
74829   return 0;
74830 }
74831 _ACEOF
74832 rm -f conftest.$ac_objext
74833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74834   (eval $ac_compile) 2>conftest.er1
74835   ac_status=$?
74836   grep -v '^ *+' conftest.er1 >conftest.err
74837   rm -f conftest.er1
74838   cat conftest.err >&5
74839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74840   (exit $ac_status); } &&
74841          { ac_try='test -z "$ac_c_werror_flag"
74842                          || test ! -s conftest.err'
74843   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74844   (eval $ac_try) 2>&5
74845   ac_status=$?
74846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74847   (exit $ac_status); }; } &&
74848          { ac_try='test -s conftest.$ac_objext'
74849   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74850   (eval $ac_try) 2>&5
74851   ac_status=$?
74852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74853   (exit $ac_status); }; }; then
74854   have_mbstate_t=yes
74855 else
74856   echo "$as_me: failed program was:" >&5
74857 sed 's/^/| /' conftest.$ac_ext >&5
74858
74859 have_mbstate_t=no
74860 fi
74861 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74862   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
74863 echo "${ECHO_T}$have_mbstate_t" >&6
74864   if test x"$have_mbstate_t" = xyes; then
74865     cat >>confdefs.h <<\_ACEOF
74866 #define HAVE_MBSTATE_T 1
74867 _ACEOF
74868
74869   fi
74870
74871   # Sanity check for existence of ISO C99 headers for extended encoding.
74872
74873 for ac_header in wchar.h
74874 do
74875 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
74876 if eval "test \"\${$as_ac_Header+set}\" = set"; then
74877   echo "$as_me:$LINENO: checking for $ac_header" >&5
74878 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
74879 if eval "test \"\${$as_ac_Header+set}\" = set"; then
74880   echo $ECHO_N "(cached) $ECHO_C" >&6
74881 fi
74882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
74883 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
74884 else
74885   # Is the header compilable?
74886 echo "$as_me:$LINENO: checking $ac_header usability" >&5
74887 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
74888 cat >conftest.$ac_ext <<_ACEOF
74889 /* confdefs.h.  */
74890 _ACEOF
74891 cat confdefs.h >>conftest.$ac_ext
74892 cat >>conftest.$ac_ext <<_ACEOF
74893 /* end confdefs.h.  */
74894 $ac_includes_default
74895 #include <$ac_header>
74896 _ACEOF
74897 rm -f conftest.$ac_objext
74898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74899   (eval $ac_compile) 2>conftest.er1
74900   ac_status=$?
74901   grep -v '^ *+' conftest.er1 >conftest.err
74902   rm -f conftest.er1
74903   cat conftest.err >&5
74904   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74905   (exit $ac_status); } &&
74906          { ac_try='test -z "$ac_c_werror_flag"
74907                          || test ! -s conftest.err'
74908   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74909   (eval $ac_try) 2>&5
74910   ac_status=$?
74911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74912   (exit $ac_status); }; } &&
74913          { ac_try='test -s conftest.$ac_objext'
74914   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74915   (eval $ac_try) 2>&5
74916   ac_status=$?
74917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74918   (exit $ac_status); }; }; then
74919   ac_header_compiler=yes
74920 else
74921   echo "$as_me: failed program was:" >&5
74922 sed 's/^/| /' conftest.$ac_ext >&5
74923
74924 ac_header_compiler=no
74925 fi
74926 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74927 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74928 echo "${ECHO_T}$ac_header_compiler" >&6
74929
74930 # Is the header present?
74931 echo "$as_me:$LINENO: checking $ac_header presence" >&5
74932 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
74933 cat >conftest.$ac_ext <<_ACEOF
74934 /* confdefs.h.  */
74935 _ACEOF
74936 cat confdefs.h >>conftest.$ac_ext
74937 cat >>conftest.$ac_ext <<_ACEOF
74938 /* end confdefs.h.  */
74939 #include <$ac_header>
74940 _ACEOF
74941 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74942   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74943   ac_status=$?
74944   grep -v '^ *+' conftest.er1 >conftest.err
74945   rm -f conftest.er1
74946   cat conftest.err >&5
74947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
74948   (exit $ac_status); } >/dev/null; then
74949   if test -s conftest.err; then
74950     ac_cpp_err=$ac_c_preproc_warn_flag
74951     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74952   else
74953     ac_cpp_err=
74954   fi
74955 else
74956   ac_cpp_err=yes
74957 fi
74958 if test -z "$ac_cpp_err"; then
74959   ac_header_preproc=yes
74960 else
74961   echo "$as_me: failed program was:" >&5
74962 sed 's/^/| /' conftest.$ac_ext >&5
74963
74964   ac_header_preproc=no
74965 fi
74966 rm -f conftest.err conftest.$ac_ext
74967 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74968 echo "${ECHO_T}$ac_header_preproc" >&6
74969
74970 # So?  What about this header?
74971 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74972   yes:no: )
74973     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
74974 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
74975     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
74976 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
74977     ac_header_preproc=yes
74978     ;;
74979   no:yes:* )
74980     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
74981 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
74982     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
74983 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
74984     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
74985 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
74986     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
74987 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
74988     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
74989 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
74990     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
74991 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
74992     (
74993       cat <<\_ASBOX
74994 ## ----------------------------------------- ##
74995 ## Report this to the package-unused lists.  ##
74996 ## ----------------------------------------- ##
74997 _ASBOX
74998     ) |
74999       sed "s/^/$as_me: WARNING:     /" >&2
75000     ;;
75001 esac
75002 echo "$as_me:$LINENO: checking for $ac_header" >&5
75003 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75004 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75005   echo $ECHO_N "(cached) $ECHO_C" >&6
75006 else
75007   eval "$as_ac_Header=\$ac_header_preproc"
75008 fi
75009 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75010 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75011
75012 fi
75013 if test `eval echo '${'$as_ac_Header'}'` = yes; then
75014   cat >>confdefs.h <<_ACEOF
75015 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
75016 _ACEOF
75017  ac_has_wchar_h=yes
75018 else
75019   ac_has_wchar_h=no
75020 fi
75021
75022 done
75023
75024
75025 for ac_header in wctype.h
75026 do
75027 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
75028 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75029   echo "$as_me:$LINENO: checking for $ac_header" >&5
75030 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75031 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75032   echo $ECHO_N "(cached) $ECHO_C" >&6
75033 fi
75034 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75035 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75036 else
75037   # Is the header compilable?
75038 echo "$as_me:$LINENO: checking $ac_header usability" >&5
75039 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
75040 cat >conftest.$ac_ext <<_ACEOF
75041 /* confdefs.h.  */
75042 _ACEOF
75043 cat confdefs.h >>conftest.$ac_ext
75044 cat >>conftest.$ac_ext <<_ACEOF
75045 /* end confdefs.h.  */
75046 $ac_includes_default
75047 #include <$ac_header>
75048 _ACEOF
75049 rm -f conftest.$ac_objext
75050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75051   (eval $ac_compile) 2>conftest.er1
75052   ac_status=$?
75053   grep -v '^ *+' conftest.er1 >conftest.err
75054   rm -f conftest.er1
75055   cat conftest.err >&5
75056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75057   (exit $ac_status); } &&
75058          { ac_try='test -z "$ac_c_werror_flag"
75059                          || test ! -s conftest.err'
75060   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75061   (eval $ac_try) 2>&5
75062   ac_status=$?
75063   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75064   (exit $ac_status); }; } &&
75065          { ac_try='test -s conftest.$ac_objext'
75066   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75067   (eval $ac_try) 2>&5
75068   ac_status=$?
75069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75070   (exit $ac_status); }; }; then
75071   ac_header_compiler=yes
75072 else
75073   echo "$as_me: failed program was:" >&5
75074 sed 's/^/| /' conftest.$ac_ext >&5
75075
75076 ac_header_compiler=no
75077 fi
75078 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75079 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75080 echo "${ECHO_T}$ac_header_compiler" >&6
75081
75082 # Is the header present?
75083 echo "$as_me:$LINENO: checking $ac_header presence" >&5
75084 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
75085 cat >conftest.$ac_ext <<_ACEOF
75086 /* confdefs.h.  */
75087 _ACEOF
75088 cat confdefs.h >>conftest.$ac_ext
75089 cat >>conftest.$ac_ext <<_ACEOF
75090 /* end confdefs.h.  */
75091 #include <$ac_header>
75092 _ACEOF
75093 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75094   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75095   ac_status=$?
75096   grep -v '^ *+' conftest.er1 >conftest.err
75097   rm -f conftest.er1
75098   cat conftest.err >&5
75099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75100   (exit $ac_status); } >/dev/null; then
75101   if test -s conftest.err; then
75102     ac_cpp_err=$ac_c_preproc_warn_flag
75103     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75104   else
75105     ac_cpp_err=
75106   fi
75107 else
75108   ac_cpp_err=yes
75109 fi
75110 if test -z "$ac_cpp_err"; then
75111   ac_header_preproc=yes
75112 else
75113   echo "$as_me: failed program was:" >&5
75114 sed 's/^/| /' conftest.$ac_ext >&5
75115
75116   ac_header_preproc=no
75117 fi
75118 rm -f conftest.err conftest.$ac_ext
75119 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75120 echo "${ECHO_T}$ac_header_preproc" >&6
75121
75122 # So?  What about this header?
75123 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75124   yes:no: )
75125     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
75126 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
75127     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
75128 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
75129     ac_header_preproc=yes
75130     ;;
75131   no:yes:* )
75132     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
75133 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
75134     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
75135 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
75136     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
75137 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
75138     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
75139 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
75140     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
75141 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
75142     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
75143 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
75144     (
75145       cat <<\_ASBOX
75146 ## ----------------------------------------- ##
75147 ## Report this to the package-unused lists.  ##
75148 ## ----------------------------------------- ##
75149 _ASBOX
75150     ) |
75151       sed "s/^/$as_me: WARNING:     /" >&2
75152     ;;
75153 esac
75154 echo "$as_me:$LINENO: checking for $ac_header" >&5
75155 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75156 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75157   echo $ECHO_N "(cached) $ECHO_C" >&6
75158 else
75159   eval "$as_ac_Header=\$ac_header_preproc"
75160 fi
75161 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75162 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75163
75164 fi
75165 if test `eval echo '${'$as_ac_Header'}'` = yes; then
75166   cat >>confdefs.h <<_ACEOF
75167 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
75168 _ACEOF
75169  ac_has_wctype_h=yes
75170 else
75171   ac_has_wctype_h=no
75172 fi
75173
75174 done
75175
75176
75177   # Only continue checking if the ISO C99 headers exist and support is on.
75178   if test x"$ac_has_wchar_h" = xyes &&
75179      test x"$ac_has_wctype_h" = xyes &&
75180      test x"$enable_c_mbchar" != xno; then
75181
75182     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
75183     # numeric_limits can instantiate type_traits<wchar_t>
75184     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
75185 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
75186     cat >conftest.$ac_ext <<_ACEOF
75187 /* confdefs.h.  */
75188 _ACEOF
75189 cat confdefs.h >>conftest.$ac_ext
75190 cat >>conftest.$ac_ext <<_ACEOF
75191 /* end confdefs.h.  */
75192 #include <wchar.h>
75193 int
75194 main ()
75195 {
75196 int i = WCHAR_MIN; int j = WCHAR_MAX;
75197   ;
75198   return 0;
75199 }
75200 _ACEOF
75201 rm -f conftest.$ac_objext
75202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75203   (eval $ac_compile) 2>conftest.er1
75204   ac_status=$?
75205   grep -v '^ *+' conftest.er1 >conftest.err
75206   rm -f conftest.er1
75207   cat conftest.err >&5
75208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75209   (exit $ac_status); } &&
75210          { ac_try='test -z "$ac_c_werror_flag"
75211                          || test ! -s conftest.err'
75212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75213   (eval $ac_try) 2>&5
75214   ac_status=$?
75215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75216   (exit $ac_status); }; } &&
75217          { ac_try='test -s conftest.$ac_objext'
75218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75219   (eval $ac_try) 2>&5
75220   ac_status=$?
75221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75222   (exit $ac_status); }; }; then
75223   has_wchar_minmax=yes
75224 else
75225   echo "$as_me: failed program was:" >&5
75226 sed 's/^/| /' conftest.$ac_ext >&5
75227
75228 has_wchar_minmax=no
75229 fi
75230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75231     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
75232 echo "${ECHO_T}$has_wchar_minmax" >&6
75233
75234     # Test wchar.h for WEOF, which is what we use to determine whether
75235     # to specialize for char_traits<wchar_t> or not.
75236     echo "$as_me:$LINENO: checking for WEOF" >&5
75237 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
75238     cat >conftest.$ac_ext <<_ACEOF
75239 /* confdefs.h.  */
75240 _ACEOF
75241 cat confdefs.h >>conftest.$ac_ext
75242 cat >>conftest.$ac_ext <<_ACEOF
75243 /* end confdefs.h.  */
75244
75245       #include <wchar.h>
75246       #include <stddef.h>
75247 int
75248 main ()
75249 {
75250 wint_t i = WEOF;
75251   ;
75252   return 0;
75253 }
75254 _ACEOF
75255 rm -f conftest.$ac_objext
75256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75257   (eval $ac_compile) 2>conftest.er1
75258   ac_status=$?
75259   grep -v '^ *+' conftest.er1 >conftest.err
75260   rm -f conftest.er1
75261   cat conftest.err >&5
75262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75263   (exit $ac_status); } &&
75264          { ac_try='test -z "$ac_c_werror_flag"
75265                          || test ! -s conftest.err'
75266   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75267   (eval $ac_try) 2>&5
75268   ac_status=$?
75269   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75270   (exit $ac_status); }; } &&
75271          { ac_try='test -s conftest.$ac_objext'
75272   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75273   (eval $ac_try) 2>&5
75274   ac_status=$?
75275   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75276   (exit $ac_status); }; }; then
75277   has_weof=yes
75278 else
75279   echo "$as_me: failed program was:" >&5
75280 sed 's/^/| /' conftest.$ac_ext >&5
75281
75282 has_weof=no
75283 fi
75284 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75285     echo "$as_me:$LINENO: result: $has_weof" >&5
75286 echo "${ECHO_T}$has_weof" >&6
75287
75288     # Tests for wide character functions used in char_traits<wchar_t>.
75289     ac_wfuncs=yes
75290
75291
75292
75293
75294
75295
75296 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
75297 do
75298 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75299 echo "$as_me:$LINENO: checking for $ac_func" >&5
75300 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75301 if eval "test \"\${$as_ac_var+set}\" = set"; then
75302   echo $ECHO_N "(cached) $ECHO_C" >&6
75303 else
75304   if test x$gcc_no_link = xyes; then
75305   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75306 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75307    { (exit 1); exit 1; }; }
75308 fi
75309 cat >conftest.$ac_ext <<_ACEOF
75310 /* confdefs.h.  */
75311 _ACEOF
75312 cat confdefs.h >>conftest.$ac_ext
75313 cat >>conftest.$ac_ext <<_ACEOF
75314 /* end confdefs.h.  */
75315 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75316    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75317 #define $ac_func innocuous_$ac_func
75318
75319 /* System header to define __stub macros and hopefully few prototypes,
75320     which can conflict with char $ac_func (); below.
75321     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75322     <limits.h> exists even on freestanding compilers.  */
75323
75324 #ifdef __STDC__
75325 # include <limits.h>
75326 #else
75327 # include <assert.h>
75328 #endif
75329
75330 #undef $ac_func
75331
75332 /* Override any gcc2 internal prototype to avoid an error.  */
75333 #ifdef __cplusplus
75334 extern "C"
75335 {
75336 #endif
75337 /* We use char because int might match the return type of a gcc2
75338    builtin and then its argument prototype would still apply.  */
75339 char $ac_func ();
75340 /* The GNU C library defines this for functions which it implements
75341     to always fail with ENOSYS.  Some functions are actually named
75342     something starting with __ and the normal name is an alias.  */
75343 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75344 choke me
75345 #else
75346 char (*f) () = $ac_func;
75347 #endif
75348 #ifdef __cplusplus
75349 }
75350 #endif
75351
75352 int
75353 main ()
75354 {
75355 return f != $ac_func;
75356   ;
75357   return 0;
75358 }
75359 _ACEOF
75360 rm -f conftest.$ac_objext conftest$ac_exeext
75361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75362   (eval $ac_link) 2>conftest.er1
75363   ac_status=$?
75364   grep -v '^ *+' conftest.er1 >conftest.err
75365   rm -f conftest.er1
75366   cat conftest.err >&5
75367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75368   (exit $ac_status); } &&
75369          { ac_try='test -z "$ac_c_werror_flag"
75370                          || test ! -s conftest.err'
75371   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75372   (eval $ac_try) 2>&5
75373   ac_status=$?
75374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75375   (exit $ac_status); }; } &&
75376          { ac_try='test -s conftest$ac_exeext'
75377   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75378   (eval $ac_try) 2>&5
75379   ac_status=$?
75380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75381   (exit $ac_status); }; }; then
75382   eval "$as_ac_var=yes"
75383 else
75384   echo "$as_me: failed program was:" >&5
75385 sed 's/^/| /' conftest.$ac_ext >&5
75386
75387 eval "$as_ac_var=no"
75388 fi
75389 rm -f conftest.err conftest.$ac_objext \
75390       conftest$ac_exeext conftest.$ac_ext
75391 fi
75392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75393 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75394 if test `eval echo '${'$as_ac_var'}'` = yes; then
75395   cat >>confdefs.h <<_ACEOF
75396 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75397 _ACEOF
75398
75399 else
75400   ac_wfuncs=no
75401 fi
75402 done
75403
75404
75405     # Checks for names injected into std:: by the c_std headers.
75406
75407
75408
75409
75410
75411
75412
75413
75414
75415
75416
75417
75418
75419
75420
75421
75422
75423
75424
75425
75426
75427
75428
75429
75430
75431
75432
75433
75434
75435
75436
75437
75438
75439
75440
75441
75442
75443
75444
75445
75446
75447
75448
75449
75450
75451
75452 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
75453     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
75454     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
75455     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
75456     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
75457     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
75458 do
75459 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75460 echo "$as_me:$LINENO: checking for $ac_func" >&5
75461 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75462 if eval "test \"\${$as_ac_var+set}\" = set"; then
75463   echo $ECHO_N "(cached) $ECHO_C" >&6
75464 else
75465   if test x$gcc_no_link = xyes; then
75466   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75467 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75468    { (exit 1); exit 1; }; }
75469 fi
75470 cat >conftest.$ac_ext <<_ACEOF
75471 /* confdefs.h.  */
75472 _ACEOF
75473 cat confdefs.h >>conftest.$ac_ext
75474 cat >>conftest.$ac_ext <<_ACEOF
75475 /* end confdefs.h.  */
75476 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75477    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75478 #define $ac_func innocuous_$ac_func
75479
75480 /* System header to define __stub macros and hopefully few prototypes,
75481     which can conflict with char $ac_func (); below.
75482     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75483     <limits.h> exists even on freestanding compilers.  */
75484
75485 #ifdef __STDC__
75486 # include <limits.h>
75487 #else
75488 # include <assert.h>
75489 #endif
75490
75491 #undef $ac_func
75492
75493 /* Override any gcc2 internal prototype to avoid an error.  */
75494 #ifdef __cplusplus
75495 extern "C"
75496 {
75497 #endif
75498 /* We use char because int might match the return type of a gcc2
75499    builtin and then its argument prototype would still apply.  */
75500 char $ac_func ();
75501 /* The GNU C library defines this for functions which it implements
75502     to always fail with ENOSYS.  Some functions are actually named
75503     something starting with __ and the normal name is an alias.  */
75504 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75505 choke me
75506 #else
75507 char (*f) () = $ac_func;
75508 #endif
75509 #ifdef __cplusplus
75510 }
75511 #endif
75512
75513 int
75514 main ()
75515 {
75516 return f != $ac_func;
75517   ;
75518   return 0;
75519 }
75520 _ACEOF
75521 rm -f conftest.$ac_objext conftest$ac_exeext
75522 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75523   (eval $ac_link) 2>conftest.er1
75524   ac_status=$?
75525   grep -v '^ *+' conftest.er1 >conftest.err
75526   rm -f conftest.er1
75527   cat conftest.err >&5
75528   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75529   (exit $ac_status); } &&
75530          { ac_try='test -z "$ac_c_werror_flag"
75531                          || test ! -s conftest.err'
75532   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75533   (eval $ac_try) 2>&5
75534   ac_status=$?
75535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75536   (exit $ac_status); }; } &&
75537          { ac_try='test -s conftest$ac_exeext'
75538   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75539   (eval $ac_try) 2>&5
75540   ac_status=$?
75541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75542   (exit $ac_status); }; }; then
75543   eval "$as_ac_var=yes"
75544 else
75545   echo "$as_me: failed program was:" >&5
75546 sed 's/^/| /' conftest.$ac_ext >&5
75547
75548 eval "$as_ac_var=no"
75549 fi
75550 rm -f conftest.err conftest.$ac_objext \
75551       conftest$ac_exeext conftest.$ac_ext
75552 fi
75553 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75554 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75555 if test `eval echo '${'$as_ac_var'}'` = yes; then
75556   cat >>confdefs.h <<_ACEOF
75557 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75558 _ACEOF
75559
75560 else
75561   ac_wfuncs=no
75562 fi
75563 done
75564
75565
75566     # Checks for wide character functions that are not required
75567     # for basic wchar_t support.  Don't disable support if they are missing.
75568     # Injection of these is wrapped with guard macros.
75569
75570
75571
75572
75573
75574 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
75575 do
75576 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75577 echo "$as_me:$LINENO: checking for $ac_func" >&5
75578 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75579 if eval "test \"\${$as_ac_var+set}\" = set"; then
75580   echo $ECHO_N "(cached) $ECHO_C" >&6
75581 else
75582   if test x$gcc_no_link = xyes; then
75583   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75584 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75585    { (exit 1); exit 1; }; }
75586 fi
75587 cat >conftest.$ac_ext <<_ACEOF
75588 /* confdefs.h.  */
75589 _ACEOF
75590 cat confdefs.h >>conftest.$ac_ext
75591 cat >>conftest.$ac_ext <<_ACEOF
75592 /* end confdefs.h.  */
75593 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75594    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
75595 #define $ac_func innocuous_$ac_func
75596
75597 /* System header to define __stub macros and hopefully few prototypes,
75598     which can conflict with char $ac_func (); below.
75599     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75600     <limits.h> exists even on freestanding compilers.  */
75601
75602 #ifdef __STDC__
75603 # include <limits.h>
75604 #else
75605 # include <assert.h>
75606 #endif
75607
75608 #undef $ac_func
75609
75610 /* Override any gcc2 internal prototype to avoid an error.  */
75611 #ifdef __cplusplus
75612 extern "C"
75613 {
75614 #endif
75615 /* We use char because int might match the return type of a gcc2
75616    builtin and then its argument prototype would still apply.  */
75617 char $ac_func ();
75618 /* The GNU C library defines this for functions which it implements
75619     to always fail with ENOSYS.  Some functions are actually named
75620     something starting with __ and the normal name is an alias.  */
75621 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75622 choke me
75623 #else
75624 char (*f) () = $ac_func;
75625 #endif
75626 #ifdef __cplusplus
75627 }
75628 #endif
75629
75630 int
75631 main ()
75632 {
75633 return f != $ac_func;
75634   ;
75635   return 0;
75636 }
75637 _ACEOF
75638 rm -f conftest.$ac_objext conftest$ac_exeext
75639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75640   (eval $ac_link) 2>conftest.er1
75641   ac_status=$?
75642   grep -v '^ *+' conftest.er1 >conftest.err
75643   rm -f conftest.er1
75644   cat conftest.err >&5
75645   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75646   (exit $ac_status); } &&
75647          { ac_try='test -z "$ac_c_werror_flag"
75648                          || test ! -s conftest.err'
75649   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75650   (eval $ac_try) 2>&5
75651   ac_status=$?
75652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75653   (exit $ac_status); }; } &&
75654          { ac_try='test -s conftest$ac_exeext'
75655   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75656   (eval $ac_try) 2>&5
75657   ac_status=$?
75658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75659   (exit $ac_status); }; }; then
75660   eval "$as_ac_var=yes"
75661 else
75662   echo "$as_me: failed program was:" >&5
75663 sed 's/^/| /' conftest.$ac_ext >&5
75664
75665 eval "$as_ac_var=no"
75666 fi
75667 rm -f conftest.err conftest.$ac_objext \
75668       conftest$ac_exeext conftest.$ac_ext
75669 fi
75670 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75671 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75672 if test `eval echo '${'$as_ac_var'}'` = yes; then
75673   cat >>confdefs.h <<_ACEOF
75674 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75675 _ACEOF
75676
75677 fi
75678 done
75679
75680
75681     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
75682 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
75683     if test x"$has_weof" = xyes &&
75684        test x"$has_wchar_minmax" = xyes &&
75685        test x"$ac_wfuncs" = xyes;
75686     then
75687       ac_isoC99_wchar_t=yes
75688     else
75689       ac_isoC99_wchar_t=no
75690     fi
75691     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
75692 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
75693
75694     # Use iconv for wchar_t to char conversions. As such, check for
75695     # X/Open Portability Guide, version 2 features (XPG2).
75696     if test "${ac_cv_header_iconv_h+set}" = set; then
75697   echo "$as_me:$LINENO: checking for iconv.h" >&5
75698 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
75699 if test "${ac_cv_header_iconv_h+set}" = set; then
75700   echo $ECHO_N "(cached) $ECHO_C" >&6
75701 fi
75702 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
75703 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
75704 else
75705   # Is the header compilable?
75706 echo "$as_me:$LINENO: checking iconv.h usability" >&5
75707 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
75708 cat >conftest.$ac_ext <<_ACEOF
75709 /* confdefs.h.  */
75710 _ACEOF
75711 cat confdefs.h >>conftest.$ac_ext
75712 cat >>conftest.$ac_ext <<_ACEOF
75713 /* end confdefs.h.  */
75714 $ac_includes_default
75715 #include <iconv.h>
75716 _ACEOF
75717 rm -f conftest.$ac_objext
75718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75719   (eval $ac_compile) 2>conftest.er1
75720   ac_status=$?
75721   grep -v '^ *+' conftest.er1 >conftest.err
75722   rm -f conftest.er1
75723   cat conftest.err >&5
75724   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75725   (exit $ac_status); } &&
75726          { ac_try='test -z "$ac_c_werror_flag"
75727                          || test ! -s conftest.err'
75728   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75729   (eval $ac_try) 2>&5
75730   ac_status=$?
75731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75732   (exit $ac_status); }; } &&
75733          { ac_try='test -s conftest.$ac_objext'
75734   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75735   (eval $ac_try) 2>&5
75736   ac_status=$?
75737   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75738   (exit $ac_status); }; }; then
75739   ac_header_compiler=yes
75740 else
75741   echo "$as_me: failed program was:" >&5
75742 sed 's/^/| /' conftest.$ac_ext >&5
75743
75744 ac_header_compiler=no
75745 fi
75746 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75747 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75748 echo "${ECHO_T}$ac_header_compiler" >&6
75749
75750 # Is the header present?
75751 echo "$as_me:$LINENO: checking iconv.h presence" >&5
75752 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
75753 cat >conftest.$ac_ext <<_ACEOF
75754 /* confdefs.h.  */
75755 _ACEOF
75756 cat confdefs.h >>conftest.$ac_ext
75757 cat >>conftest.$ac_ext <<_ACEOF
75758 /* end confdefs.h.  */
75759 #include <iconv.h>
75760 _ACEOF
75761 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75762   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75763   ac_status=$?
75764   grep -v '^ *+' conftest.er1 >conftest.err
75765   rm -f conftest.er1
75766   cat conftest.err >&5
75767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75768   (exit $ac_status); } >/dev/null; then
75769   if test -s conftest.err; then
75770     ac_cpp_err=$ac_c_preproc_warn_flag
75771     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75772   else
75773     ac_cpp_err=
75774   fi
75775 else
75776   ac_cpp_err=yes
75777 fi
75778 if test -z "$ac_cpp_err"; then
75779   ac_header_preproc=yes
75780 else
75781   echo "$as_me: failed program was:" >&5
75782 sed 's/^/| /' conftest.$ac_ext >&5
75783
75784   ac_header_preproc=no
75785 fi
75786 rm -f conftest.err conftest.$ac_ext
75787 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75788 echo "${ECHO_T}$ac_header_preproc" >&6
75789
75790 # So?  What about this header?
75791 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75792   yes:no: )
75793     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
75794 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
75795     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
75796 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
75797     ac_header_preproc=yes
75798     ;;
75799   no:yes:* )
75800     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
75801 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
75802     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
75803 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
75804     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
75805 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
75806     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
75807 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
75808     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
75809 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
75810     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
75811 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
75812     (
75813       cat <<\_ASBOX
75814 ## ----------------------------------------- ##
75815 ## Report this to the package-unused lists.  ##
75816 ## ----------------------------------------- ##
75817 _ASBOX
75818     ) |
75819       sed "s/^/$as_me: WARNING:     /" >&2
75820     ;;
75821 esac
75822 echo "$as_me:$LINENO: checking for iconv.h" >&5
75823 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
75824 if test "${ac_cv_header_iconv_h+set}" = set; then
75825   echo $ECHO_N "(cached) $ECHO_C" >&6
75826 else
75827   ac_cv_header_iconv_h=$ac_header_preproc
75828 fi
75829 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
75830 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
75831
75832 fi
75833 if test $ac_cv_header_iconv_h = yes; then
75834   ac_has_iconv_h=yes
75835 else
75836   ac_has_iconv_h=no
75837 fi
75838
75839
75840     if test "${ac_cv_header_langinfo_h+set}" = set; then
75841   echo "$as_me:$LINENO: checking for langinfo.h" >&5
75842 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
75843 if test "${ac_cv_header_langinfo_h+set}" = set; then
75844   echo $ECHO_N "(cached) $ECHO_C" >&6
75845 fi
75846 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
75847 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
75848 else
75849   # Is the header compilable?
75850 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
75851 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
75852 cat >conftest.$ac_ext <<_ACEOF
75853 /* confdefs.h.  */
75854 _ACEOF
75855 cat confdefs.h >>conftest.$ac_ext
75856 cat >>conftest.$ac_ext <<_ACEOF
75857 /* end confdefs.h.  */
75858 $ac_includes_default
75859 #include <langinfo.h>
75860 _ACEOF
75861 rm -f conftest.$ac_objext
75862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75863   (eval $ac_compile) 2>conftest.er1
75864   ac_status=$?
75865   grep -v '^ *+' conftest.er1 >conftest.err
75866   rm -f conftest.er1
75867   cat conftest.err >&5
75868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75869   (exit $ac_status); } &&
75870          { ac_try='test -z "$ac_c_werror_flag"
75871                          || test ! -s conftest.err'
75872   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75873   (eval $ac_try) 2>&5
75874   ac_status=$?
75875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75876   (exit $ac_status); }; } &&
75877          { ac_try='test -s conftest.$ac_objext'
75878   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75879   (eval $ac_try) 2>&5
75880   ac_status=$?
75881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75882   (exit $ac_status); }; }; then
75883   ac_header_compiler=yes
75884 else
75885   echo "$as_me: failed program was:" >&5
75886 sed 's/^/| /' conftest.$ac_ext >&5
75887
75888 ac_header_compiler=no
75889 fi
75890 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75891 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75892 echo "${ECHO_T}$ac_header_compiler" >&6
75893
75894 # Is the header present?
75895 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
75896 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
75897 cat >conftest.$ac_ext <<_ACEOF
75898 /* confdefs.h.  */
75899 _ACEOF
75900 cat confdefs.h >>conftest.$ac_ext
75901 cat >>conftest.$ac_ext <<_ACEOF
75902 /* end confdefs.h.  */
75903 #include <langinfo.h>
75904 _ACEOF
75905 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75906   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75907   ac_status=$?
75908   grep -v '^ *+' conftest.er1 >conftest.err
75909   rm -f conftest.er1
75910   cat conftest.err >&5
75911   echo "$as_me:$LINENO: \$? = $ac_status" >&5
75912   (exit $ac_status); } >/dev/null; then
75913   if test -s conftest.err; then
75914     ac_cpp_err=$ac_c_preproc_warn_flag
75915     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75916   else
75917     ac_cpp_err=
75918   fi
75919 else
75920   ac_cpp_err=yes
75921 fi
75922 if test -z "$ac_cpp_err"; then
75923   ac_header_preproc=yes
75924 else
75925   echo "$as_me: failed program was:" >&5
75926 sed 's/^/| /' conftest.$ac_ext >&5
75927
75928   ac_header_preproc=no
75929 fi
75930 rm -f conftest.err conftest.$ac_ext
75931 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75932 echo "${ECHO_T}$ac_header_preproc" >&6
75933
75934 # So?  What about this header?
75935 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75936   yes:no: )
75937     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
75938 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
75939     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
75940 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
75941     ac_header_preproc=yes
75942     ;;
75943   no:yes:* )
75944     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
75945 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
75946     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
75947 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
75948     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
75949 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
75950     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
75951 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
75952     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
75953 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
75954     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
75955 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
75956     (
75957       cat <<\_ASBOX
75958 ## ----------------------------------------- ##
75959 ## Report this to the package-unused lists.  ##
75960 ## ----------------------------------------- ##
75961 _ASBOX
75962     ) |
75963       sed "s/^/$as_me: WARNING:     /" >&2
75964     ;;
75965 esac
75966 echo "$as_me:$LINENO: checking for langinfo.h" >&5
75967 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
75968 if test "${ac_cv_header_langinfo_h+set}" = set; then
75969   echo $ECHO_N "(cached) $ECHO_C" >&6
75970 else
75971   ac_cv_header_langinfo_h=$ac_header_preproc
75972 fi
75973 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
75974 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
75975
75976 fi
75977 if test $ac_cv_header_langinfo_h = yes; then
75978   ac_has_langinfo_h=yes
75979 else
75980   ac_has_langinfo_h=no
75981 fi
75982
75983
75984
75985     # Check for existence of libiconv.a providing XPG2 wchar_t support.
75986     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
75987 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
75988 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
75989   echo $ECHO_N "(cached) $ECHO_C" >&6
75990 else
75991   ac_check_lib_save_LIBS=$LIBS
75992 LIBS="-liconv  $LIBS"
75993 if test x$gcc_no_link = xyes; then
75994   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75995 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75996    { (exit 1); exit 1; }; }
75997 fi
75998 cat >conftest.$ac_ext <<_ACEOF
75999 /* confdefs.h.  */
76000 _ACEOF
76001 cat confdefs.h >>conftest.$ac_ext
76002 cat >>conftest.$ac_ext <<_ACEOF
76003 /* end confdefs.h.  */
76004
76005 /* Override any gcc2 internal prototype to avoid an error.  */
76006 #ifdef __cplusplus
76007 extern "C"
76008 #endif
76009 /* We use char because int might match the return type of a gcc2
76010    builtin and then its argument prototype would still apply.  */
76011 char iconv ();
76012 int
76013 main ()
76014 {
76015 iconv ();
76016   ;
76017   return 0;
76018 }
76019 _ACEOF
76020 rm -f conftest.$ac_objext conftest$ac_exeext
76021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76022   (eval $ac_link) 2>conftest.er1
76023   ac_status=$?
76024   grep -v '^ *+' conftest.er1 >conftest.err
76025   rm -f conftest.er1
76026   cat conftest.err >&5
76027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76028   (exit $ac_status); } &&
76029          { ac_try='test -z "$ac_c_werror_flag"
76030                          || test ! -s conftest.err'
76031   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76032   (eval $ac_try) 2>&5
76033   ac_status=$?
76034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76035   (exit $ac_status); }; } &&
76036          { ac_try='test -s conftest$ac_exeext'
76037   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76038   (eval $ac_try) 2>&5
76039   ac_status=$?
76040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76041   (exit $ac_status); }; }; then
76042   ac_cv_lib_iconv_iconv=yes
76043 else
76044   echo "$as_me: failed program was:" >&5
76045 sed 's/^/| /' conftest.$ac_ext >&5
76046
76047 ac_cv_lib_iconv_iconv=no
76048 fi
76049 rm -f conftest.err conftest.$ac_objext \
76050       conftest$ac_exeext conftest.$ac_ext
76051 LIBS=$ac_check_lib_save_LIBS
76052 fi
76053 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
76054 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
76055 if test $ac_cv_lib_iconv_iconv = yes; then
76056   LIBICONV="-liconv"
76057 fi
76058
76059     ac_save_LIBS="$LIBS"
76060     LIBS="$LIBS $LIBICONV"
76061
76062
76063
76064
76065
76066
76067 for ac_func in iconv_open iconv_close iconv nl_langinfo
76068 do
76069 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76070 echo "$as_me:$LINENO: checking for $ac_func" >&5
76071 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76072 if eval "test \"\${$as_ac_var+set}\" = set"; then
76073   echo $ECHO_N "(cached) $ECHO_C" >&6
76074 else
76075   if test x$gcc_no_link = xyes; then
76076   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76077 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76078    { (exit 1); exit 1; }; }
76079 fi
76080 cat >conftest.$ac_ext <<_ACEOF
76081 /* confdefs.h.  */
76082 _ACEOF
76083 cat confdefs.h >>conftest.$ac_ext
76084 cat >>conftest.$ac_ext <<_ACEOF
76085 /* end confdefs.h.  */
76086 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76087    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76088 #define $ac_func innocuous_$ac_func
76089
76090 /* System header to define __stub macros and hopefully few prototypes,
76091     which can conflict with char $ac_func (); below.
76092     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76093     <limits.h> exists even on freestanding compilers.  */
76094
76095 #ifdef __STDC__
76096 # include <limits.h>
76097 #else
76098 # include <assert.h>
76099 #endif
76100
76101 #undef $ac_func
76102
76103 /* Override any gcc2 internal prototype to avoid an error.  */
76104 #ifdef __cplusplus
76105 extern "C"
76106 {
76107 #endif
76108 /* We use char because int might match the return type of a gcc2
76109    builtin and then its argument prototype would still apply.  */
76110 char $ac_func ();
76111 /* The GNU C library defines this for functions which it implements
76112     to always fail with ENOSYS.  Some functions are actually named
76113     something starting with __ and the normal name is an alias.  */
76114 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76115 choke me
76116 #else
76117 char (*f) () = $ac_func;
76118 #endif
76119 #ifdef __cplusplus
76120 }
76121 #endif
76122
76123 int
76124 main ()
76125 {
76126 return f != $ac_func;
76127   ;
76128   return 0;
76129 }
76130 _ACEOF
76131 rm -f conftest.$ac_objext conftest$ac_exeext
76132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76133   (eval $ac_link) 2>conftest.er1
76134   ac_status=$?
76135   grep -v '^ *+' conftest.er1 >conftest.err
76136   rm -f conftest.er1
76137   cat conftest.err >&5
76138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76139   (exit $ac_status); } &&
76140          { ac_try='test -z "$ac_c_werror_flag"
76141                          || test ! -s conftest.err'
76142   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76143   (eval $ac_try) 2>&5
76144   ac_status=$?
76145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76146   (exit $ac_status); }; } &&
76147          { ac_try='test -s conftest$ac_exeext'
76148   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76149   (eval $ac_try) 2>&5
76150   ac_status=$?
76151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76152   (exit $ac_status); }; }; then
76153   eval "$as_ac_var=yes"
76154 else
76155   echo "$as_me: failed program was:" >&5
76156 sed 's/^/| /' conftest.$ac_ext >&5
76157
76158 eval "$as_ac_var=no"
76159 fi
76160 rm -f conftest.err conftest.$ac_objext \
76161       conftest$ac_exeext conftest.$ac_ext
76162 fi
76163 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76164 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76165 if test `eval echo '${'$as_ac_var'}'` = yes; then
76166   cat >>confdefs.h <<_ACEOF
76167 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76168 _ACEOF
76169  ac_XPG2funcs=yes
76170 else
76171   ac_XPG2funcs=no
76172 fi
76173 done
76174
76175
76176     LIBS="$ac_save_LIBS"
76177
76178     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
76179 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
76180     if test x"$ac_has_iconv_h" = xyes &&
76181        test x"$ac_has_langinfo_h" = xyes &&
76182        test x"$ac_XPG2funcs" = xyes;
76183     then
76184       ac_XPG2_wchar_t=yes
76185     else
76186       ac_XPG2_wchar_t=no
76187     fi
76188     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
76189 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
76190
76191     # At the moment, only enable wchar_t specializations if all the
76192     # above support is present.
76193     if test x"$ac_isoC99_wchar_t" = xyes &&
76194        test x"$ac_XPG2_wchar_t" = xyes;
76195     then
76196       cat >>confdefs.h <<\_ACEOF
76197 #define _GLIBCXX_USE_WCHAR_T 1
76198 _ACEOF
76199
76200       enable_wchar_t=yes
76201     fi
76202   fi
76203   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
76204 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
76205   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
76206 echo "${ECHO_T}$enable_wchar_t" >&6
76207
76208
76209   ac_test_CXXFLAGS="${CXXFLAGS+set}"
76210   ac_save_CXXFLAGS="$CXXFLAGS"
76211   CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
76212
76213
76214   echo "$as_me:$LINENO: checking for strtold declaration" >&5
76215 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
76216   if test x${glibcxx_cv_func_strtold_use+set} != xset; then
76217     if test "${glibcxx_cv_func_strtold_use+set}" = set; then
76218   echo $ECHO_N "(cached) $ECHO_C" >&6
76219 else
76220
76221
76222
76223       ac_ext=cc
76224 ac_cpp='$CXXCPP $CPPFLAGS'
76225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76228
76229       cat >conftest.$ac_ext <<_ACEOF
76230 /* confdefs.h.  */
76231 _ACEOF
76232 cat confdefs.h >>conftest.$ac_ext
76233 cat >>conftest.$ac_ext <<_ACEOF
76234 /* end confdefs.h.  */
76235 #include <stdlib.h>
76236 int
76237 main ()
76238 {
76239  strtold(0, 0);
76240   ;
76241   return 0;
76242 }
76243 _ACEOF
76244 rm -f conftest.$ac_objext
76245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76246   (eval $ac_compile) 2>conftest.er1
76247   ac_status=$?
76248   grep -v '^ *+' conftest.er1 >conftest.err
76249   rm -f conftest.er1
76250   cat conftest.err >&5
76251   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76252   (exit $ac_status); } &&
76253          { ac_try='test -z "$ac_cxx_werror_flag"
76254                          || test ! -s conftest.err'
76255   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76256   (eval $ac_try) 2>&5
76257   ac_status=$?
76258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76259   (exit $ac_status); }; } &&
76260          { ac_try='test -s conftest.$ac_objext'
76261   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76262   (eval $ac_try) 2>&5
76263   ac_status=$?
76264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76265   (exit $ac_status); }; }; then
76266   glibcxx_cv_func_strtold_use=yes
76267 else
76268   echo "$as_me: failed program was:" >&5
76269 sed 's/^/| /' conftest.$ac_ext >&5
76270
76271 glibcxx_cv_func_strtold_use=no
76272 fi
76273 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76274       ac_ext=c
76275 ac_cpp='$CPP $CPPFLAGS'
76276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76279
76280
76281 fi
76282
76283   fi
76284   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
76285 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
76286   if test x$glibcxx_cv_func_strtold_use = x"yes"; then
76287
76288 for ac_func in strtold
76289 do
76290 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76291 echo "$as_me:$LINENO: checking for $ac_func" >&5
76292 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76293 if eval "test \"\${$as_ac_var+set}\" = set"; then
76294   echo $ECHO_N "(cached) $ECHO_C" >&6
76295 else
76296   if test x$gcc_no_link = xyes; then
76297   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76298 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76299    { (exit 1); exit 1; }; }
76300 fi
76301 cat >conftest.$ac_ext <<_ACEOF
76302 /* confdefs.h.  */
76303 _ACEOF
76304 cat confdefs.h >>conftest.$ac_ext
76305 cat >>conftest.$ac_ext <<_ACEOF
76306 /* end confdefs.h.  */
76307 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76308    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76309 #define $ac_func innocuous_$ac_func
76310
76311 /* System header to define __stub macros and hopefully few prototypes,
76312     which can conflict with char $ac_func (); below.
76313     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76314     <limits.h> exists even on freestanding compilers.  */
76315
76316 #ifdef __STDC__
76317 # include <limits.h>
76318 #else
76319 # include <assert.h>
76320 #endif
76321
76322 #undef $ac_func
76323
76324 /* Override any gcc2 internal prototype to avoid an error.  */
76325 #ifdef __cplusplus
76326 extern "C"
76327 {
76328 #endif
76329 /* We use char because int might match the return type of a gcc2
76330    builtin and then its argument prototype would still apply.  */
76331 char $ac_func ();
76332 /* The GNU C library defines this for functions which it implements
76333     to always fail with ENOSYS.  Some functions are actually named
76334     something starting with __ and the normal name is an alias.  */
76335 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76336 choke me
76337 #else
76338 char (*f) () = $ac_func;
76339 #endif
76340 #ifdef __cplusplus
76341 }
76342 #endif
76343
76344 int
76345 main ()
76346 {
76347 return f != $ac_func;
76348   ;
76349   return 0;
76350 }
76351 _ACEOF
76352 rm -f conftest.$ac_objext conftest$ac_exeext
76353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76354   (eval $ac_link) 2>conftest.er1
76355   ac_status=$?
76356   grep -v '^ *+' conftest.er1 >conftest.err
76357   rm -f conftest.er1
76358   cat conftest.err >&5
76359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76360   (exit $ac_status); } &&
76361          { ac_try='test -z "$ac_c_werror_flag"
76362                          || test ! -s conftest.err'
76363   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76364   (eval $ac_try) 2>&5
76365   ac_status=$?
76366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76367   (exit $ac_status); }; } &&
76368          { ac_try='test -s conftest$ac_exeext'
76369   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76370   (eval $ac_try) 2>&5
76371   ac_status=$?
76372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76373   (exit $ac_status); }; }; then
76374   eval "$as_ac_var=yes"
76375 else
76376   echo "$as_me: failed program was:" >&5
76377 sed 's/^/| /' conftest.$ac_ext >&5
76378
76379 eval "$as_ac_var=no"
76380 fi
76381 rm -f conftest.err conftest.$ac_objext \
76382       conftest$ac_exeext conftest.$ac_ext
76383 fi
76384 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76385 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76386 if test `eval echo '${'$as_ac_var'}'` = yes; then
76387   cat >>confdefs.h <<_ACEOF
76388 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76389 _ACEOF
76390
76391 fi
76392 done
76393
76394   fi
76395
76396
76397   echo "$as_me:$LINENO: checking for strtof declaration" >&5
76398 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
76399   if test x${glibcxx_cv_func_strtof_use+set} != xset; then
76400     if test "${glibcxx_cv_func_strtof_use+set}" = set; then
76401   echo $ECHO_N "(cached) $ECHO_C" >&6
76402 else
76403
76404
76405
76406       ac_ext=cc
76407 ac_cpp='$CXXCPP $CPPFLAGS'
76408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76411
76412       cat >conftest.$ac_ext <<_ACEOF
76413 /* confdefs.h.  */
76414 _ACEOF
76415 cat confdefs.h >>conftest.$ac_ext
76416 cat >>conftest.$ac_ext <<_ACEOF
76417 /* end confdefs.h.  */
76418 #include <stdlib.h>
76419 int
76420 main ()
76421 {
76422  strtof(0, 0);
76423   ;
76424   return 0;
76425 }
76426 _ACEOF
76427 rm -f conftest.$ac_objext
76428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76429   (eval $ac_compile) 2>conftest.er1
76430   ac_status=$?
76431   grep -v '^ *+' conftest.er1 >conftest.err
76432   rm -f conftest.er1
76433   cat conftest.err >&5
76434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76435   (exit $ac_status); } &&
76436          { ac_try='test -z "$ac_cxx_werror_flag"
76437                          || test ! -s conftest.err'
76438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76439   (eval $ac_try) 2>&5
76440   ac_status=$?
76441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76442   (exit $ac_status); }; } &&
76443          { ac_try='test -s conftest.$ac_objext'
76444   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76445   (eval $ac_try) 2>&5
76446   ac_status=$?
76447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76448   (exit $ac_status); }; }; then
76449   glibcxx_cv_func_strtof_use=yes
76450 else
76451   echo "$as_me: failed program was:" >&5
76452 sed 's/^/| /' conftest.$ac_ext >&5
76453
76454 glibcxx_cv_func_strtof_use=no
76455 fi
76456 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76457       ac_ext=c
76458 ac_cpp='$CPP $CPPFLAGS'
76459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76462
76463
76464 fi
76465
76466   fi
76467   echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
76468 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
76469   if test x$glibcxx_cv_func_strtof_use = x"yes"; then
76470
76471 for ac_func in strtof
76472 do
76473 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76474 echo "$as_me:$LINENO: checking for $ac_func" >&5
76475 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76476 if eval "test \"\${$as_ac_var+set}\" = set"; then
76477   echo $ECHO_N "(cached) $ECHO_C" >&6
76478 else
76479   if test x$gcc_no_link = xyes; then
76480   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76481 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76482    { (exit 1); exit 1; }; }
76483 fi
76484 cat >conftest.$ac_ext <<_ACEOF
76485 /* confdefs.h.  */
76486 _ACEOF
76487 cat confdefs.h >>conftest.$ac_ext
76488 cat >>conftest.$ac_ext <<_ACEOF
76489 /* end confdefs.h.  */
76490 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76491    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
76492 #define $ac_func innocuous_$ac_func
76493
76494 /* System header to define __stub macros and hopefully few prototypes,
76495     which can conflict with char $ac_func (); below.
76496     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76497     <limits.h> exists even on freestanding compilers.  */
76498
76499 #ifdef __STDC__
76500 # include <limits.h>
76501 #else
76502 # include <assert.h>
76503 #endif
76504
76505 #undef $ac_func
76506
76507 /* Override any gcc2 internal prototype to avoid an error.  */
76508 #ifdef __cplusplus
76509 extern "C"
76510 {
76511 #endif
76512 /* We use char because int might match the return type of a gcc2
76513    builtin and then its argument prototype would still apply.  */
76514 char $ac_func ();
76515 /* The GNU C library defines this for functions which it implements
76516     to always fail with ENOSYS.  Some functions are actually named
76517     something starting with __ and the normal name is an alias.  */
76518 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76519 choke me
76520 #else
76521 char (*f) () = $ac_func;
76522 #endif
76523 #ifdef __cplusplus
76524 }
76525 #endif
76526
76527 int
76528 main ()
76529 {
76530 return f != $ac_func;
76531   ;
76532   return 0;
76533 }
76534 _ACEOF
76535 rm -f conftest.$ac_objext conftest$ac_exeext
76536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76537   (eval $ac_link) 2>conftest.er1
76538   ac_status=$?
76539   grep -v '^ *+' conftest.er1 >conftest.err
76540   rm -f conftest.er1
76541   cat conftest.err >&5
76542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76543   (exit $ac_status); } &&
76544          { ac_try='test -z "$ac_c_werror_flag"
76545                          || test ! -s conftest.err'
76546   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76547   (eval $ac_try) 2>&5
76548   ac_status=$?
76549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76550   (exit $ac_status); }; } &&
76551          { ac_try='test -s conftest$ac_exeext'
76552   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76553   (eval $ac_try) 2>&5
76554   ac_status=$?
76555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76556   (exit $ac_status); }; }; then
76557   eval "$as_ac_var=yes"
76558 else
76559   echo "$as_me: failed program was:" >&5
76560 sed 's/^/| /' conftest.$ac_ext >&5
76561
76562 eval "$as_ac_var=no"
76563 fi
76564 rm -f conftest.err conftest.$ac_objext \
76565       conftest$ac_exeext conftest.$ac_ext
76566 fi
76567 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76568 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76569 if test `eval echo '${'$as_ac_var'}'` = yes; then
76570   cat >>confdefs.h <<_ACEOF
76571 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76572 _ACEOF
76573
76574 fi
76575 done
76576
76577   fi
76578
76579
76580   CXXFLAGS="$ac_save_CXXFLAGS"
76581
76582
76583   if test "${glibcxx_cv_S_ISREG+set}" = set; then
76584   echo $ECHO_N "(cached) $ECHO_C" >&6
76585 else
76586
76587     if test x$gcc_no_link = xyes; then
76588   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76589 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76590    { (exit 1); exit 1; }; }
76591 fi
76592 cat >conftest.$ac_ext <<_ACEOF
76593 /* confdefs.h.  */
76594 _ACEOF
76595 cat confdefs.h >>conftest.$ac_ext
76596 cat >>conftest.$ac_ext <<_ACEOF
76597 /* end confdefs.h.  */
76598 #include <sys/stat.h>
76599 int
76600 main ()
76601 {
76602 struct stat buffer;
76603        fstat(0, &buffer);
76604        S_ISREG(buffer.st_mode);
76605   ;
76606   return 0;
76607 }
76608 _ACEOF
76609 rm -f conftest.$ac_objext conftest$ac_exeext
76610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76611   (eval $ac_link) 2>conftest.er1
76612   ac_status=$?
76613   grep -v '^ *+' conftest.er1 >conftest.err
76614   rm -f conftest.er1
76615   cat conftest.err >&5
76616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76617   (exit $ac_status); } &&
76618          { ac_try='test -z "$ac_c_werror_flag"
76619                          || test ! -s conftest.err'
76620   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76621   (eval $ac_try) 2>&5
76622   ac_status=$?
76623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76624   (exit $ac_status); }; } &&
76625          { ac_try='test -s conftest$ac_exeext'
76626   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76627   (eval $ac_try) 2>&5
76628   ac_status=$?
76629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76630   (exit $ac_status); }; }; then
76631   glibcxx_cv_S_ISREG=yes
76632 else
76633   echo "$as_me: failed program was:" >&5
76634 sed 's/^/| /' conftest.$ac_ext >&5
76635
76636 glibcxx_cv_S_ISREG=no
76637 fi
76638 rm -f conftest.err conftest.$ac_objext \
76639       conftest$ac_exeext conftest.$ac_ext
76640
76641 fi
76642
76643   if test "${glibcxx_cv_S_IFREG+set}" = set; then
76644   echo $ECHO_N "(cached) $ECHO_C" >&6
76645 else
76646
76647     if test x$gcc_no_link = xyes; then
76648   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76649 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76650    { (exit 1); exit 1; }; }
76651 fi
76652 cat >conftest.$ac_ext <<_ACEOF
76653 /* confdefs.h.  */
76654 _ACEOF
76655 cat confdefs.h >>conftest.$ac_ext
76656 cat >>conftest.$ac_ext <<_ACEOF
76657 /* end confdefs.h.  */
76658 #include <sys/stat.h>
76659 int
76660 main ()
76661 {
76662 struct stat buffer;
76663        fstat(0, &buffer);
76664        S_IFREG & buffer.st_mode;
76665   ;
76666   return 0;
76667 }
76668 _ACEOF
76669 rm -f conftest.$ac_objext conftest$ac_exeext
76670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76671   (eval $ac_link) 2>conftest.er1
76672   ac_status=$?
76673   grep -v '^ *+' conftest.er1 >conftest.err
76674   rm -f conftest.er1
76675   cat conftest.err >&5
76676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76677   (exit $ac_status); } &&
76678          { ac_try='test -z "$ac_c_werror_flag"
76679                          || test ! -s conftest.err'
76680   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76681   (eval $ac_try) 2>&5
76682   ac_status=$?
76683   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76684   (exit $ac_status); }; } &&
76685          { ac_try='test -s conftest$ac_exeext'
76686   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76687   (eval $ac_try) 2>&5
76688   ac_status=$?
76689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76690   (exit $ac_status); }; }; then
76691   glibcxx_cv_S_IFREG=yes
76692 else
76693   echo "$as_me: failed program was:" >&5
76694 sed 's/^/| /' conftest.$ac_ext >&5
76695
76696 glibcxx_cv_S_IFREG=no
76697 fi
76698 rm -f conftest.err conftest.$ac_objext \
76699       conftest$ac_exeext conftest.$ac_ext
76700
76701 fi
76702
76703   if test $glibcxx_cv_S_ISREG = yes; then
76704     cat >>confdefs.h <<\_ACEOF
76705 #define HAVE_S_ISREG 1
76706 _ACEOF
76707
76708   elif test $glibcxx_cv_S_IFREG = yes; then
76709     cat >>confdefs.h <<\_ACEOF
76710 #define HAVE_S_IFREG 1
76711 _ACEOF
76712
76713   fi
76714
76715     cat >>confdefs.h <<\_ACEOF
76716 #define HAVE_WRITEV 1
76717 _ACEOF
76718
76719     ;;
76720
76721   *-freebsd*)
76722
76723
76724
76725
76726
76727
76728
76729
76730
76731
76732
76733
76734
76735
76736
76737
76738 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
76739       machine/endian.h machine/param.h sys/machine.h sys/types.h \
76740       fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
76741       sys/time.h unistd.h
76742 do
76743 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
76744 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76745   echo "$as_me:$LINENO: checking for $ac_header" >&5
76746 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76747 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76748   echo $ECHO_N "(cached) $ECHO_C" >&6
76749 fi
76750 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76751 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76752 else
76753   # Is the header compilable?
76754 echo "$as_me:$LINENO: checking $ac_header usability" >&5
76755 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
76756 cat >conftest.$ac_ext <<_ACEOF
76757 /* confdefs.h.  */
76758 _ACEOF
76759 cat confdefs.h >>conftest.$ac_ext
76760 cat >>conftest.$ac_ext <<_ACEOF
76761 /* end confdefs.h.  */
76762 $ac_includes_default
76763 #include <$ac_header>
76764 _ACEOF
76765 rm -f conftest.$ac_objext
76766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76767   (eval $ac_compile) 2>conftest.er1
76768   ac_status=$?
76769   grep -v '^ *+' conftest.er1 >conftest.err
76770   rm -f conftest.er1
76771   cat conftest.err >&5
76772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76773   (exit $ac_status); } &&
76774          { ac_try='test -z "$ac_c_werror_flag"
76775                          || test ! -s conftest.err'
76776   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76777   (eval $ac_try) 2>&5
76778   ac_status=$?
76779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76780   (exit $ac_status); }; } &&
76781          { ac_try='test -s conftest.$ac_objext'
76782   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76783   (eval $ac_try) 2>&5
76784   ac_status=$?
76785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76786   (exit $ac_status); }; }; then
76787   ac_header_compiler=yes
76788 else
76789   echo "$as_me: failed program was:" >&5
76790 sed 's/^/| /' conftest.$ac_ext >&5
76791
76792 ac_header_compiler=no
76793 fi
76794 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76795 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76796 echo "${ECHO_T}$ac_header_compiler" >&6
76797
76798 # Is the header present?
76799 echo "$as_me:$LINENO: checking $ac_header presence" >&5
76800 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
76801 cat >conftest.$ac_ext <<_ACEOF
76802 /* confdefs.h.  */
76803 _ACEOF
76804 cat confdefs.h >>conftest.$ac_ext
76805 cat >>conftest.$ac_ext <<_ACEOF
76806 /* end confdefs.h.  */
76807 #include <$ac_header>
76808 _ACEOF
76809 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76810   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76811   ac_status=$?
76812   grep -v '^ *+' conftest.er1 >conftest.err
76813   rm -f conftest.er1
76814   cat conftest.err >&5
76815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76816   (exit $ac_status); } >/dev/null; then
76817   if test -s conftest.err; then
76818     ac_cpp_err=$ac_c_preproc_warn_flag
76819     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76820   else
76821     ac_cpp_err=
76822   fi
76823 else
76824   ac_cpp_err=yes
76825 fi
76826 if test -z "$ac_cpp_err"; then
76827   ac_header_preproc=yes
76828 else
76829   echo "$as_me: failed program was:" >&5
76830 sed 's/^/| /' conftest.$ac_ext >&5
76831
76832   ac_header_preproc=no
76833 fi
76834 rm -f conftest.err conftest.$ac_ext
76835 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76836 echo "${ECHO_T}$ac_header_preproc" >&6
76837
76838 # So?  What about this header?
76839 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76840   yes:no: )
76841     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
76842 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
76843     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
76844 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
76845     ac_header_preproc=yes
76846     ;;
76847   no:yes:* )
76848     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
76849 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
76850     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
76851 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
76852     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
76853 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
76854     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
76855 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
76856     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
76857 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
76858     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
76859 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
76860     (
76861       cat <<\_ASBOX
76862 ## ----------------------------------------- ##
76863 ## Report this to the package-unused lists.  ##
76864 ## ----------------------------------------- ##
76865 _ASBOX
76866     ) |
76867       sed "s/^/$as_me: WARNING:     /" >&2
76868     ;;
76869 esac
76870 echo "$as_me:$LINENO: checking for $ac_header" >&5
76871 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76872 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76873   echo $ECHO_N "(cached) $ECHO_C" >&6
76874 else
76875   eval "$as_ac_Header=\$ac_header_preproc"
76876 fi
76877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76878 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76879
76880 fi
76881 if test `eval echo '${'$as_ac_Header'}'` = yes; then
76882   cat >>confdefs.h <<_ACEOF
76883 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
76884 _ACEOF
76885
76886 fi
76887
76888 done
76889
76890     SECTION_FLAGS='-ffunction-sections -fdata-sections'
76891
76892
76893   # If we're not using GNU ld, then there's no point in even trying these
76894   # tests.  Check for that first.  We should have already tested for gld
76895   # by now (in libtool), but require it now just to be safe...
76896   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
76897   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
76898
76899
76900
76901   # The name set by libtool depends on the version of libtool.  Shame on us
76902   # for depending on an impl detail, but c'est la vie.  Older versions used
76903   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
76904   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
76905   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
76906   # set (hence we're using an older libtool), then set it.
76907   if test x${with_gnu_ld+set} != xset; then
76908     if test x${ac_cv_prog_gnu_ld+set} != xset; then
76909       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
76910       with_gnu_ld=no
76911     else
76912       with_gnu_ld=$ac_cv_prog_gnu_ld
76913     fi
76914   fi
76915
76916   # Start by getting the version number.  I think the libtool test already
76917   # does some of this, but throws away the result.
76918
76919   ldver=`$LD --version 2>/dev/null | head -1 | \
76920          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
76921
76922   glibcxx_gnu_ld_version=`echo $ldver | \
76923          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
76924
76925   # Set --gc-sections.
76926   if test "$with_gnu_ld" = "notbroken"; then
76927     # GNU ld it is!  Joy and bunny rabbits!
76928
76929     # All these tests are for C++; save the language and the compiler flags.
76930     # Need to do this so that g++ won't try to link in libstdc++
76931     ac_test_CFLAGS="${CFLAGS+set}"
76932     ac_save_CFLAGS="$CFLAGS"
76933     CFLAGS='-x c++  -Wl,--gc-sections'
76934
76935     # Check for -Wl,--gc-sections
76936     # XXX This test is broken at the moment, as symbols required for linking
76937     # are now in libsupc++ (not built yet).  In addition, this test has
76938     # cored on solaris in the past.  In addition, --gc-sections doesn't
76939     # really work at the moment (keeps on discarding used sections, first
76940     # .eh_frame and now some of the glibc sections for iconv).
76941     # Bzzzzt.  Thanks for playing, maybe next time.
76942     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
76943 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
76944     if test "$cross_compiling" = yes; then
76945   ac_sectionLDflags=yes
76946 else
76947   cat >conftest.$ac_ext <<_ACEOF
76948 /* confdefs.h.  */
76949 _ACEOF
76950 cat confdefs.h >>conftest.$ac_ext
76951 cat >>conftest.$ac_ext <<_ACEOF
76952 /* end confdefs.h.  */
76953
76954      int main(void)
76955      {
76956        try { throw 1; }
76957        catch (...) { };
76958        return 0;
76959      }
76960
76961 _ACEOF
76962 rm -f conftest$ac_exeext
76963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76964   (eval $ac_link) 2>&5
76965   ac_status=$?
76966   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76967   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
76968   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76969   (eval $ac_try) 2>&5
76970   ac_status=$?
76971   echo "$as_me:$LINENO: \$? = $ac_status" >&5
76972   (exit $ac_status); }; }; then
76973   ac_sectionLDflags=yes
76974 else
76975   echo "$as_me: program exited with status $ac_status" >&5
76976 echo "$as_me: failed program was:" >&5
76977 sed 's/^/| /' conftest.$ac_ext >&5
76978
76979 ( exit $ac_status )
76980 ac_sectionLDflags=no
76981 fi
76982 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
76983 fi
76984     if test "$ac_test_CFLAGS" = set; then
76985       CFLAGS="$ac_save_CFLAGS"
76986     else
76987       # this is the suspicious part
76988       CFLAGS=''
76989     fi
76990     if test "$ac_sectionLDflags" = "yes"; then
76991       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
76992     fi
76993     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
76994 echo "${ECHO_T}$ac_sectionLDflags" >&6
76995   fi
76996
76997   # Set linker optimization flags.
76998   if test x"$with_gnu_ld" = x"yes"; then
76999     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
77000   fi
77001
77002
77003
77004
77005
77006
77007 echo "$as_me:$LINENO: checking for main in -lm" >&5
77008 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
77009 if test "${ac_cv_lib_m_main+set}" = set; then
77010   echo $ECHO_N "(cached) $ECHO_C" >&6
77011 else
77012   ac_check_lib_save_LIBS=$LIBS
77013 LIBS="-lm  $LIBS"
77014 if test x$gcc_no_link = xyes; then
77015   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77016 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77017    { (exit 1); exit 1; }; }
77018 fi
77019 cat >conftest.$ac_ext <<_ACEOF
77020 /* confdefs.h.  */
77021 _ACEOF
77022 cat confdefs.h >>conftest.$ac_ext
77023 cat >>conftest.$ac_ext <<_ACEOF
77024 /* end confdefs.h.  */
77025
77026
77027 int
77028 main ()
77029 {
77030 main ();
77031   ;
77032   return 0;
77033 }
77034 _ACEOF
77035 rm -f conftest.$ac_objext conftest$ac_exeext
77036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77037   (eval $ac_link) 2>conftest.er1
77038   ac_status=$?
77039   grep -v '^ *+' conftest.er1 >conftest.err
77040   rm -f conftest.er1
77041   cat conftest.err >&5
77042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77043   (exit $ac_status); } &&
77044          { ac_try='test -z "$ac_c_werror_flag"
77045                          || test ! -s conftest.err'
77046   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77047   (eval $ac_try) 2>&5
77048   ac_status=$?
77049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77050   (exit $ac_status); }; } &&
77051          { ac_try='test -s conftest$ac_exeext'
77052   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77053   (eval $ac_try) 2>&5
77054   ac_status=$?
77055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77056   (exit $ac_status); }; }; then
77057   ac_cv_lib_m_main=yes
77058 else
77059   echo "$as_me: failed program was:" >&5
77060 sed 's/^/| /' conftest.$ac_ext >&5
77061
77062 ac_cv_lib_m_main=no
77063 fi
77064 rm -f conftest.err conftest.$ac_objext \
77065       conftest$ac_exeext conftest.$ac_ext
77066 LIBS=$ac_check_lib_save_LIBS
77067 fi
77068 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
77069 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
77070 if test $ac_cv_lib_m_main = yes; then
77071   cat >>confdefs.h <<_ACEOF
77072 #define HAVE_LIBM 1
77073 _ACEOF
77074
77075   LIBS="-lm $LIBS"
77076
77077 fi
77078
77079
77080 for ac_func in copysignf
77081 do
77082 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77083 echo "$as_me:$LINENO: checking for $ac_func" >&5
77084 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77085 if eval "test \"\${$as_ac_var+set}\" = set"; then
77086   echo $ECHO_N "(cached) $ECHO_C" >&6
77087 else
77088   if test x$gcc_no_link = xyes; then
77089   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77090 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77091    { (exit 1); exit 1; }; }
77092 fi
77093 cat >conftest.$ac_ext <<_ACEOF
77094 /* confdefs.h.  */
77095 _ACEOF
77096 cat confdefs.h >>conftest.$ac_ext
77097 cat >>conftest.$ac_ext <<_ACEOF
77098 /* end confdefs.h.  */
77099 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77100    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77101 #define $ac_func innocuous_$ac_func
77102
77103 /* System header to define __stub macros and hopefully few prototypes,
77104     which can conflict with char $ac_func (); below.
77105     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77106     <limits.h> exists even on freestanding compilers.  */
77107
77108 #ifdef __STDC__
77109 # include <limits.h>
77110 #else
77111 # include <assert.h>
77112 #endif
77113
77114 #undef $ac_func
77115
77116 /* Override any gcc2 internal prototype to avoid an error.  */
77117 #ifdef __cplusplus
77118 extern "C"
77119 {
77120 #endif
77121 /* We use char because int might match the return type of a gcc2
77122    builtin and then its argument prototype would still apply.  */
77123 char $ac_func ();
77124 /* The GNU C library defines this for functions which it implements
77125     to always fail with ENOSYS.  Some functions are actually named
77126     something starting with __ and the normal name is an alias.  */
77127 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77128 choke me
77129 #else
77130 char (*f) () = $ac_func;
77131 #endif
77132 #ifdef __cplusplus
77133 }
77134 #endif
77135
77136 int
77137 main ()
77138 {
77139 return f != $ac_func;
77140   ;
77141   return 0;
77142 }
77143 _ACEOF
77144 rm -f conftest.$ac_objext conftest$ac_exeext
77145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77146   (eval $ac_link) 2>conftest.er1
77147   ac_status=$?
77148   grep -v '^ *+' conftest.er1 >conftest.err
77149   rm -f conftest.er1
77150   cat conftest.err >&5
77151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77152   (exit $ac_status); } &&
77153          { ac_try='test -z "$ac_c_werror_flag"
77154                          || test ! -s conftest.err'
77155   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77156   (eval $ac_try) 2>&5
77157   ac_status=$?
77158   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77159   (exit $ac_status); }; } &&
77160          { ac_try='test -s conftest$ac_exeext'
77161   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77162   (eval $ac_try) 2>&5
77163   ac_status=$?
77164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77165   (exit $ac_status); }; }; then
77166   eval "$as_ac_var=yes"
77167 else
77168   echo "$as_me: failed program was:" >&5
77169 sed 's/^/| /' conftest.$ac_ext >&5
77170
77171 eval "$as_ac_var=no"
77172 fi
77173 rm -f conftest.err conftest.$ac_objext \
77174       conftest$ac_exeext conftest.$ac_ext
77175 fi
77176 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77177 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77178 if test `eval echo '${'$as_ac_var'}'` = yes; then
77179   cat >>confdefs.h <<_ACEOF
77180 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77181 _ACEOF
77182
77183 else
77184   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
77185 fi
77186 done
77187
77188
77189
77190 for ac_func in __signbit
77191 do
77192 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77193 echo "$as_me:$LINENO: checking for $ac_func" >&5
77194 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77195 if eval "test \"\${$as_ac_var+set}\" = set"; then
77196   echo $ECHO_N "(cached) $ECHO_C" >&6
77197 else
77198   if test x$gcc_no_link = xyes; then
77199   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77200 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77201    { (exit 1); exit 1; }; }
77202 fi
77203 cat >conftest.$ac_ext <<_ACEOF
77204 /* confdefs.h.  */
77205 _ACEOF
77206 cat confdefs.h >>conftest.$ac_ext
77207 cat >>conftest.$ac_ext <<_ACEOF
77208 /* end confdefs.h.  */
77209 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77210    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77211 #define $ac_func innocuous_$ac_func
77212
77213 /* System header to define __stub macros and hopefully few prototypes,
77214     which can conflict with char $ac_func (); below.
77215     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77216     <limits.h> exists even on freestanding compilers.  */
77217
77218 #ifdef __STDC__
77219 # include <limits.h>
77220 #else
77221 # include <assert.h>
77222 #endif
77223
77224 #undef $ac_func
77225
77226 /* Override any gcc2 internal prototype to avoid an error.  */
77227 #ifdef __cplusplus
77228 extern "C"
77229 {
77230 #endif
77231 /* We use char because int might match the return type of a gcc2
77232    builtin and then its argument prototype would still apply.  */
77233 char $ac_func ();
77234 /* The GNU C library defines this for functions which it implements
77235     to always fail with ENOSYS.  Some functions are actually named
77236     something starting with __ and the normal name is an alias.  */
77237 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77238 choke me
77239 #else
77240 char (*f) () = $ac_func;
77241 #endif
77242 #ifdef __cplusplus
77243 }
77244 #endif
77245
77246 int
77247 main ()
77248 {
77249 return f != $ac_func;
77250   ;
77251   return 0;
77252 }
77253 _ACEOF
77254 rm -f conftest.$ac_objext conftest$ac_exeext
77255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77256   (eval $ac_link) 2>conftest.er1
77257   ac_status=$?
77258   grep -v '^ *+' conftest.er1 >conftest.err
77259   rm -f conftest.er1
77260   cat conftest.err >&5
77261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77262   (exit $ac_status); } &&
77263          { ac_try='test -z "$ac_c_werror_flag"
77264                          || test ! -s conftest.err'
77265   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77266   (eval $ac_try) 2>&5
77267   ac_status=$?
77268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77269   (exit $ac_status); }; } &&
77270          { ac_try='test -s conftest$ac_exeext'
77271   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77272   (eval $ac_try) 2>&5
77273   ac_status=$?
77274   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77275   (exit $ac_status); }; }; then
77276   eval "$as_ac_var=yes"
77277 else
77278   echo "$as_me: failed program was:" >&5
77279 sed 's/^/| /' conftest.$ac_ext >&5
77280
77281 eval "$as_ac_var=no"
77282 fi
77283 rm -f conftest.err conftest.$ac_objext \
77284       conftest$ac_exeext conftest.$ac_ext
77285 fi
77286 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77287 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77288 if test `eval echo '${'$as_ac_var'}'` = yes; then
77289   cat >>confdefs.h <<_ACEOF
77290 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77291 _ACEOF
77292
77293 else
77294   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
77295 fi
77296 done
77297
77298
77299
77300 for ac_func in __signbitf
77301 do
77302 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77303 echo "$as_me:$LINENO: checking for $ac_func" >&5
77304 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77305 if eval "test \"\${$as_ac_var+set}\" = set"; then
77306   echo $ECHO_N "(cached) $ECHO_C" >&6
77307 else
77308   if test x$gcc_no_link = xyes; then
77309   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77310 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77311    { (exit 1); exit 1; }; }
77312 fi
77313 cat >conftest.$ac_ext <<_ACEOF
77314 /* confdefs.h.  */
77315 _ACEOF
77316 cat confdefs.h >>conftest.$ac_ext
77317 cat >>conftest.$ac_ext <<_ACEOF
77318 /* end confdefs.h.  */
77319 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77320    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77321 #define $ac_func innocuous_$ac_func
77322
77323 /* System header to define __stub macros and hopefully few prototypes,
77324     which can conflict with char $ac_func (); below.
77325     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77326     <limits.h> exists even on freestanding compilers.  */
77327
77328 #ifdef __STDC__
77329 # include <limits.h>
77330 #else
77331 # include <assert.h>
77332 #endif
77333
77334 #undef $ac_func
77335
77336 /* Override any gcc2 internal prototype to avoid an error.  */
77337 #ifdef __cplusplus
77338 extern "C"
77339 {
77340 #endif
77341 /* We use char because int might match the return type of a gcc2
77342    builtin and then its argument prototype would still apply.  */
77343 char $ac_func ();
77344 /* The GNU C library defines this for functions which it implements
77345     to always fail with ENOSYS.  Some functions are actually named
77346     something starting with __ and the normal name is an alias.  */
77347 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77348 choke me
77349 #else
77350 char (*f) () = $ac_func;
77351 #endif
77352 #ifdef __cplusplus
77353 }
77354 #endif
77355
77356 int
77357 main ()
77358 {
77359 return f != $ac_func;
77360   ;
77361   return 0;
77362 }
77363 _ACEOF
77364 rm -f conftest.$ac_objext conftest$ac_exeext
77365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77366   (eval $ac_link) 2>conftest.er1
77367   ac_status=$?
77368   grep -v '^ *+' conftest.er1 >conftest.err
77369   rm -f conftest.er1
77370   cat conftest.err >&5
77371   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77372   (exit $ac_status); } &&
77373          { ac_try='test -z "$ac_c_werror_flag"
77374                          || test ! -s conftest.err'
77375   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77376   (eval $ac_try) 2>&5
77377   ac_status=$?
77378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77379   (exit $ac_status); }; } &&
77380          { ac_try='test -s conftest$ac_exeext'
77381   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77382   (eval $ac_try) 2>&5
77383   ac_status=$?
77384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77385   (exit $ac_status); }; }; then
77386   eval "$as_ac_var=yes"
77387 else
77388   echo "$as_me: failed program was:" >&5
77389 sed 's/^/| /' conftest.$ac_ext >&5
77390
77391 eval "$as_ac_var=no"
77392 fi
77393 rm -f conftest.err conftest.$ac_objext \
77394       conftest$ac_exeext conftest.$ac_ext
77395 fi
77396 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77397 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77398 if test `eval echo '${'$as_ac_var'}'` = yes; then
77399   cat >>confdefs.h <<_ACEOF
77400 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77401 _ACEOF
77402
77403 else
77404   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
77405 fi
77406 done
77407
77408
77409           if test x$ac_cv_func_copysignl = x"yes"; then
77410
77411 for ac_func in __signbitl
77412 do
77413 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77414 echo "$as_me:$LINENO: checking for $ac_func" >&5
77415 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77416 if eval "test \"\${$as_ac_var+set}\" = set"; then
77417   echo $ECHO_N "(cached) $ECHO_C" >&6
77418 else
77419   if test x$gcc_no_link = xyes; then
77420   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77421 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77422    { (exit 1); exit 1; }; }
77423 fi
77424 cat >conftest.$ac_ext <<_ACEOF
77425 /* confdefs.h.  */
77426 _ACEOF
77427 cat confdefs.h >>conftest.$ac_ext
77428 cat >>conftest.$ac_ext <<_ACEOF
77429 /* end confdefs.h.  */
77430 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77431    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
77432 #define $ac_func innocuous_$ac_func
77433
77434 /* System header to define __stub macros and hopefully few prototypes,
77435     which can conflict with char $ac_func (); below.
77436     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77437     <limits.h> exists even on freestanding compilers.  */
77438
77439 #ifdef __STDC__
77440 # include <limits.h>
77441 #else
77442 # include <assert.h>
77443 #endif
77444
77445 #undef $ac_func
77446
77447 /* Override any gcc2 internal prototype to avoid an error.  */
77448 #ifdef __cplusplus
77449 extern "C"
77450 {
77451 #endif
77452 /* We use char because int might match the return type of a gcc2
77453    builtin and then its argument prototype would still apply.  */
77454 char $ac_func ();
77455 /* The GNU C library defines this for functions which it implements
77456     to always fail with ENOSYS.  Some functions are actually named
77457     something starting with __ and the normal name is an alias.  */
77458 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77459 choke me
77460 #else
77461 char (*f) () = $ac_func;
77462 #endif
77463 #ifdef __cplusplus
77464 }
77465 #endif
77466
77467 int
77468 main ()
77469 {
77470 return f != $ac_func;
77471   ;
77472   return 0;
77473 }
77474 _ACEOF
77475 rm -f conftest.$ac_objext conftest$ac_exeext
77476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77477   (eval $ac_link) 2>conftest.er1
77478   ac_status=$?
77479   grep -v '^ *+' conftest.er1 >conftest.err
77480   rm -f conftest.er1
77481   cat conftest.err >&5
77482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77483   (exit $ac_status); } &&
77484          { ac_try='test -z "$ac_c_werror_flag"
77485                          || test ! -s conftest.err'
77486   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77487   (eval $ac_try) 2>&5
77488   ac_status=$?
77489   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77490   (exit $ac_status); }; } &&
77491          { ac_try='test -s conftest$ac_exeext'
77492   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77493   (eval $ac_try) 2>&5
77494   ac_status=$?
77495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77496   (exit $ac_status); }; }; then
77497   eval "$as_ac_var=yes"
77498 else
77499   echo "$as_me: failed program was:" >&5
77500 sed 's/^/| /' conftest.$ac_ext >&5
77501
77502 eval "$as_ac_var=no"
77503 fi
77504 rm -f conftest.err conftest.$ac_objext \
77505       conftest$ac_exeext conftest.$ac_ext
77506 fi
77507 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77508 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77509 if test `eval echo '${'$as_ac_var'}'` = yes; then
77510   cat >>confdefs.h <<_ACEOF
77511 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77512 _ACEOF
77513
77514 else
77515   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
77516 fi
77517 done
77518
77519   fi
77520
77521   # Used in libmath/Makefile.am.
77522   if test -n "$LIBMATHOBJS"; then
77523     need_libmath=yes
77524   fi
77525
77526
77527
77528   # Test wchar.h for mbstate_t, which is needed for char_traits and
77529   # others even if wchar_t support is not on.
77530   echo "$as_me:$LINENO: checking for mbstate_t" >&5
77531 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
77532   cat >conftest.$ac_ext <<_ACEOF
77533 /* confdefs.h.  */
77534 _ACEOF
77535 cat confdefs.h >>conftest.$ac_ext
77536 cat >>conftest.$ac_ext <<_ACEOF
77537 /* end confdefs.h.  */
77538 #include <wchar.h>
77539 int
77540 main ()
77541 {
77542 mbstate_t teststate;
77543   ;
77544   return 0;
77545 }
77546 _ACEOF
77547 rm -f conftest.$ac_objext
77548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77549   (eval $ac_compile) 2>conftest.er1
77550   ac_status=$?
77551   grep -v '^ *+' conftest.er1 >conftest.err
77552   rm -f conftest.er1
77553   cat conftest.err >&5
77554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77555   (exit $ac_status); } &&
77556          { ac_try='test -z "$ac_c_werror_flag"
77557                          || test ! -s conftest.err'
77558   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77559   (eval $ac_try) 2>&5
77560   ac_status=$?
77561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77562   (exit $ac_status); }; } &&
77563          { ac_try='test -s conftest.$ac_objext'
77564   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77565   (eval $ac_try) 2>&5
77566   ac_status=$?
77567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77568   (exit $ac_status); }; }; then
77569   have_mbstate_t=yes
77570 else
77571   echo "$as_me: failed program was:" >&5
77572 sed 's/^/| /' conftest.$ac_ext >&5
77573
77574 have_mbstate_t=no
77575 fi
77576 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77577   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
77578 echo "${ECHO_T}$have_mbstate_t" >&6
77579   if test x"$have_mbstate_t" = xyes; then
77580     cat >>confdefs.h <<\_ACEOF
77581 #define HAVE_MBSTATE_T 1
77582 _ACEOF
77583
77584   fi
77585
77586   # Sanity check for existence of ISO C99 headers for extended encoding.
77587
77588 for ac_header in wchar.h
77589 do
77590 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
77591 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77592   echo "$as_me:$LINENO: checking for $ac_header" >&5
77593 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77594 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77595   echo $ECHO_N "(cached) $ECHO_C" >&6
77596 fi
77597 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77598 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77599 else
77600   # Is the header compilable?
77601 echo "$as_me:$LINENO: checking $ac_header usability" >&5
77602 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
77603 cat >conftest.$ac_ext <<_ACEOF
77604 /* confdefs.h.  */
77605 _ACEOF
77606 cat confdefs.h >>conftest.$ac_ext
77607 cat >>conftest.$ac_ext <<_ACEOF
77608 /* end confdefs.h.  */
77609 $ac_includes_default
77610 #include <$ac_header>
77611 _ACEOF
77612 rm -f conftest.$ac_objext
77613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77614   (eval $ac_compile) 2>conftest.er1
77615   ac_status=$?
77616   grep -v '^ *+' conftest.er1 >conftest.err
77617   rm -f conftest.er1
77618   cat conftest.err >&5
77619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77620   (exit $ac_status); } &&
77621          { ac_try='test -z "$ac_c_werror_flag"
77622                          || test ! -s conftest.err'
77623   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77624   (eval $ac_try) 2>&5
77625   ac_status=$?
77626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77627   (exit $ac_status); }; } &&
77628          { ac_try='test -s conftest.$ac_objext'
77629   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77630   (eval $ac_try) 2>&5
77631   ac_status=$?
77632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77633   (exit $ac_status); }; }; then
77634   ac_header_compiler=yes
77635 else
77636   echo "$as_me: failed program was:" >&5
77637 sed 's/^/| /' conftest.$ac_ext >&5
77638
77639 ac_header_compiler=no
77640 fi
77641 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77642 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77643 echo "${ECHO_T}$ac_header_compiler" >&6
77644
77645 # Is the header present?
77646 echo "$as_me:$LINENO: checking $ac_header presence" >&5
77647 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
77648 cat >conftest.$ac_ext <<_ACEOF
77649 /* confdefs.h.  */
77650 _ACEOF
77651 cat confdefs.h >>conftest.$ac_ext
77652 cat >>conftest.$ac_ext <<_ACEOF
77653 /* end confdefs.h.  */
77654 #include <$ac_header>
77655 _ACEOF
77656 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77657   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77658   ac_status=$?
77659   grep -v '^ *+' conftest.er1 >conftest.err
77660   rm -f conftest.er1
77661   cat conftest.err >&5
77662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77663   (exit $ac_status); } >/dev/null; then
77664   if test -s conftest.err; then
77665     ac_cpp_err=$ac_c_preproc_warn_flag
77666     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
77667   else
77668     ac_cpp_err=
77669   fi
77670 else
77671   ac_cpp_err=yes
77672 fi
77673 if test -z "$ac_cpp_err"; then
77674   ac_header_preproc=yes
77675 else
77676   echo "$as_me: failed program was:" >&5
77677 sed 's/^/| /' conftest.$ac_ext >&5
77678
77679   ac_header_preproc=no
77680 fi
77681 rm -f conftest.err conftest.$ac_ext
77682 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77683 echo "${ECHO_T}$ac_header_preproc" >&6
77684
77685 # So?  What about this header?
77686 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
77687   yes:no: )
77688     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
77689 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
77690     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
77691 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
77692     ac_header_preproc=yes
77693     ;;
77694   no:yes:* )
77695     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
77696 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
77697     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
77698 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
77699     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
77700 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
77701     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
77702 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
77703     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
77704 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
77705     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
77706 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
77707     (
77708       cat <<\_ASBOX
77709 ## ----------------------------------------- ##
77710 ## Report this to the package-unused lists.  ##
77711 ## ----------------------------------------- ##
77712 _ASBOX
77713     ) |
77714       sed "s/^/$as_me: WARNING:     /" >&2
77715     ;;
77716 esac
77717 echo "$as_me:$LINENO: checking for $ac_header" >&5
77718 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77719 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77720   echo $ECHO_N "(cached) $ECHO_C" >&6
77721 else
77722   eval "$as_ac_Header=\$ac_header_preproc"
77723 fi
77724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77725 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77726
77727 fi
77728 if test `eval echo '${'$as_ac_Header'}'` = yes; then
77729   cat >>confdefs.h <<_ACEOF
77730 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
77731 _ACEOF
77732  ac_has_wchar_h=yes
77733 else
77734   ac_has_wchar_h=no
77735 fi
77736
77737 done
77738
77739
77740 for ac_header in wctype.h
77741 do
77742 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
77743 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77744   echo "$as_me:$LINENO: checking for $ac_header" >&5
77745 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77746 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77747   echo $ECHO_N "(cached) $ECHO_C" >&6
77748 fi
77749 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77750 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77751 else
77752   # Is the header compilable?
77753 echo "$as_me:$LINENO: checking $ac_header usability" >&5
77754 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
77755 cat >conftest.$ac_ext <<_ACEOF
77756 /* confdefs.h.  */
77757 _ACEOF
77758 cat confdefs.h >>conftest.$ac_ext
77759 cat >>conftest.$ac_ext <<_ACEOF
77760 /* end confdefs.h.  */
77761 $ac_includes_default
77762 #include <$ac_header>
77763 _ACEOF
77764 rm -f conftest.$ac_objext
77765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77766   (eval $ac_compile) 2>conftest.er1
77767   ac_status=$?
77768   grep -v '^ *+' conftest.er1 >conftest.err
77769   rm -f conftest.er1
77770   cat conftest.err >&5
77771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77772   (exit $ac_status); } &&
77773          { ac_try='test -z "$ac_c_werror_flag"
77774                          || test ! -s conftest.err'
77775   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77776   (eval $ac_try) 2>&5
77777   ac_status=$?
77778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77779   (exit $ac_status); }; } &&
77780          { ac_try='test -s conftest.$ac_objext'
77781   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77782   (eval $ac_try) 2>&5
77783   ac_status=$?
77784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77785   (exit $ac_status); }; }; then
77786   ac_header_compiler=yes
77787 else
77788   echo "$as_me: failed program was:" >&5
77789 sed 's/^/| /' conftest.$ac_ext >&5
77790
77791 ac_header_compiler=no
77792 fi
77793 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77794 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77795 echo "${ECHO_T}$ac_header_compiler" >&6
77796
77797 # Is the header present?
77798 echo "$as_me:$LINENO: checking $ac_header presence" >&5
77799 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
77800 cat >conftest.$ac_ext <<_ACEOF
77801 /* confdefs.h.  */
77802 _ACEOF
77803 cat confdefs.h >>conftest.$ac_ext
77804 cat >>conftest.$ac_ext <<_ACEOF
77805 /* end confdefs.h.  */
77806 #include <$ac_header>
77807 _ACEOF
77808 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77809   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77810   ac_status=$?
77811   grep -v '^ *+' conftest.er1 >conftest.err
77812   rm -f conftest.er1
77813   cat conftest.err >&5
77814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77815   (exit $ac_status); } >/dev/null; then
77816   if test -s conftest.err; then
77817     ac_cpp_err=$ac_c_preproc_warn_flag
77818     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
77819   else
77820     ac_cpp_err=
77821   fi
77822 else
77823   ac_cpp_err=yes
77824 fi
77825 if test -z "$ac_cpp_err"; then
77826   ac_header_preproc=yes
77827 else
77828   echo "$as_me: failed program was:" >&5
77829 sed 's/^/| /' conftest.$ac_ext >&5
77830
77831   ac_header_preproc=no
77832 fi
77833 rm -f conftest.err conftest.$ac_ext
77834 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77835 echo "${ECHO_T}$ac_header_preproc" >&6
77836
77837 # So?  What about this header?
77838 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
77839   yes:no: )
77840     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
77841 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
77842     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
77843 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
77844     ac_header_preproc=yes
77845     ;;
77846   no:yes:* )
77847     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
77848 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
77849     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
77850 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
77851     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
77852 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
77853     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
77854 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
77855     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
77856 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
77857     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
77858 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
77859     (
77860       cat <<\_ASBOX
77861 ## ----------------------------------------- ##
77862 ## Report this to the package-unused lists.  ##
77863 ## ----------------------------------------- ##
77864 _ASBOX
77865     ) |
77866       sed "s/^/$as_me: WARNING:     /" >&2
77867     ;;
77868 esac
77869 echo "$as_me:$LINENO: checking for $ac_header" >&5
77870 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77871 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77872   echo $ECHO_N "(cached) $ECHO_C" >&6
77873 else
77874   eval "$as_ac_Header=\$ac_header_preproc"
77875 fi
77876 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77877 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77878
77879 fi
77880 if test `eval echo '${'$as_ac_Header'}'` = yes; then
77881   cat >>confdefs.h <<_ACEOF
77882 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
77883 _ACEOF
77884  ac_has_wctype_h=yes
77885 else
77886   ac_has_wctype_h=no
77887 fi
77888
77889 done
77890
77891
77892   # Only continue checking if the ISO C99 headers exist and support is on.
77893   if test x"$ac_has_wchar_h" = xyes &&
77894      test x"$ac_has_wctype_h" = xyes &&
77895      test x"$enable_c_mbchar" != xno; then
77896
77897     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
77898     # numeric_limits can instantiate type_traits<wchar_t>
77899     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
77900 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
77901     cat >conftest.$ac_ext <<_ACEOF
77902 /* confdefs.h.  */
77903 _ACEOF
77904 cat confdefs.h >>conftest.$ac_ext
77905 cat >>conftest.$ac_ext <<_ACEOF
77906 /* end confdefs.h.  */
77907 #include <wchar.h>
77908 int
77909 main ()
77910 {
77911 int i = WCHAR_MIN; int j = WCHAR_MAX;
77912   ;
77913   return 0;
77914 }
77915 _ACEOF
77916 rm -f conftest.$ac_objext
77917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77918   (eval $ac_compile) 2>conftest.er1
77919   ac_status=$?
77920   grep -v '^ *+' conftest.er1 >conftest.err
77921   rm -f conftest.er1
77922   cat conftest.err >&5
77923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77924   (exit $ac_status); } &&
77925          { ac_try='test -z "$ac_c_werror_flag"
77926                          || test ! -s conftest.err'
77927   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77928   (eval $ac_try) 2>&5
77929   ac_status=$?
77930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77931   (exit $ac_status); }; } &&
77932          { ac_try='test -s conftest.$ac_objext'
77933   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77934   (eval $ac_try) 2>&5
77935   ac_status=$?
77936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77937   (exit $ac_status); }; }; then
77938   has_wchar_minmax=yes
77939 else
77940   echo "$as_me: failed program was:" >&5
77941 sed 's/^/| /' conftest.$ac_ext >&5
77942
77943 has_wchar_minmax=no
77944 fi
77945 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77946     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
77947 echo "${ECHO_T}$has_wchar_minmax" >&6
77948
77949     # Test wchar.h for WEOF, which is what we use to determine whether
77950     # to specialize for char_traits<wchar_t> or not.
77951     echo "$as_me:$LINENO: checking for WEOF" >&5
77952 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
77953     cat >conftest.$ac_ext <<_ACEOF
77954 /* confdefs.h.  */
77955 _ACEOF
77956 cat confdefs.h >>conftest.$ac_ext
77957 cat >>conftest.$ac_ext <<_ACEOF
77958 /* end confdefs.h.  */
77959
77960       #include <wchar.h>
77961       #include <stddef.h>
77962 int
77963 main ()
77964 {
77965 wint_t i = WEOF;
77966   ;
77967   return 0;
77968 }
77969 _ACEOF
77970 rm -f conftest.$ac_objext
77971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77972   (eval $ac_compile) 2>conftest.er1
77973   ac_status=$?
77974   grep -v '^ *+' conftest.er1 >conftest.err
77975   rm -f conftest.er1
77976   cat conftest.err >&5
77977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77978   (exit $ac_status); } &&
77979          { ac_try='test -z "$ac_c_werror_flag"
77980                          || test ! -s conftest.err'
77981   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77982   (eval $ac_try) 2>&5
77983   ac_status=$?
77984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77985   (exit $ac_status); }; } &&
77986          { ac_try='test -s conftest.$ac_objext'
77987   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77988   (eval $ac_try) 2>&5
77989   ac_status=$?
77990   echo "$as_me:$LINENO: \$? = $ac_status" >&5
77991   (exit $ac_status); }; }; then
77992   has_weof=yes
77993 else
77994   echo "$as_me: failed program was:" >&5
77995 sed 's/^/| /' conftest.$ac_ext >&5
77996
77997 has_weof=no
77998 fi
77999 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78000     echo "$as_me:$LINENO: result: $has_weof" >&5
78001 echo "${ECHO_T}$has_weof" >&6
78002
78003     # Tests for wide character functions used in char_traits<wchar_t>.
78004     ac_wfuncs=yes
78005
78006
78007
78008
78009
78010
78011 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
78012 do
78013 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78014 echo "$as_me:$LINENO: checking for $ac_func" >&5
78015 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78016 if eval "test \"\${$as_ac_var+set}\" = set"; then
78017   echo $ECHO_N "(cached) $ECHO_C" >&6
78018 else
78019   if test x$gcc_no_link = xyes; then
78020   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78021 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78022    { (exit 1); exit 1; }; }
78023 fi
78024 cat >conftest.$ac_ext <<_ACEOF
78025 /* confdefs.h.  */
78026 _ACEOF
78027 cat confdefs.h >>conftest.$ac_ext
78028 cat >>conftest.$ac_ext <<_ACEOF
78029 /* end confdefs.h.  */
78030 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78031    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78032 #define $ac_func innocuous_$ac_func
78033
78034 /* System header to define __stub macros and hopefully few prototypes,
78035     which can conflict with char $ac_func (); below.
78036     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78037     <limits.h> exists even on freestanding compilers.  */
78038
78039 #ifdef __STDC__
78040 # include <limits.h>
78041 #else
78042 # include <assert.h>
78043 #endif
78044
78045 #undef $ac_func
78046
78047 /* Override any gcc2 internal prototype to avoid an error.  */
78048 #ifdef __cplusplus
78049 extern "C"
78050 {
78051 #endif
78052 /* We use char because int might match the return type of a gcc2
78053    builtin and then its argument prototype would still apply.  */
78054 char $ac_func ();
78055 /* The GNU C library defines this for functions which it implements
78056     to always fail with ENOSYS.  Some functions are actually named
78057     something starting with __ and the normal name is an alias.  */
78058 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78059 choke me
78060 #else
78061 char (*f) () = $ac_func;
78062 #endif
78063 #ifdef __cplusplus
78064 }
78065 #endif
78066
78067 int
78068 main ()
78069 {
78070 return f != $ac_func;
78071   ;
78072   return 0;
78073 }
78074 _ACEOF
78075 rm -f conftest.$ac_objext conftest$ac_exeext
78076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78077   (eval $ac_link) 2>conftest.er1
78078   ac_status=$?
78079   grep -v '^ *+' conftest.er1 >conftest.err
78080   rm -f conftest.er1
78081   cat conftest.err >&5
78082   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78083   (exit $ac_status); } &&
78084          { ac_try='test -z "$ac_c_werror_flag"
78085                          || test ! -s conftest.err'
78086   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78087   (eval $ac_try) 2>&5
78088   ac_status=$?
78089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78090   (exit $ac_status); }; } &&
78091          { ac_try='test -s conftest$ac_exeext'
78092   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78093   (eval $ac_try) 2>&5
78094   ac_status=$?
78095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78096   (exit $ac_status); }; }; then
78097   eval "$as_ac_var=yes"
78098 else
78099   echo "$as_me: failed program was:" >&5
78100 sed 's/^/| /' conftest.$ac_ext >&5
78101
78102 eval "$as_ac_var=no"
78103 fi
78104 rm -f conftest.err conftest.$ac_objext \
78105       conftest$ac_exeext conftest.$ac_ext
78106 fi
78107 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78108 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78109 if test `eval echo '${'$as_ac_var'}'` = yes; then
78110   cat >>confdefs.h <<_ACEOF
78111 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78112 _ACEOF
78113
78114 else
78115   ac_wfuncs=no
78116 fi
78117 done
78118
78119
78120     # Checks for names injected into std:: by the c_std headers.
78121
78122
78123
78124
78125
78126
78127
78128
78129
78130
78131
78132
78133
78134
78135
78136
78137
78138
78139
78140
78141
78142
78143
78144
78145
78146
78147
78148
78149
78150
78151
78152
78153
78154
78155
78156
78157
78158
78159
78160
78161
78162
78163
78164
78165
78166
78167 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
78168     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
78169     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
78170     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
78171     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
78172     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
78173 do
78174 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78175 echo "$as_me:$LINENO: checking for $ac_func" >&5
78176 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78177 if eval "test \"\${$as_ac_var+set}\" = set"; then
78178   echo $ECHO_N "(cached) $ECHO_C" >&6
78179 else
78180   if test x$gcc_no_link = xyes; then
78181   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78182 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78183    { (exit 1); exit 1; }; }
78184 fi
78185 cat >conftest.$ac_ext <<_ACEOF
78186 /* confdefs.h.  */
78187 _ACEOF
78188 cat confdefs.h >>conftest.$ac_ext
78189 cat >>conftest.$ac_ext <<_ACEOF
78190 /* end confdefs.h.  */
78191 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78192    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78193 #define $ac_func innocuous_$ac_func
78194
78195 /* System header to define __stub macros and hopefully few prototypes,
78196     which can conflict with char $ac_func (); below.
78197     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78198     <limits.h> exists even on freestanding compilers.  */
78199
78200 #ifdef __STDC__
78201 # include <limits.h>
78202 #else
78203 # include <assert.h>
78204 #endif
78205
78206 #undef $ac_func
78207
78208 /* Override any gcc2 internal prototype to avoid an error.  */
78209 #ifdef __cplusplus
78210 extern "C"
78211 {
78212 #endif
78213 /* We use char because int might match the return type of a gcc2
78214    builtin and then its argument prototype would still apply.  */
78215 char $ac_func ();
78216 /* The GNU C library defines this for functions which it implements
78217     to always fail with ENOSYS.  Some functions are actually named
78218     something starting with __ and the normal name is an alias.  */
78219 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78220 choke me
78221 #else
78222 char (*f) () = $ac_func;
78223 #endif
78224 #ifdef __cplusplus
78225 }
78226 #endif
78227
78228 int
78229 main ()
78230 {
78231 return f != $ac_func;
78232   ;
78233   return 0;
78234 }
78235 _ACEOF
78236 rm -f conftest.$ac_objext conftest$ac_exeext
78237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78238   (eval $ac_link) 2>conftest.er1
78239   ac_status=$?
78240   grep -v '^ *+' conftest.er1 >conftest.err
78241   rm -f conftest.er1
78242   cat conftest.err >&5
78243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78244   (exit $ac_status); } &&
78245          { ac_try='test -z "$ac_c_werror_flag"
78246                          || test ! -s conftest.err'
78247   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78248   (eval $ac_try) 2>&5
78249   ac_status=$?
78250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78251   (exit $ac_status); }; } &&
78252          { ac_try='test -s conftest$ac_exeext'
78253   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78254   (eval $ac_try) 2>&5
78255   ac_status=$?
78256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78257   (exit $ac_status); }; }; then
78258   eval "$as_ac_var=yes"
78259 else
78260   echo "$as_me: failed program was:" >&5
78261 sed 's/^/| /' conftest.$ac_ext >&5
78262
78263 eval "$as_ac_var=no"
78264 fi
78265 rm -f conftest.err conftest.$ac_objext \
78266       conftest$ac_exeext conftest.$ac_ext
78267 fi
78268 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78269 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78270 if test `eval echo '${'$as_ac_var'}'` = yes; then
78271   cat >>confdefs.h <<_ACEOF
78272 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78273 _ACEOF
78274
78275 else
78276   ac_wfuncs=no
78277 fi
78278 done
78279
78280
78281     # Checks for wide character functions that are not required
78282     # for basic wchar_t support.  Don't disable support if they are missing.
78283     # Injection of these is wrapped with guard macros.
78284
78285
78286
78287
78288
78289 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
78290 do
78291 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78292 echo "$as_me:$LINENO: checking for $ac_func" >&5
78293 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78294 if eval "test \"\${$as_ac_var+set}\" = set"; then
78295   echo $ECHO_N "(cached) $ECHO_C" >&6
78296 else
78297   if test x$gcc_no_link = xyes; then
78298   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78299 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78300    { (exit 1); exit 1; }; }
78301 fi
78302 cat >conftest.$ac_ext <<_ACEOF
78303 /* confdefs.h.  */
78304 _ACEOF
78305 cat confdefs.h >>conftest.$ac_ext
78306 cat >>conftest.$ac_ext <<_ACEOF
78307 /* end confdefs.h.  */
78308 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78309    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78310 #define $ac_func innocuous_$ac_func
78311
78312 /* System header to define __stub macros and hopefully few prototypes,
78313     which can conflict with char $ac_func (); below.
78314     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78315     <limits.h> exists even on freestanding compilers.  */
78316
78317 #ifdef __STDC__
78318 # include <limits.h>
78319 #else
78320 # include <assert.h>
78321 #endif
78322
78323 #undef $ac_func
78324
78325 /* Override any gcc2 internal prototype to avoid an error.  */
78326 #ifdef __cplusplus
78327 extern "C"
78328 {
78329 #endif
78330 /* We use char because int might match the return type of a gcc2
78331    builtin and then its argument prototype would still apply.  */
78332 char $ac_func ();
78333 /* The GNU C library defines this for functions which it implements
78334     to always fail with ENOSYS.  Some functions are actually named
78335     something starting with __ and the normal name is an alias.  */
78336 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78337 choke me
78338 #else
78339 char (*f) () = $ac_func;
78340 #endif
78341 #ifdef __cplusplus
78342 }
78343 #endif
78344
78345 int
78346 main ()
78347 {
78348 return f != $ac_func;
78349   ;
78350   return 0;
78351 }
78352 _ACEOF
78353 rm -f conftest.$ac_objext conftest$ac_exeext
78354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78355   (eval $ac_link) 2>conftest.er1
78356   ac_status=$?
78357   grep -v '^ *+' conftest.er1 >conftest.err
78358   rm -f conftest.er1
78359   cat conftest.err >&5
78360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78361   (exit $ac_status); } &&
78362          { ac_try='test -z "$ac_c_werror_flag"
78363                          || test ! -s conftest.err'
78364   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78365   (eval $ac_try) 2>&5
78366   ac_status=$?
78367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78368   (exit $ac_status); }; } &&
78369          { ac_try='test -s conftest$ac_exeext'
78370   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78371   (eval $ac_try) 2>&5
78372   ac_status=$?
78373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78374   (exit $ac_status); }; }; then
78375   eval "$as_ac_var=yes"
78376 else
78377   echo "$as_me: failed program was:" >&5
78378 sed 's/^/| /' conftest.$ac_ext >&5
78379
78380 eval "$as_ac_var=no"
78381 fi
78382 rm -f conftest.err conftest.$ac_objext \
78383       conftest$ac_exeext conftest.$ac_ext
78384 fi
78385 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78386 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78387 if test `eval echo '${'$as_ac_var'}'` = yes; then
78388   cat >>confdefs.h <<_ACEOF
78389 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78390 _ACEOF
78391
78392 fi
78393 done
78394
78395
78396     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
78397 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
78398     if test x"$has_weof" = xyes &&
78399        test x"$has_wchar_minmax" = xyes &&
78400        test x"$ac_wfuncs" = xyes;
78401     then
78402       ac_isoC99_wchar_t=yes
78403     else
78404       ac_isoC99_wchar_t=no
78405     fi
78406     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
78407 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
78408
78409     # Use iconv for wchar_t to char conversions. As such, check for
78410     # X/Open Portability Guide, version 2 features (XPG2).
78411     if test "${ac_cv_header_iconv_h+set}" = set; then
78412   echo "$as_me:$LINENO: checking for iconv.h" >&5
78413 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
78414 if test "${ac_cv_header_iconv_h+set}" = set; then
78415   echo $ECHO_N "(cached) $ECHO_C" >&6
78416 fi
78417 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
78418 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
78419 else
78420   # Is the header compilable?
78421 echo "$as_me:$LINENO: checking iconv.h usability" >&5
78422 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
78423 cat >conftest.$ac_ext <<_ACEOF
78424 /* confdefs.h.  */
78425 _ACEOF
78426 cat confdefs.h >>conftest.$ac_ext
78427 cat >>conftest.$ac_ext <<_ACEOF
78428 /* end confdefs.h.  */
78429 $ac_includes_default
78430 #include <iconv.h>
78431 _ACEOF
78432 rm -f conftest.$ac_objext
78433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78434   (eval $ac_compile) 2>conftest.er1
78435   ac_status=$?
78436   grep -v '^ *+' conftest.er1 >conftest.err
78437   rm -f conftest.er1
78438   cat conftest.err >&5
78439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78440   (exit $ac_status); } &&
78441          { ac_try='test -z "$ac_c_werror_flag"
78442                          || test ! -s conftest.err'
78443   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78444   (eval $ac_try) 2>&5
78445   ac_status=$?
78446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78447   (exit $ac_status); }; } &&
78448          { ac_try='test -s conftest.$ac_objext'
78449   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78450   (eval $ac_try) 2>&5
78451   ac_status=$?
78452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78453   (exit $ac_status); }; }; then
78454   ac_header_compiler=yes
78455 else
78456   echo "$as_me: failed program was:" >&5
78457 sed 's/^/| /' conftest.$ac_ext >&5
78458
78459 ac_header_compiler=no
78460 fi
78461 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78462 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78463 echo "${ECHO_T}$ac_header_compiler" >&6
78464
78465 # Is the header present?
78466 echo "$as_me:$LINENO: checking iconv.h presence" >&5
78467 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
78468 cat >conftest.$ac_ext <<_ACEOF
78469 /* confdefs.h.  */
78470 _ACEOF
78471 cat confdefs.h >>conftest.$ac_ext
78472 cat >>conftest.$ac_ext <<_ACEOF
78473 /* end confdefs.h.  */
78474 #include <iconv.h>
78475 _ACEOF
78476 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78477   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78478   ac_status=$?
78479   grep -v '^ *+' conftest.er1 >conftest.err
78480   rm -f conftest.er1
78481   cat conftest.err >&5
78482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78483   (exit $ac_status); } >/dev/null; then
78484   if test -s conftest.err; then
78485     ac_cpp_err=$ac_c_preproc_warn_flag
78486     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78487   else
78488     ac_cpp_err=
78489   fi
78490 else
78491   ac_cpp_err=yes
78492 fi
78493 if test -z "$ac_cpp_err"; then
78494   ac_header_preproc=yes
78495 else
78496   echo "$as_me: failed program was:" >&5
78497 sed 's/^/| /' conftest.$ac_ext >&5
78498
78499   ac_header_preproc=no
78500 fi
78501 rm -f conftest.err conftest.$ac_ext
78502 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78503 echo "${ECHO_T}$ac_header_preproc" >&6
78504
78505 # So?  What about this header?
78506 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78507   yes:no: )
78508     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
78509 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
78510     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
78511 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
78512     ac_header_preproc=yes
78513     ;;
78514   no:yes:* )
78515     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
78516 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
78517     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
78518 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
78519     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
78520 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
78521     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
78522 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
78523     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
78524 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
78525     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
78526 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
78527     (
78528       cat <<\_ASBOX
78529 ## ----------------------------------------- ##
78530 ## Report this to the package-unused lists.  ##
78531 ## ----------------------------------------- ##
78532 _ASBOX
78533     ) |
78534       sed "s/^/$as_me: WARNING:     /" >&2
78535     ;;
78536 esac
78537 echo "$as_me:$LINENO: checking for iconv.h" >&5
78538 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
78539 if test "${ac_cv_header_iconv_h+set}" = set; then
78540   echo $ECHO_N "(cached) $ECHO_C" >&6
78541 else
78542   ac_cv_header_iconv_h=$ac_header_preproc
78543 fi
78544 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
78545 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
78546
78547 fi
78548 if test $ac_cv_header_iconv_h = yes; then
78549   ac_has_iconv_h=yes
78550 else
78551   ac_has_iconv_h=no
78552 fi
78553
78554
78555     if test "${ac_cv_header_langinfo_h+set}" = set; then
78556   echo "$as_me:$LINENO: checking for langinfo.h" >&5
78557 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
78558 if test "${ac_cv_header_langinfo_h+set}" = set; then
78559   echo $ECHO_N "(cached) $ECHO_C" >&6
78560 fi
78561 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
78562 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
78563 else
78564   # Is the header compilable?
78565 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
78566 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
78567 cat >conftest.$ac_ext <<_ACEOF
78568 /* confdefs.h.  */
78569 _ACEOF
78570 cat confdefs.h >>conftest.$ac_ext
78571 cat >>conftest.$ac_ext <<_ACEOF
78572 /* end confdefs.h.  */
78573 $ac_includes_default
78574 #include <langinfo.h>
78575 _ACEOF
78576 rm -f conftest.$ac_objext
78577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78578   (eval $ac_compile) 2>conftest.er1
78579   ac_status=$?
78580   grep -v '^ *+' conftest.er1 >conftest.err
78581   rm -f conftest.er1
78582   cat conftest.err >&5
78583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78584   (exit $ac_status); } &&
78585          { ac_try='test -z "$ac_c_werror_flag"
78586                          || test ! -s conftest.err'
78587   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78588   (eval $ac_try) 2>&5
78589   ac_status=$?
78590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78591   (exit $ac_status); }; } &&
78592          { ac_try='test -s conftest.$ac_objext'
78593   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78594   (eval $ac_try) 2>&5
78595   ac_status=$?
78596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78597   (exit $ac_status); }; }; then
78598   ac_header_compiler=yes
78599 else
78600   echo "$as_me: failed program was:" >&5
78601 sed 's/^/| /' conftest.$ac_ext >&5
78602
78603 ac_header_compiler=no
78604 fi
78605 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78606 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78607 echo "${ECHO_T}$ac_header_compiler" >&6
78608
78609 # Is the header present?
78610 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
78611 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
78612 cat >conftest.$ac_ext <<_ACEOF
78613 /* confdefs.h.  */
78614 _ACEOF
78615 cat confdefs.h >>conftest.$ac_ext
78616 cat >>conftest.$ac_ext <<_ACEOF
78617 /* end confdefs.h.  */
78618 #include <langinfo.h>
78619 _ACEOF
78620 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78621   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78622   ac_status=$?
78623   grep -v '^ *+' conftest.er1 >conftest.err
78624   rm -f conftest.er1
78625   cat conftest.err >&5
78626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78627   (exit $ac_status); } >/dev/null; then
78628   if test -s conftest.err; then
78629     ac_cpp_err=$ac_c_preproc_warn_flag
78630     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78631   else
78632     ac_cpp_err=
78633   fi
78634 else
78635   ac_cpp_err=yes
78636 fi
78637 if test -z "$ac_cpp_err"; then
78638   ac_header_preproc=yes
78639 else
78640   echo "$as_me: failed program was:" >&5
78641 sed 's/^/| /' conftest.$ac_ext >&5
78642
78643   ac_header_preproc=no
78644 fi
78645 rm -f conftest.err conftest.$ac_ext
78646 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78647 echo "${ECHO_T}$ac_header_preproc" >&6
78648
78649 # So?  What about this header?
78650 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78651   yes:no: )
78652     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
78653 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
78654     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
78655 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
78656     ac_header_preproc=yes
78657     ;;
78658   no:yes:* )
78659     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
78660 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
78661     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
78662 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
78663     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
78664 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
78665     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
78666 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
78667     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
78668 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
78669     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
78670 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
78671     (
78672       cat <<\_ASBOX
78673 ## ----------------------------------------- ##
78674 ## Report this to the package-unused lists.  ##
78675 ## ----------------------------------------- ##
78676 _ASBOX
78677     ) |
78678       sed "s/^/$as_me: WARNING:     /" >&2
78679     ;;
78680 esac
78681 echo "$as_me:$LINENO: checking for langinfo.h" >&5
78682 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
78683 if test "${ac_cv_header_langinfo_h+set}" = set; then
78684   echo $ECHO_N "(cached) $ECHO_C" >&6
78685 else
78686   ac_cv_header_langinfo_h=$ac_header_preproc
78687 fi
78688 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
78689 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
78690
78691 fi
78692 if test $ac_cv_header_langinfo_h = yes; then
78693   ac_has_langinfo_h=yes
78694 else
78695   ac_has_langinfo_h=no
78696 fi
78697
78698
78699
78700     # Check for existence of libiconv.a providing XPG2 wchar_t support.
78701     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
78702 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
78703 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
78704   echo $ECHO_N "(cached) $ECHO_C" >&6
78705 else
78706   ac_check_lib_save_LIBS=$LIBS
78707 LIBS="-liconv  $LIBS"
78708 if test x$gcc_no_link = xyes; then
78709   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78710 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78711    { (exit 1); exit 1; }; }
78712 fi
78713 cat >conftest.$ac_ext <<_ACEOF
78714 /* confdefs.h.  */
78715 _ACEOF
78716 cat confdefs.h >>conftest.$ac_ext
78717 cat >>conftest.$ac_ext <<_ACEOF
78718 /* end confdefs.h.  */
78719
78720 /* Override any gcc2 internal prototype to avoid an error.  */
78721 #ifdef __cplusplus
78722 extern "C"
78723 #endif
78724 /* We use char because int might match the return type of a gcc2
78725    builtin and then its argument prototype would still apply.  */
78726 char iconv ();
78727 int
78728 main ()
78729 {
78730 iconv ();
78731   ;
78732   return 0;
78733 }
78734 _ACEOF
78735 rm -f conftest.$ac_objext conftest$ac_exeext
78736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78737   (eval $ac_link) 2>conftest.er1
78738   ac_status=$?
78739   grep -v '^ *+' conftest.er1 >conftest.err
78740   rm -f conftest.er1
78741   cat conftest.err >&5
78742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78743   (exit $ac_status); } &&
78744          { ac_try='test -z "$ac_c_werror_flag"
78745                          || test ! -s conftest.err'
78746   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78747   (eval $ac_try) 2>&5
78748   ac_status=$?
78749   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78750   (exit $ac_status); }; } &&
78751          { ac_try='test -s conftest$ac_exeext'
78752   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78753   (eval $ac_try) 2>&5
78754   ac_status=$?
78755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78756   (exit $ac_status); }; }; then
78757   ac_cv_lib_iconv_iconv=yes
78758 else
78759   echo "$as_me: failed program was:" >&5
78760 sed 's/^/| /' conftest.$ac_ext >&5
78761
78762 ac_cv_lib_iconv_iconv=no
78763 fi
78764 rm -f conftest.err conftest.$ac_objext \
78765       conftest$ac_exeext conftest.$ac_ext
78766 LIBS=$ac_check_lib_save_LIBS
78767 fi
78768 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
78769 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
78770 if test $ac_cv_lib_iconv_iconv = yes; then
78771   LIBICONV="-liconv"
78772 fi
78773
78774     ac_save_LIBS="$LIBS"
78775     LIBS="$LIBS $LIBICONV"
78776
78777
78778
78779
78780
78781
78782 for ac_func in iconv_open iconv_close iconv nl_langinfo
78783 do
78784 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78785 echo "$as_me:$LINENO: checking for $ac_func" >&5
78786 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78787 if eval "test \"\${$as_ac_var+set}\" = set"; then
78788   echo $ECHO_N "(cached) $ECHO_C" >&6
78789 else
78790   if test x$gcc_no_link = xyes; then
78791   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78792 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78793    { (exit 1); exit 1; }; }
78794 fi
78795 cat >conftest.$ac_ext <<_ACEOF
78796 /* confdefs.h.  */
78797 _ACEOF
78798 cat confdefs.h >>conftest.$ac_ext
78799 cat >>conftest.$ac_ext <<_ACEOF
78800 /* end confdefs.h.  */
78801 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78802    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
78803 #define $ac_func innocuous_$ac_func
78804
78805 /* System header to define __stub macros and hopefully few prototypes,
78806     which can conflict with char $ac_func (); below.
78807     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78808     <limits.h> exists even on freestanding compilers.  */
78809
78810 #ifdef __STDC__
78811 # include <limits.h>
78812 #else
78813 # include <assert.h>
78814 #endif
78815
78816 #undef $ac_func
78817
78818 /* Override any gcc2 internal prototype to avoid an error.  */
78819 #ifdef __cplusplus
78820 extern "C"
78821 {
78822 #endif
78823 /* We use char because int might match the return type of a gcc2
78824    builtin and then its argument prototype would still apply.  */
78825 char $ac_func ();
78826 /* The GNU C library defines this for functions which it implements
78827     to always fail with ENOSYS.  Some functions are actually named
78828     something starting with __ and the normal name is an alias.  */
78829 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78830 choke me
78831 #else
78832 char (*f) () = $ac_func;
78833 #endif
78834 #ifdef __cplusplus
78835 }
78836 #endif
78837
78838 int
78839 main ()
78840 {
78841 return f != $ac_func;
78842   ;
78843   return 0;
78844 }
78845 _ACEOF
78846 rm -f conftest.$ac_objext conftest$ac_exeext
78847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78848   (eval $ac_link) 2>conftest.er1
78849   ac_status=$?
78850   grep -v '^ *+' conftest.er1 >conftest.err
78851   rm -f conftest.er1
78852   cat conftest.err >&5
78853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78854   (exit $ac_status); } &&
78855          { ac_try='test -z "$ac_c_werror_flag"
78856                          || test ! -s conftest.err'
78857   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78858   (eval $ac_try) 2>&5
78859   ac_status=$?
78860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78861   (exit $ac_status); }; } &&
78862          { ac_try='test -s conftest$ac_exeext'
78863   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78864   (eval $ac_try) 2>&5
78865   ac_status=$?
78866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
78867   (exit $ac_status); }; }; then
78868   eval "$as_ac_var=yes"
78869 else
78870   echo "$as_me: failed program was:" >&5
78871 sed 's/^/| /' conftest.$ac_ext >&5
78872
78873 eval "$as_ac_var=no"
78874 fi
78875 rm -f conftest.err conftest.$ac_objext \
78876       conftest$ac_exeext conftest.$ac_ext
78877 fi
78878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78879 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78880 if test `eval echo '${'$as_ac_var'}'` = yes; then
78881   cat >>confdefs.h <<_ACEOF
78882 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78883 _ACEOF
78884  ac_XPG2funcs=yes
78885 else
78886   ac_XPG2funcs=no
78887 fi
78888 done
78889
78890
78891     LIBS="$ac_save_LIBS"
78892
78893     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
78894 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
78895     if test x"$ac_has_iconv_h" = xyes &&
78896        test x"$ac_has_langinfo_h" = xyes &&
78897        test x"$ac_XPG2funcs" = xyes;
78898     then
78899       ac_XPG2_wchar_t=yes
78900     else
78901       ac_XPG2_wchar_t=no
78902     fi
78903     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
78904 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
78905
78906     # At the moment, only enable wchar_t specializations if all the
78907     # above support is present.
78908     if test x"$ac_isoC99_wchar_t" = xyes &&
78909        test x"$ac_XPG2_wchar_t" = xyes;
78910     then
78911       cat >>confdefs.h <<\_ACEOF
78912 #define _GLIBCXX_USE_WCHAR_T 1
78913 _ACEOF
78914
78915       enable_wchar_t=yes
78916     fi
78917   fi
78918   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
78919 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
78920   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
78921 echo "${ECHO_T}$enable_wchar_t" >&6
78922
78923     cat >>confdefs.h <<\_ACEOF
78924 #define HAVE_LC_MESSAGES 1
78925 _ACEOF
78926
78927     cat >>confdefs.h <<\_ACEOF
78928 #define HAVE_GETPAGESIZE 1
78929 _ACEOF
78930
78931     cat >>confdefs.h <<\_ACEOF
78932 #define HAVE_SETENV 1
78933 _ACEOF
78934
78935     cat >>confdefs.h <<\_ACEOF
78936 #define HAVE_SIGSETJMP 1
78937 _ACEOF
78938
78939     cat >>confdefs.h <<\_ACEOF
78940 #define HAVE_COPYSIGN 1
78941 _ACEOF
78942
78943     cat >>confdefs.h <<\_ACEOF
78944 #define HAVE_COPYSIGNF 1
78945 _ACEOF
78946
78947     cat >>confdefs.h <<\_ACEOF
78948 #define HAVE_FINITEF 1
78949 _ACEOF
78950
78951     cat >>confdefs.h <<\_ACEOF
78952 #define HAVE_FINITE 1
78953 _ACEOF
78954
78955     cat >>confdefs.h <<\_ACEOF
78956 #define HAVE_FREXPF 1
78957 _ACEOF
78958
78959     cat >>confdefs.h <<\_ACEOF
78960 #define HAVE_HYPOT 1
78961 _ACEOF
78962
78963     cat >>confdefs.h <<\_ACEOF
78964 #define HAVE_HYPOTF 1
78965 _ACEOF
78966
78967     cat >>confdefs.h <<\_ACEOF
78968 #define HAVE_ISINF 1
78969 _ACEOF
78970
78971     cat >>confdefs.h <<\_ACEOF
78972 #define HAVE_ISNAN 1
78973 _ACEOF
78974
78975     cat >>confdefs.h <<\_ACEOF
78976 #define HAVE_ISNANF 1
78977 _ACEOF
78978
78979
78980     cat >>confdefs.h <<\_ACEOF
78981 #define HAVE_MMAP 1
78982 _ACEOF
78983
78984     cat >>confdefs.h <<\_ACEOF
78985 #define HAVE_ACOSF 1
78986 _ACEOF
78987
78988     cat >>confdefs.h <<\_ACEOF
78989 #define HAVE_ASINF 1
78990 _ACEOF
78991
78992     cat >>confdefs.h <<\_ACEOF
78993 #define HAVE_ATAN2F 1
78994 _ACEOF
78995
78996     cat >>confdefs.h <<\_ACEOF
78997 #define HAVE_ATANF 1
78998 _ACEOF
78999
79000     cat >>confdefs.h <<\_ACEOF
79001 #define HAVE_CEILF 1
79002 _ACEOF
79003
79004     cat >>confdefs.h <<\_ACEOF
79005 #define HAVE_COPYSIGN 1
79006 _ACEOF
79007
79008     cat >>confdefs.h <<\_ACEOF
79009 #define HAVE_COPYSIGNF 1
79010 _ACEOF
79011
79012     cat >>confdefs.h <<\_ACEOF
79013 #define HAVE_COSF 1
79014 _ACEOF
79015
79016     cat >>confdefs.h <<\_ACEOF
79017 #define HAVE_COSHF 1
79018 _ACEOF
79019
79020     cat >>confdefs.h <<\_ACEOF
79021 #define HAVE_EXPF 1
79022 _ACEOF
79023
79024     cat >>confdefs.h <<\_ACEOF
79025 #define HAVE_FABSF 1
79026 _ACEOF
79027
79028     cat >>confdefs.h <<\_ACEOF
79029 #define HAVE_FLOORF 1
79030 _ACEOF
79031
79032     cat >>confdefs.h <<\_ACEOF
79033 #define HAVE_FMODF 1
79034 _ACEOF
79035
79036     cat >>confdefs.h <<\_ACEOF
79037 #define HAVE_FREXPF 1
79038 _ACEOF
79039
79040     cat >>confdefs.h <<\_ACEOF
79041 #define HAVE_LDEXPF 1
79042 _ACEOF
79043
79044     cat >>confdefs.h <<\_ACEOF
79045 #define HAVE_LOG10F 1
79046 _ACEOF
79047
79048     cat >>confdefs.h <<\_ACEOF
79049 #define HAVE_LOGF 1
79050 _ACEOF
79051
79052     cat >>confdefs.h <<\_ACEOF
79053 #define HAVE_MODFF 1
79054 _ACEOF
79055
79056     cat >>confdefs.h <<\_ACEOF
79057 #define HAVE_POWF 1
79058 _ACEOF
79059
79060     cat >>confdefs.h <<\_ACEOF
79061 #define HAVE_SINF 1
79062 _ACEOF
79063
79064     cat >>confdefs.h <<\_ACEOF
79065 #define HAVE_SINHF 1
79066 _ACEOF
79067
79068     cat >>confdefs.h <<\_ACEOF
79069 #define HAVE_SQRTF 1
79070 _ACEOF
79071
79072     cat >>confdefs.h <<\_ACEOF
79073 #define HAVE_TANF 1
79074 _ACEOF
79075
79076     cat >>confdefs.h <<\_ACEOF
79077 #define HAVE_TANHF 1
79078 _ACEOF
79079
79080     if test x"long_double_math_on_this_cpu" = x"yes"; then
79081       cat >>confdefs.h <<\_ACEOF
79082 #define HAVE_FINITEL 1
79083 _ACEOF
79084
79085       cat >>confdefs.h <<\_ACEOF
79086 #define HAVE_ISINFL 1
79087 _ACEOF
79088
79089       cat >>confdefs.h <<\_ACEOF
79090 #define HAVE_ISNANL 1
79091 _ACEOF
79092
79093     fi
79094     ;;
79095   *-hpux*)
79096
79097
79098
79099
79100
79101
79102
79103
79104
79105
79106
79107
79108 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
79109       machine/endian.h machine/param.h sys/machine.h sys/types.h \
79110       fp.h locale.h float.h inttypes.h
79111 do
79112 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
79113 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79114   echo "$as_me:$LINENO: checking for $ac_header" >&5
79115 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
79116 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79117   echo $ECHO_N "(cached) $ECHO_C" >&6
79118 fi
79119 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
79120 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
79121 else
79122   # Is the header compilable?
79123 echo "$as_me:$LINENO: checking $ac_header usability" >&5
79124 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
79125 cat >conftest.$ac_ext <<_ACEOF
79126 /* confdefs.h.  */
79127 _ACEOF
79128 cat confdefs.h >>conftest.$ac_ext
79129 cat >>conftest.$ac_ext <<_ACEOF
79130 /* end confdefs.h.  */
79131 $ac_includes_default
79132 #include <$ac_header>
79133 _ACEOF
79134 rm -f conftest.$ac_objext
79135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79136   (eval $ac_compile) 2>conftest.er1
79137   ac_status=$?
79138   grep -v '^ *+' conftest.er1 >conftest.err
79139   rm -f conftest.er1
79140   cat conftest.err >&5
79141   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79142   (exit $ac_status); } &&
79143          { ac_try='test -z "$ac_c_werror_flag"
79144                          || test ! -s conftest.err'
79145   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79146   (eval $ac_try) 2>&5
79147   ac_status=$?
79148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79149   (exit $ac_status); }; } &&
79150          { ac_try='test -s conftest.$ac_objext'
79151   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79152   (eval $ac_try) 2>&5
79153   ac_status=$?
79154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79155   (exit $ac_status); }; }; then
79156   ac_header_compiler=yes
79157 else
79158   echo "$as_me: failed program was:" >&5
79159 sed 's/^/| /' conftest.$ac_ext >&5
79160
79161 ac_header_compiler=no
79162 fi
79163 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79164 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79165 echo "${ECHO_T}$ac_header_compiler" >&6
79166
79167 # Is the header present?
79168 echo "$as_me:$LINENO: checking $ac_header presence" >&5
79169 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
79170 cat >conftest.$ac_ext <<_ACEOF
79171 /* confdefs.h.  */
79172 _ACEOF
79173 cat confdefs.h >>conftest.$ac_ext
79174 cat >>conftest.$ac_ext <<_ACEOF
79175 /* end confdefs.h.  */
79176 #include <$ac_header>
79177 _ACEOF
79178 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79179   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79180   ac_status=$?
79181   grep -v '^ *+' conftest.er1 >conftest.err
79182   rm -f conftest.er1
79183   cat conftest.err >&5
79184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79185   (exit $ac_status); } >/dev/null; then
79186   if test -s conftest.err; then
79187     ac_cpp_err=$ac_c_preproc_warn_flag
79188     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
79189   else
79190     ac_cpp_err=
79191   fi
79192 else
79193   ac_cpp_err=yes
79194 fi
79195 if test -z "$ac_cpp_err"; then
79196   ac_header_preproc=yes
79197 else
79198   echo "$as_me: failed program was:" >&5
79199 sed 's/^/| /' conftest.$ac_ext >&5
79200
79201   ac_header_preproc=no
79202 fi
79203 rm -f conftest.err conftest.$ac_ext
79204 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79205 echo "${ECHO_T}$ac_header_preproc" >&6
79206
79207 # So?  What about this header?
79208 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
79209   yes:no: )
79210     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
79211 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
79212     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
79213 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
79214     ac_header_preproc=yes
79215     ;;
79216   no:yes:* )
79217     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
79218 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
79219     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
79220 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
79221     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
79222 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
79223     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
79224 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
79225     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
79226 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
79227     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
79228 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
79229     (
79230       cat <<\_ASBOX
79231 ## ----------------------------------------- ##
79232 ## Report this to the package-unused lists.  ##
79233 ## ----------------------------------------- ##
79234 _ASBOX
79235     ) |
79236       sed "s/^/$as_me: WARNING:     /" >&2
79237     ;;
79238 esac
79239 echo "$as_me:$LINENO: checking for $ac_header" >&5
79240 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
79241 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79242   echo $ECHO_N "(cached) $ECHO_C" >&6
79243 else
79244   eval "$as_ac_Header=\$ac_header_preproc"
79245 fi
79246 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
79247 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
79248
79249 fi
79250 if test `eval echo '${'$as_ac_Header'}'` = yes; then
79251   cat >>confdefs.h <<_ACEOF
79252 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
79253 _ACEOF
79254
79255 fi
79256
79257 done
79258
79259     SECTION_FLAGS='-ffunction-sections -fdata-sections'
79260
79261
79262   # If we're not using GNU ld, then there's no point in even trying these
79263   # tests.  Check for that first.  We should have already tested for gld
79264   # by now (in libtool), but require it now just to be safe...
79265   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
79266   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
79267
79268
79269
79270   # The name set by libtool depends on the version of libtool.  Shame on us
79271   # for depending on an impl detail, but c'est la vie.  Older versions used
79272   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
79273   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
79274   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
79275   # set (hence we're using an older libtool), then set it.
79276   if test x${with_gnu_ld+set} != xset; then
79277     if test x${ac_cv_prog_gnu_ld+set} != xset; then
79278       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
79279       with_gnu_ld=no
79280     else
79281       with_gnu_ld=$ac_cv_prog_gnu_ld
79282     fi
79283   fi
79284
79285   # Start by getting the version number.  I think the libtool test already
79286   # does some of this, but throws away the result.
79287
79288   ldver=`$LD --version 2>/dev/null | head -1 | \
79289          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
79290
79291   glibcxx_gnu_ld_version=`echo $ldver | \
79292          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
79293
79294   # Set --gc-sections.
79295   if test "$with_gnu_ld" = "notbroken"; then
79296     # GNU ld it is!  Joy and bunny rabbits!
79297
79298     # All these tests are for C++; save the language and the compiler flags.
79299     # Need to do this so that g++ won't try to link in libstdc++
79300     ac_test_CFLAGS="${CFLAGS+set}"
79301     ac_save_CFLAGS="$CFLAGS"
79302     CFLAGS='-x c++  -Wl,--gc-sections'
79303
79304     # Check for -Wl,--gc-sections
79305     # XXX This test is broken at the moment, as symbols required for linking
79306     # are now in libsupc++ (not built yet).  In addition, this test has
79307     # cored on solaris in the past.  In addition, --gc-sections doesn't
79308     # really work at the moment (keeps on discarding used sections, first
79309     # .eh_frame and now some of the glibc sections for iconv).
79310     # Bzzzzt.  Thanks for playing, maybe next time.
79311     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
79312 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
79313     if test "$cross_compiling" = yes; then
79314   ac_sectionLDflags=yes
79315 else
79316   cat >conftest.$ac_ext <<_ACEOF
79317 /* confdefs.h.  */
79318 _ACEOF
79319 cat confdefs.h >>conftest.$ac_ext
79320 cat >>conftest.$ac_ext <<_ACEOF
79321 /* end confdefs.h.  */
79322
79323      int main(void)
79324      {
79325        try { throw 1; }
79326        catch (...) { };
79327        return 0;
79328      }
79329
79330 _ACEOF
79331 rm -f conftest$ac_exeext
79332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79333   (eval $ac_link) 2>&5
79334   ac_status=$?
79335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79336   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
79337   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79338   (eval $ac_try) 2>&5
79339   ac_status=$?
79340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79341   (exit $ac_status); }; }; then
79342   ac_sectionLDflags=yes
79343 else
79344   echo "$as_me: program exited with status $ac_status" >&5
79345 echo "$as_me: failed program was:" >&5
79346 sed 's/^/| /' conftest.$ac_ext >&5
79347
79348 ( exit $ac_status )
79349 ac_sectionLDflags=no
79350 fi
79351 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
79352 fi
79353     if test "$ac_test_CFLAGS" = set; then
79354       CFLAGS="$ac_save_CFLAGS"
79355     else
79356       # this is the suspicious part
79357       CFLAGS=''
79358     fi
79359     if test "$ac_sectionLDflags" = "yes"; then
79360       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
79361     fi
79362     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
79363 echo "${ECHO_T}$ac_sectionLDflags" >&6
79364   fi
79365
79366   # Set linker optimization flags.
79367   if test x"$with_gnu_ld" = x"yes"; then
79368     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
79369   fi
79370
79371
79372
79373
79374
79375
79376 echo "$as_me:$LINENO: checking for main in -lm" >&5
79377 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
79378 if test "${ac_cv_lib_m_main+set}" = set; then
79379   echo $ECHO_N "(cached) $ECHO_C" >&6
79380 else
79381   ac_check_lib_save_LIBS=$LIBS
79382 LIBS="-lm  $LIBS"
79383 if test x$gcc_no_link = xyes; then
79384   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79385 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79386    { (exit 1); exit 1; }; }
79387 fi
79388 cat >conftest.$ac_ext <<_ACEOF
79389 /* confdefs.h.  */
79390 _ACEOF
79391 cat confdefs.h >>conftest.$ac_ext
79392 cat >>conftest.$ac_ext <<_ACEOF
79393 /* end confdefs.h.  */
79394
79395
79396 int
79397 main ()
79398 {
79399 main ();
79400   ;
79401   return 0;
79402 }
79403 _ACEOF
79404 rm -f conftest.$ac_objext conftest$ac_exeext
79405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79406   (eval $ac_link) 2>conftest.er1
79407   ac_status=$?
79408   grep -v '^ *+' conftest.er1 >conftest.err
79409   rm -f conftest.er1
79410   cat conftest.err >&5
79411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79412   (exit $ac_status); } &&
79413          { ac_try='test -z "$ac_c_werror_flag"
79414                          || test ! -s conftest.err'
79415   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79416   (eval $ac_try) 2>&5
79417   ac_status=$?
79418   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79419   (exit $ac_status); }; } &&
79420          { ac_try='test -s conftest$ac_exeext'
79421   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79422   (eval $ac_try) 2>&5
79423   ac_status=$?
79424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79425   (exit $ac_status); }; }; then
79426   ac_cv_lib_m_main=yes
79427 else
79428   echo "$as_me: failed program was:" >&5
79429 sed 's/^/| /' conftest.$ac_ext >&5
79430
79431 ac_cv_lib_m_main=no
79432 fi
79433 rm -f conftest.err conftest.$ac_objext \
79434       conftest$ac_exeext conftest.$ac_ext
79435 LIBS=$ac_check_lib_save_LIBS
79436 fi
79437 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
79438 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
79439 if test $ac_cv_lib_m_main = yes; then
79440   cat >>confdefs.h <<_ACEOF
79441 #define HAVE_LIBM 1
79442 _ACEOF
79443
79444   LIBS="-lm $LIBS"
79445
79446 fi
79447
79448
79449 for ac_func in copysignf
79450 do
79451 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79452 echo "$as_me:$LINENO: checking for $ac_func" >&5
79453 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79454 if eval "test \"\${$as_ac_var+set}\" = set"; then
79455   echo $ECHO_N "(cached) $ECHO_C" >&6
79456 else
79457   if test x$gcc_no_link = xyes; then
79458   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79459 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79460    { (exit 1); exit 1; }; }
79461 fi
79462 cat >conftest.$ac_ext <<_ACEOF
79463 /* confdefs.h.  */
79464 _ACEOF
79465 cat confdefs.h >>conftest.$ac_ext
79466 cat >>conftest.$ac_ext <<_ACEOF
79467 /* end confdefs.h.  */
79468 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79469    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79470 #define $ac_func innocuous_$ac_func
79471
79472 /* System header to define __stub macros and hopefully few prototypes,
79473     which can conflict with char $ac_func (); below.
79474     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79475     <limits.h> exists even on freestanding compilers.  */
79476
79477 #ifdef __STDC__
79478 # include <limits.h>
79479 #else
79480 # include <assert.h>
79481 #endif
79482
79483 #undef $ac_func
79484
79485 /* Override any gcc2 internal prototype to avoid an error.  */
79486 #ifdef __cplusplus
79487 extern "C"
79488 {
79489 #endif
79490 /* We use char because int might match the return type of a gcc2
79491    builtin and then its argument prototype would still apply.  */
79492 char $ac_func ();
79493 /* The GNU C library defines this for functions which it implements
79494     to always fail with ENOSYS.  Some functions are actually named
79495     something starting with __ and the normal name is an alias.  */
79496 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79497 choke me
79498 #else
79499 char (*f) () = $ac_func;
79500 #endif
79501 #ifdef __cplusplus
79502 }
79503 #endif
79504
79505 int
79506 main ()
79507 {
79508 return f != $ac_func;
79509   ;
79510   return 0;
79511 }
79512 _ACEOF
79513 rm -f conftest.$ac_objext conftest$ac_exeext
79514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79515   (eval $ac_link) 2>conftest.er1
79516   ac_status=$?
79517   grep -v '^ *+' conftest.er1 >conftest.err
79518   rm -f conftest.er1
79519   cat conftest.err >&5
79520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79521   (exit $ac_status); } &&
79522          { ac_try='test -z "$ac_c_werror_flag"
79523                          || test ! -s conftest.err'
79524   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79525   (eval $ac_try) 2>&5
79526   ac_status=$?
79527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79528   (exit $ac_status); }; } &&
79529          { ac_try='test -s conftest$ac_exeext'
79530   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79531   (eval $ac_try) 2>&5
79532   ac_status=$?
79533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79534   (exit $ac_status); }; }; then
79535   eval "$as_ac_var=yes"
79536 else
79537   echo "$as_me: failed program was:" >&5
79538 sed 's/^/| /' conftest.$ac_ext >&5
79539
79540 eval "$as_ac_var=no"
79541 fi
79542 rm -f conftest.err conftest.$ac_objext \
79543       conftest$ac_exeext conftest.$ac_ext
79544 fi
79545 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79546 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79547 if test `eval echo '${'$as_ac_var'}'` = yes; then
79548   cat >>confdefs.h <<_ACEOF
79549 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79550 _ACEOF
79551
79552 else
79553   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
79554 fi
79555 done
79556
79557
79558
79559 for ac_func in __signbit
79560 do
79561 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79562 echo "$as_me:$LINENO: checking for $ac_func" >&5
79563 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79564 if eval "test \"\${$as_ac_var+set}\" = set"; then
79565   echo $ECHO_N "(cached) $ECHO_C" >&6
79566 else
79567   if test x$gcc_no_link = xyes; then
79568   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79569 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79570    { (exit 1); exit 1; }; }
79571 fi
79572 cat >conftest.$ac_ext <<_ACEOF
79573 /* confdefs.h.  */
79574 _ACEOF
79575 cat confdefs.h >>conftest.$ac_ext
79576 cat >>conftest.$ac_ext <<_ACEOF
79577 /* end confdefs.h.  */
79578 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79579    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79580 #define $ac_func innocuous_$ac_func
79581
79582 /* System header to define __stub macros and hopefully few prototypes,
79583     which can conflict with char $ac_func (); below.
79584     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79585     <limits.h> exists even on freestanding compilers.  */
79586
79587 #ifdef __STDC__
79588 # include <limits.h>
79589 #else
79590 # include <assert.h>
79591 #endif
79592
79593 #undef $ac_func
79594
79595 /* Override any gcc2 internal prototype to avoid an error.  */
79596 #ifdef __cplusplus
79597 extern "C"
79598 {
79599 #endif
79600 /* We use char because int might match the return type of a gcc2
79601    builtin and then its argument prototype would still apply.  */
79602 char $ac_func ();
79603 /* The GNU C library defines this for functions which it implements
79604     to always fail with ENOSYS.  Some functions are actually named
79605     something starting with __ and the normal name is an alias.  */
79606 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79607 choke me
79608 #else
79609 char (*f) () = $ac_func;
79610 #endif
79611 #ifdef __cplusplus
79612 }
79613 #endif
79614
79615 int
79616 main ()
79617 {
79618 return f != $ac_func;
79619   ;
79620   return 0;
79621 }
79622 _ACEOF
79623 rm -f conftest.$ac_objext conftest$ac_exeext
79624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79625   (eval $ac_link) 2>conftest.er1
79626   ac_status=$?
79627   grep -v '^ *+' conftest.er1 >conftest.err
79628   rm -f conftest.er1
79629   cat conftest.err >&5
79630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79631   (exit $ac_status); } &&
79632          { ac_try='test -z "$ac_c_werror_flag"
79633                          || test ! -s conftest.err'
79634   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79635   (eval $ac_try) 2>&5
79636   ac_status=$?
79637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79638   (exit $ac_status); }; } &&
79639          { ac_try='test -s conftest$ac_exeext'
79640   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79641   (eval $ac_try) 2>&5
79642   ac_status=$?
79643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79644   (exit $ac_status); }; }; then
79645   eval "$as_ac_var=yes"
79646 else
79647   echo "$as_me: failed program was:" >&5
79648 sed 's/^/| /' conftest.$ac_ext >&5
79649
79650 eval "$as_ac_var=no"
79651 fi
79652 rm -f conftest.err conftest.$ac_objext \
79653       conftest$ac_exeext conftest.$ac_ext
79654 fi
79655 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79656 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79657 if test `eval echo '${'$as_ac_var'}'` = yes; then
79658   cat >>confdefs.h <<_ACEOF
79659 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79660 _ACEOF
79661
79662 else
79663   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
79664 fi
79665 done
79666
79667
79668
79669 for ac_func in __signbitf
79670 do
79671 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79672 echo "$as_me:$LINENO: checking for $ac_func" >&5
79673 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79674 if eval "test \"\${$as_ac_var+set}\" = set"; then
79675   echo $ECHO_N "(cached) $ECHO_C" >&6
79676 else
79677   if test x$gcc_no_link = xyes; then
79678   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79679 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79680    { (exit 1); exit 1; }; }
79681 fi
79682 cat >conftest.$ac_ext <<_ACEOF
79683 /* confdefs.h.  */
79684 _ACEOF
79685 cat confdefs.h >>conftest.$ac_ext
79686 cat >>conftest.$ac_ext <<_ACEOF
79687 /* end confdefs.h.  */
79688 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79689    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79690 #define $ac_func innocuous_$ac_func
79691
79692 /* System header to define __stub macros and hopefully few prototypes,
79693     which can conflict with char $ac_func (); below.
79694     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79695     <limits.h> exists even on freestanding compilers.  */
79696
79697 #ifdef __STDC__
79698 # include <limits.h>
79699 #else
79700 # include <assert.h>
79701 #endif
79702
79703 #undef $ac_func
79704
79705 /* Override any gcc2 internal prototype to avoid an error.  */
79706 #ifdef __cplusplus
79707 extern "C"
79708 {
79709 #endif
79710 /* We use char because int might match the return type of a gcc2
79711    builtin and then its argument prototype would still apply.  */
79712 char $ac_func ();
79713 /* The GNU C library defines this for functions which it implements
79714     to always fail with ENOSYS.  Some functions are actually named
79715     something starting with __ and the normal name is an alias.  */
79716 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79717 choke me
79718 #else
79719 char (*f) () = $ac_func;
79720 #endif
79721 #ifdef __cplusplus
79722 }
79723 #endif
79724
79725 int
79726 main ()
79727 {
79728 return f != $ac_func;
79729   ;
79730   return 0;
79731 }
79732 _ACEOF
79733 rm -f conftest.$ac_objext conftest$ac_exeext
79734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79735   (eval $ac_link) 2>conftest.er1
79736   ac_status=$?
79737   grep -v '^ *+' conftest.er1 >conftest.err
79738   rm -f conftest.er1
79739   cat conftest.err >&5
79740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79741   (exit $ac_status); } &&
79742          { ac_try='test -z "$ac_c_werror_flag"
79743                          || test ! -s conftest.err'
79744   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79745   (eval $ac_try) 2>&5
79746   ac_status=$?
79747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79748   (exit $ac_status); }; } &&
79749          { ac_try='test -s conftest$ac_exeext'
79750   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79751   (eval $ac_try) 2>&5
79752   ac_status=$?
79753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79754   (exit $ac_status); }; }; then
79755   eval "$as_ac_var=yes"
79756 else
79757   echo "$as_me: failed program was:" >&5
79758 sed 's/^/| /' conftest.$ac_ext >&5
79759
79760 eval "$as_ac_var=no"
79761 fi
79762 rm -f conftest.err conftest.$ac_objext \
79763       conftest$ac_exeext conftest.$ac_ext
79764 fi
79765 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79766 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79767 if test `eval echo '${'$as_ac_var'}'` = yes; then
79768   cat >>confdefs.h <<_ACEOF
79769 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79770 _ACEOF
79771
79772 else
79773   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
79774 fi
79775 done
79776
79777
79778           if test x$ac_cv_func_copysignl = x"yes"; then
79779
79780 for ac_func in __signbitl
79781 do
79782 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79783 echo "$as_me:$LINENO: checking for $ac_func" >&5
79784 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79785 if eval "test \"\${$as_ac_var+set}\" = set"; then
79786   echo $ECHO_N "(cached) $ECHO_C" >&6
79787 else
79788   if test x$gcc_no_link = xyes; then
79789   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79790 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79791    { (exit 1); exit 1; }; }
79792 fi
79793 cat >conftest.$ac_ext <<_ACEOF
79794 /* confdefs.h.  */
79795 _ACEOF
79796 cat confdefs.h >>conftest.$ac_ext
79797 cat >>conftest.$ac_ext <<_ACEOF
79798 /* end confdefs.h.  */
79799 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79800    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
79801 #define $ac_func innocuous_$ac_func
79802
79803 /* System header to define __stub macros and hopefully few prototypes,
79804     which can conflict with char $ac_func (); below.
79805     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79806     <limits.h> exists even on freestanding compilers.  */
79807
79808 #ifdef __STDC__
79809 # include <limits.h>
79810 #else
79811 # include <assert.h>
79812 #endif
79813
79814 #undef $ac_func
79815
79816 /* Override any gcc2 internal prototype to avoid an error.  */
79817 #ifdef __cplusplus
79818 extern "C"
79819 {
79820 #endif
79821 /* We use char because int might match the return type of a gcc2
79822    builtin and then its argument prototype would still apply.  */
79823 char $ac_func ();
79824 /* The GNU C library defines this for functions which it implements
79825     to always fail with ENOSYS.  Some functions are actually named
79826     something starting with __ and the normal name is an alias.  */
79827 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79828 choke me
79829 #else
79830 char (*f) () = $ac_func;
79831 #endif
79832 #ifdef __cplusplus
79833 }
79834 #endif
79835
79836 int
79837 main ()
79838 {
79839 return f != $ac_func;
79840   ;
79841   return 0;
79842 }
79843 _ACEOF
79844 rm -f conftest.$ac_objext conftest$ac_exeext
79845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79846   (eval $ac_link) 2>conftest.er1
79847   ac_status=$?
79848   grep -v '^ *+' conftest.er1 >conftest.err
79849   rm -f conftest.er1
79850   cat conftest.err >&5
79851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79852   (exit $ac_status); } &&
79853          { ac_try='test -z "$ac_c_werror_flag"
79854                          || test ! -s conftest.err'
79855   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79856   (eval $ac_try) 2>&5
79857   ac_status=$?
79858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79859   (exit $ac_status); }; } &&
79860          { ac_try='test -s conftest$ac_exeext'
79861   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79862   (eval $ac_try) 2>&5
79863   ac_status=$?
79864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79865   (exit $ac_status); }; }; then
79866   eval "$as_ac_var=yes"
79867 else
79868   echo "$as_me: failed program was:" >&5
79869 sed 's/^/| /' conftest.$ac_ext >&5
79870
79871 eval "$as_ac_var=no"
79872 fi
79873 rm -f conftest.err conftest.$ac_objext \
79874       conftest$ac_exeext conftest.$ac_ext
79875 fi
79876 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79877 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79878 if test `eval echo '${'$as_ac_var'}'` = yes; then
79879   cat >>confdefs.h <<_ACEOF
79880 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79881 _ACEOF
79882
79883 else
79884   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
79885 fi
79886 done
79887
79888   fi
79889
79890   # Used in libmath/Makefile.am.
79891   if test -n "$LIBMATHOBJS"; then
79892     need_libmath=yes
79893   fi
79894
79895
79896
79897   # Test wchar.h for mbstate_t, which is needed for char_traits and
79898   # others even if wchar_t support is not on.
79899   echo "$as_me:$LINENO: checking for mbstate_t" >&5
79900 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
79901   cat >conftest.$ac_ext <<_ACEOF
79902 /* confdefs.h.  */
79903 _ACEOF
79904 cat confdefs.h >>conftest.$ac_ext
79905 cat >>conftest.$ac_ext <<_ACEOF
79906 /* end confdefs.h.  */
79907 #include <wchar.h>
79908 int
79909 main ()
79910 {
79911 mbstate_t teststate;
79912   ;
79913   return 0;
79914 }
79915 _ACEOF
79916 rm -f conftest.$ac_objext
79917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79918   (eval $ac_compile) 2>conftest.er1
79919   ac_status=$?
79920   grep -v '^ *+' conftest.er1 >conftest.err
79921   rm -f conftest.er1
79922   cat conftest.err >&5
79923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79924   (exit $ac_status); } &&
79925          { ac_try='test -z "$ac_c_werror_flag"
79926                          || test ! -s conftest.err'
79927   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79928   (eval $ac_try) 2>&5
79929   ac_status=$?
79930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79931   (exit $ac_status); }; } &&
79932          { ac_try='test -s conftest.$ac_objext'
79933   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79934   (eval $ac_try) 2>&5
79935   ac_status=$?
79936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79937   (exit $ac_status); }; }; then
79938   have_mbstate_t=yes
79939 else
79940   echo "$as_me: failed program was:" >&5
79941 sed 's/^/| /' conftest.$ac_ext >&5
79942
79943 have_mbstate_t=no
79944 fi
79945 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79946   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
79947 echo "${ECHO_T}$have_mbstate_t" >&6
79948   if test x"$have_mbstate_t" = xyes; then
79949     cat >>confdefs.h <<\_ACEOF
79950 #define HAVE_MBSTATE_T 1
79951 _ACEOF
79952
79953   fi
79954
79955   # Sanity check for existence of ISO C99 headers for extended encoding.
79956
79957 for ac_header in wchar.h
79958 do
79959 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
79960 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79961   echo "$as_me:$LINENO: checking for $ac_header" >&5
79962 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
79963 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79964   echo $ECHO_N "(cached) $ECHO_C" >&6
79965 fi
79966 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
79967 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
79968 else
79969   # Is the header compilable?
79970 echo "$as_me:$LINENO: checking $ac_header usability" >&5
79971 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
79972 cat >conftest.$ac_ext <<_ACEOF
79973 /* confdefs.h.  */
79974 _ACEOF
79975 cat confdefs.h >>conftest.$ac_ext
79976 cat >>conftest.$ac_ext <<_ACEOF
79977 /* end confdefs.h.  */
79978 $ac_includes_default
79979 #include <$ac_header>
79980 _ACEOF
79981 rm -f conftest.$ac_objext
79982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79983   (eval $ac_compile) 2>conftest.er1
79984   ac_status=$?
79985   grep -v '^ *+' conftest.er1 >conftest.err
79986   rm -f conftest.er1
79987   cat conftest.err >&5
79988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79989   (exit $ac_status); } &&
79990          { ac_try='test -z "$ac_c_werror_flag"
79991                          || test ! -s conftest.err'
79992   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79993   (eval $ac_try) 2>&5
79994   ac_status=$?
79995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
79996   (exit $ac_status); }; } &&
79997          { ac_try='test -s conftest.$ac_objext'
79998   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79999   (eval $ac_try) 2>&5
80000   ac_status=$?
80001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80002   (exit $ac_status); }; }; then
80003   ac_header_compiler=yes
80004 else
80005   echo "$as_me: failed program was:" >&5
80006 sed 's/^/| /' conftest.$ac_ext >&5
80007
80008 ac_header_compiler=no
80009 fi
80010 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80011 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
80012 echo "${ECHO_T}$ac_header_compiler" >&6
80013
80014 # Is the header present?
80015 echo "$as_me:$LINENO: checking $ac_header presence" >&5
80016 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
80017 cat >conftest.$ac_ext <<_ACEOF
80018 /* confdefs.h.  */
80019 _ACEOF
80020 cat confdefs.h >>conftest.$ac_ext
80021 cat >>conftest.$ac_ext <<_ACEOF
80022 /* end confdefs.h.  */
80023 #include <$ac_header>
80024 _ACEOF
80025 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80026   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80027   ac_status=$?
80028   grep -v '^ *+' conftest.er1 >conftest.err
80029   rm -f conftest.er1
80030   cat conftest.err >&5
80031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80032   (exit $ac_status); } >/dev/null; then
80033   if test -s conftest.err; then
80034     ac_cpp_err=$ac_c_preproc_warn_flag
80035     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
80036   else
80037     ac_cpp_err=
80038   fi
80039 else
80040   ac_cpp_err=yes
80041 fi
80042 if test -z "$ac_cpp_err"; then
80043   ac_header_preproc=yes
80044 else
80045   echo "$as_me: failed program was:" >&5
80046 sed 's/^/| /' conftest.$ac_ext >&5
80047
80048   ac_header_preproc=no
80049 fi
80050 rm -f conftest.err conftest.$ac_ext
80051 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
80052 echo "${ECHO_T}$ac_header_preproc" >&6
80053
80054 # So?  What about this header?
80055 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
80056   yes:no: )
80057     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
80058 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
80059     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
80060 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
80061     ac_header_preproc=yes
80062     ;;
80063   no:yes:* )
80064     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
80065 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
80066     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
80067 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
80068     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
80069 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
80070     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
80071 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
80072     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
80073 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
80074     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
80075 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
80076     (
80077       cat <<\_ASBOX
80078 ## ----------------------------------------- ##
80079 ## Report this to the package-unused lists.  ##
80080 ## ----------------------------------------- ##
80081 _ASBOX
80082     ) |
80083       sed "s/^/$as_me: WARNING:     /" >&2
80084     ;;
80085 esac
80086 echo "$as_me:$LINENO: checking for $ac_header" >&5
80087 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80088 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80089   echo $ECHO_N "(cached) $ECHO_C" >&6
80090 else
80091   eval "$as_ac_Header=\$ac_header_preproc"
80092 fi
80093 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80094 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80095
80096 fi
80097 if test `eval echo '${'$as_ac_Header'}'` = yes; then
80098   cat >>confdefs.h <<_ACEOF
80099 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
80100 _ACEOF
80101  ac_has_wchar_h=yes
80102 else
80103   ac_has_wchar_h=no
80104 fi
80105
80106 done
80107
80108
80109 for ac_header in wctype.h
80110 do
80111 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
80112 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80113   echo "$as_me:$LINENO: checking for $ac_header" >&5
80114 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80115 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80116   echo $ECHO_N "(cached) $ECHO_C" >&6
80117 fi
80118 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80119 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80120 else
80121   # Is the header compilable?
80122 echo "$as_me:$LINENO: checking $ac_header usability" >&5
80123 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
80124 cat >conftest.$ac_ext <<_ACEOF
80125 /* confdefs.h.  */
80126 _ACEOF
80127 cat confdefs.h >>conftest.$ac_ext
80128 cat >>conftest.$ac_ext <<_ACEOF
80129 /* end confdefs.h.  */
80130 $ac_includes_default
80131 #include <$ac_header>
80132 _ACEOF
80133 rm -f conftest.$ac_objext
80134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80135   (eval $ac_compile) 2>conftest.er1
80136   ac_status=$?
80137   grep -v '^ *+' conftest.er1 >conftest.err
80138   rm -f conftest.er1
80139   cat conftest.err >&5
80140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80141   (exit $ac_status); } &&
80142          { ac_try='test -z "$ac_c_werror_flag"
80143                          || test ! -s conftest.err'
80144   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80145   (eval $ac_try) 2>&5
80146   ac_status=$?
80147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80148   (exit $ac_status); }; } &&
80149          { ac_try='test -s conftest.$ac_objext'
80150   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80151   (eval $ac_try) 2>&5
80152   ac_status=$?
80153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80154   (exit $ac_status); }; }; then
80155   ac_header_compiler=yes
80156 else
80157   echo "$as_me: failed program was:" >&5
80158 sed 's/^/| /' conftest.$ac_ext >&5
80159
80160 ac_header_compiler=no
80161 fi
80162 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80163 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
80164 echo "${ECHO_T}$ac_header_compiler" >&6
80165
80166 # Is the header present?
80167 echo "$as_me:$LINENO: checking $ac_header presence" >&5
80168 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
80169 cat >conftest.$ac_ext <<_ACEOF
80170 /* confdefs.h.  */
80171 _ACEOF
80172 cat confdefs.h >>conftest.$ac_ext
80173 cat >>conftest.$ac_ext <<_ACEOF
80174 /* end confdefs.h.  */
80175 #include <$ac_header>
80176 _ACEOF
80177 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80178   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80179   ac_status=$?
80180   grep -v '^ *+' conftest.er1 >conftest.err
80181   rm -f conftest.er1
80182   cat conftest.err >&5
80183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80184   (exit $ac_status); } >/dev/null; then
80185   if test -s conftest.err; then
80186     ac_cpp_err=$ac_c_preproc_warn_flag
80187     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
80188   else
80189     ac_cpp_err=
80190   fi
80191 else
80192   ac_cpp_err=yes
80193 fi
80194 if test -z "$ac_cpp_err"; then
80195   ac_header_preproc=yes
80196 else
80197   echo "$as_me: failed program was:" >&5
80198 sed 's/^/| /' conftest.$ac_ext >&5
80199
80200   ac_header_preproc=no
80201 fi
80202 rm -f conftest.err conftest.$ac_ext
80203 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
80204 echo "${ECHO_T}$ac_header_preproc" >&6
80205
80206 # So?  What about this header?
80207 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
80208   yes:no: )
80209     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
80210 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
80211     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
80212 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
80213     ac_header_preproc=yes
80214     ;;
80215   no:yes:* )
80216     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
80217 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
80218     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
80219 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
80220     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
80221 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
80222     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
80223 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
80224     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
80225 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
80226     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
80227 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
80228     (
80229       cat <<\_ASBOX
80230 ## ----------------------------------------- ##
80231 ## Report this to the package-unused lists.  ##
80232 ## ----------------------------------------- ##
80233 _ASBOX
80234     ) |
80235       sed "s/^/$as_me: WARNING:     /" >&2
80236     ;;
80237 esac
80238 echo "$as_me:$LINENO: checking for $ac_header" >&5
80239 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80240 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80241   echo $ECHO_N "(cached) $ECHO_C" >&6
80242 else
80243   eval "$as_ac_Header=\$ac_header_preproc"
80244 fi
80245 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80246 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80247
80248 fi
80249 if test `eval echo '${'$as_ac_Header'}'` = yes; then
80250   cat >>confdefs.h <<_ACEOF
80251 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
80252 _ACEOF
80253  ac_has_wctype_h=yes
80254 else
80255   ac_has_wctype_h=no
80256 fi
80257
80258 done
80259
80260
80261   # Only continue checking if the ISO C99 headers exist and support is on.
80262   if test x"$ac_has_wchar_h" = xyes &&
80263      test x"$ac_has_wctype_h" = xyes &&
80264      test x"$enable_c_mbchar" != xno; then
80265
80266     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
80267     # numeric_limits can instantiate type_traits<wchar_t>
80268     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
80269 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
80270     cat >conftest.$ac_ext <<_ACEOF
80271 /* confdefs.h.  */
80272 _ACEOF
80273 cat confdefs.h >>conftest.$ac_ext
80274 cat >>conftest.$ac_ext <<_ACEOF
80275 /* end confdefs.h.  */
80276 #include <wchar.h>
80277 int
80278 main ()
80279 {
80280 int i = WCHAR_MIN; int j = WCHAR_MAX;
80281   ;
80282   return 0;
80283 }
80284 _ACEOF
80285 rm -f conftest.$ac_objext
80286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80287   (eval $ac_compile) 2>conftest.er1
80288   ac_status=$?
80289   grep -v '^ *+' conftest.er1 >conftest.err
80290   rm -f conftest.er1
80291   cat conftest.err >&5
80292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80293   (exit $ac_status); } &&
80294          { ac_try='test -z "$ac_c_werror_flag"
80295                          || test ! -s conftest.err'
80296   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80297   (eval $ac_try) 2>&5
80298   ac_status=$?
80299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80300   (exit $ac_status); }; } &&
80301          { ac_try='test -s conftest.$ac_objext'
80302   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80303   (eval $ac_try) 2>&5
80304   ac_status=$?
80305   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80306   (exit $ac_status); }; }; then
80307   has_wchar_minmax=yes
80308 else
80309   echo "$as_me: failed program was:" >&5
80310 sed 's/^/| /' conftest.$ac_ext >&5
80311
80312 has_wchar_minmax=no
80313 fi
80314 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80315     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
80316 echo "${ECHO_T}$has_wchar_minmax" >&6
80317
80318     # Test wchar.h for WEOF, which is what we use to determine whether
80319     # to specialize for char_traits<wchar_t> or not.
80320     echo "$as_me:$LINENO: checking for WEOF" >&5
80321 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
80322     cat >conftest.$ac_ext <<_ACEOF
80323 /* confdefs.h.  */
80324 _ACEOF
80325 cat confdefs.h >>conftest.$ac_ext
80326 cat >>conftest.$ac_ext <<_ACEOF
80327 /* end confdefs.h.  */
80328
80329       #include <wchar.h>
80330       #include <stddef.h>
80331 int
80332 main ()
80333 {
80334 wint_t i = WEOF;
80335   ;
80336   return 0;
80337 }
80338 _ACEOF
80339 rm -f conftest.$ac_objext
80340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80341   (eval $ac_compile) 2>conftest.er1
80342   ac_status=$?
80343   grep -v '^ *+' conftest.er1 >conftest.err
80344   rm -f conftest.er1
80345   cat conftest.err >&5
80346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80347   (exit $ac_status); } &&
80348          { ac_try='test -z "$ac_c_werror_flag"
80349                          || test ! -s conftest.err'
80350   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80351   (eval $ac_try) 2>&5
80352   ac_status=$?
80353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80354   (exit $ac_status); }; } &&
80355          { ac_try='test -s conftest.$ac_objext'
80356   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80357   (eval $ac_try) 2>&5
80358   ac_status=$?
80359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80360   (exit $ac_status); }; }; then
80361   has_weof=yes
80362 else
80363   echo "$as_me: failed program was:" >&5
80364 sed 's/^/| /' conftest.$ac_ext >&5
80365
80366 has_weof=no
80367 fi
80368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80369     echo "$as_me:$LINENO: result: $has_weof" >&5
80370 echo "${ECHO_T}$has_weof" >&6
80371
80372     # Tests for wide character functions used in char_traits<wchar_t>.
80373     ac_wfuncs=yes
80374
80375
80376
80377
80378
80379
80380 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
80381 do
80382 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80383 echo "$as_me:$LINENO: checking for $ac_func" >&5
80384 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80385 if eval "test \"\${$as_ac_var+set}\" = set"; then
80386   echo $ECHO_N "(cached) $ECHO_C" >&6
80387 else
80388   if test x$gcc_no_link = xyes; then
80389   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80390 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80391    { (exit 1); exit 1; }; }
80392 fi
80393 cat >conftest.$ac_ext <<_ACEOF
80394 /* confdefs.h.  */
80395 _ACEOF
80396 cat confdefs.h >>conftest.$ac_ext
80397 cat >>conftest.$ac_ext <<_ACEOF
80398 /* end confdefs.h.  */
80399 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80400    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80401 #define $ac_func innocuous_$ac_func
80402
80403 /* System header to define __stub macros and hopefully few prototypes,
80404     which can conflict with char $ac_func (); below.
80405     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80406     <limits.h> exists even on freestanding compilers.  */
80407
80408 #ifdef __STDC__
80409 # include <limits.h>
80410 #else
80411 # include <assert.h>
80412 #endif
80413
80414 #undef $ac_func
80415
80416 /* Override any gcc2 internal prototype to avoid an error.  */
80417 #ifdef __cplusplus
80418 extern "C"
80419 {
80420 #endif
80421 /* We use char because int might match the return type of a gcc2
80422    builtin and then its argument prototype would still apply.  */
80423 char $ac_func ();
80424 /* The GNU C library defines this for functions which it implements
80425     to always fail with ENOSYS.  Some functions are actually named
80426     something starting with __ and the normal name is an alias.  */
80427 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80428 choke me
80429 #else
80430 char (*f) () = $ac_func;
80431 #endif
80432 #ifdef __cplusplus
80433 }
80434 #endif
80435
80436 int
80437 main ()
80438 {
80439 return f != $ac_func;
80440   ;
80441   return 0;
80442 }
80443 _ACEOF
80444 rm -f conftest.$ac_objext conftest$ac_exeext
80445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80446   (eval $ac_link) 2>conftest.er1
80447   ac_status=$?
80448   grep -v '^ *+' conftest.er1 >conftest.err
80449   rm -f conftest.er1
80450   cat conftest.err >&5
80451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80452   (exit $ac_status); } &&
80453          { ac_try='test -z "$ac_c_werror_flag"
80454                          || test ! -s conftest.err'
80455   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80456   (eval $ac_try) 2>&5
80457   ac_status=$?
80458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80459   (exit $ac_status); }; } &&
80460          { ac_try='test -s conftest$ac_exeext'
80461   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80462   (eval $ac_try) 2>&5
80463   ac_status=$?
80464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80465   (exit $ac_status); }; }; then
80466   eval "$as_ac_var=yes"
80467 else
80468   echo "$as_me: failed program was:" >&5
80469 sed 's/^/| /' conftest.$ac_ext >&5
80470
80471 eval "$as_ac_var=no"
80472 fi
80473 rm -f conftest.err conftest.$ac_objext \
80474       conftest$ac_exeext conftest.$ac_ext
80475 fi
80476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80477 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80478 if test `eval echo '${'$as_ac_var'}'` = yes; then
80479   cat >>confdefs.h <<_ACEOF
80480 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80481 _ACEOF
80482
80483 else
80484   ac_wfuncs=no
80485 fi
80486 done
80487
80488
80489     # Checks for names injected into std:: by the c_std headers.
80490
80491
80492
80493
80494
80495
80496
80497
80498
80499
80500
80501
80502
80503
80504
80505
80506
80507
80508
80509
80510
80511
80512
80513
80514
80515
80516
80517
80518
80519
80520
80521
80522
80523
80524
80525
80526
80527
80528
80529
80530
80531
80532
80533
80534
80535
80536 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
80537     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
80538     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
80539     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
80540     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
80541     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
80542 do
80543 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80544 echo "$as_me:$LINENO: checking for $ac_func" >&5
80545 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80546 if eval "test \"\${$as_ac_var+set}\" = set"; then
80547   echo $ECHO_N "(cached) $ECHO_C" >&6
80548 else
80549   if test x$gcc_no_link = xyes; then
80550   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80551 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80552    { (exit 1); exit 1; }; }
80553 fi
80554 cat >conftest.$ac_ext <<_ACEOF
80555 /* confdefs.h.  */
80556 _ACEOF
80557 cat confdefs.h >>conftest.$ac_ext
80558 cat >>conftest.$ac_ext <<_ACEOF
80559 /* end confdefs.h.  */
80560 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80561    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80562 #define $ac_func innocuous_$ac_func
80563
80564 /* System header to define __stub macros and hopefully few prototypes,
80565     which can conflict with char $ac_func (); below.
80566     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80567     <limits.h> exists even on freestanding compilers.  */
80568
80569 #ifdef __STDC__
80570 # include <limits.h>
80571 #else
80572 # include <assert.h>
80573 #endif
80574
80575 #undef $ac_func
80576
80577 /* Override any gcc2 internal prototype to avoid an error.  */
80578 #ifdef __cplusplus
80579 extern "C"
80580 {
80581 #endif
80582 /* We use char because int might match the return type of a gcc2
80583    builtin and then its argument prototype would still apply.  */
80584 char $ac_func ();
80585 /* The GNU C library defines this for functions which it implements
80586     to always fail with ENOSYS.  Some functions are actually named
80587     something starting with __ and the normal name is an alias.  */
80588 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80589 choke me
80590 #else
80591 char (*f) () = $ac_func;
80592 #endif
80593 #ifdef __cplusplus
80594 }
80595 #endif
80596
80597 int
80598 main ()
80599 {
80600 return f != $ac_func;
80601   ;
80602   return 0;
80603 }
80604 _ACEOF
80605 rm -f conftest.$ac_objext conftest$ac_exeext
80606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80607   (eval $ac_link) 2>conftest.er1
80608   ac_status=$?
80609   grep -v '^ *+' conftest.er1 >conftest.err
80610   rm -f conftest.er1
80611   cat conftest.err >&5
80612   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80613   (exit $ac_status); } &&
80614          { ac_try='test -z "$ac_c_werror_flag"
80615                          || test ! -s conftest.err'
80616   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80617   (eval $ac_try) 2>&5
80618   ac_status=$?
80619   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80620   (exit $ac_status); }; } &&
80621          { ac_try='test -s conftest$ac_exeext'
80622   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80623   (eval $ac_try) 2>&5
80624   ac_status=$?
80625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80626   (exit $ac_status); }; }; then
80627   eval "$as_ac_var=yes"
80628 else
80629   echo "$as_me: failed program was:" >&5
80630 sed 's/^/| /' conftest.$ac_ext >&5
80631
80632 eval "$as_ac_var=no"
80633 fi
80634 rm -f conftest.err conftest.$ac_objext \
80635       conftest$ac_exeext conftest.$ac_ext
80636 fi
80637 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80638 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80639 if test `eval echo '${'$as_ac_var'}'` = yes; then
80640   cat >>confdefs.h <<_ACEOF
80641 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80642 _ACEOF
80643
80644 else
80645   ac_wfuncs=no
80646 fi
80647 done
80648
80649
80650     # Checks for wide character functions that are not required
80651     # for basic wchar_t support.  Don't disable support if they are missing.
80652     # Injection of these is wrapped with guard macros.
80653
80654
80655
80656
80657
80658 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
80659 do
80660 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80661 echo "$as_me:$LINENO: checking for $ac_func" >&5
80662 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80663 if eval "test \"\${$as_ac_var+set}\" = set"; then
80664   echo $ECHO_N "(cached) $ECHO_C" >&6
80665 else
80666   if test x$gcc_no_link = xyes; then
80667   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80668 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80669    { (exit 1); exit 1; }; }
80670 fi
80671 cat >conftest.$ac_ext <<_ACEOF
80672 /* confdefs.h.  */
80673 _ACEOF
80674 cat confdefs.h >>conftest.$ac_ext
80675 cat >>conftest.$ac_ext <<_ACEOF
80676 /* end confdefs.h.  */
80677 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80678    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
80679 #define $ac_func innocuous_$ac_func
80680
80681 /* System header to define __stub macros and hopefully few prototypes,
80682     which can conflict with char $ac_func (); below.
80683     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80684     <limits.h> exists even on freestanding compilers.  */
80685
80686 #ifdef __STDC__
80687 # include <limits.h>
80688 #else
80689 # include <assert.h>
80690 #endif
80691
80692 #undef $ac_func
80693
80694 /* Override any gcc2 internal prototype to avoid an error.  */
80695 #ifdef __cplusplus
80696 extern "C"
80697 {
80698 #endif
80699 /* We use char because int might match the return type of a gcc2
80700    builtin and then its argument prototype would still apply.  */
80701 char $ac_func ();
80702 /* The GNU C library defines this for functions which it implements
80703     to always fail with ENOSYS.  Some functions are actually named
80704     something starting with __ and the normal name is an alias.  */
80705 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80706 choke me
80707 #else
80708 char (*f) () = $ac_func;
80709 #endif
80710 #ifdef __cplusplus
80711 }
80712 #endif
80713
80714 int
80715 main ()
80716 {
80717 return f != $ac_func;
80718   ;
80719   return 0;
80720 }
80721 _ACEOF
80722 rm -f conftest.$ac_objext conftest$ac_exeext
80723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80724   (eval $ac_link) 2>conftest.er1
80725   ac_status=$?
80726   grep -v '^ *+' conftest.er1 >conftest.err
80727   rm -f conftest.er1
80728   cat conftest.err >&5
80729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80730   (exit $ac_status); } &&
80731          { ac_try='test -z "$ac_c_werror_flag"
80732                          || test ! -s conftest.err'
80733   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80734   (eval $ac_try) 2>&5
80735   ac_status=$?
80736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80737   (exit $ac_status); }; } &&
80738          { ac_try='test -s conftest$ac_exeext'
80739   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80740   (eval $ac_try) 2>&5
80741   ac_status=$?
80742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80743   (exit $ac_status); }; }; then
80744   eval "$as_ac_var=yes"
80745 else
80746   echo "$as_me: failed program was:" >&5
80747 sed 's/^/| /' conftest.$ac_ext >&5
80748
80749 eval "$as_ac_var=no"
80750 fi
80751 rm -f conftest.err conftest.$ac_objext \
80752       conftest$ac_exeext conftest.$ac_ext
80753 fi
80754 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80755 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80756 if test `eval echo '${'$as_ac_var'}'` = yes; then
80757   cat >>confdefs.h <<_ACEOF
80758 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80759 _ACEOF
80760
80761 fi
80762 done
80763
80764
80765     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
80766 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
80767     if test x"$has_weof" = xyes &&
80768        test x"$has_wchar_minmax" = xyes &&
80769        test x"$ac_wfuncs" = xyes;
80770     then
80771       ac_isoC99_wchar_t=yes
80772     else
80773       ac_isoC99_wchar_t=no
80774     fi
80775     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
80776 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
80777
80778     # Use iconv for wchar_t to char conversions. As such, check for
80779     # X/Open Portability Guide, version 2 features (XPG2).
80780     if test "${ac_cv_header_iconv_h+set}" = set; then
80781   echo "$as_me:$LINENO: checking for iconv.h" >&5
80782 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
80783 if test "${ac_cv_header_iconv_h+set}" = set; then
80784   echo $ECHO_N "(cached) $ECHO_C" >&6
80785 fi
80786 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
80787 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
80788 else
80789   # Is the header compilable?
80790 echo "$as_me:$LINENO: checking iconv.h usability" >&5
80791 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
80792 cat >conftest.$ac_ext <<_ACEOF
80793 /* confdefs.h.  */
80794 _ACEOF
80795 cat confdefs.h >>conftest.$ac_ext
80796 cat >>conftest.$ac_ext <<_ACEOF
80797 /* end confdefs.h.  */
80798 $ac_includes_default
80799 #include <iconv.h>
80800 _ACEOF
80801 rm -f conftest.$ac_objext
80802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80803   (eval $ac_compile) 2>conftest.er1
80804   ac_status=$?
80805   grep -v '^ *+' conftest.er1 >conftest.err
80806   rm -f conftest.er1
80807   cat conftest.err >&5
80808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80809   (exit $ac_status); } &&
80810          { ac_try='test -z "$ac_c_werror_flag"
80811                          || test ! -s conftest.err'
80812   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80813   (eval $ac_try) 2>&5
80814   ac_status=$?
80815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80816   (exit $ac_status); }; } &&
80817          { ac_try='test -s conftest.$ac_objext'
80818   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80819   (eval $ac_try) 2>&5
80820   ac_status=$?
80821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80822   (exit $ac_status); }; }; then
80823   ac_header_compiler=yes
80824 else
80825   echo "$as_me: failed program was:" >&5
80826 sed 's/^/| /' conftest.$ac_ext >&5
80827
80828 ac_header_compiler=no
80829 fi
80830 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80831 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
80832 echo "${ECHO_T}$ac_header_compiler" >&6
80833
80834 # Is the header present?
80835 echo "$as_me:$LINENO: checking iconv.h presence" >&5
80836 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
80837 cat >conftest.$ac_ext <<_ACEOF
80838 /* confdefs.h.  */
80839 _ACEOF
80840 cat confdefs.h >>conftest.$ac_ext
80841 cat >>conftest.$ac_ext <<_ACEOF
80842 /* end confdefs.h.  */
80843 #include <iconv.h>
80844 _ACEOF
80845 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80846   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80847   ac_status=$?
80848   grep -v '^ *+' conftest.er1 >conftest.err
80849   rm -f conftest.er1
80850   cat conftest.err >&5
80851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80852   (exit $ac_status); } >/dev/null; then
80853   if test -s conftest.err; then
80854     ac_cpp_err=$ac_c_preproc_warn_flag
80855     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
80856   else
80857     ac_cpp_err=
80858   fi
80859 else
80860   ac_cpp_err=yes
80861 fi
80862 if test -z "$ac_cpp_err"; then
80863   ac_header_preproc=yes
80864 else
80865   echo "$as_me: failed program was:" >&5
80866 sed 's/^/| /' conftest.$ac_ext >&5
80867
80868   ac_header_preproc=no
80869 fi
80870 rm -f conftest.err conftest.$ac_ext
80871 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
80872 echo "${ECHO_T}$ac_header_preproc" >&6
80873
80874 # So?  What about this header?
80875 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
80876   yes:no: )
80877     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
80878 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
80879     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
80880 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
80881     ac_header_preproc=yes
80882     ;;
80883   no:yes:* )
80884     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
80885 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
80886     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
80887 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
80888     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
80889 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
80890     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
80891 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
80892     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
80893 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
80894     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
80895 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
80896     (
80897       cat <<\_ASBOX
80898 ## ----------------------------------------- ##
80899 ## Report this to the package-unused lists.  ##
80900 ## ----------------------------------------- ##
80901 _ASBOX
80902     ) |
80903       sed "s/^/$as_me: WARNING:     /" >&2
80904     ;;
80905 esac
80906 echo "$as_me:$LINENO: checking for iconv.h" >&5
80907 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
80908 if test "${ac_cv_header_iconv_h+set}" = set; then
80909   echo $ECHO_N "(cached) $ECHO_C" >&6
80910 else
80911   ac_cv_header_iconv_h=$ac_header_preproc
80912 fi
80913 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
80914 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
80915
80916 fi
80917 if test $ac_cv_header_iconv_h = yes; then
80918   ac_has_iconv_h=yes
80919 else
80920   ac_has_iconv_h=no
80921 fi
80922
80923
80924     if test "${ac_cv_header_langinfo_h+set}" = set; then
80925   echo "$as_me:$LINENO: checking for langinfo.h" >&5
80926 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
80927 if test "${ac_cv_header_langinfo_h+set}" = set; then
80928   echo $ECHO_N "(cached) $ECHO_C" >&6
80929 fi
80930 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
80931 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
80932 else
80933   # Is the header compilable?
80934 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
80935 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
80936 cat >conftest.$ac_ext <<_ACEOF
80937 /* confdefs.h.  */
80938 _ACEOF
80939 cat confdefs.h >>conftest.$ac_ext
80940 cat >>conftest.$ac_ext <<_ACEOF
80941 /* end confdefs.h.  */
80942 $ac_includes_default
80943 #include <langinfo.h>
80944 _ACEOF
80945 rm -f conftest.$ac_objext
80946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80947   (eval $ac_compile) 2>conftest.er1
80948   ac_status=$?
80949   grep -v '^ *+' conftest.er1 >conftest.err
80950   rm -f conftest.er1
80951   cat conftest.err >&5
80952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80953   (exit $ac_status); } &&
80954          { ac_try='test -z "$ac_c_werror_flag"
80955                          || test ! -s conftest.err'
80956   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80957   (eval $ac_try) 2>&5
80958   ac_status=$?
80959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80960   (exit $ac_status); }; } &&
80961          { ac_try='test -s conftest.$ac_objext'
80962   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80963   (eval $ac_try) 2>&5
80964   ac_status=$?
80965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80966   (exit $ac_status); }; }; then
80967   ac_header_compiler=yes
80968 else
80969   echo "$as_me: failed program was:" >&5
80970 sed 's/^/| /' conftest.$ac_ext >&5
80971
80972 ac_header_compiler=no
80973 fi
80974 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80975 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
80976 echo "${ECHO_T}$ac_header_compiler" >&6
80977
80978 # Is the header present?
80979 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
80980 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
80981 cat >conftest.$ac_ext <<_ACEOF
80982 /* confdefs.h.  */
80983 _ACEOF
80984 cat confdefs.h >>conftest.$ac_ext
80985 cat >>conftest.$ac_ext <<_ACEOF
80986 /* end confdefs.h.  */
80987 #include <langinfo.h>
80988 _ACEOF
80989 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80990   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80991   ac_status=$?
80992   grep -v '^ *+' conftest.er1 >conftest.err
80993   rm -f conftest.er1
80994   cat conftest.err >&5
80995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
80996   (exit $ac_status); } >/dev/null; then
80997   if test -s conftest.err; then
80998     ac_cpp_err=$ac_c_preproc_warn_flag
80999     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81000   else
81001     ac_cpp_err=
81002   fi
81003 else
81004   ac_cpp_err=yes
81005 fi
81006 if test -z "$ac_cpp_err"; then
81007   ac_header_preproc=yes
81008 else
81009   echo "$as_me: failed program was:" >&5
81010 sed 's/^/| /' conftest.$ac_ext >&5
81011
81012   ac_header_preproc=no
81013 fi
81014 rm -f conftest.err conftest.$ac_ext
81015 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81016 echo "${ECHO_T}$ac_header_preproc" >&6
81017
81018 # So?  What about this header?
81019 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81020   yes:no: )
81021     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
81022 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
81023     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
81024 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
81025     ac_header_preproc=yes
81026     ;;
81027   no:yes:* )
81028     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
81029 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
81030     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
81031 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
81032     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
81033 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
81034     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
81035 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
81036     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
81037 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
81038     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
81039 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
81040     (
81041       cat <<\_ASBOX
81042 ## ----------------------------------------- ##
81043 ## Report this to the package-unused lists.  ##
81044 ## ----------------------------------------- ##
81045 _ASBOX
81046     ) |
81047       sed "s/^/$as_me: WARNING:     /" >&2
81048     ;;
81049 esac
81050 echo "$as_me:$LINENO: checking for langinfo.h" >&5
81051 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
81052 if test "${ac_cv_header_langinfo_h+set}" = set; then
81053   echo $ECHO_N "(cached) $ECHO_C" >&6
81054 else
81055   ac_cv_header_langinfo_h=$ac_header_preproc
81056 fi
81057 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
81058 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
81059
81060 fi
81061 if test $ac_cv_header_langinfo_h = yes; then
81062   ac_has_langinfo_h=yes
81063 else
81064   ac_has_langinfo_h=no
81065 fi
81066
81067
81068
81069     # Check for existence of libiconv.a providing XPG2 wchar_t support.
81070     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
81071 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
81072 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
81073   echo $ECHO_N "(cached) $ECHO_C" >&6
81074 else
81075   ac_check_lib_save_LIBS=$LIBS
81076 LIBS="-liconv  $LIBS"
81077 if test x$gcc_no_link = xyes; then
81078   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81079 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81080    { (exit 1); exit 1; }; }
81081 fi
81082 cat >conftest.$ac_ext <<_ACEOF
81083 /* confdefs.h.  */
81084 _ACEOF
81085 cat confdefs.h >>conftest.$ac_ext
81086 cat >>conftest.$ac_ext <<_ACEOF
81087 /* end confdefs.h.  */
81088
81089 /* Override any gcc2 internal prototype to avoid an error.  */
81090 #ifdef __cplusplus
81091 extern "C"
81092 #endif
81093 /* We use char because int might match the return type of a gcc2
81094    builtin and then its argument prototype would still apply.  */
81095 char iconv ();
81096 int
81097 main ()
81098 {
81099 iconv ();
81100   ;
81101   return 0;
81102 }
81103 _ACEOF
81104 rm -f conftest.$ac_objext conftest$ac_exeext
81105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81106   (eval $ac_link) 2>conftest.er1
81107   ac_status=$?
81108   grep -v '^ *+' conftest.er1 >conftest.err
81109   rm -f conftest.er1
81110   cat conftest.err >&5
81111   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81112   (exit $ac_status); } &&
81113          { ac_try='test -z "$ac_c_werror_flag"
81114                          || test ! -s conftest.err'
81115   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81116   (eval $ac_try) 2>&5
81117   ac_status=$?
81118   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81119   (exit $ac_status); }; } &&
81120          { ac_try='test -s conftest$ac_exeext'
81121   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81122   (eval $ac_try) 2>&5
81123   ac_status=$?
81124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81125   (exit $ac_status); }; }; then
81126   ac_cv_lib_iconv_iconv=yes
81127 else
81128   echo "$as_me: failed program was:" >&5
81129 sed 's/^/| /' conftest.$ac_ext >&5
81130
81131 ac_cv_lib_iconv_iconv=no
81132 fi
81133 rm -f conftest.err conftest.$ac_objext \
81134       conftest$ac_exeext conftest.$ac_ext
81135 LIBS=$ac_check_lib_save_LIBS
81136 fi
81137 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
81138 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
81139 if test $ac_cv_lib_iconv_iconv = yes; then
81140   LIBICONV="-liconv"
81141 fi
81142
81143     ac_save_LIBS="$LIBS"
81144     LIBS="$LIBS $LIBICONV"
81145
81146
81147
81148
81149
81150
81151 for ac_func in iconv_open iconv_close iconv nl_langinfo
81152 do
81153 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81154 echo "$as_me:$LINENO: checking for $ac_func" >&5
81155 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81156 if eval "test \"\${$as_ac_var+set}\" = set"; then
81157   echo $ECHO_N "(cached) $ECHO_C" >&6
81158 else
81159   if test x$gcc_no_link = xyes; then
81160   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81161 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81162    { (exit 1); exit 1; }; }
81163 fi
81164 cat >conftest.$ac_ext <<_ACEOF
81165 /* confdefs.h.  */
81166 _ACEOF
81167 cat confdefs.h >>conftest.$ac_ext
81168 cat >>conftest.$ac_ext <<_ACEOF
81169 /* end confdefs.h.  */
81170 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81171    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81172 #define $ac_func innocuous_$ac_func
81173
81174 /* System header to define __stub macros and hopefully few prototypes,
81175     which can conflict with char $ac_func (); below.
81176     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81177     <limits.h> exists even on freestanding compilers.  */
81178
81179 #ifdef __STDC__
81180 # include <limits.h>
81181 #else
81182 # include <assert.h>
81183 #endif
81184
81185 #undef $ac_func
81186
81187 /* Override any gcc2 internal prototype to avoid an error.  */
81188 #ifdef __cplusplus
81189 extern "C"
81190 {
81191 #endif
81192 /* We use char because int might match the return type of a gcc2
81193    builtin and then its argument prototype would still apply.  */
81194 char $ac_func ();
81195 /* The GNU C library defines this for functions which it implements
81196     to always fail with ENOSYS.  Some functions are actually named
81197     something starting with __ and the normal name is an alias.  */
81198 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81199 choke me
81200 #else
81201 char (*f) () = $ac_func;
81202 #endif
81203 #ifdef __cplusplus
81204 }
81205 #endif
81206
81207 int
81208 main ()
81209 {
81210 return f != $ac_func;
81211   ;
81212   return 0;
81213 }
81214 _ACEOF
81215 rm -f conftest.$ac_objext conftest$ac_exeext
81216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81217   (eval $ac_link) 2>conftest.er1
81218   ac_status=$?
81219   grep -v '^ *+' conftest.er1 >conftest.err
81220   rm -f conftest.er1
81221   cat conftest.err >&5
81222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81223   (exit $ac_status); } &&
81224          { ac_try='test -z "$ac_c_werror_flag"
81225                          || test ! -s conftest.err'
81226   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81227   (eval $ac_try) 2>&5
81228   ac_status=$?
81229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81230   (exit $ac_status); }; } &&
81231          { ac_try='test -s conftest$ac_exeext'
81232   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81233   (eval $ac_try) 2>&5
81234   ac_status=$?
81235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81236   (exit $ac_status); }; }; then
81237   eval "$as_ac_var=yes"
81238 else
81239   echo "$as_me: failed program was:" >&5
81240 sed 's/^/| /' conftest.$ac_ext >&5
81241
81242 eval "$as_ac_var=no"
81243 fi
81244 rm -f conftest.err conftest.$ac_objext \
81245       conftest$ac_exeext conftest.$ac_ext
81246 fi
81247 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81248 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81249 if test `eval echo '${'$as_ac_var'}'` = yes; then
81250   cat >>confdefs.h <<_ACEOF
81251 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81252 _ACEOF
81253  ac_XPG2funcs=yes
81254 else
81255   ac_XPG2funcs=no
81256 fi
81257 done
81258
81259
81260     LIBS="$ac_save_LIBS"
81261
81262     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
81263 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
81264     if test x"$ac_has_iconv_h" = xyes &&
81265        test x"$ac_has_langinfo_h" = xyes &&
81266        test x"$ac_XPG2funcs" = xyes;
81267     then
81268       ac_XPG2_wchar_t=yes
81269     else
81270       ac_XPG2_wchar_t=no
81271     fi
81272     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
81273 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
81274
81275     # At the moment, only enable wchar_t specializations if all the
81276     # above support is present.
81277     if test x"$ac_isoC99_wchar_t" = xyes &&
81278        test x"$ac_XPG2_wchar_t" = xyes;
81279     then
81280       cat >>confdefs.h <<\_ACEOF
81281 #define _GLIBCXX_USE_WCHAR_T 1
81282 _ACEOF
81283
81284       enable_wchar_t=yes
81285     fi
81286   fi
81287   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
81288 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
81289   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
81290 echo "${ECHO_T}$enable_wchar_t" >&6
81291
81292     cat >>confdefs.h <<\_ACEOF
81293 #define HAVE_COPYSIGN 1
81294 _ACEOF
81295
81296     cat >>confdefs.h <<\_ACEOF
81297 #define HAVE_COPYSIGNF 1
81298 _ACEOF
81299
81300     cat >>confdefs.h <<\_ACEOF
81301 #define HAVE_FREXPF 1
81302 _ACEOF
81303
81304     cat >>confdefs.h <<\_ACEOF
81305 #define HAVE_HYPOT 1
81306 _ACEOF
81307
81308     case "$target" in
81309       *-hpux10*)
81310         cat >>confdefs.h <<\_ACEOF
81311 #define HAVE_FINITE 1
81312 _ACEOF
81313
81314         cat >>confdefs.h <<\_ACEOF
81315 #define HAVE_FINITEF 1
81316 _ACEOF
81317
81318         cat >>confdefs.h <<\_ACEOF
81319 #define HAVE_ISINF 1
81320 _ACEOF
81321
81322         cat >>confdefs.h <<\_ACEOF
81323 #define HAVE_ISINFF 1
81324 _ACEOF
81325
81326         cat >>confdefs.h <<\_ACEOF
81327 #define HAVE_ISNAN 1
81328 _ACEOF
81329
81330         cat >>confdefs.h <<\_ACEOF
81331 #define HAVE_ISNANF 1
81332 _ACEOF
81333
81334         ;;
81335     esac
81336     ;;
81337   *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
81338
81339
81340
81341
81342
81343
81344
81345
81346
81347
81348
81349
81350
81351
81352
81353 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
81354       machine/endian.h machine/param.h sys/machine.h sys/types.h \
81355       fp.h float.h endian.h inttypes.h locale.h float.h stdint.h
81356 do
81357 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
81358 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81359   echo "$as_me:$LINENO: checking for $ac_header" >&5
81360 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
81361 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81362   echo $ECHO_N "(cached) $ECHO_C" >&6
81363 fi
81364 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
81365 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
81366 else
81367   # Is the header compilable?
81368 echo "$as_me:$LINENO: checking $ac_header usability" >&5
81369 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
81370 cat >conftest.$ac_ext <<_ACEOF
81371 /* confdefs.h.  */
81372 _ACEOF
81373 cat confdefs.h >>conftest.$ac_ext
81374 cat >>conftest.$ac_ext <<_ACEOF
81375 /* end confdefs.h.  */
81376 $ac_includes_default
81377 #include <$ac_header>
81378 _ACEOF
81379 rm -f conftest.$ac_objext
81380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81381   (eval $ac_compile) 2>conftest.er1
81382   ac_status=$?
81383   grep -v '^ *+' conftest.er1 >conftest.err
81384   rm -f conftest.er1
81385   cat conftest.err >&5
81386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81387   (exit $ac_status); } &&
81388          { ac_try='test -z "$ac_c_werror_flag"
81389                          || test ! -s conftest.err'
81390   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81391   (eval $ac_try) 2>&5
81392   ac_status=$?
81393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81394   (exit $ac_status); }; } &&
81395          { ac_try='test -s conftest.$ac_objext'
81396   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81397   (eval $ac_try) 2>&5
81398   ac_status=$?
81399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81400   (exit $ac_status); }; }; then
81401   ac_header_compiler=yes
81402 else
81403   echo "$as_me: failed program was:" >&5
81404 sed 's/^/| /' conftest.$ac_ext >&5
81405
81406 ac_header_compiler=no
81407 fi
81408 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81409 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81410 echo "${ECHO_T}$ac_header_compiler" >&6
81411
81412 # Is the header present?
81413 echo "$as_me:$LINENO: checking $ac_header presence" >&5
81414 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
81415 cat >conftest.$ac_ext <<_ACEOF
81416 /* confdefs.h.  */
81417 _ACEOF
81418 cat confdefs.h >>conftest.$ac_ext
81419 cat >>conftest.$ac_ext <<_ACEOF
81420 /* end confdefs.h.  */
81421 #include <$ac_header>
81422 _ACEOF
81423 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81424   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81425   ac_status=$?
81426   grep -v '^ *+' conftest.er1 >conftest.err
81427   rm -f conftest.er1
81428   cat conftest.err >&5
81429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81430   (exit $ac_status); } >/dev/null; then
81431   if test -s conftest.err; then
81432     ac_cpp_err=$ac_c_preproc_warn_flag
81433     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81434   else
81435     ac_cpp_err=
81436   fi
81437 else
81438   ac_cpp_err=yes
81439 fi
81440 if test -z "$ac_cpp_err"; then
81441   ac_header_preproc=yes
81442 else
81443   echo "$as_me: failed program was:" >&5
81444 sed 's/^/| /' conftest.$ac_ext >&5
81445
81446   ac_header_preproc=no
81447 fi
81448 rm -f conftest.err conftest.$ac_ext
81449 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81450 echo "${ECHO_T}$ac_header_preproc" >&6
81451
81452 # So?  What about this header?
81453 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81454   yes:no: )
81455     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
81456 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
81457     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
81458 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
81459     ac_header_preproc=yes
81460     ;;
81461   no:yes:* )
81462     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
81463 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
81464     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
81465 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
81466     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
81467 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
81468     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
81469 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
81470     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
81471 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
81472     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
81473 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
81474     (
81475       cat <<\_ASBOX
81476 ## ----------------------------------------- ##
81477 ## Report this to the package-unused lists.  ##
81478 ## ----------------------------------------- ##
81479 _ASBOX
81480     ) |
81481       sed "s/^/$as_me: WARNING:     /" >&2
81482     ;;
81483 esac
81484 echo "$as_me:$LINENO: checking for $ac_header" >&5
81485 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
81486 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81487   echo $ECHO_N "(cached) $ECHO_C" >&6
81488 else
81489   eval "$as_ac_Header=\$ac_header_preproc"
81490 fi
81491 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
81492 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
81493
81494 fi
81495 if test `eval echo '${'$as_ac_Header'}'` = yes; then
81496   cat >>confdefs.h <<_ACEOF
81497 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
81498 _ACEOF
81499
81500 fi
81501
81502 done
81503
81504     SECTION_FLAGS='-ffunction-sections -fdata-sections'
81505
81506
81507   # If we're not using GNU ld, then there's no point in even trying these
81508   # tests.  Check for that first.  We should have already tested for gld
81509   # by now (in libtool), but require it now just to be safe...
81510   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
81511   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
81512
81513
81514
81515   # The name set by libtool depends on the version of libtool.  Shame on us
81516   # for depending on an impl detail, but c'est la vie.  Older versions used
81517   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
81518   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
81519   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
81520   # set (hence we're using an older libtool), then set it.
81521   if test x${with_gnu_ld+set} != xset; then
81522     if test x${ac_cv_prog_gnu_ld+set} != xset; then
81523       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
81524       with_gnu_ld=no
81525     else
81526       with_gnu_ld=$ac_cv_prog_gnu_ld
81527     fi
81528   fi
81529
81530   # Start by getting the version number.  I think the libtool test already
81531   # does some of this, but throws away the result.
81532
81533   ldver=`$LD --version 2>/dev/null | head -1 | \
81534          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
81535
81536   glibcxx_gnu_ld_version=`echo $ldver | \
81537          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
81538
81539   # Set --gc-sections.
81540   if test "$with_gnu_ld" = "notbroken"; then
81541     # GNU ld it is!  Joy and bunny rabbits!
81542
81543     # All these tests are for C++; save the language and the compiler flags.
81544     # Need to do this so that g++ won't try to link in libstdc++
81545     ac_test_CFLAGS="${CFLAGS+set}"
81546     ac_save_CFLAGS="$CFLAGS"
81547     CFLAGS='-x c++  -Wl,--gc-sections'
81548
81549     # Check for -Wl,--gc-sections
81550     # XXX This test is broken at the moment, as symbols required for linking
81551     # are now in libsupc++ (not built yet).  In addition, this test has
81552     # cored on solaris in the past.  In addition, --gc-sections doesn't
81553     # really work at the moment (keeps on discarding used sections, first
81554     # .eh_frame and now some of the glibc sections for iconv).
81555     # Bzzzzt.  Thanks for playing, maybe next time.
81556     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
81557 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
81558     if test "$cross_compiling" = yes; then
81559   ac_sectionLDflags=yes
81560 else
81561   cat >conftest.$ac_ext <<_ACEOF
81562 /* confdefs.h.  */
81563 _ACEOF
81564 cat confdefs.h >>conftest.$ac_ext
81565 cat >>conftest.$ac_ext <<_ACEOF
81566 /* end confdefs.h.  */
81567
81568      int main(void)
81569      {
81570        try { throw 1; }
81571        catch (...) { };
81572        return 0;
81573      }
81574
81575 _ACEOF
81576 rm -f conftest$ac_exeext
81577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81578   (eval $ac_link) 2>&5
81579   ac_status=$?
81580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81581   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
81582   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81583   (eval $ac_try) 2>&5
81584   ac_status=$?
81585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81586   (exit $ac_status); }; }; then
81587   ac_sectionLDflags=yes
81588 else
81589   echo "$as_me: program exited with status $ac_status" >&5
81590 echo "$as_me: failed program was:" >&5
81591 sed 's/^/| /' conftest.$ac_ext >&5
81592
81593 ( exit $ac_status )
81594 ac_sectionLDflags=no
81595 fi
81596 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
81597 fi
81598     if test "$ac_test_CFLAGS" = set; then
81599       CFLAGS="$ac_save_CFLAGS"
81600     else
81601       # this is the suspicious part
81602       CFLAGS=''
81603     fi
81604     if test "$ac_sectionLDflags" = "yes"; then
81605       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
81606     fi
81607     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
81608 echo "${ECHO_T}$ac_sectionLDflags" >&6
81609   fi
81610
81611   # Set linker optimization flags.
81612   if test x"$with_gnu_ld" = x"yes"; then
81613     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
81614   fi
81615
81616
81617
81618
81619
81620
81621 echo "$as_me:$LINENO: checking for main in -lm" >&5
81622 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
81623 if test "${ac_cv_lib_m_main+set}" = set; then
81624   echo $ECHO_N "(cached) $ECHO_C" >&6
81625 else
81626   ac_check_lib_save_LIBS=$LIBS
81627 LIBS="-lm  $LIBS"
81628 if test x$gcc_no_link = xyes; then
81629   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81630 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81631    { (exit 1); exit 1; }; }
81632 fi
81633 cat >conftest.$ac_ext <<_ACEOF
81634 /* confdefs.h.  */
81635 _ACEOF
81636 cat confdefs.h >>conftest.$ac_ext
81637 cat >>conftest.$ac_ext <<_ACEOF
81638 /* end confdefs.h.  */
81639
81640
81641 int
81642 main ()
81643 {
81644 main ();
81645   ;
81646   return 0;
81647 }
81648 _ACEOF
81649 rm -f conftest.$ac_objext conftest$ac_exeext
81650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81651   (eval $ac_link) 2>conftest.er1
81652   ac_status=$?
81653   grep -v '^ *+' conftest.er1 >conftest.err
81654   rm -f conftest.er1
81655   cat conftest.err >&5
81656   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81657   (exit $ac_status); } &&
81658          { ac_try='test -z "$ac_c_werror_flag"
81659                          || test ! -s conftest.err'
81660   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81661   (eval $ac_try) 2>&5
81662   ac_status=$?
81663   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81664   (exit $ac_status); }; } &&
81665          { ac_try='test -s conftest$ac_exeext'
81666   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81667   (eval $ac_try) 2>&5
81668   ac_status=$?
81669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81670   (exit $ac_status); }; }; then
81671   ac_cv_lib_m_main=yes
81672 else
81673   echo "$as_me: failed program was:" >&5
81674 sed 's/^/| /' conftest.$ac_ext >&5
81675
81676 ac_cv_lib_m_main=no
81677 fi
81678 rm -f conftest.err conftest.$ac_objext \
81679       conftest$ac_exeext conftest.$ac_ext
81680 LIBS=$ac_check_lib_save_LIBS
81681 fi
81682 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
81683 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
81684 if test $ac_cv_lib_m_main = yes; then
81685   cat >>confdefs.h <<_ACEOF
81686 #define HAVE_LIBM 1
81687 _ACEOF
81688
81689   LIBS="-lm $LIBS"
81690
81691 fi
81692
81693
81694 for ac_func in copysignf
81695 do
81696 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81697 echo "$as_me:$LINENO: checking for $ac_func" >&5
81698 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81699 if eval "test \"\${$as_ac_var+set}\" = set"; then
81700   echo $ECHO_N "(cached) $ECHO_C" >&6
81701 else
81702   if test x$gcc_no_link = xyes; then
81703   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81704 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81705    { (exit 1); exit 1; }; }
81706 fi
81707 cat >conftest.$ac_ext <<_ACEOF
81708 /* confdefs.h.  */
81709 _ACEOF
81710 cat confdefs.h >>conftest.$ac_ext
81711 cat >>conftest.$ac_ext <<_ACEOF
81712 /* end confdefs.h.  */
81713 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81714    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81715 #define $ac_func innocuous_$ac_func
81716
81717 /* System header to define __stub macros and hopefully few prototypes,
81718     which can conflict with char $ac_func (); below.
81719     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81720     <limits.h> exists even on freestanding compilers.  */
81721
81722 #ifdef __STDC__
81723 # include <limits.h>
81724 #else
81725 # include <assert.h>
81726 #endif
81727
81728 #undef $ac_func
81729
81730 /* Override any gcc2 internal prototype to avoid an error.  */
81731 #ifdef __cplusplus
81732 extern "C"
81733 {
81734 #endif
81735 /* We use char because int might match the return type of a gcc2
81736    builtin and then its argument prototype would still apply.  */
81737 char $ac_func ();
81738 /* The GNU C library defines this for functions which it implements
81739     to always fail with ENOSYS.  Some functions are actually named
81740     something starting with __ and the normal name is an alias.  */
81741 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81742 choke me
81743 #else
81744 char (*f) () = $ac_func;
81745 #endif
81746 #ifdef __cplusplus
81747 }
81748 #endif
81749
81750 int
81751 main ()
81752 {
81753 return f != $ac_func;
81754   ;
81755   return 0;
81756 }
81757 _ACEOF
81758 rm -f conftest.$ac_objext conftest$ac_exeext
81759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81760   (eval $ac_link) 2>conftest.er1
81761   ac_status=$?
81762   grep -v '^ *+' conftest.er1 >conftest.err
81763   rm -f conftest.er1
81764   cat conftest.err >&5
81765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81766   (exit $ac_status); } &&
81767          { ac_try='test -z "$ac_c_werror_flag"
81768                          || test ! -s conftest.err'
81769   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81770   (eval $ac_try) 2>&5
81771   ac_status=$?
81772   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81773   (exit $ac_status); }; } &&
81774          { ac_try='test -s conftest$ac_exeext'
81775   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81776   (eval $ac_try) 2>&5
81777   ac_status=$?
81778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81779   (exit $ac_status); }; }; then
81780   eval "$as_ac_var=yes"
81781 else
81782   echo "$as_me: failed program was:" >&5
81783 sed 's/^/| /' conftest.$ac_ext >&5
81784
81785 eval "$as_ac_var=no"
81786 fi
81787 rm -f conftest.err conftest.$ac_objext \
81788       conftest$ac_exeext conftest.$ac_ext
81789 fi
81790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81791 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81792 if test `eval echo '${'$as_ac_var'}'` = yes; then
81793   cat >>confdefs.h <<_ACEOF
81794 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81795 _ACEOF
81796
81797 else
81798   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
81799 fi
81800 done
81801
81802
81803
81804 for ac_func in __signbit
81805 do
81806 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81807 echo "$as_me:$LINENO: checking for $ac_func" >&5
81808 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81809 if eval "test \"\${$as_ac_var+set}\" = set"; then
81810   echo $ECHO_N "(cached) $ECHO_C" >&6
81811 else
81812   if test x$gcc_no_link = xyes; then
81813   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81814 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81815    { (exit 1); exit 1; }; }
81816 fi
81817 cat >conftest.$ac_ext <<_ACEOF
81818 /* confdefs.h.  */
81819 _ACEOF
81820 cat confdefs.h >>conftest.$ac_ext
81821 cat >>conftest.$ac_ext <<_ACEOF
81822 /* end confdefs.h.  */
81823 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81824    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81825 #define $ac_func innocuous_$ac_func
81826
81827 /* System header to define __stub macros and hopefully few prototypes,
81828     which can conflict with char $ac_func (); below.
81829     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81830     <limits.h> exists even on freestanding compilers.  */
81831
81832 #ifdef __STDC__
81833 # include <limits.h>
81834 #else
81835 # include <assert.h>
81836 #endif
81837
81838 #undef $ac_func
81839
81840 /* Override any gcc2 internal prototype to avoid an error.  */
81841 #ifdef __cplusplus
81842 extern "C"
81843 {
81844 #endif
81845 /* We use char because int might match the return type of a gcc2
81846    builtin and then its argument prototype would still apply.  */
81847 char $ac_func ();
81848 /* The GNU C library defines this for functions which it implements
81849     to always fail with ENOSYS.  Some functions are actually named
81850     something starting with __ and the normal name is an alias.  */
81851 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81852 choke me
81853 #else
81854 char (*f) () = $ac_func;
81855 #endif
81856 #ifdef __cplusplus
81857 }
81858 #endif
81859
81860 int
81861 main ()
81862 {
81863 return f != $ac_func;
81864   ;
81865   return 0;
81866 }
81867 _ACEOF
81868 rm -f conftest.$ac_objext conftest$ac_exeext
81869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81870   (eval $ac_link) 2>conftest.er1
81871   ac_status=$?
81872   grep -v '^ *+' conftest.er1 >conftest.err
81873   rm -f conftest.er1
81874   cat conftest.err >&5
81875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81876   (exit $ac_status); } &&
81877          { ac_try='test -z "$ac_c_werror_flag"
81878                          || test ! -s conftest.err'
81879   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81880   (eval $ac_try) 2>&5
81881   ac_status=$?
81882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81883   (exit $ac_status); }; } &&
81884          { ac_try='test -s conftest$ac_exeext'
81885   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81886   (eval $ac_try) 2>&5
81887   ac_status=$?
81888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81889   (exit $ac_status); }; }; then
81890   eval "$as_ac_var=yes"
81891 else
81892   echo "$as_me: failed program was:" >&5
81893 sed 's/^/| /' conftest.$ac_ext >&5
81894
81895 eval "$as_ac_var=no"
81896 fi
81897 rm -f conftest.err conftest.$ac_objext \
81898       conftest$ac_exeext conftest.$ac_ext
81899 fi
81900 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81901 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81902 if test `eval echo '${'$as_ac_var'}'` = yes; then
81903   cat >>confdefs.h <<_ACEOF
81904 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81905 _ACEOF
81906
81907 else
81908   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
81909 fi
81910 done
81911
81912
81913
81914 for ac_func in __signbitf
81915 do
81916 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81917 echo "$as_me:$LINENO: checking for $ac_func" >&5
81918 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81919 if eval "test \"\${$as_ac_var+set}\" = set"; then
81920   echo $ECHO_N "(cached) $ECHO_C" >&6
81921 else
81922   if test x$gcc_no_link = xyes; then
81923   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81924 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81925    { (exit 1); exit 1; }; }
81926 fi
81927 cat >conftest.$ac_ext <<_ACEOF
81928 /* confdefs.h.  */
81929 _ACEOF
81930 cat confdefs.h >>conftest.$ac_ext
81931 cat >>conftest.$ac_ext <<_ACEOF
81932 /* end confdefs.h.  */
81933 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81934    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
81935 #define $ac_func innocuous_$ac_func
81936
81937 /* System header to define __stub macros and hopefully few prototypes,
81938     which can conflict with char $ac_func (); below.
81939     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81940     <limits.h> exists even on freestanding compilers.  */
81941
81942 #ifdef __STDC__
81943 # include <limits.h>
81944 #else
81945 # include <assert.h>
81946 #endif
81947
81948 #undef $ac_func
81949
81950 /* Override any gcc2 internal prototype to avoid an error.  */
81951 #ifdef __cplusplus
81952 extern "C"
81953 {
81954 #endif
81955 /* We use char because int might match the return type of a gcc2
81956    builtin and then its argument prototype would still apply.  */
81957 char $ac_func ();
81958 /* The GNU C library defines this for functions which it implements
81959     to always fail with ENOSYS.  Some functions are actually named
81960     something starting with __ and the normal name is an alias.  */
81961 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81962 choke me
81963 #else
81964 char (*f) () = $ac_func;
81965 #endif
81966 #ifdef __cplusplus
81967 }
81968 #endif
81969
81970 int
81971 main ()
81972 {
81973 return f != $ac_func;
81974   ;
81975   return 0;
81976 }
81977 _ACEOF
81978 rm -f conftest.$ac_objext conftest$ac_exeext
81979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81980   (eval $ac_link) 2>conftest.er1
81981   ac_status=$?
81982   grep -v '^ *+' conftest.er1 >conftest.err
81983   rm -f conftest.er1
81984   cat conftest.err >&5
81985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81986   (exit $ac_status); } &&
81987          { ac_try='test -z "$ac_c_werror_flag"
81988                          || test ! -s conftest.err'
81989   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81990   (eval $ac_try) 2>&5
81991   ac_status=$?
81992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81993   (exit $ac_status); }; } &&
81994          { ac_try='test -s conftest$ac_exeext'
81995   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81996   (eval $ac_try) 2>&5
81997   ac_status=$?
81998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
81999   (exit $ac_status); }; }; then
82000   eval "$as_ac_var=yes"
82001 else
82002   echo "$as_me: failed program was:" >&5
82003 sed 's/^/| /' conftest.$ac_ext >&5
82004
82005 eval "$as_ac_var=no"
82006 fi
82007 rm -f conftest.err conftest.$ac_objext \
82008       conftest$ac_exeext conftest.$ac_ext
82009 fi
82010 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82011 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82012 if test `eval echo '${'$as_ac_var'}'` = yes; then
82013   cat >>confdefs.h <<_ACEOF
82014 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82015 _ACEOF
82016
82017 else
82018   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
82019 fi
82020 done
82021
82022
82023           if test x$ac_cv_func_copysignl = x"yes"; then
82024
82025 for ac_func in __signbitl
82026 do
82027 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82028 echo "$as_me:$LINENO: checking for $ac_func" >&5
82029 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82030 if eval "test \"\${$as_ac_var+set}\" = set"; then
82031   echo $ECHO_N "(cached) $ECHO_C" >&6
82032 else
82033   if test x$gcc_no_link = xyes; then
82034   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82035 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82036    { (exit 1); exit 1; }; }
82037 fi
82038 cat >conftest.$ac_ext <<_ACEOF
82039 /* confdefs.h.  */
82040 _ACEOF
82041 cat confdefs.h >>conftest.$ac_ext
82042 cat >>conftest.$ac_ext <<_ACEOF
82043 /* end confdefs.h.  */
82044 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82045    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
82046 #define $ac_func innocuous_$ac_func
82047
82048 /* System header to define __stub macros and hopefully few prototypes,
82049     which can conflict with char $ac_func (); below.
82050     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82051     <limits.h> exists even on freestanding compilers.  */
82052
82053 #ifdef __STDC__
82054 # include <limits.h>
82055 #else
82056 # include <assert.h>
82057 #endif
82058
82059 #undef $ac_func
82060
82061 /* Override any gcc2 internal prototype to avoid an error.  */
82062 #ifdef __cplusplus
82063 extern "C"
82064 {
82065 #endif
82066 /* We use char because int might match the return type of a gcc2
82067    builtin and then its argument prototype would still apply.  */
82068 char $ac_func ();
82069 /* The GNU C library defines this for functions which it implements
82070     to always fail with ENOSYS.  Some functions are actually named
82071     something starting with __ and the normal name is an alias.  */
82072 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82073 choke me
82074 #else
82075 char (*f) () = $ac_func;
82076 #endif
82077 #ifdef __cplusplus
82078 }
82079 #endif
82080
82081 int
82082 main ()
82083 {
82084 return f != $ac_func;
82085   ;
82086   return 0;
82087 }
82088 _ACEOF
82089 rm -f conftest.$ac_objext conftest$ac_exeext
82090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82091   (eval $ac_link) 2>conftest.er1
82092   ac_status=$?
82093   grep -v '^ *+' conftest.er1 >conftest.err
82094   rm -f conftest.er1
82095   cat conftest.err >&5
82096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82097   (exit $ac_status); } &&
82098          { ac_try='test -z "$ac_c_werror_flag"
82099                          || test ! -s conftest.err'
82100   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82101   (eval $ac_try) 2>&5
82102   ac_status=$?
82103   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82104   (exit $ac_status); }; } &&
82105          { ac_try='test -s conftest$ac_exeext'
82106   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82107   (eval $ac_try) 2>&5
82108   ac_status=$?
82109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82110   (exit $ac_status); }; }; then
82111   eval "$as_ac_var=yes"
82112 else
82113   echo "$as_me: failed program was:" >&5
82114 sed 's/^/| /' conftest.$ac_ext >&5
82115
82116 eval "$as_ac_var=no"
82117 fi
82118 rm -f conftest.err conftest.$ac_objext \
82119       conftest$ac_exeext conftest.$ac_ext
82120 fi
82121 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82122 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82123 if test `eval echo '${'$as_ac_var'}'` = yes; then
82124   cat >>confdefs.h <<_ACEOF
82125 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82126 _ACEOF
82127
82128 else
82129   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
82130 fi
82131 done
82132
82133   fi
82134
82135   # Used in libmath/Makefile.am.
82136   if test -n "$LIBMATHOBJS"; then
82137     need_libmath=yes
82138   fi
82139
82140
82141
82142   # Test wchar.h for mbstate_t, which is needed for char_traits and
82143   # others even if wchar_t support is not on.
82144   echo "$as_me:$LINENO: checking for mbstate_t" >&5
82145 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
82146   cat >conftest.$ac_ext <<_ACEOF
82147 /* confdefs.h.  */
82148 _ACEOF
82149 cat confdefs.h >>conftest.$ac_ext
82150 cat >>conftest.$ac_ext <<_ACEOF
82151 /* end confdefs.h.  */
82152 #include <wchar.h>
82153 int
82154 main ()
82155 {
82156 mbstate_t teststate;
82157   ;
82158   return 0;
82159 }
82160 _ACEOF
82161 rm -f conftest.$ac_objext
82162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82163   (eval $ac_compile) 2>conftest.er1
82164   ac_status=$?
82165   grep -v '^ *+' conftest.er1 >conftest.err
82166   rm -f conftest.er1
82167   cat conftest.err >&5
82168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82169   (exit $ac_status); } &&
82170          { ac_try='test -z "$ac_c_werror_flag"
82171                          || test ! -s conftest.err'
82172   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82173   (eval $ac_try) 2>&5
82174   ac_status=$?
82175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82176   (exit $ac_status); }; } &&
82177          { ac_try='test -s conftest.$ac_objext'
82178   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82179   (eval $ac_try) 2>&5
82180   ac_status=$?
82181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82182   (exit $ac_status); }; }; then
82183   have_mbstate_t=yes
82184 else
82185   echo "$as_me: failed program was:" >&5
82186 sed 's/^/| /' conftest.$ac_ext >&5
82187
82188 have_mbstate_t=no
82189 fi
82190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82191   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
82192 echo "${ECHO_T}$have_mbstate_t" >&6
82193   if test x"$have_mbstate_t" = xyes; then
82194     cat >>confdefs.h <<\_ACEOF
82195 #define HAVE_MBSTATE_T 1
82196 _ACEOF
82197
82198   fi
82199
82200   # Sanity check for existence of ISO C99 headers for extended encoding.
82201
82202 for ac_header in wchar.h
82203 do
82204 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
82205 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82206   echo "$as_me:$LINENO: checking for $ac_header" >&5
82207 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82208 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82209   echo $ECHO_N "(cached) $ECHO_C" >&6
82210 fi
82211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82212 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82213 else
82214   # Is the header compilable?
82215 echo "$as_me:$LINENO: checking $ac_header usability" >&5
82216 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
82217 cat >conftest.$ac_ext <<_ACEOF
82218 /* confdefs.h.  */
82219 _ACEOF
82220 cat confdefs.h >>conftest.$ac_ext
82221 cat >>conftest.$ac_ext <<_ACEOF
82222 /* end confdefs.h.  */
82223 $ac_includes_default
82224 #include <$ac_header>
82225 _ACEOF
82226 rm -f conftest.$ac_objext
82227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82228   (eval $ac_compile) 2>conftest.er1
82229   ac_status=$?
82230   grep -v '^ *+' conftest.er1 >conftest.err
82231   rm -f conftest.er1
82232   cat conftest.err >&5
82233   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82234   (exit $ac_status); } &&
82235          { ac_try='test -z "$ac_c_werror_flag"
82236                          || test ! -s conftest.err'
82237   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82238   (eval $ac_try) 2>&5
82239   ac_status=$?
82240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82241   (exit $ac_status); }; } &&
82242          { ac_try='test -s conftest.$ac_objext'
82243   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82244   (eval $ac_try) 2>&5
82245   ac_status=$?
82246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82247   (exit $ac_status); }; }; then
82248   ac_header_compiler=yes
82249 else
82250   echo "$as_me: failed program was:" >&5
82251 sed 's/^/| /' conftest.$ac_ext >&5
82252
82253 ac_header_compiler=no
82254 fi
82255 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82256 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
82257 echo "${ECHO_T}$ac_header_compiler" >&6
82258
82259 # Is the header present?
82260 echo "$as_me:$LINENO: checking $ac_header presence" >&5
82261 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
82262 cat >conftest.$ac_ext <<_ACEOF
82263 /* confdefs.h.  */
82264 _ACEOF
82265 cat confdefs.h >>conftest.$ac_ext
82266 cat >>conftest.$ac_ext <<_ACEOF
82267 /* end confdefs.h.  */
82268 #include <$ac_header>
82269 _ACEOF
82270 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
82271   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
82272   ac_status=$?
82273   grep -v '^ *+' conftest.er1 >conftest.err
82274   rm -f conftest.er1
82275   cat conftest.err >&5
82276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82277   (exit $ac_status); } >/dev/null; then
82278   if test -s conftest.err; then
82279     ac_cpp_err=$ac_c_preproc_warn_flag
82280     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
82281   else
82282     ac_cpp_err=
82283   fi
82284 else
82285   ac_cpp_err=yes
82286 fi
82287 if test -z "$ac_cpp_err"; then
82288   ac_header_preproc=yes
82289 else
82290   echo "$as_me: failed program was:" >&5
82291 sed 's/^/| /' conftest.$ac_ext >&5
82292
82293   ac_header_preproc=no
82294 fi
82295 rm -f conftest.err conftest.$ac_ext
82296 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
82297 echo "${ECHO_T}$ac_header_preproc" >&6
82298
82299 # So?  What about this header?
82300 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
82301   yes:no: )
82302     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
82303 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
82304     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
82305 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
82306     ac_header_preproc=yes
82307     ;;
82308   no:yes:* )
82309     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
82310 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
82311     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
82312 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
82313     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
82314 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
82315     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
82316 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
82317     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
82318 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
82319     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
82320 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
82321     (
82322       cat <<\_ASBOX
82323 ## ----------------------------------------- ##
82324 ## Report this to the package-unused lists.  ##
82325 ## ----------------------------------------- ##
82326 _ASBOX
82327     ) |
82328       sed "s/^/$as_me: WARNING:     /" >&2
82329     ;;
82330 esac
82331 echo "$as_me:$LINENO: checking for $ac_header" >&5
82332 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82333 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82334   echo $ECHO_N "(cached) $ECHO_C" >&6
82335 else
82336   eval "$as_ac_Header=\$ac_header_preproc"
82337 fi
82338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82339 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82340
82341 fi
82342 if test `eval echo '${'$as_ac_Header'}'` = yes; then
82343   cat >>confdefs.h <<_ACEOF
82344 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
82345 _ACEOF
82346  ac_has_wchar_h=yes
82347 else
82348   ac_has_wchar_h=no
82349 fi
82350
82351 done
82352
82353
82354 for ac_header in wctype.h
82355 do
82356 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
82357 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82358   echo "$as_me:$LINENO: checking for $ac_header" >&5
82359 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82360 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82361   echo $ECHO_N "(cached) $ECHO_C" >&6
82362 fi
82363 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82364 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82365 else
82366   # Is the header compilable?
82367 echo "$as_me:$LINENO: checking $ac_header usability" >&5
82368 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
82369 cat >conftest.$ac_ext <<_ACEOF
82370 /* confdefs.h.  */
82371 _ACEOF
82372 cat confdefs.h >>conftest.$ac_ext
82373 cat >>conftest.$ac_ext <<_ACEOF
82374 /* end confdefs.h.  */
82375 $ac_includes_default
82376 #include <$ac_header>
82377 _ACEOF
82378 rm -f conftest.$ac_objext
82379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82380   (eval $ac_compile) 2>conftest.er1
82381   ac_status=$?
82382   grep -v '^ *+' conftest.er1 >conftest.err
82383   rm -f conftest.er1
82384   cat conftest.err >&5
82385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82386   (exit $ac_status); } &&
82387          { ac_try='test -z "$ac_c_werror_flag"
82388                          || test ! -s conftest.err'
82389   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82390   (eval $ac_try) 2>&5
82391   ac_status=$?
82392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82393   (exit $ac_status); }; } &&
82394          { ac_try='test -s conftest.$ac_objext'
82395   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82396   (eval $ac_try) 2>&5
82397   ac_status=$?
82398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82399   (exit $ac_status); }; }; then
82400   ac_header_compiler=yes
82401 else
82402   echo "$as_me: failed program was:" >&5
82403 sed 's/^/| /' conftest.$ac_ext >&5
82404
82405 ac_header_compiler=no
82406 fi
82407 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82408 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
82409 echo "${ECHO_T}$ac_header_compiler" >&6
82410
82411 # Is the header present?
82412 echo "$as_me:$LINENO: checking $ac_header presence" >&5
82413 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
82414 cat >conftest.$ac_ext <<_ACEOF
82415 /* confdefs.h.  */
82416 _ACEOF
82417 cat confdefs.h >>conftest.$ac_ext
82418 cat >>conftest.$ac_ext <<_ACEOF
82419 /* end confdefs.h.  */
82420 #include <$ac_header>
82421 _ACEOF
82422 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
82423   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
82424   ac_status=$?
82425   grep -v '^ *+' conftest.er1 >conftest.err
82426   rm -f conftest.er1
82427   cat conftest.err >&5
82428   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82429   (exit $ac_status); } >/dev/null; then
82430   if test -s conftest.err; then
82431     ac_cpp_err=$ac_c_preproc_warn_flag
82432     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
82433   else
82434     ac_cpp_err=
82435   fi
82436 else
82437   ac_cpp_err=yes
82438 fi
82439 if test -z "$ac_cpp_err"; then
82440   ac_header_preproc=yes
82441 else
82442   echo "$as_me: failed program was:" >&5
82443 sed 's/^/| /' conftest.$ac_ext >&5
82444
82445   ac_header_preproc=no
82446 fi
82447 rm -f conftest.err conftest.$ac_ext
82448 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
82449 echo "${ECHO_T}$ac_header_preproc" >&6
82450
82451 # So?  What about this header?
82452 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
82453   yes:no: )
82454     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
82455 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
82456     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
82457 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
82458     ac_header_preproc=yes
82459     ;;
82460   no:yes:* )
82461     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
82462 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
82463     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
82464 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
82465     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
82466 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
82467     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
82468 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
82469     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
82470 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
82471     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
82472 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
82473     (
82474       cat <<\_ASBOX
82475 ## ----------------------------------------- ##
82476 ## Report this to the package-unused lists.  ##
82477 ## ----------------------------------------- ##
82478 _ASBOX
82479     ) |
82480       sed "s/^/$as_me: WARNING:     /" >&2
82481     ;;
82482 esac
82483 echo "$as_me:$LINENO: checking for $ac_header" >&5
82484 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82485 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82486   echo $ECHO_N "(cached) $ECHO_C" >&6
82487 else
82488   eval "$as_ac_Header=\$ac_header_preproc"
82489 fi
82490 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82491 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82492
82493 fi
82494 if test `eval echo '${'$as_ac_Header'}'` = yes; then
82495   cat >>confdefs.h <<_ACEOF
82496 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
82497 _ACEOF
82498  ac_has_wctype_h=yes
82499 else
82500   ac_has_wctype_h=no
82501 fi
82502
82503 done
82504
82505
82506   # Only continue checking if the ISO C99 headers exist and support is on.
82507   if test x"$ac_has_wchar_h" = xyes &&
82508      test x"$ac_has_wctype_h" = xyes &&
82509      test x"$enable_c_mbchar" != xno; then
82510
82511     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
82512     # numeric_limits can instantiate type_traits<wchar_t>
82513     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
82514 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
82515     cat >conftest.$ac_ext <<_ACEOF
82516 /* confdefs.h.  */
82517 _ACEOF
82518 cat confdefs.h >>conftest.$ac_ext
82519 cat >>conftest.$ac_ext <<_ACEOF
82520 /* end confdefs.h.  */
82521 #include <wchar.h>
82522 int
82523 main ()
82524 {
82525 int i = WCHAR_MIN; int j = WCHAR_MAX;
82526   ;
82527   return 0;
82528 }
82529 _ACEOF
82530 rm -f conftest.$ac_objext
82531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82532   (eval $ac_compile) 2>conftest.er1
82533   ac_status=$?
82534   grep -v '^ *+' conftest.er1 >conftest.err
82535   rm -f conftest.er1
82536   cat conftest.err >&5
82537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82538   (exit $ac_status); } &&
82539          { ac_try='test -z "$ac_c_werror_flag"
82540                          || test ! -s conftest.err'
82541   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82542   (eval $ac_try) 2>&5
82543   ac_status=$?
82544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82545   (exit $ac_status); }; } &&
82546          { ac_try='test -s conftest.$ac_objext'
82547   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82548   (eval $ac_try) 2>&5
82549   ac_status=$?
82550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82551   (exit $ac_status); }; }; then
82552   has_wchar_minmax=yes
82553 else
82554   echo "$as_me: failed program was:" >&5
82555 sed 's/^/| /' conftest.$ac_ext >&5
82556
82557 has_wchar_minmax=no
82558 fi
82559 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82560     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
82561 echo "${ECHO_T}$has_wchar_minmax" >&6
82562
82563     # Test wchar.h for WEOF, which is what we use to determine whether
82564     # to specialize for char_traits<wchar_t> or not.
82565     echo "$as_me:$LINENO: checking for WEOF" >&5
82566 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
82567     cat >conftest.$ac_ext <<_ACEOF
82568 /* confdefs.h.  */
82569 _ACEOF
82570 cat confdefs.h >>conftest.$ac_ext
82571 cat >>conftest.$ac_ext <<_ACEOF
82572 /* end confdefs.h.  */
82573
82574       #include <wchar.h>
82575       #include <stddef.h>
82576 int
82577 main ()
82578 {
82579 wint_t i = WEOF;
82580   ;
82581   return 0;
82582 }
82583 _ACEOF
82584 rm -f conftest.$ac_objext
82585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82586   (eval $ac_compile) 2>conftest.er1
82587   ac_status=$?
82588   grep -v '^ *+' conftest.er1 >conftest.err
82589   rm -f conftest.er1
82590   cat conftest.err >&5
82591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82592   (exit $ac_status); } &&
82593          { ac_try='test -z "$ac_c_werror_flag"
82594                          || test ! -s conftest.err'
82595   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82596   (eval $ac_try) 2>&5
82597   ac_status=$?
82598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82599   (exit $ac_status); }; } &&
82600          { ac_try='test -s conftest.$ac_objext'
82601   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82602   (eval $ac_try) 2>&5
82603   ac_status=$?
82604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82605   (exit $ac_status); }; }; then
82606   has_weof=yes
82607 else
82608   echo "$as_me: failed program was:" >&5
82609 sed 's/^/| /' conftest.$ac_ext >&5
82610
82611 has_weof=no
82612 fi
82613 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82614     echo "$as_me:$LINENO: result: $has_weof" >&5
82615 echo "${ECHO_T}$has_weof" >&6
82616
82617     # Tests for wide character functions used in char_traits<wchar_t>.
82618     ac_wfuncs=yes
82619
82620
82621
82622
82623
82624
82625 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
82626 do
82627 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82628 echo "$as_me:$LINENO: checking for $ac_func" >&5
82629 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82630 if eval "test \"\${$as_ac_var+set}\" = set"; then
82631   echo $ECHO_N "(cached) $ECHO_C" >&6
82632 else
82633   if test x$gcc_no_link = xyes; then
82634   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82635 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82636    { (exit 1); exit 1; }; }
82637 fi
82638 cat >conftest.$ac_ext <<_ACEOF
82639 /* confdefs.h.  */
82640 _ACEOF
82641 cat confdefs.h >>conftest.$ac_ext
82642 cat >>conftest.$ac_ext <<_ACEOF
82643 /* end confdefs.h.  */
82644 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82645    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
82646 #define $ac_func innocuous_$ac_func
82647
82648 /* System header to define __stub macros and hopefully few prototypes,
82649     which can conflict with char $ac_func (); below.
82650     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82651     <limits.h> exists even on freestanding compilers.  */
82652
82653 #ifdef __STDC__
82654 # include <limits.h>
82655 #else
82656 # include <assert.h>
82657 #endif
82658
82659 #undef $ac_func
82660
82661 /* Override any gcc2 internal prototype to avoid an error.  */
82662 #ifdef __cplusplus
82663 extern "C"
82664 {
82665 #endif
82666 /* We use char because int might match the return type of a gcc2
82667    builtin and then its argument prototype would still apply.  */
82668 char $ac_func ();
82669 /* The GNU C library defines this for functions which it implements
82670     to always fail with ENOSYS.  Some functions are actually named
82671     something starting with __ and the normal name is an alias.  */
82672 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82673 choke me
82674 #else
82675 char (*f) () = $ac_func;
82676 #endif
82677 #ifdef __cplusplus
82678 }
82679 #endif
82680
82681 int
82682 main ()
82683 {
82684 return f != $ac_func;
82685   ;
82686   return 0;
82687 }
82688 _ACEOF
82689 rm -f conftest.$ac_objext conftest$ac_exeext
82690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82691   (eval $ac_link) 2>conftest.er1
82692   ac_status=$?
82693   grep -v '^ *+' conftest.er1 >conftest.err
82694   rm -f conftest.er1
82695   cat conftest.err >&5
82696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82697   (exit $ac_status); } &&
82698          { ac_try='test -z "$ac_c_werror_flag"
82699                          || test ! -s conftest.err'
82700   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82701   (eval $ac_try) 2>&5
82702   ac_status=$?
82703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82704   (exit $ac_status); }; } &&
82705          { ac_try='test -s conftest$ac_exeext'
82706   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82707   (eval $ac_try) 2>&5
82708   ac_status=$?
82709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82710   (exit $ac_status); }; }; then
82711   eval "$as_ac_var=yes"
82712 else
82713   echo "$as_me: failed program was:" >&5
82714 sed 's/^/| /' conftest.$ac_ext >&5
82715
82716 eval "$as_ac_var=no"
82717 fi
82718 rm -f conftest.err conftest.$ac_objext \
82719       conftest$ac_exeext conftest.$ac_ext
82720 fi
82721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82722 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82723 if test `eval echo '${'$as_ac_var'}'` = yes; then
82724   cat >>confdefs.h <<_ACEOF
82725 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82726 _ACEOF
82727
82728 else
82729   ac_wfuncs=no
82730 fi
82731 done
82732
82733
82734     # Checks for names injected into std:: by the c_std headers.
82735
82736
82737
82738
82739
82740
82741
82742
82743
82744
82745
82746
82747
82748
82749
82750
82751
82752
82753
82754
82755
82756
82757
82758
82759
82760
82761
82762
82763
82764
82765
82766
82767
82768
82769
82770
82771
82772
82773
82774
82775
82776
82777
82778
82779
82780
82781 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
82782     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
82783     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
82784     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
82785     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
82786     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
82787 do
82788 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82789 echo "$as_me:$LINENO: checking for $ac_func" >&5
82790 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82791 if eval "test \"\${$as_ac_var+set}\" = set"; then
82792   echo $ECHO_N "(cached) $ECHO_C" >&6
82793 else
82794   if test x$gcc_no_link = xyes; then
82795   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82796 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82797    { (exit 1); exit 1; }; }
82798 fi
82799 cat >conftest.$ac_ext <<_ACEOF
82800 /* confdefs.h.  */
82801 _ACEOF
82802 cat confdefs.h >>conftest.$ac_ext
82803 cat >>conftest.$ac_ext <<_ACEOF
82804 /* end confdefs.h.  */
82805 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82806    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
82807 #define $ac_func innocuous_$ac_func
82808
82809 /* System header to define __stub macros and hopefully few prototypes,
82810     which can conflict with char $ac_func (); below.
82811     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82812     <limits.h> exists even on freestanding compilers.  */
82813
82814 #ifdef __STDC__
82815 # include <limits.h>
82816 #else
82817 # include <assert.h>
82818 #endif
82819
82820 #undef $ac_func
82821
82822 /* Override any gcc2 internal prototype to avoid an error.  */
82823 #ifdef __cplusplus
82824 extern "C"
82825 {
82826 #endif
82827 /* We use char because int might match the return type of a gcc2
82828    builtin and then its argument prototype would still apply.  */
82829 char $ac_func ();
82830 /* The GNU C library defines this for functions which it implements
82831     to always fail with ENOSYS.  Some functions are actually named
82832     something starting with __ and the normal name is an alias.  */
82833 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82834 choke me
82835 #else
82836 char (*f) () = $ac_func;
82837 #endif
82838 #ifdef __cplusplus
82839 }
82840 #endif
82841
82842 int
82843 main ()
82844 {
82845 return f != $ac_func;
82846   ;
82847   return 0;
82848 }
82849 _ACEOF
82850 rm -f conftest.$ac_objext conftest$ac_exeext
82851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82852   (eval $ac_link) 2>conftest.er1
82853   ac_status=$?
82854   grep -v '^ *+' conftest.er1 >conftest.err
82855   rm -f conftest.er1
82856   cat conftest.err >&5
82857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82858   (exit $ac_status); } &&
82859          { ac_try='test -z "$ac_c_werror_flag"
82860                          || test ! -s conftest.err'
82861   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82862   (eval $ac_try) 2>&5
82863   ac_status=$?
82864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82865   (exit $ac_status); }; } &&
82866          { ac_try='test -s conftest$ac_exeext'
82867   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82868   (eval $ac_try) 2>&5
82869   ac_status=$?
82870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82871   (exit $ac_status); }; }; then
82872   eval "$as_ac_var=yes"
82873 else
82874   echo "$as_me: failed program was:" >&5
82875 sed 's/^/| /' conftest.$ac_ext >&5
82876
82877 eval "$as_ac_var=no"
82878 fi
82879 rm -f conftest.err conftest.$ac_objext \
82880       conftest$ac_exeext conftest.$ac_ext
82881 fi
82882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82883 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82884 if test `eval echo '${'$as_ac_var'}'` = yes; then
82885   cat >>confdefs.h <<_ACEOF
82886 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82887 _ACEOF
82888
82889 else
82890   ac_wfuncs=no
82891 fi
82892 done
82893
82894
82895     # Checks for wide character functions that are not required
82896     # for basic wchar_t support.  Don't disable support if they are missing.
82897     # Injection of these is wrapped with guard macros.
82898
82899
82900
82901
82902
82903 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
82904 do
82905 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82906 echo "$as_me:$LINENO: checking for $ac_func" >&5
82907 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82908 if eval "test \"\${$as_ac_var+set}\" = set"; then
82909   echo $ECHO_N "(cached) $ECHO_C" >&6
82910 else
82911   if test x$gcc_no_link = xyes; then
82912   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82913 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82914    { (exit 1); exit 1; }; }
82915 fi
82916 cat >conftest.$ac_ext <<_ACEOF
82917 /* confdefs.h.  */
82918 _ACEOF
82919 cat confdefs.h >>conftest.$ac_ext
82920 cat >>conftest.$ac_ext <<_ACEOF
82921 /* end confdefs.h.  */
82922 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82923    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
82924 #define $ac_func innocuous_$ac_func
82925
82926 /* System header to define __stub macros and hopefully few prototypes,
82927     which can conflict with char $ac_func (); below.
82928     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82929     <limits.h> exists even on freestanding compilers.  */
82930
82931 #ifdef __STDC__
82932 # include <limits.h>
82933 #else
82934 # include <assert.h>
82935 #endif
82936
82937 #undef $ac_func
82938
82939 /* Override any gcc2 internal prototype to avoid an error.  */
82940 #ifdef __cplusplus
82941 extern "C"
82942 {
82943 #endif
82944 /* We use char because int might match the return type of a gcc2
82945    builtin and then its argument prototype would still apply.  */
82946 char $ac_func ();
82947 /* The GNU C library defines this for functions which it implements
82948     to always fail with ENOSYS.  Some functions are actually named
82949     something starting with __ and the normal name is an alias.  */
82950 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82951 choke me
82952 #else
82953 char (*f) () = $ac_func;
82954 #endif
82955 #ifdef __cplusplus
82956 }
82957 #endif
82958
82959 int
82960 main ()
82961 {
82962 return f != $ac_func;
82963   ;
82964   return 0;
82965 }
82966 _ACEOF
82967 rm -f conftest.$ac_objext conftest$ac_exeext
82968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82969   (eval $ac_link) 2>conftest.er1
82970   ac_status=$?
82971   grep -v '^ *+' conftest.er1 >conftest.err
82972   rm -f conftest.er1
82973   cat conftest.err >&5
82974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82975   (exit $ac_status); } &&
82976          { ac_try='test -z "$ac_c_werror_flag"
82977                          || test ! -s conftest.err'
82978   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82979   (eval $ac_try) 2>&5
82980   ac_status=$?
82981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82982   (exit $ac_status); }; } &&
82983          { ac_try='test -s conftest$ac_exeext'
82984   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82985   (eval $ac_try) 2>&5
82986   ac_status=$?
82987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
82988   (exit $ac_status); }; }; then
82989   eval "$as_ac_var=yes"
82990 else
82991   echo "$as_me: failed program was:" >&5
82992 sed 's/^/| /' conftest.$ac_ext >&5
82993
82994 eval "$as_ac_var=no"
82995 fi
82996 rm -f conftest.err conftest.$ac_objext \
82997       conftest$ac_exeext conftest.$ac_ext
82998 fi
82999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83000 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83001 if test `eval echo '${'$as_ac_var'}'` = yes; then
83002   cat >>confdefs.h <<_ACEOF
83003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83004 _ACEOF
83005
83006 fi
83007 done
83008
83009
83010     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
83011 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
83012     if test x"$has_weof" = xyes &&
83013        test x"$has_wchar_minmax" = xyes &&
83014        test x"$ac_wfuncs" = xyes;
83015     then
83016       ac_isoC99_wchar_t=yes
83017     else
83018       ac_isoC99_wchar_t=no
83019     fi
83020     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
83021 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
83022
83023     # Use iconv for wchar_t to char conversions. As such, check for
83024     # X/Open Portability Guide, version 2 features (XPG2).
83025     if test "${ac_cv_header_iconv_h+set}" = set; then
83026   echo "$as_me:$LINENO: checking for iconv.h" >&5
83027 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
83028 if test "${ac_cv_header_iconv_h+set}" = set; then
83029   echo $ECHO_N "(cached) $ECHO_C" >&6
83030 fi
83031 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
83032 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
83033 else
83034   # Is the header compilable?
83035 echo "$as_me:$LINENO: checking iconv.h usability" >&5
83036 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
83037 cat >conftest.$ac_ext <<_ACEOF
83038 /* confdefs.h.  */
83039 _ACEOF
83040 cat confdefs.h >>conftest.$ac_ext
83041 cat >>conftest.$ac_ext <<_ACEOF
83042 /* end confdefs.h.  */
83043 $ac_includes_default
83044 #include <iconv.h>
83045 _ACEOF
83046 rm -f conftest.$ac_objext
83047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83048   (eval $ac_compile) 2>conftest.er1
83049   ac_status=$?
83050   grep -v '^ *+' conftest.er1 >conftest.err
83051   rm -f conftest.er1
83052   cat conftest.err >&5
83053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83054   (exit $ac_status); } &&
83055          { ac_try='test -z "$ac_c_werror_flag"
83056                          || test ! -s conftest.err'
83057   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83058   (eval $ac_try) 2>&5
83059   ac_status=$?
83060   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83061   (exit $ac_status); }; } &&
83062          { ac_try='test -s conftest.$ac_objext'
83063   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83064   (eval $ac_try) 2>&5
83065   ac_status=$?
83066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83067   (exit $ac_status); }; }; then
83068   ac_header_compiler=yes
83069 else
83070   echo "$as_me: failed program was:" >&5
83071 sed 's/^/| /' conftest.$ac_ext >&5
83072
83073 ac_header_compiler=no
83074 fi
83075 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83076 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
83077 echo "${ECHO_T}$ac_header_compiler" >&6
83078
83079 # Is the header present?
83080 echo "$as_me:$LINENO: checking iconv.h presence" >&5
83081 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
83082 cat >conftest.$ac_ext <<_ACEOF
83083 /* confdefs.h.  */
83084 _ACEOF
83085 cat confdefs.h >>conftest.$ac_ext
83086 cat >>conftest.$ac_ext <<_ACEOF
83087 /* end confdefs.h.  */
83088 #include <iconv.h>
83089 _ACEOF
83090 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
83091   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
83092   ac_status=$?
83093   grep -v '^ *+' conftest.er1 >conftest.err
83094   rm -f conftest.er1
83095   cat conftest.err >&5
83096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83097   (exit $ac_status); } >/dev/null; then
83098   if test -s conftest.err; then
83099     ac_cpp_err=$ac_c_preproc_warn_flag
83100     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
83101   else
83102     ac_cpp_err=
83103   fi
83104 else
83105   ac_cpp_err=yes
83106 fi
83107 if test -z "$ac_cpp_err"; then
83108   ac_header_preproc=yes
83109 else
83110   echo "$as_me: failed program was:" >&5
83111 sed 's/^/| /' conftest.$ac_ext >&5
83112
83113   ac_header_preproc=no
83114 fi
83115 rm -f conftest.err conftest.$ac_ext
83116 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
83117 echo "${ECHO_T}$ac_header_preproc" >&6
83118
83119 # So?  What about this header?
83120 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
83121   yes:no: )
83122     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
83123 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
83124     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
83125 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
83126     ac_header_preproc=yes
83127     ;;
83128   no:yes:* )
83129     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
83130 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
83131     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
83132 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
83133     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
83134 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
83135     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
83136 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
83137     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
83138 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
83139     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
83140 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
83141     (
83142       cat <<\_ASBOX
83143 ## ----------------------------------------- ##
83144 ## Report this to the package-unused lists.  ##
83145 ## ----------------------------------------- ##
83146 _ASBOX
83147     ) |
83148       sed "s/^/$as_me: WARNING:     /" >&2
83149     ;;
83150 esac
83151 echo "$as_me:$LINENO: checking for iconv.h" >&5
83152 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
83153 if test "${ac_cv_header_iconv_h+set}" = set; then
83154   echo $ECHO_N "(cached) $ECHO_C" >&6
83155 else
83156   ac_cv_header_iconv_h=$ac_header_preproc
83157 fi
83158 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
83159 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
83160
83161 fi
83162 if test $ac_cv_header_iconv_h = yes; then
83163   ac_has_iconv_h=yes
83164 else
83165   ac_has_iconv_h=no
83166 fi
83167
83168
83169     if test "${ac_cv_header_langinfo_h+set}" = set; then
83170   echo "$as_me:$LINENO: checking for langinfo.h" >&5
83171 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
83172 if test "${ac_cv_header_langinfo_h+set}" = set; then
83173   echo $ECHO_N "(cached) $ECHO_C" >&6
83174 fi
83175 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
83176 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
83177 else
83178   # Is the header compilable?
83179 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
83180 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
83181 cat >conftest.$ac_ext <<_ACEOF
83182 /* confdefs.h.  */
83183 _ACEOF
83184 cat confdefs.h >>conftest.$ac_ext
83185 cat >>conftest.$ac_ext <<_ACEOF
83186 /* end confdefs.h.  */
83187 $ac_includes_default
83188 #include <langinfo.h>
83189 _ACEOF
83190 rm -f conftest.$ac_objext
83191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83192   (eval $ac_compile) 2>conftest.er1
83193   ac_status=$?
83194   grep -v '^ *+' conftest.er1 >conftest.err
83195   rm -f conftest.er1
83196   cat conftest.err >&5
83197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83198   (exit $ac_status); } &&
83199          { ac_try='test -z "$ac_c_werror_flag"
83200                          || test ! -s conftest.err'
83201   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83202   (eval $ac_try) 2>&5
83203   ac_status=$?
83204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83205   (exit $ac_status); }; } &&
83206          { ac_try='test -s conftest.$ac_objext'
83207   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83208   (eval $ac_try) 2>&5
83209   ac_status=$?
83210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83211   (exit $ac_status); }; }; then
83212   ac_header_compiler=yes
83213 else
83214   echo "$as_me: failed program was:" >&5
83215 sed 's/^/| /' conftest.$ac_ext >&5
83216
83217 ac_header_compiler=no
83218 fi
83219 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83220 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
83221 echo "${ECHO_T}$ac_header_compiler" >&6
83222
83223 # Is the header present?
83224 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
83225 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
83226 cat >conftest.$ac_ext <<_ACEOF
83227 /* confdefs.h.  */
83228 _ACEOF
83229 cat confdefs.h >>conftest.$ac_ext
83230 cat >>conftest.$ac_ext <<_ACEOF
83231 /* end confdefs.h.  */
83232 #include <langinfo.h>
83233 _ACEOF
83234 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
83235   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
83236   ac_status=$?
83237   grep -v '^ *+' conftest.er1 >conftest.err
83238   rm -f conftest.er1
83239   cat conftest.err >&5
83240   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83241   (exit $ac_status); } >/dev/null; then
83242   if test -s conftest.err; then
83243     ac_cpp_err=$ac_c_preproc_warn_flag
83244     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
83245   else
83246     ac_cpp_err=
83247   fi
83248 else
83249   ac_cpp_err=yes
83250 fi
83251 if test -z "$ac_cpp_err"; then
83252   ac_header_preproc=yes
83253 else
83254   echo "$as_me: failed program was:" >&5
83255 sed 's/^/| /' conftest.$ac_ext >&5
83256
83257   ac_header_preproc=no
83258 fi
83259 rm -f conftest.err conftest.$ac_ext
83260 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
83261 echo "${ECHO_T}$ac_header_preproc" >&6
83262
83263 # So?  What about this header?
83264 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
83265   yes:no: )
83266     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
83267 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
83268     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
83269 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
83270     ac_header_preproc=yes
83271     ;;
83272   no:yes:* )
83273     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
83274 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
83275     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
83276 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
83277     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
83278 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
83279     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
83280 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
83281     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
83282 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
83283     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
83284 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
83285     (
83286       cat <<\_ASBOX
83287 ## ----------------------------------------- ##
83288 ## Report this to the package-unused lists.  ##
83289 ## ----------------------------------------- ##
83290 _ASBOX
83291     ) |
83292       sed "s/^/$as_me: WARNING:     /" >&2
83293     ;;
83294 esac
83295 echo "$as_me:$LINENO: checking for langinfo.h" >&5
83296 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
83297 if test "${ac_cv_header_langinfo_h+set}" = set; then
83298   echo $ECHO_N "(cached) $ECHO_C" >&6
83299 else
83300   ac_cv_header_langinfo_h=$ac_header_preproc
83301 fi
83302 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
83303 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
83304
83305 fi
83306 if test $ac_cv_header_langinfo_h = yes; then
83307   ac_has_langinfo_h=yes
83308 else
83309   ac_has_langinfo_h=no
83310 fi
83311
83312
83313
83314     # Check for existence of libiconv.a providing XPG2 wchar_t support.
83315     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
83316 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
83317 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
83318   echo $ECHO_N "(cached) $ECHO_C" >&6
83319 else
83320   ac_check_lib_save_LIBS=$LIBS
83321 LIBS="-liconv  $LIBS"
83322 if test x$gcc_no_link = xyes; then
83323   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83324 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83325    { (exit 1); exit 1; }; }
83326 fi
83327 cat >conftest.$ac_ext <<_ACEOF
83328 /* confdefs.h.  */
83329 _ACEOF
83330 cat confdefs.h >>conftest.$ac_ext
83331 cat >>conftest.$ac_ext <<_ACEOF
83332 /* end confdefs.h.  */
83333
83334 /* Override any gcc2 internal prototype to avoid an error.  */
83335 #ifdef __cplusplus
83336 extern "C"
83337 #endif
83338 /* We use char because int might match the return type of a gcc2
83339    builtin and then its argument prototype would still apply.  */
83340 char iconv ();
83341 int
83342 main ()
83343 {
83344 iconv ();
83345   ;
83346   return 0;
83347 }
83348 _ACEOF
83349 rm -f conftest.$ac_objext conftest$ac_exeext
83350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83351   (eval $ac_link) 2>conftest.er1
83352   ac_status=$?
83353   grep -v '^ *+' conftest.er1 >conftest.err
83354   rm -f conftest.er1
83355   cat conftest.err >&5
83356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83357   (exit $ac_status); } &&
83358          { ac_try='test -z "$ac_c_werror_flag"
83359                          || test ! -s conftest.err'
83360   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83361   (eval $ac_try) 2>&5
83362   ac_status=$?
83363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83364   (exit $ac_status); }; } &&
83365          { ac_try='test -s conftest$ac_exeext'
83366   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83367   (eval $ac_try) 2>&5
83368   ac_status=$?
83369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83370   (exit $ac_status); }; }; then
83371   ac_cv_lib_iconv_iconv=yes
83372 else
83373   echo "$as_me: failed program was:" >&5
83374 sed 's/^/| /' conftest.$ac_ext >&5
83375
83376 ac_cv_lib_iconv_iconv=no
83377 fi
83378 rm -f conftest.err conftest.$ac_objext \
83379       conftest$ac_exeext conftest.$ac_ext
83380 LIBS=$ac_check_lib_save_LIBS
83381 fi
83382 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
83383 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
83384 if test $ac_cv_lib_iconv_iconv = yes; then
83385   LIBICONV="-liconv"
83386 fi
83387
83388     ac_save_LIBS="$LIBS"
83389     LIBS="$LIBS $LIBICONV"
83390
83391
83392
83393
83394
83395
83396 for ac_func in iconv_open iconv_close iconv nl_langinfo
83397 do
83398 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83399 echo "$as_me:$LINENO: checking for $ac_func" >&5
83400 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83401 if eval "test \"\${$as_ac_var+set}\" = set"; then
83402   echo $ECHO_N "(cached) $ECHO_C" >&6
83403 else
83404   if test x$gcc_no_link = xyes; then
83405   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83406 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83407    { (exit 1); exit 1; }; }
83408 fi
83409 cat >conftest.$ac_ext <<_ACEOF
83410 /* confdefs.h.  */
83411 _ACEOF
83412 cat confdefs.h >>conftest.$ac_ext
83413 cat >>conftest.$ac_ext <<_ACEOF
83414 /* end confdefs.h.  */
83415 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83416    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
83417 #define $ac_func innocuous_$ac_func
83418
83419 /* System header to define __stub macros and hopefully few prototypes,
83420     which can conflict with char $ac_func (); below.
83421     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83422     <limits.h> exists even on freestanding compilers.  */
83423
83424 #ifdef __STDC__
83425 # include <limits.h>
83426 #else
83427 # include <assert.h>
83428 #endif
83429
83430 #undef $ac_func
83431
83432 /* Override any gcc2 internal prototype to avoid an error.  */
83433 #ifdef __cplusplus
83434 extern "C"
83435 {
83436 #endif
83437 /* We use char because int might match the return type of a gcc2
83438    builtin and then its argument prototype would still apply.  */
83439 char $ac_func ();
83440 /* The GNU C library defines this for functions which it implements
83441     to always fail with ENOSYS.  Some functions are actually named
83442     something starting with __ and the normal name is an alias.  */
83443 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83444 choke me
83445 #else
83446 char (*f) () = $ac_func;
83447 #endif
83448 #ifdef __cplusplus
83449 }
83450 #endif
83451
83452 int
83453 main ()
83454 {
83455 return f != $ac_func;
83456   ;
83457   return 0;
83458 }
83459 _ACEOF
83460 rm -f conftest.$ac_objext conftest$ac_exeext
83461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83462   (eval $ac_link) 2>conftest.er1
83463   ac_status=$?
83464   grep -v '^ *+' conftest.er1 >conftest.err
83465   rm -f conftest.er1
83466   cat conftest.err >&5
83467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83468   (exit $ac_status); } &&
83469          { ac_try='test -z "$ac_c_werror_flag"
83470                          || test ! -s conftest.err'
83471   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83472   (eval $ac_try) 2>&5
83473   ac_status=$?
83474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83475   (exit $ac_status); }; } &&
83476          { ac_try='test -s conftest$ac_exeext'
83477   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83478   (eval $ac_try) 2>&5
83479   ac_status=$?
83480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83481   (exit $ac_status); }; }; then
83482   eval "$as_ac_var=yes"
83483 else
83484   echo "$as_me: failed program was:" >&5
83485 sed 's/^/| /' conftest.$ac_ext >&5
83486
83487 eval "$as_ac_var=no"
83488 fi
83489 rm -f conftest.err conftest.$ac_objext \
83490       conftest$ac_exeext conftest.$ac_ext
83491 fi
83492 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83493 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83494 if test `eval echo '${'$as_ac_var'}'` = yes; then
83495   cat >>confdefs.h <<_ACEOF
83496 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83497 _ACEOF
83498  ac_XPG2funcs=yes
83499 else
83500   ac_XPG2funcs=no
83501 fi
83502 done
83503
83504
83505     LIBS="$ac_save_LIBS"
83506
83507     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
83508 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
83509     if test x"$ac_has_iconv_h" = xyes &&
83510        test x"$ac_has_langinfo_h" = xyes &&
83511        test x"$ac_XPG2funcs" = xyes;
83512     then
83513       ac_XPG2_wchar_t=yes
83514     else
83515       ac_XPG2_wchar_t=no
83516     fi
83517     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
83518 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
83519
83520     # At the moment, only enable wchar_t specializations if all the
83521     # above support is present.
83522     if test x"$ac_isoC99_wchar_t" = xyes &&
83523        test x"$ac_XPG2_wchar_t" = xyes;
83524     then
83525       cat >>confdefs.h <<\_ACEOF
83526 #define _GLIBCXX_USE_WCHAR_T 1
83527 _ACEOF
83528
83529       enable_wchar_t=yes
83530     fi
83531   fi
83532   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
83533 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
83534   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
83535 echo "${ECHO_T}$enable_wchar_t" >&6
83536
83537
83538     # For LFS.
83539     cat >>confdefs.h <<\_ACEOF
83540 #define HAVE_INT64_T 1
83541 _ACEOF
83542
83543     case "$target" in
83544       *-uclinux*)
83545         # Don't enable LFS with uClibc
83546         ;;
83547       *)
83548         cat >>confdefs.h <<\_ACEOF
83549 #define _GLIBCXX_USE_LFS 1
83550 _ACEOF
83551
83552     esac
83553
83554     # For showmanyc_helper().
83555
83556
83557 for ac_header in sys/ioctl.h sys/filio.h
83558 do
83559 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
83560 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83561   echo "$as_me:$LINENO: checking for $ac_header" >&5
83562 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83563 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83564   echo $ECHO_N "(cached) $ECHO_C" >&6
83565 fi
83566 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83567 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83568 else
83569   # Is the header compilable?
83570 echo "$as_me:$LINENO: checking $ac_header usability" >&5
83571 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
83572 cat >conftest.$ac_ext <<_ACEOF
83573 /* confdefs.h.  */
83574 _ACEOF
83575 cat confdefs.h >>conftest.$ac_ext
83576 cat >>conftest.$ac_ext <<_ACEOF
83577 /* end confdefs.h.  */
83578 $ac_includes_default
83579 #include <$ac_header>
83580 _ACEOF
83581 rm -f conftest.$ac_objext
83582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83583   (eval $ac_compile) 2>conftest.er1
83584   ac_status=$?
83585   grep -v '^ *+' conftest.er1 >conftest.err
83586   rm -f conftest.er1
83587   cat conftest.err >&5
83588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83589   (exit $ac_status); } &&
83590          { ac_try='test -z "$ac_c_werror_flag"
83591                          || test ! -s conftest.err'
83592   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83593   (eval $ac_try) 2>&5
83594   ac_status=$?
83595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83596   (exit $ac_status); }; } &&
83597          { ac_try='test -s conftest.$ac_objext'
83598   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83599   (eval $ac_try) 2>&5
83600   ac_status=$?
83601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83602   (exit $ac_status); }; }; then
83603   ac_header_compiler=yes
83604 else
83605   echo "$as_me: failed program was:" >&5
83606 sed 's/^/| /' conftest.$ac_ext >&5
83607
83608 ac_header_compiler=no
83609 fi
83610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83611 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
83612 echo "${ECHO_T}$ac_header_compiler" >&6
83613
83614 # Is the header present?
83615 echo "$as_me:$LINENO: checking $ac_header presence" >&5
83616 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
83617 cat >conftest.$ac_ext <<_ACEOF
83618 /* confdefs.h.  */
83619 _ACEOF
83620 cat confdefs.h >>conftest.$ac_ext
83621 cat >>conftest.$ac_ext <<_ACEOF
83622 /* end confdefs.h.  */
83623 #include <$ac_header>
83624 _ACEOF
83625 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
83626   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
83627   ac_status=$?
83628   grep -v '^ *+' conftest.er1 >conftest.err
83629   rm -f conftest.er1
83630   cat conftest.err >&5
83631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83632   (exit $ac_status); } >/dev/null; then
83633   if test -s conftest.err; then
83634     ac_cpp_err=$ac_c_preproc_warn_flag
83635     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
83636   else
83637     ac_cpp_err=
83638   fi
83639 else
83640   ac_cpp_err=yes
83641 fi
83642 if test -z "$ac_cpp_err"; then
83643   ac_header_preproc=yes
83644 else
83645   echo "$as_me: failed program was:" >&5
83646 sed 's/^/| /' conftest.$ac_ext >&5
83647
83648   ac_header_preproc=no
83649 fi
83650 rm -f conftest.err conftest.$ac_ext
83651 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
83652 echo "${ECHO_T}$ac_header_preproc" >&6
83653
83654 # So?  What about this header?
83655 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
83656   yes:no: )
83657     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
83658 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
83659     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
83660 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
83661     ac_header_preproc=yes
83662     ;;
83663   no:yes:* )
83664     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
83665 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
83666     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
83667 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
83668     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
83669 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
83670     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
83671 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
83672     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
83673 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
83674     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
83675 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
83676     (
83677       cat <<\_ASBOX
83678 ## ----------------------------------------- ##
83679 ## Report this to the package-unused lists.  ##
83680 ## ----------------------------------------- ##
83681 _ASBOX
83682     ) |
83683       sed "s/^/$as_me: WARNING:     /" >&2
83684     ;;
83685 esac
83686 echo "$as_me:$LINENO: checking for $ac_header" >&5
83687 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83688 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83689   echo $ECHO_N "(cached) $ECHO_C" >&6
83690 else
83691   eval "$as_ac_Header=\$ac_header_preproc"
83692 fi
83693 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83694 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83695
83696 fi
83697 if test `eval echo '${'$as_ac_Header'}'` = yes; then
83698   cat >>confdefs.h <<_ACEOF
83699 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
83700 _ACEOF
83701
83702 fi
83703
83704 done
83705
83706
83707   if test "${glibcxx_cv_POLL+set}" = set; then
83708   echo $ECHO_N "(cached) $ECHO_C" >&6
83709 else
83710
83711     if test x$gcc_no_link = xyes; then
83712   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83713 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83714    { (exit 1); exit 1; }; }
83715 fi
83716 cat >conftest.$ac_ext <<_ACEOF
83717 /* confdefs.h.  */
83718 _ACEOF
83719 cat confdefs.h >>conftest.$ac_ext
83720 cat >>conftest.$ac_ext <<_ACEOF
83721 /* end confdefs.h.  */
83722 #include <poll.h>
83723 int
83724 main ()
83725 {
83726 struct pollfd pfd[1];
83727        pfd[0].events = POLLIN;
83728        poll(pfd, 1, 0);
83729   ;
83730   return 0;
83731 }
83732 _ACEOF
83733 rm -f conftest.$ac_objext conftest$ac_exeext
83734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83735   (eval $ac_link) 2>conftest.er1
83736   ac_status=$?
83737   grep -v '^ *+' conftest.er1 >conftest.err
83738   rm -f conftest.er1
83739   cat conftest.err >&5
83740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83741   (exit $ac_status); } &&
83742          { ac_try='test -z "$ac_c_werror_flag"
83743                          || test ! -s conftest.err'
83744   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83745   (eval $ac_try) 2>&5
83746   ac_status=$?
83747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83748   (exit $ac_status); }; } &&
83749          { ac_try='test -s conftest$ac_exeext'
83750   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83751   (eval $ac_try) 2>&5
83752   ac_status=$?
83753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83754   (exit $ac_status); }; }; then
83755   glibcxx_cv_POLL=yes
83756 else
83757   echo "$as_me: failed program was:" >&5
83758 sed 's/^/| /' conftest.$ac_ext >&5
83759
83760 glibcxx_cv_POLL=no
83761 fi
83762 rm -f conftest.err conftest.$ac_objext \
83763       conftest$ac_exeext conftest.$ac_ext
83764
83765 fi
83766
83767   if test $glibcxx_cv_POLL = yes; then
83768     cat >>confdefs.h <<\_ACEOF
83769 #define HAVE_POLL 1
83770 _ACEOF
83771
83772   fi
83773
83774
83775   if test "${glibcxx_cv_S_ISREG+set}" = set; then
83776   echo $ECHO_N "(cached) $ECHO_C" >&6
83777 else
83778
83779     if test x$gcc_no_link = xyes; then
83780   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83781 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83782    { (exit 1); exit 1; }; }
83783 fi
83784 cat >conftest.$ac_ext <<_ACEOF
83785 /* confdefs.h.  */
83786 _ACEOF
83787 cat confdefs.h >>conftest.$ac_ext
83788 cat >>conftest.$ac_ext <<_ACEOF
83789 /* end confdefs.h.  */
83790 #include <sys/stat.h>
83791 int
83792 main ()
83793 {
83794 struct stat buffer;
83795        fstat(0, &buffer);
83796        S_ISREG(buffer.st_mode);
83797   ;
83798   return 0;
83799 }
83800 _ACEOF
83801 rm -f conftest.$ac_objext conftest$ac_exeext
83802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83803   (eval $ac_link) 2>conftest.er1
83804   ac_status=$?
83805   grep -v '^ *+' conftest.er1 >conftest.err
83806   rm -f conftest.er1
83807   cat conftest.err >&5
83808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83809   (exit $ac_status); } &&
83810          { ac_try='test -z "$ac_c_werror_flag"
83811                          || test ! -s conftest.err'
83812   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83813   (eval $ac_try) 2>&5
83814   ac_status=$?
83815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83816   (exit $ac_status); }; } &&
83817          { ac_try='test -s conftest$ac_exeext'
83818   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83819   (eval $ac_try) 2>&5
83820   ac_status=$?
83821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83822   (exit $ac_status); }; }; then
83823   glibcxx_cv_S_ISREG=yes
83824 else
83825   echo "$as_me: failed program was:" >&5
83826 sed 's/^/| /' conftest.$ac_ext >&5
83827
83828 glibcxx_cv_S_ISREG=no
83829 fi
83830 rm -f conftest.err conftest.$ac_objext \
83831       conftest$ac_exeext conftest.$ac_ext
83832
83833 fi
83834
83835   if test "${glibcxx_cv_S_IFREG+set}" = set; then
83836   echo $ECHO_N "(cached) $ECHO_C" >&6
83837 else
83838
83839     if test x$gcc_no_link = xyes; then
83840   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83841 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83842    { (exit 1); exit 1; }; }
83843 fi
83844 cat >conftest.$ac_ext <<_ACEOF
83845 /* confdefs.h.  */
83846 _ACEOF
83847 cat confdefs.h >>conftest.$ac_ext
83848 cat >>conftest.$ac_ext <<_ACEOF
83849 /* end confdefs.h.  */
83850 #include <sys/stat.h>
83851 int
83852 main ()
83853 {
83854 struct stat buffer;
83855        fstat(0, &buffer);
83856        S_IFREG & buffer.st_mode;
83857   ;
83858   return 0;
83859 }
83860 _ACEOF
83861 rm -f conftest.$ac_objext conftest$ac_exeext
83862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83863   (eval $ac_link) 2>conftest.er1
83864   ac_status=$?
83865   grep -v '^ *+' conftest.er1 >conftest.err
83866   rm -f conftest.er1
83867   cat conftest.err >&5
83868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83869   (exit $ac_status); } &&
83870          { ac_try='test -z "$ac_c_werror_flag"
83871                          || test ! -s conftest.err'
83872   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83873   (eval $ac_try) 2>&5
83874   ac_status=$?
83875   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83876   (exit $ac_status); }; } &&
83877          { ac_try='test -s conftest$ac_exeext'
83878   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83879   (eval $ac_try) 2>&5
83880   ac_status=$?
83881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83882   (exit $ac_status); }; }; then
83883   glibcxx_cv_S_IFREG=yes
83884 else
83885   echo "$as_me: failed program was:" >&5
83886 sed 's/^/| /' conftest.$ac_ext >&5
83887
83888 glibcxx_cv_S_IFREG=no
83889 fi
83890 rm -f conftest.err conftest.$ac_objext \
83891       conftest$ac_exeext conftest.$ac_ext
83892
83893 fi
83894
83895   if test $glibcxx_cv_S_ISREG = yes; then
83896     cat >>confdefs.h <<\_ACEOF
83897 #define HAVE_S_ISREG 1
83898 _ACEOF
83899
83900   elif test $glibcxx_cv_S_IFREG = yes; then
83901     cat >>confdefs.h <<\_ACEOF
83902 #define HAVE_S_IFREG 1
83903 _ACEOF
83904
83905   fi
83906
83907
83908     # For xsputn_2().
83909
83910 for ac_header in sys/uio.h
83911 do
83912 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
83913 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83914   echo "$as_me:$LINENO: checking for $ac_header" >&5
83915 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83916 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83917   echo $ECHO_N "(cached) $ECHO_C" >&6
83918 fi
83919 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83920 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83921 else
83922   # Is the header compilable?
83923 echo "$as_me:$LINENO: checking $ac_header usability" >&5
83924 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
83925 cat >conftest.$ac_ext <<_ACEOF
83926 /* confdefs.h.  */
83927 _ACEOF
83928 cat confdefs.h >>conftest.$ac_ext
83929 cat >>conftest.$ac_ext <<_ACEOF
83930 /* end confdefs.h.  */
83931 $ac_includes_default
83932 #include <$ac_header>
83933 _ACEOF
83934 rm -f conftest.$ac_objext
83935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83936   (eval $ac_compile) 2>conftest.er1
83937   ac_status=$?
83938   grep -v '^ *+' conftest.er1 >conftest.err
83939   rm -f conftest.er1
83940   cat conftest.err >&5
83941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83942   (exit $ac_status); } &&
83943          { ac_try='test -z "$ac_c_werror_flag"
83944                          || test ! -s conftest.err'
83945   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83946   (eval $ac_try) 2>&5
83947   ac_status=$?
83948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83949   (exit $ac_status); }; } &&
83950          { ac_try='test -s conftest.$ac_objext'
83951   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83952   (eval $ac_try) 2>&5
83953   ac_status=$?
83954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83955   (exit $ac_status); }; }; then
83956   ac_header_compiler=yes
83957 else
83958   echo "$as_me: failed program was:" >&5
83959 sed 's/^/| /' conftest.$ac_ext >&5
83960
83961 ac_header_compiler=no
83962 fi
83963 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83964 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
83965 echo "${ECHO_T}$ac_header_compiler" >&6
83966
83967 # Is the header present?
83968 echo "$as_me:$LINENO: checking $ac_header presence" >&5
83969 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
83970 cat >conftest.$ac_ext <<_ACEOF
83971 /* confdefs.h.  */
83972 _ACEOF
83973 cat confdefs.h >>conftest.$ac_ext
83974 cat >>conftest.$ac_ext <<_ACEOF
83975 /* end confdefs.h.  */
83976 #include <$ac_header>
83977 _ACEOF
83978 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
83979   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
83980   ac_status=$?
83981   grep -v '^ *+' conftest.er1 >conftest.err
83982   rm -f conftest.er1
83983   cat conftest.err >&5
83984   echo "$as_me:$LINENO: \$? = $ac_status" >&5
83985   (exit $ac_status); } >/dev/null; then
83986   if test -s conftest.err; then
83987     ac_cpp_err=$ac_c_preproc_warn_flag
83988     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
83989   else
83990     ac_cpp_err=
83991   fi
83992 else
83993   ac_cpp_err=yes
83994 fi
83995 if test -z "$ac_cpp_err"; then
83996   ac_header_preproc=yes
83997 else
83998   echo "$as_me: failed program was:" >&5
83999 sed 's/^/| /' conftest.$ac_ext >&5
84000
84001   ac_header_preproc=no
84002 fi
84003 rm -f conftest.err conftest.$ac_ext
84004 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84005 echo "${ECHO_T}$ac_header_preproc" >&6
84006
84007 # So?  What about this header?
84008 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84009   yes:no: )
84010     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
84011 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
84012     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
84013 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
84014     ac_header_preproc=yes
84015     ;;
84016   no:yes:* )
84017     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
84018 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
84019     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
84020 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
84021     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
84022 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
84023     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
84024 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
84025     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
84026 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
84027     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
84028 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
84029     (
84030       cat <<\_ASBOX
84031 ## ----------------------------------------- ##
84032 ## Report this to the package-unused lists.  ##
84033 ## ----------------------------------------- ##
84034 _ASBOX
84035     ) |
84036       sed "s/^/$as_me: WARNING:     /" >&2
84037     ;;
84038 esac
84039 echo "$as_me:$LINENO: checking for $ac_header" >&5
84040 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84041 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84042   echo $ECHO_N "(cached) $ECHO_C" >&6
84043 else
84044   eval "$as_ac_Header=\$ac_header_preproc"
84045 fi
84046 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84047 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84048
84049 fi
84050 if test `eval echo '${'$as_ac_Header'}'` = yes; then
84051   cat >>confdefs.h <<_ACEOF
84052 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
84053 _ACEOF
84054
84055 fi
84056
84057 done
84058
84059
84060   if test "${glibcxx_cv_WRITEV+set}" = set; then
84061   echo $ECHO_N "(cached) $ECHO_C" >&6
84062 else
84063
84064     if test x$gcc_no_link = xyes; then
84065   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84066 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84067    { (exit 1); exit 1; }; }
84068 fi
84069 cat >conftest.$ac_ext <<_ACEOF
84070 /* confdefs.h.  */
84071 _ACEOF
84072 cat confdefs.h >>conftest.$ac_ext
84073 cat >>conftest.$ac_ext <<_ACEOF
84074 /* end confdefs.h.  */
84075 #include <sys/uio.h>
84076 int
84077 main ()
84078 {
84079 struct iovec iov[2];
84080        writev(0, iov, 0);
84081   ;
84082   return 0;
84083 }
84084 _ACEOF
84085 rm -f conftest.$ac_objext conftest$ac_exeext
84086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84087   (eval $ac_link) 2>conftest.er1
84088   ac_status=$?
84089   grep -v '^ *+' conftest.er1 >conftest.err
84090   rm -f conftest.er1
84091   cat conftest.err >&5
84092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84093   (exit $ac_status); } &&
84094          { ac_try='test -z "$ac_c_werror_flag"
84095                          || test ! -s conftest.err'
84096   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84097   (eval $ac_try) 2>&5
84098   ac_status=$?
84099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84100   (exit $ac_status); }; } &&
84101          { ac_try='test -s conftest$ac_exeext'
84102   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84103   (eval $ac_try) 2>&5
84104   ac_status=$?
84105   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84106   (exit $ac_status); }; }; then
84107   glibcxx_cv_WRITEV=yes
84108 else
84109   echo "$as_me: failed program was:" >&5
84110 sed 's/^/| /' conftest.$ac_ext >&5
84111
84112 glibcxx_cv_WRITEV=no
84113 fi
84114 rm -f conftest.err conftest.$ac_objext \
84115       conftest$ac_exeext conftest.$ac_ext
84116
84117 fi
84118
84119   if test $glibcxx_cv_WRITEV = yes; then
84120     cat >>confdefs.h <<\_ACEOF
84121 #define HAVE_WRITEV 1
84122 _ACEOF
84123
84124   fi
84125
84126
84127     cat >>confdefs.h <<\_ACEOF
84128 #define HAVE_ACOSF 1
84129 _ACEOF
84130
84131     cat >>confdefs.h <<\_ACEOF
84132 #define HAVE_ASINF 1
84133 _ACEOF
84134
84135     cat >>confdefs.h <<\_ACEOF
84136 #define HAVE_ATANF 1
84137 _ACEOF
84138
84139     cat >>confdefs.h <<\_ACEOF
84140 #define HAVE_ATAN2F 1
84141 _ACEOF
84142
84143     cat >>confdefs.h <<\_ACEOF
84144 #define HAVE_CEILF 1
84145 _ACEOF
84146
84147     cat >>confdefs.h <<\_ACEOF
84148 #define HAVE_COPYSIGN 1
84149 _ACEOF
84150
84151     cat >>confdefs.h <<\_ACEOF
84152 #define HAVE_COPYSIGNF 1
84153 _ACEOF
84154
84155     cat >>confdefs.h <<\_ACEOF
84156 #define HAVE_COSF 1
84157 _ACEOF
84158
84159     cat >>confdefs.h <<\_ACEOF
84160 #define HAVE_COSHF 1
84161 _ACEOF
84162
84163     cat >>confdefs.h <<\_ACEOF
84164 #define HAVE_EXPF 1
84165 _ACEOF
84166
84167     cat >>confdefs.h <<\_ACEOF
84168 #define HAVE_FABSF 1
84169 _ACEOF
84170
84171     cat >>confdefs.h <<\_ACEOF
84172 #define HAVE_FINITE 1
84173 _ACEOF
84174
84175     cat >>confdefs.h <<\_ACEOF
84176 #define HAVE_FINITEF 1
84177 _ACEOF
84178
84179     cat >>confdefs.h <<\_ACEOF
84180 #define HAVE_FLOORF 1
84181 _ACEOF
84182
84183     cat >>confdefs.h <<\_ACEOF
84184 #define HAVE_FMODF 1
84185 _ACEOF
84186
84187     cat >>confdefs.h <<\_ACEOF
84188 #define HAVE_FREXPF 1
84189 _ACEOF
84190
84191     cat >>confdefs.h <<\_ACEOF
84192 #define HAVE_HYPOT 1
84193 _ACEOF
84194
84195     cat >>confdefs.h <<\_ACEOF
84196 #define HAVE_HYPOTF 1
84197 _ACEOF
84198
84199     cat >>confdefs.h <<\_ACEOF
84200 #define HAVE_ISINF 1
84201 _ACEOF
84202
84203     cat >>confdefs.h <<\_ACEOF
84204 #define HAVE_ISINFF 1
84205 _ACEOF
84206
84207     cat >>confdefs.h <<\_ACEOF
84208 #define HAVE_ISNAN 1
84209 _ACEOF
84210
84211     cat >>confdefs.h <<\_ACEOF
84212 #define HAVE_ISNANF 1
84213 _ACEOF
84214
84215     cat >>confdefs.h <<\_ACEOF
84216 #define HAVE_LOGF 1
84217 _ACEOF
84218
84219     cat >>confdefs.h <<\_ACEOF
84220 #define HAVE_LOG10F 1
84221 _ACEOF
84222
84223     cat >>confdefs.h <<\_ACEOF
84224 #define HAVE_MODFF 1
84225 _ACEOF
84226
84227     cat >>confdefs.h <<\_ACEOF
84228 #define HAVE_SINF 1
84229 _ACEOF
84230
84231     cat >>confdefs.h <<\_ACEOF
84232 #define HAVE_SINHF 1
84233 _ACEOF
84234
84235     cat >>confdefs.h <<\_ACEOF
84236 #define HAVE_SINCOS 1
84237 _ACEOF
84238
84239     cat >>confdefs.h <<\_ACEOF
84240 #define HAVE_SINCOSF 1
84241 _ACEOF
84242
84243     cat >>confdefs.h <<\_ACEOF
84244 #define HAVE_SQRTF 1
84245 _ACEOF
84246
84247     cat >>confdefs.h <<\_ACEOF
84248 #define HAVE_TANF 1
84249 _ACEOF
84250
84251     cat >>confdefs.h <<\_ACEOF
84252 #define HAVE_TANHF 1
84253 _ACEOF
84254
84255     if test x"long_double_math_on_this_cpu" = x"yes"; then
84256       cat >>confdefs.h <<\_ACEOF
84257 #define HAVE_ACOSL 1
84258 _ACEOF
84259
84260       cat >>confdefs.h <<\_ACEOF
84261 #define HAVE_ASINL 1
84262 _ACEOF
84263
84264       cat >>confdefs.h <<\_ACEOF
84265 #define HAVE_ATANL 1
84266 _ACEOF
84267
84268       cat >>confdefs.h <<\_ACEOF
84269 #define HAVE_ATAN2L 1
84270 _ACEOF
84271
84272       cat >>confdefs.h <<\_ACEOF
84273 #define HAVE_CEILL 1
84274 _ACEOF
84275
84276       cat >>confdefs.h <<\_ACEOF
84277 #define HAVE_COPYSIGNL 1
84278 _ACEOF
84279
84280       cat >>confdefs.h <<\_ACEOF
84281 #define HAVE_COSL 1
84282 _ACEOF
84283
84284       cat >>confdefs.h <<\_ACEOF
84285 #define HAVE_COSHL 1
84286 _ACEOF
84287
84288       cat >>confdefs.h <<\_ACEOF
84289 #define HAVE_EXPL 1
84290 _ACEOF
84291
84292       cat >>confdefs.h <<\_ACEOF
84293 #define HAVE_FABSL 1
84294 _ACEOF
84295
84296       cat >>confdefs.h <<\_ACEOF
84297 #define HAVE_FINITEL 1
84298 _ACEOF
84299
84300       cat >>confdefs.h <<\_ACEOF
84301 #define HAVE_FLOORL 1
84302 _ACEOF
84303
84304       cat >>confdefs.h <<\_ACEOF
84305 #define HAVE_FMODL 1
84306 _ACEOF
84307
84308       cat >>confdefs.h <<\_ACEOF
84309 #define HAVE_FREXPL 1
84310 _ACEOF
84311
84312       cat >>confdefs.h <<\_ACEOF
84313 #define HAVE_HYPOTL 1
84314 _ACEOF
84315
84316       cat >>confdefs.h <<\_ACEOF
84317 #define HAVE_ISINFL 1
84318 _ACEOF
84319
84320       cat >>confdefs.h <<\_ACEOF
84321 #define HAVE_ISNANL 1
84322 _ACEOF
84323
84324       cat >>confdefs.h <<\_ACEOF
84325 #define HAVE_LOGL 1
84326 _ACEOF
84327
84328       cat >>confdefs.h <<\_ACEOF
84329 #define HAVE_LOG10L 1
84330 _ACEOF
84331
84332       cat >>confdefs.h <<\_ACEOF
84333 #define HAVE_MODFL 1
84334 _ACEOF
84335
84336       cat >>confdefs.h <<\_ACEOF
84337 #define HAVE_POWL 1
84338 _ACEOF
84339
84340       cat >>confdefs.h <<\_ACEOF
84341 #define HAVE_SINL 1
84342 _ACEOF
84343
84344       cat >>confdefs.h <<\_ACEOF
84345 #define HAVE_SINHL 1
84346 _ACEOF
84347
84348       cat >>confdefs.h <<\_ACEOF
84349 #define HAVE_SINCOSL 1
84350 _ACEOF
84351
84352       cat >>confdefs.h <<\_ACEOF
84353 #define HAVE_SQRTL 1
84354 _ACEOF
84355
84356       cat >>confdefs.h <<\_ACEOF
84357 #define HAVE_TANL 1
84358 _ACEOF
84359
84360       cat >>confdefs.h <<\_ACEOF
84361 #define HAVE_TANHL 1
84362 _ACEOF
84363
84364     fi
84365     ;;
84366   *-mingw32*)
84367
84368
84369
84370 for ac_header in sys/types.h locale.h float.h
84371 do
84372 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
84373 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84374   echo "$as_me:$LINENO: checking for $ac_header" >&5
84375 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84376 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84377   echo $ECHO_N "(cached) $ECHO_C" >&6
84378 fi
84379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84380 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84381 else
84382   # Is the header compilable?
84383 echo "$as_me:$LINENO: checking $ac_header usability" >&5
84384 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
84385 cat >conftest.$ac_ext <<_ACEOF
84386 /* confdefs.h.  */
84387 _ACEOF
84388 cat confdefs.h >>conftest.$ac_ext
84389 cat >>conftest.$ac_ext <<_ACEOF
84390 /* end confdefs.h.  */
84391 $ac_includes_default
84392 #include <$ac_header>
84393 _ACEOF
84394 rm -f conftest.$ac_objext
84395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84396   (eval $ac_compile) 2>conftest.er1
84397   ac_status=$?
84398   grep -v '^ *+' conftest.er1 >conftest.err
84399   rm -f conftest.er1
84400   cat conftest.err >&5
84401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84402   (exit $ac_status); } &&
84403          { ac_try='test -z "$ac_c_werror_flag"
84404                          || test ! -s conftest.err'
84405   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84406   (eval $ac_try) 2>&5
84407   ac_status=$?
84408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84409   (exit $ac_status); }; } &&
84410          { ac_try='test -s conftest.$ac_objext'
84411   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84412   (eval $ac_try) 2>&5
84413   ac_status=$?
84414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84415   (exit $ac_status); }; }; then
84416   ac_header_compiler=yes
84417 else
84418   echo "$as_me: failed program was:" >&5
84419 sed 's/^/| /' conftest.$ac_ext >&5
84420
84421 ac_header_compiler=no
84422 fi
84423 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84424 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84425 echo "${ECHO_T}$ac_header_compiler" >&6
84426
84427 # Is the header present?
84428 echo "$as_me:$LINENO: checking $ac_header presence" >&5
84429 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
84430 cat >conftest.$ac_ext <<_ACEOF
84431 /* confdefs.h.  */
84432 _ACEOF
84433 cat confdefs.h >>conftest.$ac_ext
84434 cat >>conftest.$ac_ext <<_ACEOF
84435 /* end confdefs.h.  */
84436 #include <$ac_header>
84437 _ACEOF
84438 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84439   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84440   ac_status=$?
84441   grep -v '^ *+' conftest.er1 >conftest.err
84442   rm -f conftest.er1
84443   cat conftest.err >&5
84444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84445   (exit $ac_status); } >/dev/null; then
84446   if test -s conftest.err; then
84447     ac_cpp_err=$ac_c_preproc_warn_flag
84448     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84449   else
84450     ac_cpp_err=
84451   fi
84452 else
84453   ac_cpp_err=yes
84454 fi
84455 if test -z "$ac_cpp_err"; then
84456   ac_header_preproc=yes
84457 else
84458   echo "$as_me: failed program was:" >&5
84459 sed 's/^/| /' conftest.$ac_ext >&5
84460
84461   ac_header_preproc=no
84462 fi
84463 rm -f conftest.err conftest.$ac_ext
84464 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84465 echo "${ECHO_T}$ac_header_preproc" >&6
84466
84467 # So?  What about this header?
84468 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84469   yes:no: )
84470     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
84471 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
84472     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
84473 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
84474     ac_header_preproc=yes
84475     ;;
84476   no:yes:* )
84477     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
84478 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
84479     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
84480 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
84481     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
84482 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
84483     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
84484 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
84485     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
84486 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
84487     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
84488 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
84489     (
84490       cat <<\_ASBOX
84491 ## ----------------------------------------- ##
84492 ## Report this to the package-unused lists.  ##
84493 ## ----------------------------------------- ##
84494 _ASBOX
84495     ) |
84496       sed "s/^/$as_me: WARNING:     /" >&2
84497     ;;
84498 esac
84499 echo "$as_me:$LINENO: checking for $ac_header" >&5
84500 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84501 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84502   echo $ECHO_N "(cached) $ECHO_C" >&6
84503 else
84504   eval "$as_ac_Header=\$ac_header_preproc"
84505 fi
84506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84507 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84508
84509 fi
84510 if test `eval echo '${'$as_ac_Header'}'` = yes; then
84511   cat >>confdefs.h <<_ACEOF
84512 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
84513 _ACEOF
84514
84515 fi
84516
84517 done
84518
84519
84520   # If we're not using GNU ld, then there's no point in even trying these
84521   # tests.  Check for that first.  We should have already tested for gld
84522   # by now (in libtool), but require it now just to be safe...
84523   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
84524   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
84525
84526
84527
84528   # The name set by libtool depends on the version of libtool.  Shame on us
84529   # for depending on an impl detail, but c'est la vie.  Older versions used
84530   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
84531   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
84532   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
84533   # set (hence we're using an older libtool), then set it.
84534   if test x${with_gnu_ld+set} != xset; then
84535     if test x${ac_cv_prog_gnu_ld+set} != xset; then
84536       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
84537       with_gnu_ld=no
84538     else
84539       with_gnu_ld=$ac_cv_prog_gnu_ld
84540     fi
84541   fi
84542
84543   # Start by getting the version number.  I think the libtool test already
84544   # does some of this, but throws away the result.
84545
84546   ldver=`$LD --version 2>/dev/null | head -1 | \
84547          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
84548
84549   glibcxx_gnu_ld_version=`echo $ldver | \
84550          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
84551
84552   # Set --gc-sections.
84553   if test "$with_gnu_ld" = "notbroken"; then
84554     # GNU ld it is!  Joy and bunny rabbits!
84555
84556     # All these tests are for C++; save the language and the compiler flags.
84557     # Need to do this so that g++ won't try to link in libstdc++
84558     ac_test_CFLAGS="${CFLAGS+set}"
84559     ac_save_CFLAGS="$CFLAGS"
84560     CFLAGS='-x c++  -Wl,--gc-sections'
84561
84562     # Check for -Wl,--gc-sections
84563     # XXX This test is broken at the moment, as symbols required for linking
84564     # are now in libsupc++ (not built yet).  In addition, this test has
84565     # cored on solaris in the past.  In addition, --gc-sections doesn't
84566     # really work at the moment (keeps on discarding used sections, first
84567     # .eh_frame and now some of the glibc sections for iconv).
84568     # Bzzzzt.  Thanks for playing, maybe next time.
84569     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
84570 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
84571     if test "$cross_compiling" = yes; then
84572   ac_sectionLDflags=yes
84573 else
84574   cat >conftest.$ac_ext <<_ACEOF
84575 /* confdefs.h.  */
84576 _ACEOF
84577 cat confdefs.h >>conftest.$ac_ext
84578 cat >>conftest.$ac_ext <<_ACEOF
84579 /* end confdefs.h.  */
84580
84581      int main(void)
84582      {
84583        try { throw 1; }
84584        catch (...) { };
84585        return 0;
84586      }
84587
84588 _ACEOF
84589 rm -f conftest$ac_exeext
84590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84591   (eval $ac_link) 2>&5
84592   ac_status=$?
84593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84594   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
84595   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84596   (eval $ac_try) 2>&5
84597   ac_status=$?
84598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84599   (exit $ac_status); }; }; then
84600   ac_sectionLDflags=yes
84601 else
84602   echo "$as_me: program exited with status $ac_status" >&5
84603 echo "$as_me: failed program was:" >&5
84604 sed 's/^/| /' conftest.$ac_ext >&5
84605
84606 ( exit $ac_status )
84607 ac_sectionLDflags=no
84608 fi
84609 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
84610 fi
84611     if test "$ac_test_CFLAGS" = set; then
84612       CFLAGS="$ac_save_CFLAGS"
84613     else
84614       # this is the suspicious part
84615       CFLAGS=''
84616     fi
84617     if test "$ac_sectionLDflags" = "yes"; then
84618       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
84619     fi
84620     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
84621 echo "${ECHO_T}$ac_sectionLDflags" >&6
84622   fi
84623
84624   # Set linker optimization flags.
84625   if test x"$with_gnu_ld" = x"yes"; then
84626     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
84627   fi
84628
84629
84630
84631
84632
84633
84634 echo "$as_me:$LINENO: checking for main in -lm" >&5
84635 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
84636 if test "${ac_cv_lib_m_main+set}" = set; then
84637   echo $ECHO_N "(cached) $ECHO_C" >&6
84638 else
84639   ac_check_lib_save_LIBS=$LIBS
84640 LIBS="-lm  $LIBS"
84641 if test x$gcc_no_link = xyes; then
84642   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84643 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84644    { (exit 1); exit 1; }; }
84645 fi
84646 cat >conftest.$ac_ext <<_ACEOF
84647 /* confdefs.h.  */
84648 _ACEOF
84649 cat confdefs.h >>conftest.$ac_ext
84650 cat >>conftest.$ac_ext <<_ACEOF
84651 /* end confdefs.h.  */
84652
84653
84654 int
84655 main ()
84656 {
84657 main ();
84658   ;
84659   return 0;
84660 }
84661 _ACEOF
84662 rm -f conftest.$ac_objext conftest$ac_exeext
84663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84664   (eval $ac_link) 2>conftest.er1
84665   ac_status=$?
84666   grep -v '^ *+' conftest.er1 >conftest.err
84667   rm -f conftest.er1
84668   cat conftest.err >&5
84669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84670   (exit $ac_status); } &&
84671          { ac_try='test -z "$ac_c_werror_flag"
84672                          || test ! -s conftest.err'
84673   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84674   (eval $ac_try) 2>&5
84675   ac_status=$?
84676   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84677   (exit $ac_status); }; } &&
84678          { ac_try='test -s conftest$ac_exeext'
84679   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84680   (eval $ac_try) 2>&5
84681   ac_status=$?
84682   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84683   (exit $ac_status); }; }; then
84684   ac_cv_lib_m_main=yes
84685 else
84686   echo "$as_me: failed program was:" >&5
84687 sed 's/^/| /' conftest.$ac_ext >&5
84688
84689 ac_cv_lib_m_main=no
84690 fi
84691 rm -f conftest.err conftest.$ac_objext \
84692       conftest$ac_exeext conftest.$ac_ext
84693 LIBS=$ac_check_lib_save_LIBS
84694 fi
84695 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
84696 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
84697 if test $ac_cv_lib_m_main = yes; then
84698   cat >>confdefs.h <<_ACEOF
84699 #define HAVE_LIBM 1
84700 _ACEOF
84701
84702   LIBS="-lm $LIBS"
84703
84704 fi
84705
84706
84707 for ac_func in copysignf
84708 do
84709 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84710 echo "$as_me:$LINENO: checking for $ac_func" >&5
84711 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84712 if eval "test \"\${$as_ac_var+set}\" = set"; then
84713   echo $ECHO_N "(cached) $ECHO_C" >&6
84714 else
84715   if test x$gcc_no_link = xyes; then
84716   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84717 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84718    { (exit 1); exit 1; }; }
84719 fi
84720 cat >conftest.$ac_ext <<_ACEOF
84721 /* confdefs.h.  */
84722 _ACEOF
84723 cat confdefs.h >>conftest.$ac_ext
84724 cat >>conftest.$ac_ext <<_ACEOF
84725 /* end confdefs.h.  */
84726 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84727    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84728 #define $ac_func innocuous_$ac_func
84729
84730 /* System header to define __stub macros and hopefully few prototypes,
84731     which can conflict with char $ac_func (); below.
84732     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84733     <limits.h> exists even on freestanding compilers.  */
84734
84735 #ifdef __STDC__
84736 # include <limits.h>
84737 #else
84738 # include <assert.h>
84739 #endif
84740
84741 #undef $ac_func
84742
84743 /* Override any gcc2 internal prototype to avoid an error.  */
84744 #ifdef __cplusplus
84745 extern "C"
84746 {
84747 #endif
84748 /* We use char because int might match the return type of a gcc2
84749    builtin and then its argument prototype would still apply.  */
84750 char $ac_func ();
84751 /* The GNU C library defines this for functions which it implements
84752     to always fail with ENOSYS.  Some functions are actually named
84753     something starting with __ and the normal name is an alias.  */
84754 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84755 choke me
84756 #else
84757 char (*f) () = $ac_func;
84758 #endif
84759 #ifdef __cplusplus
84760 }
84761 #endif
84762
84763 int
84764 main ()
84765 {
84766 return f != $ac_func;
84767   ;
84768   return 0;
84769 }
84770 _ACEOF
84771 rm -f conftest.$ac_objext conftest$ac_exeext
84772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84773   (eval $ac_link) 2>conftest.er1
84774   ac_status=$?
84775   grep -v '^ *+' conftest.er1 >conftest.err
84776   rm -f conftest.er1
84777   cat conftest.err >&5
84778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84779   (exit $ac_status); } &&
84780          { ac_try='test -z "$ac_c_werror_flag"
84781                          || test ! -s conftest.err'
84782   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84783   (eval $ac_try) 2>&5
84784   ac_status=$?
84785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84786   (exit $ac_status); }; } &&
84787          { ac_try='test -s conftest$ac_exeext'
84788   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84789   (eval $ac_try) 2>&5
84790   ac_status=$?
84791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84792   (exit $ac_status); }; }; then
84793   eval "$as_ac_var=yes"
84794 else
84795   echo "$as_me: failed program was:" >&5
84796 sed 's/^/| /' conftest.$ac_ext >&5
84797
84798 eval "$as_ac_var=no"
84799 fi
84800 rm -f conftest.err conftest.$ac_objext \
84801       conftest$ac_exeext conftest.$ac_ext
84802 fi
84803 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84804 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84805 if test `eval echo '${'$as_ac_var'}'` = yes; then
84806   cat >>confdefs.h <<_ACEOF
84807 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84808 _ACEOF
84809
84810 else
84811   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
84812 fi
84813 done
84814
84815
84816
84817 for ac_func in __signbit
84818 do
84819 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84820 echo "$as_me:$LINENO: checking for $ac_func" >&5
84821 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84822 if eval "test \"\${$as_ac_var+set}\" = set"; then
84823   echo $ECHO_N "(cached) $ECHO_C" >&6
84824 else
84825   if test x$gcc_no_link = xyes; then
84826   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84827 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84828    { (exit 1); exit 1; }; }
84829 fi
84830 cat >conftest.$ac_ext <<_ACEOF
84831 /* confdefs.h.  */
84832 _ACEOF
84833 cat confdefs.h >>conftest.$ac_ext
84834 cat >>conftest.$ac_ext <<_ACEOF
84835 /* end confdefs.h.  */
84836 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84837    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84838 #define $ac_func innocuous_$ac_func
84839
84840 /* System header to define __stub macros and hopefully few prototypes,
84841     which can conflict with char $ac_func (); below.
84842     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84843     <limits.h> exists even on freestanding compilers.  */
84844
84845 #ifdef __STDC__
84846 # include <limits.h>
84847 #else
84848 # include <assert.h>
84849 #endif
84850
84851 #undef $ac_func
84852
84853 /* Override any gcc2 internal prototype to avoid an error.  */
84854 #ifdef __cplusplus
84855 extern "C"
84856 {
84857 #endif
84858 /* We use char because int might match the return type of a gcc2
84859    builtin and then its argument prototype would still apply.  */
84860 char $ac_func ();
84861 /* The GNU C library defines this for functions which it implements
84862     to always fail with ENOSYS.  Some functions are actually named
84863     something starting with __ and the normal name is an alias.  */
84864 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84865 choke me
84866 #else
84867 char (*f) () = $ac_func;
84868 #endif
84869 #ifdef __cplusplus
84870 }
84871 #endif
84872
84873 int
84874 main ()
84875 {
84876 return f != $ac_func;
84877   ;
84878   return 0;
84879 }
84880 _ACEOF
84881 rm -f conftest.$ac_objext conftest$ac_exeext
84882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84883   (eval $ac_link) 2>conftest.er1
84884   ac_status=$?
84885   grep -v '^ *+' conftest.er1 >conftest.err
84886   rm -f conftest.er1
84887   cat conftest.err >&5
84888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84889   (exit $ac_status); } &&
84890          { ac_try='test -z "$ac_c_werror_flag"
84891                          || test ! -s conftest.err'
84892   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84893   (eval $ac_try) 2>&5
84894   ac_status=$?
84895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84896   (exit $ac_status); }; } &&
84897          { ac_try='test -s conftest$ac_exeext'
84898   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84899   (eval $ac_try) 2>&5
84900   ac_status=$?
84901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84902   (exit $ac_status); }; }; then
84903   eval "$as_ac_var=yes"
84904 else
84905   echo "$as_me: failed program was:" >&5
84906 sed 's/^/| /' conftest.$ac_ext >&5
84907
84908 eval "$as_ac_var=no"
84909 fi
84910 rm -f conftest.err conftest.$ac_objext \
84911       conftest$ac_exeext conftest.$ac_ext
84912 fi
84913 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84914 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84915 if test `eval echo '${'$as_ac_var'}'` = yes; then
84916   cat >>confdefs.h <<_ACEOF
84917 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84918 _ACEOF
84919
84920 else
84921   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
84922 fi
84923 done
84924
84925
84926
84927 for ac_func in __signbitf
84928 do
84929 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84930 echo "$as_me:$LINENO: checking for $ac_func" >&5
84931 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84932 if eval "test \"\${$as_ac_var+set}\" = set"; then
84933   echo $ECHO_N "(cached) $ECHO_C" >&6
84934 else
84935   if test x$gcc_no_link = xyes; then
84936   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84937 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84938    { (exit 1); exit 1; }; }
84939 fi
84940 cat >conftest.$ac_ext <<_ACEOF
84941 /* confdefs.h.  */
84942 _ACEOF
84943 cat confdefs.h >>conftest.$ac_ext
84944 cat >>conftest.$ac_ext <<_ACEOF
84945 /* end confdefs.h.  */
84946 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84947    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
84948 #define $ac_func innocuous_$ac_func
84949
84950 /* System header to define __stub macros and hopefully few prototypes,
84951     which can conflict with char $ac_func (); below.
84952     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84953     <limits.h> exists even on freestanding compilers.  */
84954
84955 #ifdef __STDC__
84956 # include <limits.h>
84957 #else
84958 # include <assert.h>
84959 #endif
84960
84961 #undef $ac_func
84962
84963 /* Override any gcc2 internal prototype to avoid an error.  */
84964 #ifdef __cplusplus
84965 extern "C"
84966 {
84967 #endif
84968 /* We use char because int might match the return type of a gcc2
84969    builtin and then its argument prototype would still apply.  */
84970 char $ac_func ();
84971 /* The GNU C library defines this for functions which it implements
84972     to always fail with ENOSYS.  Some functions are actually named
84973     something starting with __ and the normal name is an alias.  */
84974 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84975 choke me
84976 #else
84977 char (*f) () = $ac_func;
84978 #endif
84979 #ifdef __cplusplus
84980 }
84981 #endif
84982
84983 int
84984 main ()
84985 {
84986 return f != $ac_func;
84987   ;
84988   return 0;
84989 }
84990 _ACEOF
84991 rm -f conftest.$ac_objext conftest$ac_exeext
84992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84993   (eval $ac_link) 2>conftest.er1
84994   ac_status=$?
84995   grep -v '^ *+' conftest.er1 >conftest.err
84996   rm -f conftest.er1
84997   cat conftest.err >&5
84998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
84999   (exit $ac_status); } &&
85000          { ac_try='test -z "$ac_c_werror_flag"
85001                          || test ! -s conftest.err'
85002   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85003   (eval $ac_try) 2>&5
85004   ac_status=$?
85005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85006   (exit $ac_status); }; } &&
85007          { ac_try='test -s conftest$ac_exeext'
85008   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85009   (eval $ac_try) 2>&5
85010   ac_status=$?
85011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85012   (exit $ac_status); }; }; then
85013   eval "$as_ac_var=yes"
85014 else
85015   echo "$as_me: failed program was:" >&5
85016 sed 's/^/| /' conftest.$ac_ext >&5
85017
85018 eval "$as_ac_var=no"
85019 fi
85020 rm -f conftest.err conftest.$ac_objext \
85021       conftest$ac_exeext conftest.$ac_ext
85022 fi
85023 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85024 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85025 if test `eval echo '${'$as_ac_var'}'` = yes; then
85026   cat >>confdefs.h <<_ACEOF
85027 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85028 _ACEOF
85029
85030 else
85031   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
85032 fi
85033 done
85034
85035
85036           if test x$ac_cv_func_copysignl = x"yes"; then
85037
85038 for ac_func in __signbitl
85039 do
85040 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85041 echo "$as_me:$LINENO: checking for $ac_func" >&5
85042 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85043 if eval "test \"\${$as_ac_var+set}\" = set"; then
85044   echo $ECHO_N "(cached) $ECHO_C" >&6
85045 else
85046   if test x$gcc_no_link = xyes; then
85047   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85048 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85049    { (exit 1); exit 1; }; }
85050 fi
85051 cat >conftest.$ac_ext <<_ACEOF
85052 /* confdefs.h.  */
85053 _ACEOF
85054 cat confdefs.h >>conftest.$ac_ext
85055 cat >>conftest.$ac_ext <<_ACEOF
85056 /* end confdefs.h.  */
85057 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85058    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85059 #define $ac_func innocuous_$ac_func
85060
85061 /* System header to define __stub macros and hopefully few prototypes,
85062     which can conflict with char $ac_func (); below.
85063     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85064     <limits.h> exists even on freestanding compilers.  */
85065
85066 #ifdef __STDC__
85067 # include <limits.h>
85068 #else
85069 # include <assert.h>
85070 #endif
85071
85072 #undef $ac_func
85073
85074 /* Override any gcc2 internal prototype to avoid an error.  */
85075 #ifdef __cplusplus
85076 extern "C"
85077 {
85078 #endif
85079 /* We use char because int might match the return type of a gcc2
85080    builtin and then its argument prototype would still apply.  */
85081 char $ac_func ();
85082 /* The GNU C library defines this for functions which it implements
85083     to always fail with ENOSYS.  Some functions are actually named
85084     something starting with __ and the normal name is an alias.  */
85085 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85086 choke me
85087 #else
85088 char (*f) () = $ac_func;
85089 #endif
85090 #ifdef __cplusplus
85091 }
85092 #endif
85093
85094 int
85095 main ()
85096 {
85097 return f != $ac_func;
85098   ;
85099   return 0;
85100 }
85101 _ACEOF
85102 rm -f conftest.$ac_objext conftest$ac_exeext
85103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85104   (eval $ac_link) 2>conftest.er1
85105   ac_status=$?
85106   grep -v '^ *+' conftest.er1 >conftest.err
85107   rm -f conftest.er1
85108   cat conftest.err >&5
85109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85110   (exit $ac_status); } &&
85111          { ac_try='test -z "$ac_c_werror_flag"
85112                          || test ! -s conftest.err'
85113   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85114   (eval $ac_try) 2>&5
85115   ac_status=$?
85116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85117   (exit $ac_status); }; } &&
85118          { ac_try='test -s conftest$ac_exeext'
85119   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85120   (eval $ac_try) 2>&5
85121   ac_status=$?
85122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85123   (exit $ac_status); }; }; then
85124   eval "$as_ac_var=yes"
85125 else
85126   echo "$as_me: failed program was:" >&5
85127 sed 's/^/| /' conftest.$ac_ext >&5
85128
85129 eval "$as_ac_var=no"
85130 fi
85131 rm -f conftest.err conftest.$ac_objext \
85132       conftest$ac_exeext conftest.$ac_ext
85133 fi
85134 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85135 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85136 if test `eval echo '${'$as_ac_var'}'` = yes; then
85137   cat >>confdefs.h <<_ACEOF
85138 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85139 _ACEOF
85140
85141 else
85142   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
85143 fi
85144 done
85145
85146   fi
85147
85148   # Used in libmath/Makefile.am.
85149   if test -n "$LIBMATHOBJS"; then
85150     need_libmath=yes
85151   fi
85152
85153
85154
85155   # Test wchar.h for mbstate_t, which is needed for char_traits and
85156   # others even if wchar_t support is not on.
85157   echo "$as_me:$LINENO: checking for mbstate_t" >&5
85158 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
85159   cat >conftest.$ac_ext <<_ACEOF
85160 /* confdefs.h.  */
85161 _ACEOF
85162 cat confdefs.h >>conftest.$ac_ext
85163 cat >>conftest.$ac_ext <<_ACEOF
85164 /* end confdefs.h.  */
85165 #include <wchar.h>
85166 int
85167 main ()
85168 {
85169 mbstate_t teststate;
85170   ;
85171   return 0;
85172 }
85173 _ACEOF
85174 rm -f conftest.$ac_objext
85175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85176   (eval $ac_compile) 2>conftest.er1
85177   ac_status=$?
85178   grep -v '^ *+' conftest.er1 >conftest.err
85179   rm -f conftest.er1
85180   cat conftest.err >&5
85181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85182   (exit $ac_status); } &&
85183          { ac_try='test -z "$ac_c_werror_flag"
85184                          || test ! -s conftest.err'
85185   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85186   (eval $ac_try) 2>&5
85187   ac_status=$?
85188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85189   (exit $ac_status); }; } &&
85190          { ac_try='test -s conftest.$ac_objext'
85191   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85192   (eval $ac_try) 2>&5
85193   ac_status=$?
85194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85195   (exit $ac_status); }; }; then
85196   have_mbstate_t=yes
85197 else
85198   echo "$as_me: failed program was:" >&5
85199 sed 's/^/| /' conftest.$ac_ext >&5
85200
85201 have_mbstate_t=no
85202 fi
85203 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85204   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
85205 echo "${ECHO_T}$have_mbstate_t" >&6
85206   if test x"$have_mbstate_t" = xyes; then
85207     cat >>confdefs.h <<\_ACEOF
85208 #define HAVE_MBSTATE_T 1
85209 _ACEOF
85210
85211   fi
85212
85213   # Sanity check for existence of ISO C99 headers for extended encoding.
85214
85215 for ac_header in wchar.h
85216 do
85217 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85218 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85219   echo "$as_me:$LINENO: checking for $ac_header" >&5
85220 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85221 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85222   echo $ECHO_N "(cached) $ECHO_C" >&6
85223 fi
85224 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85225 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85226 else
85227   # Is the header compilable?
85228 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85229 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85230 cat >conftest.$ac_ext <<_ACEOF
85231 /* confdefs.h.  */
85232 _ACEOF
85233 cat confdefs.h >>conftest.$ac_ext
85234 cat >>conftest.$ac_ext <<_ACEOF
85235 /* end confdefs.h.  */
85236 $ac_includes_default
85237 #include <$ac_header>
85238 _ACEOF
85239 rm -f conftest.$ac_objext
85240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85241   (eval $ac_compile) 2>conftest.er1
85242   ac_status=$?
85243   grep -v '^ *+' conftest.er1 >conftest.err
85244   rm -f conftest.er1
85245   cat conftest.err >&5
85246   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85247   (exit $ac_status); } &&
85248          { ac_try='test -z "$ac_c_werror_flag"
85249                          || test ! -s conftest.err'
85250   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85251   (eval $ac_try) 2>&5
85252   ac_status=$?
85253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85254   (exit $ac_status); }; } &&
85255          { ac_try='test -s conftest.$ac_objext'
85256   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85257   (eval $ac_try) 2>&5
85258   ac_status=$?
85259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85260   (exit $ac_status); }; }; then
85261   ac_header_compiler=yes
85262 else
85263   echo "$as_me: failed program was:" >&5
85264 sed 's/^/| /' conftest.$ac_ext >&5
85265
85266 ac_header_compiler=no
85267 fi
85268 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85269 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85270 echo "${ECHO_T}$ac_header_compiler" >&6
85271
85272 # Is the header present?
85273 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85274 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85275 cat >conftest.$ac_ext <<_ACEOF
85276 /* confdefs.h.  */
85277 _ACEOF
85278 cat confdefs.h >>conftest.$ac_ext
85279 cat >>conftest.$ac_ext <<_ACEOF
85280 /* end confdefs.h.  */
85281 #include <$ac_header>
85282 _ACEOF
85283 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85284   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85285   ac_status=$?
85286   grep -v '^ *+' conftest.er1 >conftest.err
85287   rm -f conftest.er1
85288   cat conftest.err >&5
85289   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85290   (exit $ac_status); } >/dev/null; then
85291   if test -s conftest.err; then
85292     ac_cpp_err=$ac_c_preproc_warn_flag
85293     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85294   else
85295     ac_cpp_err=
85296   fi
85297 else
85298   ac_cpp_err=yes
85299 fi
85300 if test -z "$ac_cpp_err"; then
85301   ac_header_preproc=yes
85302 else
85303   echo "$as_me: failed program was:" >&5
85304 sed 's/^/| /' conftest.$ac_ext >&5
85305
85306   ac_header_preproc=no
85307 fi
85308 rm -f conftest.err conftest.$ac_ext
85309 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85310 echo "${ECHO_T}$ac_header_preproc" >&6
85311
85312 # So?  What about this header?
85313 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85314   yes:no: )
85315     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85316 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85317     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85318 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85319     ac_header_preproc=yes
85320     ;;
85321   no:yes:* )
85322     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85323 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85324     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
85325 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
85326     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85327 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85328     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
85329 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
85330     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85331 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85332     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85333 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85334     (
85335       cat <<\_ASBOX
85336 ## ----------------------------------------- ##
85337 ## Report this to the package-unused lists.  ##
85338 ## ----------------------------------------- ##
85339 _ASBOX
85340     ) |
85341       sed "s/^/$as_me: WARNING:     /" >&2
85342     ;;
85343 esac
85344 echo "$as_me:$LINENO: checking for $ac_header" >&5
85345 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85346 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85347   echo $ECHO_N "(cached) $ECHO_C" >&6
85348 else
85349   eval "$as_ac_Header=\$ac_header_preproc"
85350 fi
85351 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85352 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85353
85354 fi
85355 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85356   cat >>confdefs.h <<_ACEOF
85357 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85358 _ACEOF
85359  ac_has_wchar_h=yes
85360 else
85361   ac_has_wchar_h=no
85362 fi
85363
85364 done
85365
85366
85367 for ac_header in wctype.h
85368 do
85369 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85370 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85371   echo "$as_me:$LINENO: checking for $ac_header" >&5
85372 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85373 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85374   echo $ECHO_N "(cached) $ECHO_C" >&6
85375 fi
85376 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85377 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85378 else
85379   # Is the header compilable?
85380 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85381 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85382 cat >conftest.$ac_ext <<_ACEOF
85383 /* confdefs.h.  */
85384 _ACEOF
85385 cat confdefs.h >>conftest.$ac_ext
85386 cat >>conftest.$ac_ext <<_ACEOF
85387 /* end confdefs.h.  */
85388 $ac_includes_default
85389 #include <$ac_header>
85390 _ACEOF
85391 rm -f conftest.$ac_objext
85392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85393   (eval $ac_compile) 2>conftest.er1
85394   ac_status=$?
85395   grep -v '^ *+' conftest.er1 >conftest.err
85396   rm -f conftest.er1
85397   cat conftest.err >&5
85398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85399   (exit $ac_status); } &&
85400          { ac_try='test -z "$ac_c_werror_flag"
85401                          || test ! -s conftest.err'
85402   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85403   (eval $ac_try) 2>&5
85404   ac_status=$?
85405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85406   (exit $ac_status); }; } &&
85407          { ac_try='test -s conftest.$ac_objext'
85408   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85409   (eval $ac_try) 2>&5
85410   ac_status=$?
85411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85412   (exit $ac_status); }; }; then
85413   ac_header_compiler=yes
85414 else
85415   echo "$as_me: failed program was:" >&5
85416 sed 's/^/| /' conftest.$ac_ext >&5
85417
85418 ac_header_compiler=no
85419 fi
85420 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85421 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85422 echo "${ECHO_T}$ac_header_compiler" >&6
85423
85424 # Is the header present?
85425 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85426 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85427 cat >conftest.$ac_ext <<_ACEOF
85428 /* confdefs.h.  */
85429 _ACEOF
85430 cat confdefs.h >>conftest.$ac_ext
85431 cat >>conftest.$ac_ext <<_ACEOF
85432 /* end confdefs.h.  */
85433 #include <$ac_header>
85434 _ACEOF
85435 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85436   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85437   ac_status=$?
85438   grep -v '^ *+' conftest.er1 >conftest.err
85439   rm -f conftest.er1
85440   cat conftest.err >&5
85441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85442   (exit $ac_status); } >/dev/null; then
85443   if test -s conftest.err; then
85444     ac_cpp_err=$ac_c_preproc_warn_flag
85445     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85446   else
85447     ac_cpp_err=
85448   fi
85449 else
85450   ac_cpp_err=yes
85451 fi
85452 if test -z "$ac_cpp_err"; then
85453   ac_header_preproc=yes
85454 else
85455   echo "$as_me: failed program was:" >&5
85456 sed 's/^/| /' conftest.$ac_ext >&5
85457
85458   ac_header_preproc=no
85459 fi
85460 rm -f conftest.err conftest.$ac_ext
85461 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85462 echo "${ECHO_T}$ac_header_preproc" >&6
85463
85464 # So?  What about this header?
85465 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85466   yes:no: )
85467     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85468 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85469     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85470 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85471     ac_header_preproc=yes
85472     ;;
85473   no:yes:* )
85474     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85475 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85476     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
85477 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
85478     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85479 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85480     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
85481 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
85482     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85483 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85484     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85485 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85486     (
85487       cat <<\_ASBOX
85488 ## ----------------------------------------- ##
85489 ## Report this to the package-unused lists.  ##
85490 ## ----------------------------------------- ##
85491 _ASBOX
85492     ) |
85493       sed "s/^/$as_me: WARNING:     /" >&2
85494     ;;
85495 esac
85496 echo "$as_me:$LINENO: checking for $ac_header" >&5
85497 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85498 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85499   echo $ECHO_N "(cached) $ECHO_C" >&6
85500 else
85501   eval "$as_ac_Header=\$ac_header_preproc"
85502 fi
85503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85504 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85505
85506 fi
85507 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85508   cat >>confdefs.h <<_ACEOF
85509 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85510 _ACEOF
85511  ac_has_wctype_h=yes
85512 else
85513   ac_has_wctype_h=no
85514 fi
85515
85516 done
85517
85518
85519   # Only continue checking if the ISO C99 headers exist and support is on.
85520   if test x"$ac_has_wchar_h" = xyes &&
85521      test x"$ac_has_wctype_h" = xyes &&
85522      test x"$enable_c_mbchar" != xno; then
85523
85524     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
85525     # numeric_limits can instantiate type_traits<wchar_t>
85526     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
85527 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
85528     cat >conftest.$ac_ext <<_ACEOF
85529 /* confdefs.h.  */
85530 _ACEOF
85531 cat confdefs.h >>conftest.$ac_ext
85532 cat >>conftest.$ac_ext <<_ACEOF
85533 /* end confdefs.h.  */
85534 #include <wchar.h>
85535 int
85536 main ()
85537 {
85538 int i = WCHAR_MIN; int j = WCHAR_MAX;
85539   ;
85540   return 0;
85541 }
85542 _ACEOF
85543 rm -f conftest.$ac_objext
85544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85545   (eval $ac_compile) 2>conftest.er1
85546   ac_status=$?
85547   grep -v '^ *+' conftest.er1 >conftest.err
85548   rm -f conftest.er1
85549   cat conftest.err >&5
85550   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85551   (exit $ac_status); } &&
85552          { ac_try='test -z "$ac_c_werror_flag"
85553                          || test ! -s conftest.err'
85554   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85555   (eval $ac_try) 2>&5
85556   ac_status=$?
85557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85558   (exit $ac_status); }; } &&
85559          { ac_try='test -s conftest.$ac_objext'
85560   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85561   (eval $ac_try) 2>&5
85562   ac_status=$?
85563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85564   (exit $ac_status); }; }; then
85565   has_wchar_minmax=yes
85566 else
85567   echo "$as_me: failed program was:" >&5
85568 sed 's/^/| /' conftest.$ac_ext >&5
85569
85570 has_wchar_minmax=no
85571 fi
85572 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85573     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
85574 echo "${ECHO_T}$has_wchar_minmax" >&6
85575
85576     # Test wchar.h for WEOF, which is what we use to determine whether
85577     # to specialize for char_traits<wchar_t> or not.
85578     echo "$as_me:$LINENO: checking for WEOF" >&5
85579 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
85580     cat >conftest.$ac_ext <<_ACEOF
85581 /* confdefs.h.  */
85582 _ACEOF
85583 cat confdefs.h >>conftest.$ac_ext
85584 cat >>conftest.$ac_ext <<_ACEOF
85585 /* end confdefs.h.  */
85586
85587       #include <wchar.h>
85588       #include <stddef.h>
85589 int
85590 main ()
85591 {
85592 wint_t i = WEOF;
85593   ;
85594   return 0;
85595 }
85596 _ACEOF
85597 rm -f conftest.$ac_objext
85598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85599   (eval $ac_compile) 2>conftest.er1
85600   ac_status=$?
85601   grep -v '^ *+' conftest.er1 >conftest.err
85602   rm -f conftest.er1
85603   cat conftest.err >&5
85604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85605   (exit $ac_status); } &&
85606          { ac_try='test -z "$ac_c_werror_flag"
85607                          || test ! -s conftest.err'
85608   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85609   (eval $ac_try) 2>&5
85610   ac_status=$?
85611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85612   (exit $ac_status); }; } &&
85613          { ac_try='test -s conftest.$ac_objext'
85614   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85615   (eval $ac_try) 2>&5
85616   ac_status=$?
85617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85618   (exit $ac_status); }; }; then
85619   has_weof=yes
85620 else
85621   echo "$as_me: failed program was:" >&5
85622 sed 's/^/| /' conftest.$ac_ext >&5
85623
85624 has_weof=no
85625 fi
85626 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85627     echo "$as_me:$LINENO: result: $has_weof" >&5
85628 echo "${ECHO_T}$has_weof" >&6
85629
85630     # Tests for wide character functions used in char_traits<wchar_t>.
85631     ac_wfuncs=yes
85632
85633
85634
85635
85636
85637
85638 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
85639 do
85640 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85641 echo "$as_me:$LINENO: checking for $ac_func" >&5
85642 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85643 if eval "test \"\${$as_ac_var+set}\" = set"; then
85644   echo $ECHO_N "(cached) $ECHO_C" >&6
85645 else
85646   if test x$gcc_no_link = xyes; then
85647   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85648 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85649    { (exit 1); exit 1; }; }
85650 fi
85651 cat >conftest.$ac_ext <<_ACEOF
85652 /* confdefs.h.  */
85653 _ACEOF
85654 cat confdefs.h >>conftest.$ac_ext
85655 cat >>conftest.$ac_ext <<_ACEOF
85656 /* end confdefs.h.  */
85657 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85658    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85659 #define $ac_func innocuous_$ac_func
85660
85661 /* System header to define __stub macros and hopefully few prototypes,
85662     which can conflict with char $ac_func (); below.
85663     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85664     <limits.h> exists even on freestanding compilers.  */
85665
85666 #ifdef __STDC__
85667 # include <limits.h>
85668 #else
85669 # include <assert.h>
85670 #endif
85671
85672 #undef $ac_func
85673
85674 /* Override any gcc2 internal prototype to avoid an error.  */
85675 #ifdef __cplusplus
85676 extern "C"
85677 {
85678 #endif
85679 /* We use char because int might match the return type of a gcc2
85680    builtin and then its argument prototype would still apply.  */
85681 char $ac_func ();
85682 /* The GNU C library defines this for functions which it implements
85683     to always fail with ENOSYS.  Some functions are actually named
85684     something starting with __ and the normal name is an alias.  */
85685 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85686 choke me
85687 #else
85688 char (*f) () = $ac_func;
85689 #endif
85690 #ifdef __cplusplus
85691 }
85692 #endif
85693
85694 int
85695 main ()
85696 {
85697 return f != $ac_func;
85698   ;
85699   return 0;
85700 }
85701 _ACEOF
85702 rm -f conftest.$ac_objext conftest$ac_exeext
85703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85704   (eval $ac_link) 2>conftest.er1
85705   ac_status=$?
85706   grep -v '^ *+' conftest.er1 >conftest.err
85707   rm -f conftest.er1
85708   cat conftest.err >&5
85709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85710   (exit $ac_status); } &&
85711          { ac_try='test -z "$ac_c_werror_flag"
85712                          || test ! -s conftest.err'
85713   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85714   (eval $ac_try) 2>&5
85715   ac_status=$?
85716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85717   (exit $ac_status); }; } &&
85718          { ac_try='test -s conftest$ac_exeext'
85719   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85720   (eval $ac_try) 2>&5
85721   ac_status=$?
85722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85723   (exit $ac_status); }; }; then
85724   eval "$as_ac_var=yes"
85725 else
85726   echo "$as_me: failed program was:" >&5
85727 sed 's/^/| /' conftest.$ac_ext >&5
85728
85729 eval "$as_ac_var=no"
85730 fi
85731 rm -f conftest.err conftest.$ac_objext \
85732       conftest$ac_exeext conftest.$ac_ext
85733 fi
85734 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85735 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85736 if test `eval echo '${'$as_ac_var'}'` = yes; then
85737   cat >>confdefs.h <<_ACEOF
85738 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85739 _ACEOF
85740
85741 else
85742   ac_wfuncs=no
85743 fi
85744 done
85745
85746
85747     # Checks for names injected into std:: by the c_std headers.
85748
85749
85750
85751
85752
85753
85754
85755
85756
85757
85758
85759
85760
85761
85762
85763
85764
85765
85766
85767
85768
85769
85770
85771
85772
85773
85774
85775
85776
85777
85778
85779
85780
85781
85782
85783
85784
85785
85786
85787
85788
85789
85790
85791
85792
85793
85794 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
85795     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
85796     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
85797     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
85798     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
85799     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
85800 do
85801 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85802 echo "$as_me:$LINENO: checking for $ac_func" >&5
85803 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85804 if eval "test \"\${$as_ac_var+set}\" = set"; then
85805   echo $ECHO_N "(cached) $ECHO_C" >&6
85806 else
85807   if test x$gcc_no_link = xyes; then
85808   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85809 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85810    { (exit 1); exit 1; }; }
85811 fi
85812 cat >conftest.$ac_ext <<_ACEOF
85813 /* confdefs.h.  */
85814 _ACEOF
85815 cat confdefs.h >>conftest.$ac_ext
85816 cat >>conftest.$ac_ext <<_ACEOF
85817 /* end confdefs.h.  */
85818 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85819    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85820 #define $ac_func innocuous_$ac_func
85821
85822 /* System header to define __stub macros and hopefully few prototypes,
85823     which can conflict with char $ac_func (); below.
85824     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85825     <limits.h> exists even on freestanding compilers.  */
85826
85827 #ifdef __STDC__
85828 # include <limits.h>
85829 #else
85830 # include <assert.h>
85831 #endif
85832
85833 #undef $ac_func
85834
85835 /* Override any gcc2 internal prototype to avoid an error.  */
85836 #ifdef __cplusplus
85837 extern "C"
85838 {
85839 #endif
85840 /* We use char because int might match the return type of a gcc2
85841    builtin and then its argument prototype would still apply.  */
85842 char $ac_func ();
85843 /* The GNU C library defines this for functions which it implements
85844     to always fail with ENOSYS.  Some functions are actually named
85845     something starting with __ and the normal name is an alias.  */
85846 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85847 choke me
85848 #else
85849 char (*f) () = $ac_func;
85850 #endif
85851 #ifdef __cplusplus
85852 }
85853 #endif
85854
85855 int
85856 main ()
85857 {
85858 return f != $ac_func;
85859   ;
85860   return 0;
85861 }
85862 _ACEOF
85863 rm -f conftest.$ac_objext conftest$ac_exeext
85864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85865   (eval $ac_link) 2>conftest.er1
85866   ac_status=$?
85867   grep -v '^ *+' conftest.er1 >conftest.err
85868   rm -f conftest.er1
85869   cat conftest.err >&5
85870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85871   (exit $ac_status); } &&
85872          { ac_try='test -z "$ac_c_werror_flag"
85873                          || test ! -s conftest.err'
85874   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85875   (eval $ac_try) 2>&5
85876   ac_status=$?
85877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85878   (exit $ac_status); }; } &&
85879          { ac_try='test -s conftest$ac_exeext'
85880   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85881   (eval $ac_try) 2>&5
85882   ac_status=$?
85883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85884   (exit $ac_status); }; }; then
85885   eval "$as_ac_var=yes"
85886 else
85887   echo "$as_me: failed program was:" >&5
85888 sed 's/^/| /' conftest.$ac_ext >&5
85889
85890 eval "$as_ac_var=no"
85891 fi
85892 rm -f conftest.err conftest.$ac_objext \
85893       conftest$ac_exeext conftest.$ac_ext
85894 fi
85895 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85896 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85897 if test `eval echo '${'$as_ac_var'}'` = yes; then
85898   cat >>confdefs.h <<_ACEOF
85899 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85900 _ACEOF
85901
85902 else
85903   ac_wfuncs=no
85904 fi
85905 done
85906
85907
85908     # Checks for wide character functions that are not required
85909     # for basic wchar_t support.  Don't disable support if they are missing.
85910     # Injection of these is wrapped with guard macros.
85911
85912
85913
85914
85915
85916 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
85917 do
85918 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85919 echo "$as_me:$LINENO: checking for $ac_func" >&5
85920 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85921 if eval "test \"\${$as_ac_var+set}\" = set"; then
85922   echo $ECHO_N "(cached) $ECHO_C" >&6
85923 else
85924   if test x$gcc_no_link = xyes; then
85925   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85926 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85927    { (exit 1); exit 1; }; }
85928 fi
85929 cat >conftest.$ac_ext <<_ACEOF
85930 /* confdefs.h.  */
85931 _ACEOF
85932 cat confdefs.h >>conftest.$ac_ext
85933 cat >>conftest.$ac_ext <<_ACEOF
85934 /* end confdefs.h.  */
85935 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85936    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
85937 #define $ac_func innocuous_$ac_func
85938
85939 /* System header to define __stub macros and hopefully few prototypes,
85940     which can conflict with char $ac_func (); below.
85941     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85942     <limits.h> exists even on freestanding compilers.  */
85943
85944 #ifdef __STDC__
85945 # include <limits.h>
85946 #else
85947 # include <assert.h>
85948 #endif
85949
85950 #undef $ac_func
85951
85952 /* Override any gcc2 internal prototype to avoid an error.  */
85953 #ifdef __cplusplus
85954 extern "C"
85955 {
85956 #endif
85957 /* We use char because int might match the return type of a gcc2
85958    builtin and then its argument prototype would still apply.  */
85959 char $ac_func ();
85960 /* The GNU C library defines this for functions which it implements
85961     to always fail with ENOSYS.  Some functions are actually named
85962     something starting with __ and the normal name is an alias.  */
85963 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85964 choke me
85965 #else
85966 char (*f) () = $ac_func;
85967 #endif
85968 #ifdef __cplusplus
85969 }
85970 #endif
85971
85972 int
85973 main ()
85974 {
85975 return f != $ac_func;
85976   ;
85977   return 0;
85978 }
85979 _ACEOF
85980 rm -f conftest.$ac_objext conftest$ac_exeext
85981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85982   (eval $ac_link) 2>conftest.er1
85983   ac_status=$?
85984   grep -v '^ *+' conftest.er1 >conftest.err
85985   rm -f conftest.er1
85986   cat conftest.err >&5
85987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85988   (exit $ac_status); } &&
85989          { ac_try='test -z "$ac_c_werror_flag"
85990                          || test ! -s conftest.err'
85991   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85992   (eval $ac_try) 2>&5
85993   ac_status=$?
85994   echo "$as_me:$LINENO: \$? = $ac_status" >&5
85995   (exit $ac_status); }; } &&
85996          { ac_try='test -s conftest$ac_exeext'
85997   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85998   (eval $ac_try) 2>&5
85999   ac_status=$?
86000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86001   (exit $ac_status); }; }; then
86002   eval "$as_ac_var=yes"
86003 else
86004   echo "$as_me: failed program was:" >&5
86005 sed 's/^/| /' conftest.$ac_ext >&5
86006
86007 eval "$as_ac_var=no"
86008 fi
86009 rm -f conftest.err conftest.$ac_objext \
86010       conftest$ac_exeext conftest.$ac_ext
86011 fi
86012 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86013 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86014 if test `eval echo '${'$as_ac_var'}'` = yes; then
86015   cat >>confdefs.h <<_ACEOF
86016 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86017 _ACEOF
86018
86019 fi
86020 done
86021
86022
86023     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
86024 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
86025     if test x"$has_weof" = xyes &&
86026        test x"$has_wchar_minmax" = xyes &&
86027        test x"$ac_wfuncs" = xyes;
86028     then
86029       ac_isoC99_wchar_t=yes
86030     else
86031       ac_isoC99_wchar_t=no
86032     fi
86033     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
86034 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
86035
86036     # Use iconv for wchar_t to char conversions. As such, check for
86037     # X/Open Portability Guide, version 2 features (XPG2).
86038     if test "${ac_cv_header_iconv_h+set}" = set; then
86039   echo "$as_me:$LINENO: checking for iconv.h" >&5
86040 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
86041 if test "${ac_cv_header_iconv_h+set}" = set; then
86042   echo $ECHO_N "(cached) $ECHO_C" >&6
86043 fi
86044 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
86045 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
86046 else
86047   # Is the header compilable?
86048 echo "$as_me:$LINENO: checking iconv.h usability" >&5
86049 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
86050 cat >conftest.$ac_ext <<_ACEOF
86051 /* confdefs.h.  */
86052 _ACEOF
86053 cat confdefs.h >>conftest.$ac_ext
86054 cat >>conftest.$ac_ext <<_ACEOF
86055 /* end confdefs.h.  */
86056 $ac_includes_default
86057 #include <iconv.h>
86058 _ACEOF
86059 rm -f conftest.$ac_objext
86060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86061   (eval $ac_compile) 2>conftest.er1
86062   ac_status=$?
86063   grep -v '^ *+' conftest.er1 >conftest.err
86064   rm -f conftest.er1
86065   cat conftest.err >&5
86066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86067   (exit $ac_status); } &&
86068          { ac_try='test -z "$ac_c_werror_flag"
86069                          || test ! -s conftest.err'
86070   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86071   (eval $ac_try) 2>&5
86072   ac_status=$?
86073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86074   (exit $ac_status); }; } &&
86075          { ac_try='test -s conftest.$ac_objext'
86076   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86077   (eval $ac_try) 2>&5
86078   ac_status=$?
86079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86080   (exit $ac_status); }; }; then
86081   ac_header_compiler=yes
86082 else
86083   echo "$as_me: failed program was:" >&5
86084 sed 's/^/| /' conftest.$ac_ext >&5
86085
86086 ac_header_compiler=no
86087 fi
86088 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86089 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86090 echo "${ECHO_T}$ac_header_compiler" >&6
86091
86092 # Is the header present?
86093 echo "$as_me:$LINENO: checking iconv.h presence" >&5
86094 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
86095 cat >conftest.$ac_ext <<_ACEOF
86096 /* confdefs.h.  */
86097 _ACEOF
86098 cat confdefs.h >>conftest.$ac_ext
86099 cat >>conftest.$ac_ext <<_ACEOF
86100 /* end confdefs.h.  */
86101 #include <iconv.h>
86102 _ACEOF
86103 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86104   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86105   ac_status=$?
86106   grep -v '^ *+' conftest.er1 >conftest.err
86107   rm -f conftest.er1
86108   cat conftest.err >&5
86109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86110   (exit $ac_status); } >/dev/null; then
86111   if test -s conftest.err; then
86112     ac_cpp_err=$ac_c_preproc_warn_flag
86113     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86114   else
86115     ac_cpp_err=
86116   fi
86117 else
86118   ac_cpp_err=yes
86119 fi
86120 if test -z "$ac_cpp_err"; then
86121   ac_header_preproc=yes
86122 else
86123   echo "$as_me: failed program was:" >&5
86124 sed 's/^/| /' conftest.$ac_ext >&5
86125
86126   ac_header_preproc=no
86127 fi
86128 rm -f conftest.err conftest.$ac_ext
86129 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86130 echo "${ECHO_T}$ac_header_preproc" >&6
86131
86132 # So?  What about this header?
86133 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86134   yes:no: )
86135     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
86136 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
86137     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
86138 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
86139     ac_header_preproc=yes
86140     ;;
86141   no:yes:* )
86142     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
86143 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
86144     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
86145 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
86146     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
86147 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
86148     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
86149 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
86150     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
86151 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
86152     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
86153 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
86154     (
86155       cat <<\_ASBOX
86156 ## ----------------------------------------- ##
86157 ## Report this to the package-unused lists.  ##
86158 ## ----------------------------------------- ##
86159 _ASBOX
86160     ) |
86161       sed "s/^/$as_me: WARNING:     /" >&2
86162     ;;
86163 esac
86164 echo "$as_me:$LINENO: checking for iconv.h" >&5
86165 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
86166 if test "${ac_cv_header_iconv_h+set}" = set; then
86167   echo $ECHO_N "(cached) $ECHO_C" >&6
86168 else
86169   ac_cv_header_iconv_h=$ac_header_preproc
86170 fi
86171 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
86172 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
86173
86174 fi
86175 if test $ac_cv_header_iconv_h = yes; then
86176   ac_has_iconv_h=yes
86177 else
86178   ac_has_iconv_h=no
86179 fi
86180
86181
86182     if test "${ac_cv_header_langinfo_h+set}" = set; then
86183   echo "$as_me:$LINENO: checking for langinfo.h" >&5
86184 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
86185 if test "${ac_cv_header_langinfo_h+set}" = set; then
86186   echo $ECHO_N "(cached) $ECHO_C" >&6
86187 fi
86188 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
86189 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
86190 else
86191   # Is the header compilable?
86192 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
86193 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
86194 cat >conftest.$ac_ext <<_ACEOF
86195 /* confdefs.h.  */
86196 _ACEOF
86197 cat confdefs.h >>conftest.$ac_ext
86198 cat >>conftest.$ac_ext <<_ACEOF
86199 /* end confdefs.h.  */
86200 $ac_includes_default
86201 #include <langinfo.h>
86202 _ACEOF
86203 rm -f conftest.$ac_objext
86204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86205   (eval $ac_compile) 2>conftest.er1
86206   ac_status=$?
86207   grep -v '^ *+' conftest.er1 >conftest.err
86208   rm -f conftest.er1
86209   cat conftest.err >&5
86210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86211   (exit $ac_status); } &&
86212          { ac_try='test -z "$ac_c_werror_flag"
86213                          || test ! -s conftest.err'
86214   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86215   (eval $ac_try) 2>&5
86216   ac_status=$?
86217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86218   (exit $ac_status); }; } &&
86219          { ac_try='test -s conftest.$ac_objext'
86220   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86221   (eval $ac_try) 2>&5
86222   ac_status=$?
86223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86224   (exit $ac_status); }; }; then
86225   ac_header_compiler=yes
86226 else
86227   echo "$as_me: failed program was:" >&5
86228 sed 's/^/| /' conftest.$ac_ext >&5
86229
86230 ac_header_compiler=no
86231 fi
86232 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86233 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86234 echo "${ECHO_T}$ac_header_compiler" >&6
86235
86236 # Is the header present?
86237 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
86238 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
86239 cat >conftest.$ac_ext <<_ACEOF
86240 /* confdefs.h.  */
86241 _ACEOF
86242 cat confdefs.h >>conftest.$ac_ext
86243 cat >>conftest.$ac_ext <<_ACEOF
86244 /* end confdefs.h.  */
86245 #include <langinfo.h>
86246 _ACEOF
86247 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86248   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86249   ac_status=$?
86250   grep -v '^ *+' conftest.er1 >conftest.err
86251   rm -f conftest.er1
86252   cat conftest.err >&5
86253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86254   (exit $ac_status); } >/dev/null; then
86255   if test -s conftest.err; then
86256     ac_cpp_err=$ac_c_preproc_warn_flag
86257     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86258   else
86259     ac_cpp_err=
86260   fi
86261 else
86262   ac_cpp_err=yes
86263 fi
86264 if test -z "$ac_cpp_err"; then
86265   ac_header_preproc=yes
86266 else
86267   echo "$as_me: failed program was:" >&5
86268 sed 's/^/| /' conftest.$ac_ext >&5
86269
86270   ac_header_preproc=no
86271 fi
86272 rm -f conftest.err conftest.$ac_ext
86273 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86274 echo "${ECHO_T}$ac_header_preproc" >&6
86275
86276 # So?  What about this header?
86277 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86278   yes:no: )
86279     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
86280 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
86281     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
86282 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
86283     ac_header_preproc=yes
86284     ;;
86285   no:yes:* )
86286     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
86287 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
86288     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
86289 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
86290     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
86291 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
86292     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
86293 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
86294     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
86295 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
86296     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
86297 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
86298     (
86299       cat <<\_ASBOX
86300 ## ----------------------------------------- ##
86301 ## Report this to the package-unused lists.  ##
86302 ## ----------------------------------------- ##
86303 _ASBOX
86304     ) |
86305       sed "s/^/$as_me: WARNING:     /" >&2
86306     ;;
86307 esac
86308 echo "$as_me:$LINENO: checking for langinfo.h" >&5
86309 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
86310 if test "${ac_cv_header_langinfo_h+set}" = set; then
86311   echo $ECHO_N "(cached) $ECHO_C" >&6
86312 else
86313   ac_cv_header_langinfo_h=$ac_header_preproc
86314 fi
86315 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
86316 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
86317
86318 fi
86319 if test $ac_cv_header_langinfo_h = yes; then
86320   ac_has_langinfo_h=yes
86321 else
86322   ac_has_langinfo_h=no
86323 fi
86324
86325
86326
86327     # Check for existence of libiconv.a providing XPG2 wchar_t support.
86328     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
86329 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
86330 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
86331   echo $ECHO_N "(cached) $ECHO_C" >&6
86332 else
86333   ac_check_lib_save_LIBS=$LIBS
86334 LIBS="-liconv  $LIBS"
86335 if test x$gcc_no_link = xyes; then
86336   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86337 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86338    { (exit 1); exit 1; }; }
86339 fi
86340 cat >conftest.$ac_ext <<_ACEOF
86341 /* confdefs.h.  */
86342 _ACEOF
86343 cat confdefs.h >>conftest.$ac_ext
86344 cat >>conftest.$ac_ext <<_ACEOF
86345 /* end confdefs.h.  */
86346
86347 /* Override any gcc2 internal prototype to avoid an error.  */
86348 #ifdef __cplusplus
86349 extern "C"
86350 #endif
86351 /* We use char because int might match the return type of a gcc2
86352    builtin and then its argument prototype would still apply.  */
86353 char iconv ();
86354 int
86355 main ()
86356 {
86357 iconv ();
86358   ;
86359   return 0;
86360 }
86361 _ACEOF
86362 rm -f conftest.$ac_objext conftest$ac_exeext
86363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86364   (eval $ac_link) 2>conftest.er1
86365   ac_status=$?
86366   grep -v '^ *+' conftest.er1 >conftest.err
86367   rm -f conftest.er1
86368   cat conftest.err >&5
86369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86370   (exit $ac_status); } &&
86371          { ac_try='test -z "$ac_c_werror_flag"
86372                          || test ! -s conftest.err'
86373   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86374   (eval $ac_try) 2>&5
86375   ac_status=$?
86376   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86377   (exit $ac_status); }; } &&
86378          { ac_try='test -s conftest$ac_exeext'
86379   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86380   (eval $ac_try) 2>&5
86381   ac_status=$?
86382   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86383   (exit $ac_status); }; }; then
86384   ac_cv_lib_iconv_iconv=yes
86385 else
86386   echo "$as_me: failed program was:" >&5
86387 sed 's/^/| /' conftest.$ac_ext >&5
86388
86389 ac_cv_lib_iconv_iconv=no
86390 fi
86391 rm -f conftest.err conftest.$ac_objext \
86392       conftest$ac_exeext conftest.$ac_ext
86393 LIBS=$ac_check_lib_save_LIBS
86394 fi
86395 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
86396 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
86397 if test $ac_cv_lib_iconv_iconv = yes; then
86398   LIBICONV="-liconv"
86399 fi
86400
86401     ac_save_LIBS="$LIBS"
86402     LIBS="$LIBS $LIBICONV"
86403
86404
86405
86406
86407
86408
86409 for ac_func in iconv_open iconv_close iconv nl_langinfo
86410 do
86411 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86412 echo "$as_me:$LINENO: checking for $ac_func" >&5
86413 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86414 if eval "test \"\${$as_ac_var+set}\" = set"; then
86415   echo $ECHO_N "(cached) $ECHO_C" >&6
86416 else
86417   if test x$gcc_no_link = xyes; then
86418   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86419 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86420    { (exit 1); exit 1; }; }
86421 fi
86422 cat >conftest.$ac_ext <<_ACEOF
86423 /* confdefs.h.  */
86424 _ACEOF
86425 cat confdefs.h >>conftest.$ac_ext
86426 cat >>conftest.$ac_ext <<_ACEOF
86427 /* end confdefs.h.  */
86428 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86429    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86430 #define $ac_func innocuous_$ac_func
86431
86432 /* System header to define __stub macros and hopefully few prototypes,
86433     which can conflict with char $ac_func (); below.
86434     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86435     <limits.h> exists even on freestanding compilers.  */
86436
86437 #ifdef __STDC__
86438 # include <limits.h>
86439 #else
86440 # include <assert.h>
86441 #endif
86442
86443 #undef $ac_func
86444
86445 /* Override any gcc2 internal prototype to avoid an error.  */
86446 #ifdef __cplusplus
86447 extern "C"
86448 {
86449 #endif
86450 /* We use char because int might match the return type of a gcc2
86451    builtin and then its argument prototype would still apply.  */
86452 char $ac_func ();
86453 /* The GNU C library defines this for functions which it implements
86454     to always fail with ENOSYS.  Some functions are actually named
86455     something starting with __ and the normal name is an alias.  */
86456 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86457 choke me
86458 #else
86459 char (*f) () = $ac_func;
86460 #endif
86461 #ifdef __cplusplus
86462 }
86463 #endif
86464
86465 int
86466 main ()
86467 {
86468 return f != $ac_func;
86469   ;
86470   return 0;
86471 }
86472 _ACEOF
86473 rm -f conftest.$ac_objext conftest$ac_exeext
86474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86475   (eval $ac_link) 2>conftest.er1
86476   ac_status=$?
86477   grep -v '^ *+' conftest.er1 >conftest.err
86478   rm -f conftest.er1
86479   cat conftest.err >&5
86480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86481   (exit $ac_status); } &&
86482          { ac_try='test -z "$ac_c_werror_flag"
86483                          || test ! -s conftest.err'
86484   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86485   (eval $ac_try) 2>&5
86486   ac_status=$?
86487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86488   (exit $ac_status); }; } &&
86489          { ac_try='test -s conftest$ac_exeext'
86490   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86491   (eval $ac_try) 2>&5
86492   ac_status=$?
86493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86494   (exit $ac_status); }; }; then
86495   eval "$as_ac_var=yes"
86496 else
86497   echo "$as_me: failed program was:" >&5
86498 sed 's/^/| /' conftest.$ac_ext >&5
86499
86500 eval "$as_ac_var=no"
86501 fi
86502 rm -f conftest.err conftest.$ac_objext \
86503       conftest$ac_exeext conftest.$ac_ext
86504 fi
86505 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86506 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86507 if test `eval echo '${'$as_ac_var'}'` = yes; then
86508   cat >>confdefs.h <<_ACEOF
86509 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86510 _ACEOF
86511  ac_XPG2funcs=yes
86512 else
86513   ac_XPG2funcs=no
86514 fi
86515 done
86516
86517
86518     LIBS="$ac_save_LIBS"
86519
86520     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
86521 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
86522     if test x"$ac_has_iconv_h" = xyes &&
86523        test x"$ac_has_langinfo_h" = xyes &&
86524        test x"$ac_XPG2funcs" = xyes;
86525     then
86526       ac_XPG2_wchar_t=yes
86527     else
86528       ac_XPG2_wchar_t=no
86529     fi
86530     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
86531 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
86532
86533     # At the moment, only enable wchar_t specializations if all the
86534     # above support is present.
86535     if test x"$ac_isoC99_wchar_t" = xyes &&
86536        test x"$ac_XPG2_wchar_t" = xyes;
86537     then
86538       cat >>confdefs.h <<\_ACEOF
86539 #define _GLIBCXX_USE_WCHAR_T 1
86540 _ACEOF
86541
86542       enable_wchar_t=yes
86543     fi
86544   fi
86545   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
86546 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
86547   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
86548 echo "${ECHO_T}$enable_wchar_t" >&6
86549
86550     ;;
86551   *-netbsd*)
86552
86553
86554
86555
86556
86557
86558
86559
86560
86561
86562
86563
86564 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
86565       machine/endian.h machine/param.h sys/machine.h sys/types.h \
86566       fp.h locale.h float.h inttypes.h
86567 do
86568 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
86569 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86570   echo "$as_me:$LINENO: checking for $ac_header" >&5
86571 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86572 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86573   echo $ECHO_N "(cached) $ECHO_C" >&6
86574 fi
86575 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86576 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86577 else
86578   # Is the header compilable?
86579 echo "$as_me:$LINENO: checking $ac_header usability" >&5
86580 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
86581 cat >conftest.$ac_ext <<_ACEOF
86582 /* confdefs.h.  */
86583 _ACEOF
86584 cat confdefs.h >>conftest.$ac_ext
86585 cat >>conftest.$ac_ext <<_ACEOF
86586 /* end confdefs.h.  */
86587 $ac_includes_default
86588 #include <$ac_header>
86589 _ACEOF
86590 rm -f conftest.$ac_objext
86591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86592   (eval $ac_compile) 2>conftest.er1
86593   ac_status=$?
86594   grep -v '^ *+' conftest.er1 >conftest.err
86595   rm -f conftest.er1
86596   cat conftest.err >&5
86597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86598   (exit $ac_status); } &&
86599          { ac_try='test -z "$ac_c_werror_flag"
86600                          || test ! -s conftest.err'
86601   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86602   (eval $ac_try) 2>&5
86603   ac_status=$?
86604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86605   (exit $ac_status); }; } &&
86606          { ac_try='test -s conftest.$ac_objext'
86607   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86608   (eval $ac_try) 2>&5
86609   ac_status=$?
86610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86611   (exit $ac_status); }; }; then
86612   ac_header_compiler=yes
86613 else
86614   echo "$as_me: failed program was:" >&5
86615 sed 's/^/| /' conftest.$ac_ext >&5
86616
86617 ac_header_compiler=no
86618 fi
86619 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86620 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86621 echo "${ECHO_T}$ac_header_compiler" >&6
86622
86623 # Is the header present?
86624 echo "$as_me:$LINENO: checking $ac_header presence" >&5
86625 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
86626 cat >conftest.$ac_ext <<_ACEOF
86627 /* confdefs.h.  */
86628 _ACEOF
86629 cat confdefs.h >>conftest.$ac_ext
86630 cat >>conftest.$ac_ext <<_ACEOF
86631 /* end confdefs.h.  */
86632 #include <$ac_header>
86633 _ACEOF
86634 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86635   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86636   ac_status=$?
86637   grep -v '^ *+' conftest.er1 >conftest.err
86638   rm -f conftest.er1
86639   cat conftest.err >&5
86640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86641   (exit $ac_status); } >/dev/null; then
86642   if test -s conftest.err; then
86643     ac_cpp_err=$ac_c_preproc_warn_flag
86644     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86645   else
86646     ac_cpp_err=
86647   fi
86648 else
86649   ac_cpp_err=yes
86650 fi
86651 if test -z "$ac_cpp_err"; then
86652   ac_header_preproc=yes
86653 else
86654   echo "$as_me: failed program was:" >&5
86655 sed 's/^/| /' conftest.$ac_ext >&5
86656
86657   ac_header_preproc=no
86658 fi
86659 rm -f conftest.err conftest.$ac_ext
86660 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86661 echo "${ECHO_T}$ac_header_preproc" >&6
86662
86663 # So?  What about this header?
86664 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86665   yes:no: )
86666     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
86667 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
86668     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
86669 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
86670     ac_header_preproc=yes
86671     ;;
86672   no:yes:* )
86673     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
86674 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
86675     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
86676 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
86677     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
86678 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
86679     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
86680 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
86681     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
86682 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
86683     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
86684 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
86685     (
86686       cat <<\_ASBOX
86687 ## ----------------------------------------- ##
86688 ## Report this to the package-unused lists.  ##
86689 ## ----------------------------------------- ##
86690 _ASBOX
86691     ) |
86692       sed "s/^/$as_me: WARNING:     /" >&2
86693     ;;
86694 esac
86695 echo "$as_me:$LINENO: checking for $ac_header" >&5
86696 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86697 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86698   echo $ECHO_N "(cached) $ECHO_C" >&6
86699 else
86700   eval "$as_ac_Header=\$ac_header_preproc"
86701 fi
86702 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86703 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86704
86705 fi
86706 if test `eval echo '${'$as_ac_Header'}'` = yes; then
86707   cat >>confdefs.h <<_ACEOF
86708 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
86709 _ACEOF
86710
86711 fi
86712
86713 done
86714
86715     SECTION_FLAGS='-ffunction-sections -fdata-sections'
86716
86717
86718   # If we're not using GNU ld, then there's no point in even trying these
86719   # tests.  Check for that first.  We should have already tested for gld
86720   # by now (in libtool), but require it now just to be safe...
86721   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
86722   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
86723
86724
86725
86726   # The name set by libtool depends on the version of libtool.  Shame on us
86727   # for depending on an impl detail, but c'est la vie.  Older versions used
86728   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
86729   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
86730   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
86731   # set (hence we're using an older libtool), then set it.
86732   if test x${with_gnu_ld+set} != xset; then
86733     if test x${ac_cv_prog_gnu_ld+set} != xset; then
86734       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
86735       with_gnu_ld=no
86736     else
86737       with_gnu_ld=$ac_cv_prog_gnu_ld
86738     fi
86739   fi
86740
86741   # Start by getting the version number.  I think the libtool test already
86742   # does some of this, but throws away the result.
86743
86744   ldver=`$LD --version 2>/dev/null | head -1 | \
86745          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
86746
86747   glibcxx_gnu_ld_version=`echo $ldver | \
86748          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
86749
86750   # Set --gc-sections.
86751   if test "$with_gnu_ld" = "notbroken"; then
86752     # GNU ld it is!  Joy and bunny rabbits!
86753
86754     # All these tests are for C++; save the language and the compiler flags.
86755     # Need to do this so that g++ won't try to link in libstdc++
86756     ac_test_CFLAGS="${CFLAGS+set}"
86757     ac_save_CFLAGS="$CFLAGS"
86758     CFLAGS='-x c++  -Wl,--gc-sections'
86759
86760     # Check for -Wl,--gc-sections
86761     # XXX This test is broken at the moment, as symbols required for linking
86762     # are now in libsupc++ (not built yet).  In addition, this test has
86763     # cored on solaris in the past.  In addition, --gc-sections doesn't
86764     # really work at the moment (keeps on discarding used sections, first
86765     # .eh_frame and now some of the glibc sections for iconv).
86766     # Bzzzzt.  Thanks for playing, maybe next time.
86767     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
86768 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
86769     if test "$cross_compiling" = yes; then
86770   ac_sectionLDflags=yes
86771 else
86772   cat >conftest.$ac_ext <<_ACEOF
86773 /* confdefs.h.  */
86774 _ACEOF
86775 cat confdefs.h >>conftest.$ac_ext
86776 cat >>conftest.$ac_ext <<_ACEOF
86777 /* end confdefs.h.  */
86778
86779      int main(void)
86780      {
86781        try { throw 1; }
86782        catch (...) { };
86783        return 0;
86784      }
86785
86786 _ACEOF
86787 rm -f conftest$ac_exeext
86788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86789   (eval $ac_link) 2>&5
86790   ac_status=$?
86791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86792   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
86793   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86794   (eval $ac_try) 2>&5
86795   ac_status=$?
86796   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86797   (exit $ac_status); }; }; then
86798   ac_sectionLDflags=yes
86799 else
86800   echo "$as_me: program exited with status $ac_status" >&5
86801 echo "$as_me: failed program was:" >&5
86802 sed 's/^/| /' conftest.$ac_ext >&5
86803
86804 ( exit $ac_status )
86805 ac_sectionLDflags=no
86806 fi
86807 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
86808 fi
86809     if test "$ac_test_CFLAGS" = set; then
86810       CFLAGS="$ac_save_CFLAGS"
86811     else
86812       # this is the suspicious part
86813       CFLAGS=''
86814     fi
86815     if test "$ac_sectionLDflags" = "yes"; then
86816       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
86817     fi
86818     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
86819 echo "${ECHO_T}$ac_sectionLDflags" >&6
86820   fi
86821
86822   # Set linker optimization flags.
86823   if test x"$with_gnu_ld" = x"yes"; then
86824     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
86825   fi
86826
86827
86828
86829
86830
86831
86832 echo "$as_me:$LINENO: checking for main in -lm" >&5
86833 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
86834 if test "${ac_cv_lib_m_main+set}" = set; then
86835   echo $ECHO_N "(cached) $ECHO_C" >&6
86836 else
86837   ac_check_lib_save_LIBS=$LIBS
86838 LIBS="-lm  $LIBS"
86839 if test x$gcc_no_link = xyes; then
86840   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86841 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86842    { (exit 1); exit 1; }; }
86843 fi
86844 cat >conftest.$ac_ext <<_ACEOF
86845 /* confdefs.h.  */
86846 _ACEOF
86847 cat confdefs.h >>conftest.$ac_ext
86848 cat >>conftest.$ac_ext <<_ACEOF
86849 /* end confdefs.h.  */
86850
86851
86852 int
86853 main ()
86854 {
86855 main ();
86856   ;
86857   return 0;
86858 }
86859 _ACEOF
86860 rm -f conftest.$ac_objext conftest$ac_exeext
86861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86862   (eval $ac_link) 2>conftest.er1
86863   ac_status=$?
86864   grep -v '^ *+' conftest.er1 >conftest.err
86865   rm -f conftest.er1
86866   cat conftest.err >&5
86867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86868   (exit $ac_status); } &&
86869          { ac_try='test -z "$ac_c_werror_flag"
86870                          || test ! -s conftest.err'
86871   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86872   (eval $ac_try) 2>&5
86873   ac_status=$?
86874   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86875   (exit $ac_status); }; } &&
86876          { ac_try='test -s conftest$ac_exeext'
86877   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86878   (eval $ac_try) 2>&5
86879   ac_status=$?
86880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86881   (exit $ac_status); }; }; then
86882   ac_cv_lib_m_main=yes
86883 else
86884   echo "$as_me: failed program was:" >&5
86885 sed 's/^/| /' conftest.$ac_ext >&5
86886
86887 ac_cv_lib_m_main=no
86888 fi
86889 rm -f conftest.err conftest.$ac_objext \
86890       conftest$ac_exeext conftest.$ac_ext
86891 LIBS=$ac_check_lib_save_LIBS
86892 fi
86893 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
86894 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
86895 if test $ac_cv_lib_m_main = yes; then
86896   cat >>confdefs.h <<_ACEOF
86897 #define HAVE_LIBM 1
86898 _ACEOF
86899
86900   LIBS="-lm $LIBS"
86901
86902 fi
86903
86904
86905 for ac_func in copysignf
86906 do
86907 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86908 echo "$as_me:$LINENO: checking for $ac_func" >&5
86909 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86910 if eval "test \"\${$as_ac_var+set}\" = set"; then
86911   echo $ECHO_N "(cached) $ECHO_C" >&6
86912 else
86913   if test x$gcc_no_link = xyes; then
86914   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86915 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86916    { (exit 1); exit 1; }; }
86917 fi
86918 cat >conftest.$ac_ext <<_ACEOF
86919 /* confdefs.h.  */
86920 _ACEOF
86921 cat confdefs.h >>conftest.$ac_ext
86922 cat >>conftest.$ac_ext <<_ACEOF
86923 /* end confdefs.h.  */
86924 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86925    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
86926 #define $ac_func innocuous_$ac_func
86927
86928 /* System header to define __stub macros and hopefully few prototypes,
86929     which can conflict with char $ac_func (); below.
86930     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86931     <limits.h> exists even on freestanding compilers.  */
86932
86933 #ifdef __STDC__
86934 # include <limits.h>
86935 #else
86936 # include <assert.h>
86937 #endif
86938
86939 #undef $ac_func
86940
86941 /* Override any gcc2 internal prototype to avoid an error.  */
86942 #ifdef __cplusplus
86943 extern "C"
86944 {
86945 #endif
86946 /* We use char because int might match the return type of a gcc2
86947    builtin and then its argument prototype would still apply.  */
86948 char $ac_func ();
86949 /* The GNU C library defines this for functions which it implements
86950     to always fail with ENOSYS.  Some functions are actually named
86951     something starting with __ and the normal name is an alias.  */
86952 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86953 choke me
86954 #else
86955 char (*f) () = $ac_func;
86956 #endif
86957 #ifdef __cplusplus
86958 }
86959 #endif
86960
86961 int
86962 main ()
86963 {
86964 return f != $ac_func;
86965   ;
86966   return 0;
86967 }
86968 _ACEOF
86969 rm -f conftest.$ac_objext conftest$ac_exeext
86970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86971   (eval $ac_link) 2>conftest.er1
86972   ac_status=$?
86973   grep -v '^ *+' conftest.er1 >conftest.err
86974   rm -f conftest.er1
86975   cat conftest.err >&5
86976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86977   (exit $ac_status); } &&
86978          { ac_try='test -z "$ac_c_werror_flag"
86979                          || test ! -s conftest.err'
86980   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86981   (eval $ac_try) 2>&5
86982   ac_status=$?
86983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86984   (exit $ac_status); }; } &&
86985          { ac_try='test -s conftest$ac_exeext'
86986   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86987   (eval $ac_try) 2>&5
86988   ac_status=$?
86989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
86990   (exit $ac_status); }; }; then
86991   eval "$as_ac_var=yes"
86992 else
86993   echo "$as_me: failed program was:" >&5
86994 sed 's/^/| /' conftest.$ac_ext >&5
86995
86996 eval "$as_ac_var=no"
86997 fi
86998 rm -f conftest.err conftest.$ac_objext \
86999       conftest$ac_exeext conftest.$ac_ext
87000 fi
87001 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87002 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87003 if test `eval echo '${'$as_ac_var'}'` = yes; then
87004   cat >>confdefs.h <<_ACEOF
87005 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87006 _ACEOF
87007
87008 else
87009   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
87010 fi
87011 done
87012
87013
87014
87015 for ac_func in __signbit
87016 do
87017 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87018 echo "$as_me:$LINENO: checking for $ac_func" >&5
87019 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87020 if eval "test \"\${$as_ac_var+set}\" = set"; then
87021   echo $ECHO_N "(cached) $ECHO_C" >&6
87022 else
87023   if test x$gcc_no_link = xyes; then
87024   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87025 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87026    { (exit 1); exit 1; }; }
87027 fi
87028 cat >conftest.$ac_ext <<_ACEOF
87029 /* confdefs.h.  */
87030 _ACEOF
87031 cat confdefs.h >>conftest.$ac_ext
87032 cat >>conftest.$ac_ext <<_ACEOF
87033 /* end confdefs.h.  */
87034 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87035    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87036 #define $ac_func innocuous_$ac_func
87037
87038 /* System header to define __stub macros and hopefully few prototypes,
87039     which can conflict with char $ac_func (); below.
87040     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87041     <limits.h> exists even on freestanding compilers.  */
87042
87043 #ifdef __STDC__
87044 # include <limits.h>
87045 #else
87046 # include <assert.h>
87047 #endif
87048
87049 #undef $ac_func
87050
87051 /* Override any gcc2 internal prototype to avoid an error.  */
87052 #ifdef __cplusplus
87053 extern "C"
87054 {
87055 #endif
87056 /* We use char because int might match the return type of a gcc2
87057    builtin and then its argument prototype would still apply.  */
87058 char $ac_func ();
87059 /* The GNU C library defines this for functions which it implements
87060     to always fail with ENOSYS.  Some functions are actually named
87061     something starting with __ and the normal name is an alias.  */
87062 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87063 choke me
87064 #else
87065 char (*f) () = $ac_func;
87066 #endif
87067 #ifdef __cplusplus
87068 }
87069 #endif
87070
87071 int
87072 main ()
87073 {
87074 return f != $ac_func;
87075   ;
87076   return 0;
87077 }
87078 _ACEOF
87079 rm -f conftest.$ac_objext conftest$ac_exeext
87080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87081   (eval $ac_link) 2>conftest.er1
87082   ac_status=$?
87083   grep -v '^ *+' conftest.er1 >conftest.err
87084   rm -f conftest.er1
87085   cat conftest.err >&5
87086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87087   (exit $ac_status); } &&
87088          { ac_try='test -z "$ac_c_werror_flag"
87089                          || test ! -s conftest.err'
87090   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87091   (eval $ac_try) 2>&5
87092   ac_status=$?
87093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87094   (exit $ac_status); }; } &&
87095          { ac_try='test -s conftest$ac_exeext'
87096   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87097   (eval $ac_try) 2>&5
87098   ac_status=$?
87099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87100   (exit $ac_status); }; }; then
87101   eval "$as_ac_var=yes"
87102 else
87103   echo "$as_me: failed program was:" >&5
87104 sed 's/^/| /' conftest.$ac_ext >&5
87105
87106 eval "$as_ac_var=no"
87107 fi
87108 rm -f conftest.err conftest.$ac_objext \
87109       conftest$ac_exeext conftest.$ac_ext
87110 fi
87111 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87112 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87113 if test `eval echo '${'$as_ac_var'}'` = yes; then
87114   cat >>confdefs.h <<_ACEOF
87115 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87116 _ACEOF
87117
87118 else
87119   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
87120 fi
87121 done
87122
87123
87124
87125 for ac_func in __signbitf
87126 do
87127 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87128 echo "$as_me:$LINENO: checking for $ac_func" >&5
87129 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87130 if eval "test \"\${$as_ac_var+set}\" = set"; then
87131   echo $ECHO_N "(cached) $ECHO_C" >&6
87132 else
87133   if test x$gcc_no_link = xyes; then
87134   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87135 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87136    { (exit 1); exit 1; }; }
87137 fi
87138 cat >conftest.$ac_ext <<_ACEOF
87139 /* confdefs.h.  */
87140 _ACEOF
87141 cat confdefs.h >>conftest.$ac_ext
87142 cat >>conftest.$ac_ext <<_ACEOF
87143 /* end confdefs.h.  */
87144 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87145    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87146 #define $ac_func innocuous_$ac_func
87147
87148 /* System header to define __stub macros and hopefully few prototypes,
87149     which can conflict with char $ac_func (); below.
87150     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87151     <limits.h> exists even on freestanding compilers.  */
87152
87153 #ifdef __STDC__
87154 # include <limits.h>
87155 #else
87156 # include <assert.h>
87157 #endif
87158
87159 #undef $ac_func
87160
87161 /* Override any gcc2 internal prototype to avoid an error.  */
87162 #ifdef __cplusplus
87163 extern "C"
87164 {
87165 #endif
87166 /* We use char because int might match the return type of a gcc2
87167    builtin and then its argument prototype would still apply.  */
87168 char $ac_func ();
87169 /* The GNU C library defines this for functions which it implements
87170     to always fail with ENOSYS.  Some functions are actually named
87171     something starting with __ and the normal name is an alias.  */
87172 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87173 choke me
87174 #else
87175 char (*f) () = $ac_func;
87176 #endif
87177 #ifdef __cplusplus
87178 }
87179 #endif
87180
87181 int
87182 main ()
87183 {
87184 return f != $ac_func;
87185   ;
87186   return 0;
87187 }
87188 _ACEOF
87189 rm -f conftest.$ac_objext conftest$ac_exeext
87190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87191   (eval $ac_link) 2>conftest.er1
87192   ac_status=$?
87193   grep -v '^ *+' conftest.er1 >conftest.err
87194   rm -f conftest.er1
87195   cat conftest.err >&5
87196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87197   (exit $ac_status); } &&
87198          { ac_try='test -z "$ac_c_werror_flag"
87199                          || test ! -s conftest.err'
87200   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87201   (eval $ac_try) 2>&5
87202   ac_status=$?
87203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87204   (exit $ac_status); }; } &&
87205          { ac_try='test -s conftest$ac_exeext'
87206   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87207   (eval $ac_try) 2>&5
87208   ac_status=$?
87209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87210   (exit $ac_status); }; }; then
87211   eval "$as_ac_var=yes"
87212 else
87213   echo "$as_me: failed program was:" >&5
87214 sed 's/^/| /' conftest.$ac_ext >&5
87215
87216 eval "$as_ac_var=no"
87217 fi
87218 rm -f conftest.err conftest.$ac_objext \
87219       conftest$ac_exeext conftest.$ac_ext
87220 fi
87221 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87222 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87223 if test `eval echo '${'$as_ac_var'}'` = yes; then
87224   cat >>confdefs.h <<_ACEOF
87225 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87226 _ACEOF
87227
87228 else
87229   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
87230 fi
87231 done
87232
87233
87234           if test x$ac_cv_func_copysignl = x"yes"; then
87235
87236 for ac_func in __signbitl
87237 do
87238 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87239 echo "$as_me:$LINENO: checking for $ac_func" >&5
87240 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87241 if eval "test \"\${$as_ac_var+set}\" = set"; then
87242   echo $ECHO_N "(cached) $ECHO_C" >&6
87243 else
87244   if test x$gcc_no_link = xyes; then
87245   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87246 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87247    { (exit 1); exit 1; }; }
87248 fi
87249 cat >conftest.$ac_ext <<_ACEOF
87250 /* confdefs.h.  */
87251 _ACEOF
87252 cat confdefs.h >>conftest.$ac_ext
87253 cat >>conftest.$ac_ext <<_ACEOF
87254 /* end confdefs.h.  */
87255 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87256    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87257 #define $ac_func innocuous_$ac_func
87258
87259 /* System header to define __stub macros and hopefully few prototypes,
87260     which can conflict with char $ac_func (); below.
87261     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87262     <limits.h> exists even on freestanding compilers.  */
87263
87264 #ifdef __STDC__
87265 # include <limits.h>
87266 #else
87267 # include <assert.h>
87268 #endif
87269
87270 #undef $ac_func
87271
87272 /* Override any gcc2 internal prototype to avoid an error.  */
87273 #ifdef __cplusplus
87274 extern "C"
87275 {
87276 #endif
87277 /* We use char because int might match the return type of a gcc2
87278    builtin and then its argument prototype would still apply.  */
87279 char $ac_func ();
87280 /* The GNU C library defines this for functions which it implements
87281     to always fail with ENOSYS.  Some functions are actually named
87282     something starting with __ and the normal name is an alias.  */
87283 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87284 choke me
87285 #else
87286 char (*f) () = $ac_func;
87287 #endif
87288 #ifdef __cplusplus
87289 }
87290 #endif
87291
87292 int
87293 main ()
87294 {
87295 return f != $ac_func;
87296   ;
87297   return 0;
87298 }
87299 _ACEOF
87300 rm -f conftest.$ac_objext conftest$ac_exeext
87301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87302   (eval $ac_link) 2>conftest.er1
87303   ac_status=$?
87304   grep -v '^ *+' conftest.er1 >conftest.err
87305   rm -f conftest.er1
87306   cat conftest.err >&5
87307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87308   (exit $ac_status); } &&
87309          { ac_try='test -z "$ac_c_werror_flag"
87310                          || test ! -s conftest.err'
87311   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87312   (eval $ac_try) 2>&5
87313   ac_status=$?
87314   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87315   (exit $ac_status); }; } &&
87316          { ac_try='test -s conftest$ac_exeext'
87317   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87318   (eval $ac_try) 2>&5
87319   ac_status=$?
87320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87321   (exit $ac_status); }; }; then
87322   eval "$as_ac_var=yes"
87323 else
87324   echo "$as_me: failed program was:" >&5
87325 sed 's/^/| /' conftest.$ac_ext >&5
87326
87327 eval "$as_ac_var=no"
87328 fi
87329 rm -f conftest.err conftest.$ac_objext \
87330       conftest$ac_exeext conftest.$ac_ext
87331 fi
87332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87333 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87334 if test `eval echo '${'$as_ac_var'}'` = yes; then
87335   cat >>confdefs.h <<_ACEOF
87336 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87337 _ACEOF
87338
87339 else
87340   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
87341 fi
87342 done
87343
87344   fi
87345
87346   # Used in libmath/Makefile.am.
87347   if test -n "$LIBMATHOBJS"; then
87348     need_libmath=yes
87349   fi
87350
87351
87352
87353   # Test wchar.h for mbstate_t, which is needed for char_traits and
87354   # others even if wchar_t support is not on.
87355   echo "$as_me:$LINENO: checking for mbstate_t" >&5
87356 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
87357   cat >conftest.$ac_ext <<_ACEOF
87358 /* confdefs.h.  */
87359 _ACEOF
87360 cat confdefs.h >>conftest.$ac_ext
87361 cat >>conftest.$ac_ext <<_ACEOF
87362 /* end confdefs.h.  */
87363 #include <wchar.h>
87364 int
87365 main ()
87366 {
87367 mbstate_t teststate;
87368   ;
87369   return 0;
87370 }
87371 _ACEOF
87372 rm -f conftest.$ac_objext
87373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87374   (eval $ac_compile) 2>conftest.er1
87375   ac_status=$?
87376   grep -v '^ *+' conftest.er1 >conftest.err
87377   rm -f conftest.er1
87378   cat conftest.err >&5
87379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87380   (exit $ac_status); } &&
87381          { ac_try='test -z "$ac_c_werror_flag"
87382                          || test ! -s conftest.err'
87383   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87384   (eval $ac_try) 2>&5
87385   ac_status=$?
87386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87387   (exit $ac_status); }; } &&
87388          { ac_try='test -s conftest.$ac_objext'
87389   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87390   (eval $ac_try) 2>&5
87391   ac_status=$?
87392   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87393   (exit $ac_status); }; }; then
87394   have_mbstate_t=yes
87395 else
87396   echo "$as_me: failed program was:" >&5
87397 sed 's/^/| /' conftest.$ac_ext >&5
87398
87399 have_mbstate_t=no
87400 fi
87401 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87402   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
87403 echo "${ECHO_T}$have_mbstate_t" >&6
87404   if test x"$have_mbstate_t" = xyes; then
87405     cat >>confdefs.h <<\_ACEOF
87406 #define HAVE_MBSTATE_T 1
87407 _ACEOF
87408
87409   fi
87410
87411   # Sanity check for existence of ISO C99 headers for extended encoding.
87412
87413 for ac_header in wchar.h
87414 do
87415 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
87416 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87417   echo "$as_me:$LINENO: checking for $ac_header" >&5
87418 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87419 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87420   echo $ECHO_N "(cached) $ECHO_C" >&6
87421 fi
87422 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87423 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87424 else
87425   # Is the header compilable?
87426 echo "$as_me:$LINENO: checking $ac_header usability" >&5
87427 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
87428 cat >conftest.$ac_ext <<_ACEOF
87429 /* confdefs.h.  */
87430 _ACEOF
87431 cat confdefs.h >>conftest.$ac_ext
87432 cat >>conftest.$ac_ext <<_ACEOF
87433 /* end confdefs.h.  */
87434 $ac_includes_default
87435 #include <$ac_header>
87436 _ACEOF
87437 rm -f conftest.$ac_objext
87438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87439   (eval $ac_compile) 2>conftest.er1
87440   ac_status=$?
87441   grep -v '^ *+' conftest.er1 >conftest.err
87442   rm -f conftest.er1
87443   cat conftest.err >&5
87444   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87445   (exit $ac_status); } &&
87446          { ac_try='test -z "$ac_c_werror_flag"
87447                          || test ! -s conftest.err'
87448   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87449   (eval $ac_try) 2>&5
87450   ac_status=$?
87451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87452   (exit $ac_status); }; } &&
87453          { ac_try='test -s conftest.$ac_objext'
87454   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87455   (eval $ac_try) 2>&5
87456   ac_status=$?
87457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87458   (exit $ac_status); }; }; then
87459   ac_header_compiler=yes
87460 else
87461   echo "$as_me: failed program was:" >&5
87462 sed 's/^/| /' conftest.$ac_ext >&5
87463
87464 ac_header_compiler=no
87465 fi
87466 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87467 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
87468 echo "${ECHO_T}$ac_header_compiler" >&6
87469
87470 # Is the header present?
87471 echo "$as_me:$LINENO: checking $ac_header presence" >&5
87472 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
87473 cat >conftest.$ac_ext <<_ACEOF
87474 /* confdefs.h.  */
87475 _ACEOF
87476 cat confdefs.h >>conftest.$ac_ext
87477 cat >>conftest.$ac_ext <<_ACEOF
87478 /* end confdefs.h.  */
87479 #include <$ac_header>
87480 _ACEOF
87481 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
87482   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
87483   ac_status=$?
87484   grep -v '^ *+' conftest.er1 >conftest.err
87485   rm -f conftest.er1
87486   cat conftest.err >&5
87487   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87488   (exit $ac_status); } >/dev/null; then
87489   if test -s conftest.err; then
87490     ac_cpp_err=$ac_c_preproc_warn_flag
87491     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
87492   else
87493     ac_cpp_err=
87494   fi
87495 else
87496   ac_cpp_err=yes
87497 fi
87498 if test -z "$ac_cpp_err"; then
87499   ac_header_preproc=yes
87500 else
87501   echo "$as_me: failed program was:" >&5
87502 sed 's/^/| /' conftest.$ac_ext >&5
87503
87504   ac_header_preproc=no
87505 fi
87506 rm -f conftest.err conftest.$ac_ext
87507 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
87508 echo "${ECHO_T}$ac_header_preproc" >&6
87509
87510 # So?  What about this header?
87511 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
87512   yes:no: )
87513     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
87514 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
87515     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
87516 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
87517     ac_header_preproc=yes
87518     ;;
87519   no:yes:* )
87520     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
87521 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
87522     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
87523 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
87524     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
87525 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
87526     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
87527 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
87528     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
87529 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
87530     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
87531 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
87532     (
87533       cat <<\_ASBOX
87534 ## ----------------------------------------- ##
87535 ## Report this to the package-unused lists.  ##
87536 ## ----------------------------------------- ##
87537 _ASBOX
87538     ) |
87539       sed "s/^/$as_me: WARNING:     /" >&2
87540     ;;
87541 esac
87542 echo "$as_me:$LINENO: checking for $ac_header" >&5
87543 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87544 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87545   echo $ECHO_N "(cached) $ECHO_C" >&6
87546 else
87547   eval "$as_ac_Header=\$ac_header_preproc"
87548 fi
87549 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87550 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87551
87552 fi
87553 if test `eval echo '${'$as_ac_Header'}'` = yes; then
87554   cat >>confdefs.h <<_ACEOF
87555 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
87556 _ACEOF
87557  ac_has_wchar_h=yes
87558 else
87559   ac_has_wchar_h=no
87560 fi
87561
87562 done
87563
87564
87565 for ac_header in wctype.h
87566 do
87567 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
87568 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87569   echo "$as_me:$LINENO: checking for $ac_header" >&5
87570 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87571 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87572   echo $ECHO_N "(cached) $ECHO_C" >&6
87573 fi
87574 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87575 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87576 else
87577   # Is the header compilable?
87578 echo "$as_me:$LINENO: checking $ac_header usability" >&5
87579 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
87580 cat >conftest.$ac_ext <<_ACEOF
87581 /* confdefs.h.  */
87582 _ACEOF
87583 cat confdefs.h >>conftest.$ac_ext
87584 cat >>conftest.$ac_ext <<_ACEOF
87585 /* end confdefs.h.  */
87586 $ac_includes_default
87587 #include <$ac_header>
87588 _ACEOF
87589 rm -f conftest.$ac_objext
87590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87591   (eval $ac_compile) 2>conftest.er1
87592   ac_status=$?
87593   grep -v '^ *+' conftest.er1 >conftest.err
87594   rm -f conftest.er1
87595   cat conftest.err >&5
87596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87597   (exit $ac_status); } &&
87598          { ac_try='test -z "$ac_c_werror_flag"
87599                          || test ! -s conftest.err'
87600   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87601   (eval $ac_try) 2>&5
87602   ac_status=$?
87603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87604   (exit $ac_status); }; } &&
87605          { ac_try='test -s conftest.$ac_objext'
87606   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87607   (eval $ac_try) 2>&5
87608   ac_status=$?
87609   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87610   (exit $ac_status); }; }; then
87611   ac_header_compiler=yes
87612 else
87613   echo "$as_me: failed program was:" >&5
87614 sed 's/^/| /' conftest.$ac_ext >&5
87615
87616 ac_header_compiler=no
87617 fi
87618 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87619 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
87620 echo "${ECHO_T}$ac_header_compiler" >&6
87621
87622 # Is the header present?
87623 echo "$as_me:$LINENO: checking $ac_header presence" >&5
87624 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
87625 cat >conftest.$ac_ext <<_ACEOF
87626 /* confdefs.h.  */
87627 _ACEOF
87628 cat confdefs.h >>conftest.$ac_ext
87629 cat >>conftest.$ac_ext <<_ACEOF
87630 /* end confdefs.h.  */
87631 #include <$ac_header>
87632 _ACEOF
87633 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
87634   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
87635   ac_status=$?
87636   grep -v '^ *+' conftest.er1 >conftest.err
87637   rm -f conftest.er1
87638   cat conftest.err >&5
87639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87640   (exit $ac_status); } >/dev/null; then
87641   if test -s conftest.err; then
87642     ac_cpp_err=$ac_c_preproc_warn_flag
87643     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
87644   else
87645     ac_cpp_err=
87646   fi
87647 else
87648   ac_cpp_err=yes
87649 fi
87650 if test -z "$ac_cpp_err"; then
87651   ac_header_preproc=yes
87652 else
87653   echo "$as_me: failed program was:" >&5
87654 sed 's/^/| /' conftest.$ac_ext >&5
87655
87656   ac_header_preproc=no
87657 fi
87658 rm -f conftest.err conftest.$ac_ext
87659 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
87660 echo "${ECHO_T}$ac_header_preproc" >&6
87661
87662 # So?  What about this header?
87663 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
87664   yes:no: )
87665     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
87666 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
87667     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
87668 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
87669     ac_header_preproc=yes
87670     ;;
87671   no:yes:* )
87672     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
87673 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
87674     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
87675 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
87676     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
87677 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
87678     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
87679 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
87680     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
87681 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
87682     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
87683 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
87684     (
87685       cat <<\_ASBOX
87686 ## ----------------------------------------- ##
87687 ## Report this to the package-unused lists.  ##
87688 ## ----------------------------------------- ##
87689 _ASBOX
87690     ) |
87691       sed "s/^/$as_me: WARNING:     /" >&2
87692     ;;
87693 esac
87694 echo "$as_me:$LINENO: checking for $ac_header" >&5
87695 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87696 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87697   echo $ECHO_N "(cached) $ECHO_C" >&6
87698 else
87699   eval "$as_ac_Header=\$ac_header_preproc"
87700 fi
87701 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87702 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87703
87704 fi
87705 if test `eval echo '${'$as_ac_Header'}'` = yes; then
87706   cat >>confdefs.h <<_ACEOF
87707 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
87708 _ACEOF
87709  ac_has_wctype_h=yes
87710 else
87711   ac_has_wctype_h=no
87712 fi
87713
87714 done
87715
87716
87717   # Only continue checking if the ISO C99 headers exist and support is on.
87718   if test x"$ac_has_wchar_h" = xyes &&
87719      test x"$ac_has_wctype_h" = xyes &&
87720      test x"$enable_c_mbchar" != xno; then
87721
87722     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
87723     # numeric_limits can instantiate type_traits<wchar_t>
87724     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
87725 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
87726     cat >conftest.$ac_ext <<_ACEOF
87727 /* confdefs.h.  */
87728 _ACEOF
87729 cat confdefs.h >>conftest.$ac_ext
87730 cat >>conftest.$ac_ext <<_ACEOF
87731 /* end confdefs.h.  */
87732 #include <wchar.h>
87733 int
87734 main ()
87735 {
87736 int i = WCHAR_MIN; int j = WCHAR_MAX;
87737   ;
87738   return 0;
87739 }
87740 _ACEOF
87741 rm -f conftest.$ac_objext
87742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87743   (eval $ac_compile) 2>conftest.er1
87744   ac_status=$?
87745   grep -v '^ *+' conftest.er1 >conftest.err
87746   rm -f conftest.er1
87747   cat conftest.err >&5
87748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87749   (exit $ac_status); } &&
87750          { ac_try='test -z "$ac_c_werror_flag"
87751                          || test ! -s conftest.err'
87752   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87753   (eval $ac_try) 2>&5
87754   ac_status=$?
87755   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87756   (exit $ac_status); }; } &&
87757          { ac_try='test -s conftest.$ac_objext'
87758   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87759   (eval $ac_try) 2>&5
87760   ac_status=$?
87761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87762   (exit $ac_status); }; }; then
87763   has_wchar_minmax=yes
87764 else
87765   echo "$as_me: failed program was:" >&5
87766 sed 's/^/| /' conftest.$ac_ext >&5
87767
87768 has_wchar_minmax=no
87769 fi
87770 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87771     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
87772 echo "${ECHO_T}$has_wchar_minmax" >&6
87773
87774     # Test wchar.h for WEOF, which is what we use to determine whether
87775     # to specialize for char_traits<wchar_t> or not.
87776     echo "$as_me:$LINENO: checking for WEOF" >&5
87777 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
87778     cat >conftest.$ac_ext <<_ACEOF
87779 /* confdefs.h.  */
87780 _ACEOF
87781 cat confdefs.h >>conftest.$ac_ext
87782 cat >>conftest.$ac_ext <<_ACEOF
87783 /* end confdefs.h.  */
87784
87785       #include <wchar.h>
87786       #include <stddef.h>
87787 int
87788 main ()
87789 {
87790 wint_t i = WEOF;
87791   ;
87792   return 0;
87793 }
87794 _ACEOF
87795 rm -f conftest.$ac_objext
87796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87797   (eval $ac_compile) 2>conftest.er1
87798   ac_status=$?
87799   grep -v '^ *+' conftest.er1 >conftest.err
87800   rm -f conftest.er1
87801   cat conftest.err >&5
87802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87803   (exit $ac_status); } &&
87804          { ac_try='test -z "$ac_c_werror_flag"
87805                          || test ! -s conftest.err'
87806   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87807   (eval $ac_try) 2>&5
87808   ac_status=$?
87809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87810   (exit $ac_status); }; } &&
87811          { ac_try='test -s conftest.$ac_objext'
87812   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87813   (eval $ac_try) 2>&5
87814   ac_status=$?
87815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87816   (exit $ac_status); }; }; then
87817   has_weof=yes
87818 else
87819   echo "$as_me: failed program was:" >&5
87820 sed 's/^/| /' conftest.$ac_ext >&5
87821
87822 has_weof=no
87823 fi
87824 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87825     echo "$as_me:$LINENO: result: $has_weof" >&5
87826 echo "${ECHO_T}$has_weof" >&6
87827
87828     # Tests for wide character functions used in char_traits<wchar_t>.
87829     ac_wfuncs=yes
87830
87831
87832
87833
87834
87835
87836 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
87837 do
87838 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87839 echo "$as_me:$LINENO: checking for $ac_func" >&5
87840 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87841 if eval "test \"\${$as_ac_var+set}\" = set"; then
87842   echo $ECHO_N "(cached) $ECHO_C" >&6
87843 else
87844   if test x$gcc_no_link = xyes; then
87845   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87846 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87847    { (exit 1); exit 1; }; }
87848 fi
87849 cat >conftest.$ac_ext <<_ACEOF
87850 /* confdefs.h.  */
87851 _ACEOF
87852 cat confdefs.h >>conftest.$ac_ext
87853 cat >>conftest.$ac_ext <<_ACEOF
87854 /* end confdefs.h.  */
87855 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87856    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
87857 #define $ac_func innocuous_$ac_func
87858
87859 /* System header to define __stub macros and hopefully few prototypes,
87860     which can conflict with char $ac_func (); below.
87861     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87862     <limits.h> exists even on freestanding compilers.  */
87863
87864 #ifdef __STDC__
87865 # include <limits.h>
87866 #else
87867 # include <assert.h>
87868 #endif
87869
87870 #undef $ac_func
87871
87872 /* Override any gcc2 internal prototype to avoid an error.  */
87873 #ifdef __cplusplus
87874 extern "C"
87875 {
87876 #endif
87877 /* We use char because int might match the return type of a gcc2
87878    builtin and then its argument prototype would still apply.  */
87879 char $ac_func ();
87880 /* The GNU C library defines this for functions which it implements
87881     to always fail with ENOSYS.  Some functions are actually named
87882     something starting with __ and the normal name is an alias.  */
87883 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87884 choke me
87885 #else
87886 char (*f) () = $ac_func;
87887 #endif
87888 #ifdef __cplusplus
87889 }
87890 #endif
87891
87892 int
87893 main ()
87894 {
87895 return f != $ac_func;
87896   ;
87897   return 0;
87898 }
87899 _ACEOF
87900 rm -f conftest.$ac_objext conftest$ac_exeext
87901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87902   (eval $ac_link) 2>conftest.er1
87903   ac_status=$?
87904   grep -v '^ *+' conftest.er1 >conftest.err
87905   rm -f conftest.er1
87906   cat conftest.err >&5
87907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87908   (exit $ac_status); } &&
87909          { ac_try='test -z "$ac_c_werror_flag"
87910                          || test ! -s conftest.err'
87911   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87912   (eval $ac_try) 2>&5
87913   ac_status=$?
87914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87915   (exit $ac_status); }; } &&
87916          { ac_try='test -s conftest$ac_exeext'
87917   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87918   (eval $ac_try) 2>&5
87919   ac_status=$?
87920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
87921   (exit $ac_status); }; }; then
87922   eval "$as_ac_var=yes"
87923 else
87924   echo "$as_me: failed program was:" >&5
87925 sed 's/^/| /' conftest.$ac_ext >&5
87926
87927 eval "$as_ac_var=no"
87928 fi
87929 rm -f conftest.err conftest.$ac_objext \
87930       conftest$ac_exeext conftest.$ac_ext
87931 fi
87932 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87933 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87934 if test `eval echo '${'$as_ac_var'}'` = yes; then
87935   cat >>confdefs.h <<_ACEOF
87936 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87937 _ACEOF
87938
87939 else
87940   ac_wfuncs=no
87941 fi
87942 done
87943
87944
87945     # Checks for names injected into std:: by the c_std headers.
87946
87947
87948
87949
87950
87951
87952
87953
87954
87955
87956
87957
87958
87959
87960
87961
87962
87963
87964
87965
87966
87967
87968
87969
87970
87971
87972
87973
87974
87975
87976
87977
87978
87979
87980
87981
87982
87983
87984
87985
87986
87987
87988
87989
87990
87991
87992 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
87993     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
87994     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
87995     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
87996     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
87997     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
87998 do
87999 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88000 echo "$as_me:$LINENO: checking for $ac_func" >&5
88001 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88002 if eval "test \"\${$as_ac_var+set}\" = set"; then
88003   echo $ECHO_N "(cached) $ECHO_C" >&6
88004 else
88005   if test x$gcc_no_link = xyes; then
88006   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88007 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88008    { (exit 1); exit 1; }; }
88009 fi
88010 cat >conftest.$ac_ext <<_ACEOF
88011 /* confdefs.h.  */
88012 _ACEOF
88013 cat confdefs.h >>conftest.$ac_ext
88014 cat >>conftest.$ac_ext <<_ACEOF
88015 /* end confdefs.h.  */
88016 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88017    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88018 #define $ac_func innocuous_$ac_func
88019
88020 /* System header to define __stub macros and hopefully few prototypes,
88021     which can conflict with char $ac_func (); below.
88022     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88023     <limits.h> exists even on freestanding compilers.  */
88024
88025 #ifdef __STDC__
88026 # include <limits.h>
88027 #else
88028 # include <assert.h>
88029 #endif
88030
88031 #undef $ac_func
88032
88033 /* Override any gcc2 internal prototype to avoid an error.  */
88034 #ifdef __cplusplus
88035 extern "C"
88036 {
88037 #endif
88038 /* We use char because int might match the return type of a gcc2
88039    builtin and then its argument prototype would still apply.  */
88040 char $ac_func ();
88041 /* The GNU C library defines this for functions which it implements
88042     to always fail with ENOSYS.  Some functions are actually named
88043     something starting with __ and the normal name is an alias.  */
88044 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88045 choke me
88046 #else
88047 char (*f) () = $ac_func;
88048 #endif
88049 #ifdef __cplusplus
88050 }
88051 #endif
88052
88053 int
88054 main ()
88055 {
88056 return f != $ac_func;
88057   ;
88058   return 0;
88059 }
88060 _ACEOF
88061 rm -f conftest.$ac_objext conftest$ac_exeext
88062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88063   (eval $ac_link) 2>conftest.er1
88064   ac_status=$?
88065   grep -v '^ *+' conftest.er1 >conftest.err
88066   rm -f conftest.er1
88067   cat conftest.err >&5
88068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88069   (exit $ac_status); } &&
88070          { ac_try='test -z "$ac_c_werror_flag"
88071                          || test ! -s conftest.err'
88072   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88073   (eval $ac_try) 2>&5
88074   ac_status=$?
88075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88076   (exit $ac_status); }; } &&
88077          { ac_try='test -s conftest$ac_exeext'
88078   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88079   (eval $ac_try) 2>&5
88080   ac_status=$?
88081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88082   (exit $ac_status); }; }; then
88083   eval "$as_ac_var=yes"
88084 else
88085   echo "$as_me: failed program was:" >&5
88086 sed 's/^/| /' conftest.$ac_ext >&5
88087
88088 eval "$as_ac_var=no"
88089 fi
88090 rm -f conftest.err conftest.$ac_objext \
88091       conftest$ac_exeext conftest.$ac_ext
88092 fi
88093 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88094 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88095 if test `eval echo '${'$as_ac_var'}'` = yes; then
88096   cat >>confdefs.h <<_ACEOF
88097 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88098 _ACEOF
88099
88100 else
88101   ac_wfuncs=no
88102 fi
88103 done
88104
88105
88106     # Checks for wide character functions that are not required
88107     # for basic wchar_t support.  Don't disable support if they are missing.
88108     # Injection of these is wrapped with guard macros.
88109
88110
88111
88112
88113
88114 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
88115 do
88116 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88117 echo "$as_me:$LINENO: checking for $ac_func" >&5
88118 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88119 if eval "test \"\${$as_ac_var+set}\" = set"; then
88120   echo $ECHO_N "(cached) $ECHO_C" >&6
88121 else
88122   if test x$gcc_no_link = xyes; then
88123   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88124 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88125    { (exit 1); exit 1; }; }
88126 fi
88127 cat >conftest.$ac_ext <<_ACEOF
88128 /* confdefs.h.  */
88129 _ACEOF
88130 cat confdefs.h >>conftest.$ac_ext
88131 cat >>conftest.$ac_ext <<_ACEOF
88132 /* end confdefs.h.  */
88133 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88134    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88135 #define $ac_func innocuous_$ac_func
88136
88137 /* System header to define __stub macros and hopefully few prototypes,
88138     which can conflict with char $ac_func (); below.
88139     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88140     <limits.h> exists even on freestanding compilers.  */
88141
88142 #ifdef __STDC__
88143 # include <limits.h>
88144 #else
88145 # include <assert.h>
88146 #endif
88147
88148 #undef $ac_func
88149
88150 /* Override any gcc2 internal prototype to avoid an error.  */
88151 #ifdef __cplusplus
88152 extern "C"
88153 {
88154 #endif
88155 /* We use char because int might match the return type of a gcc2
88156    builtin and then its argument prototype would still apply.  */
88157 char $ac_func ();
88158 /* The GNU C library defines this for functions which it implements
88159     to always fail with ENOSYS.  Some functions are actually named
88160     something starting with __ and the normal name is an alias.  */
88161 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88162 choke me
88163 #else
88164 char (*f) () = $ac_func;
88165 #endif
88166 #ifdef __cplusplus
88167 }
88168 #endif
88169
88170 int
88171 main ()
88172 {
88173 return f != $ac_func;
88174   ;
88175   return 0;
88176 }
88177 _ACEOF
88178 rm -f conftest.$ac_objext conftest$ac_exeext
88179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88180   (eval $ac_link) 2>conftest.er1
88181   ac_status=$?
88182   grep -v '^ *+' conftest.er1 >conftest.err
88183   rm -f conftest.er1
88184   cat conftest.err >&5
88185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88186   (exit $ac_status); } &&
88187          { ac_try='test -z "$ac_c_werror_flag"
88188                          || test ! -s conftest.err'
88189   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88190   (eval $ac_try) 2>&5
88191   ac_status=$?
88192   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88193   (exit $ac_status); }; } &&
88194          { ac_try='test -s conftest$ac_exeext'
88195   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88196   (eval $ac_try) 2>&5
88197   ac_status=$?
88198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88199   (exit $ac_status); }; }; then
88200   eval "$as_ac_var=yes"
88201 else
88202   echo "$as_me: failed program was:" >&5
88203 sed 's/^/| /' conftest.$ac_ext >&5
88204
88205 eval "$as_ac_var=no"
88206 fi
88207 rm -f conftest.err conftest.$ac_objext \
88208       conftest$ac_exeext conftest.$ac_ext
88209 fi
88210 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88211 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88212 if test `eval echo '${'$as_ac_var'}'` = yes; then
88213   cat >>confdefs.h <<_ACEOF
88214 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88215 _ACEOF
88216
88217 fi
88218 done
88219
88220
88221     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
88222 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
88223     if test x"$has_weof" = xyes &&
88224        test x"$has_wchar_minmax" = xyes &&
88225        test x"$ac_wfuncs" = xyes;
88226     then
88227       ac_isoC99_wchar_t=yes
88228     else
88229       ac_isoC99_wchar_t=no
88230     fi
88231     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
88232 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
88233
88234     # Use iconv for wchar_t to char conversions. As such, check for
88235     # X/Open Portability Guide, version 2 features (XPG2).
88236     if test "${ac_cv_header_iconv_h+set}" = set; then
88237   echo "$as_me:$LINENO: checking for iconv.h" >&5
88238 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
88239 if test "${ac_cv_header_iconv_h+set}" = set; then
88240   echo $ECHO_N "(cached) $ECHO_C" >&6
88241 fi
88242 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
88243 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
88244 else
88245   # Is the header compilable?
88246 echo "$as_me:$LINENO: checking iconv.h usability" >&5
88247 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
88248 cat >conftest.$ac_ext <<_ACEOF
88249 /* confdefs.h.  */
88250 _ACEOF
88251 cat confdefs.h >>conftest.$ac_ext
88252 cat >>conftest.$ac_ext <<_ACEOF
88253 /* end confdefs.h.  */
88254 $ac_includes_default
88255 #include <iconv.h>
88256 _ACEOF
88257 rm -f conftest.$ac_objext
88258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88259   (eval $ac_compile) 2>conftest.er1
88260   ac_status=$?
88261   grep -v '^ *+' conftest.er1 >conftest.err
88262   rm -f conftest.er1
88263   cat conftest.err >&5
88264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88265   (exit $ac_status); } &&
88266          { ac_try='test -z "$ac_c_werror_flag"
88267                          || test ! -s conftest.err'
88268   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88269   (eval $ac_try) 2>&5
88270   ac_status=$?
88271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88272   (exit $ac_status); }; } &&
88273          { ac_try='test -s conftest.$ac_objext'
88274   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88275   (eval $ac_try) 2>&5
88276   ac_status=$?
88277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88278   (exit $ac_status); }; }; then
88279   ac_header_compiler=yes
88280 else
88281   echo "$as_me: failed program was:" >&5
88282 sed 's/^/| /' conftest.$ac_ext >&5
88283
88284 ac_header_compiler=no
88285 fi
88286 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88287 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
88288 echo "${ECHO_T}$ac_header_compiler" >&6
88289
88290 # Is the header present?
88291 echo "$as_me:$LINENO: checking iconv.h presence" >&5
88292 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
88293 cat >conftest.$ac_ext <<_ACEOF
88294 /* confdefs.h.  */
88295 _ACEOF
88296 cat confdefs.h >>conftest.$ac_ext
88297 cat >>conftest.$ac_ext <<_ACEOF
88298 /* end confdefs.h.  */
88299 #include <iconv.h>
88300 _ACEOF
88301 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
88302   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
88303   ac_status=$?
88304   grep -v '^ *+' conftest.er1 >conftest.err
88305   rm -f conftest.er1
88306   cat conftest.err >&5
88307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88308   (exit $ac_status); } >/dev/null; then
88309   if test -s conftest.err; then
88310     ac_cpp_err=$ac_c_preproc_warn_flag
88311     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
88312   else
88313     ac_cpp_err=
88314   fi
88315 else
88316   ac_cpp_err=yes
88317 fi
88318 if test -z "$ac_cpp_err"; then
88319   ac_header_preproc=yes
88320 else
88321   echo "$as_me: failed program was:" >&5
88322 sed 's/^/| /' conftest.$ac_ext >&5
88323
88324   ac_header_preproc=no
88325 fi
88326 rm -f conftest.err conftest.$ac_ext
88327 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
88328 echo "${ECHO_T}$ac_header_preproc" >&6
88329
88330 # So?  What about this header?
88331 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
88332   yes:no: )
88333     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
88334 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
88335     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
88336 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
88337     ac_header_preproc=yes
88338     ;;
88339   no:yes:* )
88340     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
88341 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
88342     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
88343 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
88344     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
88345 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
88346     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
88347 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
88348     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
88349 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
88350     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
88351 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
88352     (
88353       cat <<\_ASBOX
88354 ## ----------------------------------------- ##
88355 ## Report this to the package-unused lists.  ##
88356 ## ----------------------------------------- ##
88357 _ASBOX
88358     ) |
88359       sed "s/^/$as_me: WARNING:     /" >&2
88360     ;;
88361 esac
88362 echo "$as_me:$LINENO: checking for iconv.h" >&5
88363 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
88364 if test "${ac_cv_header_iconv_h+set}" = set; then
88365   echo $ECHO_N "(cached) $ECHO_C" >&6
88366 else
88367   ac_cv_header_iconv_h=$ac_header_preproc
88368 fi
88369 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
88370 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
88371
88372 fi
88373 if test $ac_cv_header_iconv_h = yes; then
88374   ac_has_iconv_h=yes
88375 else
88376   ac_has_iconv_h=no
88377 fi
88378
88379
88380     if test "${ac_cv_header_langinfo_h+set}" = set; then
88381   echo "$as_me:$LINENO: checking for langinfo.h" >&5
88382 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
88383 if test "${ac_cv_header_langinfo_h+set}" = set; then
88384   echo $ECHO_N "(cached) $ECHO_C" >&6
88385 fi
88386 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
88387 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
88388 else
88389   # Is the header compilable?
88390 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
88391 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
88392 cat >conftest.$ac_ext <<_ACEOF
88393 /* confdefs.h.  */
88394 _ACEOF
88395 cat confdefs.h >>conftest.$ac_ext
88396 cat >>conftest.$ac_ext <<_ACEOF
88397 /* end confdefs.h.  */
88398 $ac_includes_default
88399 #include <langinfo.h>
88400 _ACEOF
88401 rm -f conftest.$ac_objext
88402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88403   (eval $ac_compile) 2>conftest.er1
88404   ac_status=$?
88405   grep -v '^ *+' conftest.er1 >conftest.err
88406   rm -f conftest.er1
88407   cat conftest.err >&5
88408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88409   (exit $ac_status); } &&
88410          { ac_try='test -z "$ac_c_werror_flag"
88411                          || test ! -s conftest.err'
88412   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88413   (eval $ac_try) 2>&5
88414   ac_status=$?
88415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88416   (exit $ac_status); }; } &&
88417          { ac_try='test -s conftest.$ac_objext'
88418   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88419   (eval $ac_try) 2>&5
88420   ac_status=$?
88421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88422   (exit $ac_status); }; }; then
88423   ac_header_compiler=yes
88424 else
88425   echo "$as_me: failed program was:" >&5
88426 sed 's/^/| /' conftest.$ac_ext >&5
88427
88428 ac_header_compiler=no
88429 fi
88430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88431 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
88432 echo "${ECHO_T}$ac_header_compiler" >&6
88433
88434 # Is the header present?
88435 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
88436 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
88437 cat >conftest.$ac_ext <<_ACEOF
88438 /* confdefs.h.  */
88439 _ACEOF
88440 cat confdefs.h >>conftest.$ac_ext
88441 cat >>conftest.$ac_ext <<_ACEOF
88442 /* end confdefs.h.  */
88443 #include <langinfo.h>
88444 _ACEOF
88445 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
88446   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
88447   ac_status=$?
88448   grep -v '^ *+' conftest.er1 >conftest.err
88449   rm -f conftest.er1
88450   cat conftest.err >&5
88451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88452   (exit $ac_status); } >/dev/null; then
88453   if test -s conftest.err; then
88454     ac_cpp_err=$ac_c_preproc_warn_flag
88455     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
88456   else
88457     ac_cpp_err=
88458   fi
88459 else
88460   ac_cpp_err=yes
88461 fi
88462 if test -z "$ac_cpp_err"; then
88463   ac_header_preproc=yes
88464 else
88465   echo "$as_me: failed program was:" >&5
88466 sed 's/^/| /' conftest.$ac_ext >&5
88467
88468   ac_header_preproc=no
88469 fi
88470 rm -f conftest.err conftest.$ac_ext
88471 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
88472 echo "${ECHO_T}$ac_header_preproc" >&6
88473
88474 # So?  What about this header?
88475 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
88476   yes:no: )
88477     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
88478 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
88479     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
88480 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
88481     ac_header_preproc=yes
88482     ;;
88483   no:yes:* )
88484     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
88485 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
88486     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
88487 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
88488     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
88489 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
88490     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
88491 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
88492     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
88493 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
88494     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
88495 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
88496     (
88497       cat <<\_ASBOX
88498 ## ----------------------------------------- ##
88499 ## Report this to the package-unused lists.  ##
88500 ## ----------------------------------------- ##
88501 _ASBOX
88502     ) |
88503       sed "s/^/$as_me: WARNING:     /" >&2
88504     ;;
88505 esac
88506 echo "$as_me:$LINENO: checking for langinfo.h" >&5
88507 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
88508 if test "${ac_cv_header_langinfo_h+set}" = set; then
88509   echo $ECHO_N "(cached) $ECHO_C" >&6
88510 else
88511   ac_cv_header_langinfo_h=$ac_header_preproc
88512 fi
88513 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
88514 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
88515
88516 fi
88517 if test $ac_cv_header_langinfo_h = yes; then
88518   ac_has_langinfo_h=yes
88519 else
88520   ac_has_langinfo_h=no
88521 fi
88522
88523
88524
88525     # Check for existence of libiconv.a providing XPG2 wchar_t support.
88526     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
88527 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
88528 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
88529   echo $ECHO_N "(cached) $ECHO_C" >&6
88530 else
88531   ac_check_lib_save_LIBS=$LIBS
88532 LIBS="-liconv  $LIBS"
88533 if test x$gcc_no_link = xyes; then
88534   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88535 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88536    { (exit 1); exit 1; }; }
88537 fi
88538 cat >conftest.$ac_ext <<_ACEOF
88539 /* confdefs.h.  */
88540 _ACEOF
88541 cat confdefs.h >>conftest.$ac_ext
88542 cat >>conftest.$ac_ext <<_ACEOF
88543 /* end confdefs.h.  */
88544
88545 /* Override any gcc2 internal prototype to avoid an error.  */
88546 #ifdef __cplusplus
88547 extern "C"
88548 #endif
88549 /* We use char because int might match the return type of a gcc2
88550    builtin and then its argument prototype would still apply.  */
88551 char iconv ();
88552 int
88553 main ()
88554 {
88555 iconv ();
88556   ;
88557   return 0;
88558 }
88559 _ACEOF
88560 rm -f conftest.$ac_objext conftest$ac_exeext
88561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88562   (eval $ac_link) 2>conftest.er1
88563   ac_status=$?
88564   grep -v '^ *+' conftest.er1 >conftest.err
88565   rm -f conftest.er1
88566   cat conftest.err >&5
88567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88568   (exit $ac_status); } &&
88569          { ac_try='test -z "$ac_c_werror_flag"
88570                          || test ! -s conftest.err'
88571   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88572   (eval $ac_try) 2>&5
88573   ac_status=$?
88574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88575   (exit $ac_status); }; } &&
88576          { ac_try='test -s conftest$ac_exeext'
88577   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88578   (eval $ac_try) 2>&5
88579   ac_status=$?
88580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88581   (exit $ac_status); }; }; then
88582   ac_cv_lib_iconv_iconv=yes
88583 else
88584   echo "$as_me: failed program was:" >&5
88585 sed 's/^/| /' conftest.$ac_ext >&5
88586
88587 ac_cv_lib_iconv_iconv=no
88588 fi
88589 rm -f conftest.err conftest.$ac_objext \
88590       conftest$ac_exeext conftest.$ac_ext
88591 LIBS=$ac_check_lib_save_LIBS
88592 fi
88593 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
88594 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
88595 if test $ac_cv_lib_iconv_iconv = yes; then
88596   LIBICONV="-liconv"
88597 fi
88598
88599     ac_save_LIBS="$LIBS"
88600     LIBS="$LIBS $LIBICONV"
88601
88602
88603
88604
88605
88606
88607 for ac_func in iconv_open iconv_close iconv nl_langinfo
88608 do
88609 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88610 echo "$as_me:$LINENO: checking for $ac_func" >&5
88611 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88612 if eval "test \"\${$as_ac_var+set}\" = set"; then
88613   echo $ECHO_N "(cached) $ECHO_C" >&6
88614 else
88615   if test x$gcc_no_link = xyes; then
88616   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88617 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88618    { (exit 1); exit 1; }; }
88619 fi
88620 cat >conftest.$ac_ext <<_ACEOF
88621 /* confdefs.h.  */
88622 _ACEOF
88623 cat confdefs.h >>conftest.$ac_ext
88624 cat >>conftest.$ac_ext <<_ACEOF
88625 /* end confdefs.h.  */
88626 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88627    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
88628 #define $ac_func innocuous_$ac_func
88629
88630 /* System header to define __stub macros and hopefully few prototypes,
88631     which can conflict with char $ac_func (); below.
88632     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88633     <limits.h> exists even on freestanding compilers.  */
88634
88635 #ifdef __STDC__
88636 # include <limits.h>
88637 #else
88638 # include <assert.h>
88639 #endif
88640
88641 #undef $ac_func
88642
88643 /* Override any gcc2 internal prototype to avoid an error.  */
88644 #ifdef __cplusplus
88645 extern "C"
88646 {
88647 #endif
88648 /* We use char because int might match the return type of a gcc2
88649    builtin and then its argument prototype would still apply.  */
88650 char $ac_func ();
88651 /* The GNU C library defines this for functions which it implements
88652     to always fail with ENOSYS.  Some functions are actually named
88653     something starting with __ and the normal name is an alias.  */
88654 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88655 choke me
88656 #else
88657 char (*f) () = $ac_func;
88658 #endif
88659 #ifdef __cplusplus
88660 }
88661 #endif
88662
88663 int
88664 main ()
88665 {
88666 return f != $ac_func;
88667   ;
88668   return 0;
88669 }
88670 _ACEOF
88671 rm -f conftest.$ac_objext conftest$ac_exeext
88672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88673   (eval $ac_link) 2>conftest.er1
88674   ac_status=$?
88675   grep -v '^ *+' conftest.er1 >conftest.err
88676   rm -f conftest.er1
88677   cat conftest.err >&5
88678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88679   (exit $ac_status); } &&
88680          { ac_try='test -z "$ac_c_werror_flag"
88681                          || test ! -s conftest.err'
88682   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88683   (eval $ac_try) 2>&5
88684   ac_status=$?
88685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88686   (exit $ac_status); }; } &&
88687          { ac_try='test -s conftest$ac_exeext'
88688   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88689   (eval $ac_try) 2>&5
88690   ac_status=$?
88691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88692   (exit $ac_status); }; }; then
88693   eval "$as_ac_var=yes"
88694 else
88695   echo "$as_me: failed program was:" >&5
88696 sed 's/^/| /' conftest.$ac_ext >&5
88697
88698 eval "$as_ac_var=no"
88699 fi
88700 rm -f conftest.err conftest.$ac_objext \
88701       conftest$ac_exeext conftest.$ac_ext
88702 fi
88703 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88704 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88705 if test `eval echo '${'$as_ac_var'}'` = yes; then
88706   cat >>confdefs.h <<_ACEOF
88707 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88708 _ACEOF
88709  ac_XPG2funcs=yes
88710 else
88711   ac_XPG2funcs=no
88712 fi
88713 done
88714
88715
88716     LIBS="$ac_save_LIBS"
88717
88718     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
88719 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
88720     if test x"$ac_has_iconv_h" = xyes &&
88721        test x"$ac_has_langinfo_h" = xyes &&
88722        test x"$ac_XPG2funcs" = xyes;
88723     then
88724       ac_XPG2_wchar_t=yes
88725     else
88726       ac_XPG2_wchar_t=no
88727     fi
88728     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
88729 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
88730
88731     # At the moment, only enable wchar_t specializations if all the
88732     # above support is present.
88733     if test x"$ac_isoC99_wchar_t" = xyes &&
88734        test x"$ac_XPG2_wchar_t" = xyes;
88735     then
88736       cat >>confdefs.h <<\_ACEOF
88737 #define _GLIBCXX_USE_WCHAR_T 1
88738 _ACEOF
88739
88740       enable_wchar_t=yes
88741     fi
88742   fi
88743   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
88744 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
88745   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
88746 echo "${ECHO_T}$enable_wchar_t" >&6
88747
88748     cat >>confdefs.h <<\_ACEOF
88749 #define HAVE_COPYSIGN 1
88750 _ACEOF
88751
88752     cat >>confdefs.h <<\_ACEOF
88753 #define HAVE_COPYSIGNF 1
88754 _ACEOF
88755
88756     cat >>confdefs.h <<\_ACEOF
88757 #define HAVE_FINITEF 1
88758 _ACEOF
88759
88760     cat >>confdefs.h <<\_ACEOF
88761 #define HAVE_FINITE 1
88762 _ACEOF
88763
88764     cat >>confdefs.h <<\_ACEOF
88765 #define HAVE_FREXPF 1
88766 _ACEOF
88767
88768     cat >>confdefs.h <<\_ACEOF
88769 #define HAVE_HYPOTF 1
88770 _ACEOF
88771
88772     cat >>confdefs.h <<\_ACEOF
88773 #define HAVE_ISINF 1
88774 _ACEOF
88775
88776     cat >>confdefs.h <<\_ACEOF
88777 #define HAVE_ISINFF 1
88778 _ACEOF
88779
88780     cat >>confdefs.h <<\_ACEOF
88781 #define HAVE_ISNAN 1
88782 _ACEOF
88783
88784     cat >>confdefs.h <<\_ACEOF
88785 #define HAVE_ISNANF 1
88786 _ACEOF
88787
88788     if test x"long_double_math_on_this_cpu" = x"yes"; then
88789       cat >>confdefs.h <<\_ACEOF
88790 #define HAVE_FINITEL 1
88791 _ACEOF
88792
88793       cat >>confdefs.h <<\_ACEOF
88794 #define HAVE_ISINFL 1
88795 _ACEOF
88796
88797       cat >>confdefs.h <<\_ACEOF
88798 #define HAVE_ISNANL 1
88799 _ACEOF
88800
88801     fi
88802     ;;
88803   *-netware)
88804
88805
88806
88807
88808
88809
88810
88811
88812 for ac_header in nan.h ieeefp.h sys/isa_defs.h sys/machine.h \
88813       sys/types.h locale.h float.h inttypes.h
88814 do
88815 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
88816 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88817   echo "$as_me:$LINENO: checking for $ac_header" >&5
88818 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
88819 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88820   echo $ECHO_N "(cached) $ECHO_C" >&6
88821 fi
88822 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
88823 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
88824 else
88825   # Is the header compilable?
88826 echo "$as_me:$LINENO: checking $ac_header usability" >&5
88827 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
88828 cat >conftest.$ac_ext <<_ACEOF
88829 /* confdefs.h.  */
88830 _ACEOF
88831 cat confdefs.h >>conftest.$ac_ext
88832 cat >>conftest.$ac_ext <<_ACEOF
88833 /* end confdefs.h.  */
88834 $ac_includes_default
88835 #include <$ac_header>
88836 _ACEOF
88837 rm -f conftest.$ac_objext
88838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88839   (eval $ac_compile) 2>conftest.er1
88840   ac_status=$?
88841   grep -v '^ *+' conftest.er1 >conftest.err
88842   rm -f conftest.er1
88843   cat conftest.err >&5
88844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88845   (exit $ac_status); } &&
88846          { ac_try='test -z "$ac_c_werror_flag"
88847                          || test ! -s conftest.err'
88848   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88849   (eval $ac_try) 2>&5
88850   ac_status=$?
88851   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88852   (exit $ac_status); }; } &&
88853          { ac_try='test -s conftest.$ac_objext'
88854   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88855   (eval $ac_try) 2>&5
88856   ac_status=$?
88857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88858   (exit $ac_status); }; }; then
88859   ac_header_compiler=yes
88860 else
88861   echo "$as_me: failed program was:" >&5
88862 sed 's/^/| /' conftest.$ac_ext >&5
88863
88864 ac_header_compiler=no
88865 fi
88866 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88867 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
88868 echo "${ECHO_T}$ac_header_compiler" >&6
88869
88870 # Is the header present?
88871 echo "$as_me:$LINENO: checking $ac_header presence" >&5
88872 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
88873 cat >conftest.$ac_ext <<_ACEOF
88874 /* confdefs.h.  */
88875 _ACEOF
88876 cat confdefs.h >>conftest.$ac_ext
88877 cat >>conftest.$ac_ext <<_ACEOF
88878 /* end confdefs.h.  */
88879 #include <$ac_header>
88880 _ACEOF
88881 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
88882   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
88883   ac_status=$?
88884   grep -v '^ *+' conftest.er1 >conftest.err
88885   rm -f conftest.er1
88886   cat conftest.err >&5
88887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
88888   (exit $ac_status); } >/dev/null; then
88889   if test -s conftest.err; then
88890     ac_cpp_err=$ac_c_preproc_warn_flag
88891     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
88892   else
88893     ac_cpp_err=
88894   fi
88895 else
88896   ac_cpp_err=yes
88897 fi
88898 if test -z "$ac_cpp_err"; then
88899   ac_header_preproc=yes
88900 else
88901   echo "$as_me: failed program was:" >&5
88902 sed 's/^/| /' conftest.$ac_ext >&5
88903
88904   ac_header_preproc=no
88905 fi
88906 rm -f conftest.err conftest.$ac_ext
88907 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
88908 echo "${ECHO_T}$ac_header_preproc" >&6
88909
88910 # So?  What about this header?
88911 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
88912   yes:no: )
88913     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
88914 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
88915     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
88916 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
88917     ac_header_preproc=yes
88918     ;;
88919   no:yes:* )
88920     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
88921 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
88922     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
88923 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
88924     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
88925 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
88926     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
88927 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
88928     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
88929 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
88930     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
88931 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
88932     (
88933       cat <<\_ASBOX
88934 ## ----------------------------------------- ##
88935 ## Report this to the package-unused lists.  ##
88936 ## ----------------------------------------- ##
88937 _ASBOX
88938     ) |
88939       sed "s/^/$as_me: WARNING:     /" >&2
88940     ;;
88941 esac
88942 echo "$as_me:$LINENO: checking for $ac_header" >&5
88943 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
88944 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88945   echo $ECHO_N "(cached) $ECHO_C" >&6
88946 else
88947   eval "$as_ac_Header=\$ac_header_preproc"
88948 fi
88949 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
88950 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
88951
88952 fi
88953 if test `eval echo '${'$as_ac_Header'}'` = yes; then
88954   cat >>confdefs.h <<_ACEOF
88955 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
88956 _ACEOF
88957
88958 fi
88959
88960 done
88961
88962     SECTION_FLAGS='-ffunction-sections -fdata-sections'
88963
88964
88965   # If we're not using GNU ld, then there's no point in even trying these
88966   # tests.  Check for that first.  We should have already tested for gld
88967   # by now (in libtool), but require it now just to be safe...
88968   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
88969   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
88970
88971
88972
88973   # The name set by libtool depends on the version of libtool.  Shame on us
88974   # for depending on an impl detail, but c'est la vie.  Older versions used
88975   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
88976   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
88977   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
88978   # set (hence we're using an older libtool), then set it.
88979   if test x${with_gnu_ld+set} != xset; then
88980     if test x${ac_cv_prog_gnu_ld+set} != xset; then
88981       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
88982       with_gnu_ld=no
88983     else
88984       with_gnu_ld=$ac_cv_prog_gnu_ld
88985     fi
88986   fi
88987
88988   # Start by getting the version number.  I think the libtool test already
88989   # does some of this, but throws away the result.
88990
88991   ldver=`$LD --version 2>/dev/null | head -1 | \
88992          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
88993
88994   glibcxx_gnu_ld_version=`echo $ldver | \
88995          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
88996
88997   # Set --gc-sections.
88998   if test "$with_gnu_ld" = "notbroken"; then
88999     # GNU ld it is!  Joy and bunny rabbits!
89000
89001     # All these tests are for C++; save the language and the compiler flags.
89002     # Need to do this so that g++ won't try to link in libstdc++
89003     ac_test_CFLAGS="${CFLAGS+set}"
89004     ac_save_CFLAGS="$CFLAGS"
89005     CFLAGS='-x c++  -Wl,--gc-sections'
89006
89007     # Check for -Wl,--gc-sections
89008     # XXX This test is broken at the moment, as symbols required for linking
89009     # are now in libsupc++ (not built yet).  In addition, this test has
89010     # cored on solaris in the past.  In addition, --gc-sections doesn't
89011     # really work at the moment (keeps on discarding used sections, first
89012     # .eh_frame and now some of the glibc sections for iconv).
89013     # Bzzzzt.  Thanks for playing, maybe next time.
89014     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
89015 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
89016     if test "$cross_compiling" = yes; then
89017   ac_sectionLDflags=yes
89018 else
89019   cat >conftest.$ac_ext <<_ACEOF
89020 /* confdefs.h.  */
89021 _ACEOF
89022 cat confdefs.h >>conftest.$ac_ext
89023 cat >>conftest.$ac_ext <<_ACEOF
89024 /* end confdefs.h.  */
89025
89026      int main(void)
89027      {
89028        try { throw 1; }
89029        catch (...) { };
89030        return 0;
89031      }
89032
89033 _ACEOF
89034 rm -f conftest$ac_exeext
89035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89036   (eval $ac_link) 2>&5
89037   ac_status=$?
89038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89039   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
89040   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89041   (eval $ac_try) 2>&5
89042   ac_status=$?
89043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89044   (exit $ac_status); }; }; then
89045   ac_sectionLDflags=yes
89046 else
89047   echo "$as_me: program exited with status $ac_status" >&5
89048 echo "$as_me: failed program was:" >&5
89049 sed 's/^/| /' conftest.$ac_ext >&5
89050
89051 ( exit $ac_status )
89052 ac_sectionLDflags=no
89053 fi
89054 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
89055 fi
89056     if test "$ac_test_CFLAGS" = set; then
89057       CFLAGS="$ac_save_CFLAGS"
89058     else
89059       # this is the suspicious part
89060       CFLAGS=''
89061     fi
89062     if test "$ac_sectionLDflags" = "yes"; then
89063       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
89064     fi
89065     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
89066 echo "${ECHO_T}$ac_sectionLDflags" >&6
89067   fi
89068
89069   # Set linker optimization flags.
89070   if test x"$with_gnu_ld" = x"yes"; then
89071     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
89072   fi
89073
89074
89075
89076
89077
89078
89079 echo "$as_me:$LINENO: checking for main in -lm" >&5
89080 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
89081 if test "${ac_cv_lib_m_main+set}" = set; then
89082   echo $ECHO_N "(cached) $ECHO_C" >&6
89083 else
89084   ac_check_lib_save_LIBS=$LIBS
89085 LIBS="-lm  $LIBS"
89086 if test x$gcc_no_link = xyes; then
89087   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89088 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89089    { (exit 1); exit 1; }; }
89090 fi
89091 cat >conftest.$ac_ext <<_ACEOF
89092 /* confdefs.h.  */
89093 _ACEOF
89094 cat confdefs.h >>conftest.$ac_ext
89095 cat >>conftest.$ac_ext <<_ACEOF
89096 /* end confdefs.h.  */
89097
89098
89099 int
89100 main ()
89101 {
89102 main ();
89103   ;
89104   return 0;
89105 }
89106 _ACEOF
89107 rm -f conftest.$ac_objext conftest$ac_exeext
89108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89109   (eval $ac_link) 2>conftest.er1
89110   ac_status=$?
89111   grep -v '^ *+' conftest.er1 >conftest.err
89112   rm -f conftest.er1
89113   cat conftest.err >&5
89114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89115   (exit $ac_status); } &&
89116          { ac_try='test -z "$ac_c_werror_flag"
89117                          || test ! -s conftest.err'
89118   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89119   (eval $ac_try) 2>&5
89120   ac_status=$?
89121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89122   (exit $ac_status); }; } &&
89123          { ac_try='test -s conftest$ac_exeext'
89124   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89125   (eval $ac_try) 2>&5
89126   ac_status=$?
89127   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89128   (exit $ac_status); }; }; then
89129   ac_cv_lib_m_main=yes
89130 else
89131   echo "$as_me: failed program was:" >&5
89132 sed 's/^/| /' conftest.$ac_ext >&5
89133
89134 ac_cv_lib_m_main=no
89135 fi
89136 rm -f conftest.err conftest.$ac_objext \
89137       conftest$ac_exeext conftest.$ac_ext
89138 LIBS=$ac_check_lib_save_LIBS
89139 fi
89140 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
89141 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
89142 if test $ac_cv_lib_m_main = yes; then
89143   cat >>confdefs.h <<_ACEOF
89144 #define HAVE_LIBM 1
89145 _ACEOF
89146
89147   LIBS="-lm $LIBS"
89148
89149 fi
89150
89151
89152 for ac_func in copysignf
89153 do
89154 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89155 echo "$as_me:$LINENO: checking for $ac_func" >&5
89156 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89157 if eval "test \"\${$as_ac_var+set}\" = set"; then
89158   echo $ECHO_N "(cached) $ECHO_C" >&6
89159 else
89160   if test x$gcc_no_link = xyes; then
89161   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89162 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89163    { (exit 1); exit 1; }; }
89164 fi
89165 cat >conftest.$ac_ext <<_ACEOF
89166 /* confdefs.h.  */
89167 _ACEOF
89168 cat confdefs.h >>conftest.$ac_ext
89169 cat >>conftest.$ac_ext <<_ACEOF
89170 /* end confdefs.h.  */
89171 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89172    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89173 #define $ac_func innocuous_$ac_func
89174
89175 /* System header to define __stub macros and hopefully few prototypes,
89176     which can conflict with char $ac_func (); below.
89177     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89178     <limits.h> exists even on freestanding compilers.  */
89179
89180 #ifdef __STDC__
89181 # include <limits.h>
89182 #else
89183 # include <assert.h>
89184 #endif
89185
89186 #undef $ac_func
89187
89188 /* Override any gcc2 internal prototype to avoid an error.  */
89189 #ifdef __cplusplus
89190 extern "C"
89191 {
89192 #endif
89193 /* We use char because int might match the return type of a gcc2
89194    builtin and then its argument prototype would still apply.  */
89195 char $ac_func ();
89196 /* The GNU C library defines this for functions which it implements
89197     to always fail with ENOSYS.  Some functions are actually named
89198     something starting with __ and the normal name is an alias.  */
89199 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89200 choke me
89201 #else
89202 char (*f) () = $ac_func;
89203 #endif
89204 #ifdef __cplusplus
89205 }
89206 #endif
89207
89208 int
89209 main ()
89210 {
89211 return f != $ac_func;
89212   ;
89213   return 0;
89214 }
89215 _ACEOF
89216 rm -f conftest.$ac_objext conftest$ac_exeext
89217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89218   (eval $ac_link) 2>conftest.er1
89219   ac_status=$?
89220   grep -v '^ *+' conftest.er1 >conftest.err
89221   rm -f conftest.er1
89222   cat conftest.err >&5
89223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89224   (exit $ac_status); } &&
89225          { ac_try='test -z "$ac_c_werror_flag"
89226                          || test ! -s conftest.err'
89227   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89228   (eval $ac_try) 2>&5
89229   ac_status=$?
89230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89231   (exit $ac_status); }; } &&
89232          { ac_try='test -s conftest$ac_exeext'
89233   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89234   (eval $ac_try) 2>&5
89235   ac_status=$?
89236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89237   (exit $ac_status); }; }; then
89238   eval "$as_ac_var=yes"
89239 else
89240   echo "$as_me: failed program was:" >&5
89241 sed 's/^/| /' conftest.$ac_ext >&5
89242
89243 eval "$as_ac_var=no"
89244 fi
89245 rm -f conftest.err conftest.$ac_objext \
89246       conftest$ac_exeext conftest.$ac_ext
89247 fi
89248 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89249 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89250 if test `eval echo '${'$as_ac_var'}'` = yes; then
89251   cat >>confdefs.h <<_ACEOF
89252 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89253 _ACEOF
89254
89255 else
89256   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
89257 fi
89258 done
89259
89260
89261
89262 for ac_func in __signbit
89263 do
89264 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89265 echo "$as_me:$LINENO: checking for $ac_func" >&5
89266 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89267 if eval "test \"\${$as_ac_var+set}\" = set"; then
89268   echo $ECHO_N "(cached) $ECHO_C" >&6
89269 else
89270   if test x$gcc_no_link = xyes; then
89271   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89272 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89273    { (exit 1); exit 1; }; }
89274 fi
89275 cat >conftest.$ac_ext <<_ACEOF
89276 /* confdefs.h.  */
89277 _ACEOF
89278 cat confdefs.h >>conftest.$ac_ext
89279 cat >>conftest.$ac_ext <<_ACEOF
89280 /* end confdefs.h.  */
89281 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89282    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89283 #define $ac_func innocuous_$ac_func
89284
89285 /* System header to define __stub macros and hopefully few prototypes,
89286     which can conflict with char $ac_func (); below.
89287     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89288     <limits.h> exists even on freestanding compilers.  */
89289
89290 #ifdef __STDC__
89291 # include <limits.h>
89292 #else
89293 # include <assert.h>
89294 #endif
89295
89296 #undef $ac_func
89297
89298 /* Override any gcc2 internal prototype to avoid an error.  */
89299 #ifdef __cplusplus
89300 extern "C"
89301 {
89302 #endif
89303 /* We use char because int might match the return type of a gcc2
89304    builtin and then its argument prototype would still apply.  */
89305 char $ac_func ();
89306 /* The GNU C library defines this for functions which it implements
89307     to always fail with ENOSYS.  Some functions are actually named
89308     something starting with __ and the normal name is an alias.  */
89309 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89310 choke me
89311 #else
89312 char (*f) () = $ac_func;
89313 #endif
89314 #ifdef __cplusplus
89315 }
89316 #endif
89317
89318 int
89319 main ()
89320 {
89321 return f != $ac_func;
89322   ;
89323   return 0;
89324 }
89325 _ACEOF
89326 rm -f conftest.$ac_objext conftest$ac_exeext
89327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89328   (eval $ac_link) 2>conftest.er1
89329   ac_status=$?
89330   grep -v '^ *+' conftest.er1 >conftest.err
89331   rm -f conftest.er1
89332   cat conftest.err >&5
89333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89334   (exit $ac_status); } &&
89335          { ac_try='test -z "$ac_c_werror_flag"
89336                          || test ! -s conftest.err'
89337   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89338   (eval $ac_try) 2>&5
89339   ac_status=$?
89340   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89341   (exit $ac_status); }; } &&
89342          { ac_try='test -s conftest$ac_exeext'
89343   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89344   (eval $ac_try) 2>&5
89345   ac_status=$?
89346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89347   (exit $ac_status); }; }; then
89348   eval "$as_ac_var=yes"
89349 else
89350   echo "$as_me: failed program was:" >&5
89351 sed 's/^/| /' conftest.$ac_ext >&5
89352
89353 eval "$as_ac_var=no"
89354 fi
89355 rm -f conftest.err conftest.$ac_objext \
89356       conftest$ac_exeext conftest.$ac_ext
89357 fi
89358 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89359 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89360 if test `eval echo '${'$as_ac_var'}'` = yes; then
89361   cat >>confdefs.h <<_ACEOF
89362 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89363 _ACEOF
89364
89365 else
89366   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
89367 fi
89368 done
89369
89370
89371
89372 for ac_func in __signbitf
89373 do
89374 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89375 echo "$as_me:$LINENO: checking for $ac_func" >&5
89376 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89377 if eval "test \"\${$as_ac_var+set}\" = set"; then
89378   echo $ECHO_N "(cached) $ECHO_C" >&6
89379 else
89380   if test x$gcc_no_link = xyes; then
89381   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89382 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89383    { (exit 1); exit 1; }; }
89384 fi
89385 cat >conftest.$ac_ext <<_ACEOF
89386 /* confdefs.h.  */
89387 _ACEOF
89388 cat confdefs.h >>conftest.$ac_ext
89389 cat >>conftest.$ac_ext <<_ACEOF
89390 /* end confdefs.h.  */
89391 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89392    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89393 #define $ac_func innocuous_$ac_func
89394
89395 /* System header to define __stub macros and hopefully few prototypes,
89396     which can conflict with char $ac_func (); below.
89397     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89398     <limits.h> exists even on freestanding compilers.  */
89399
89400 #ifdef __STDC__
89401 # include <limits.h>
89402 #else
89403 # include <assert.h>
89404 #endif
89405
89406 #undef $ac_func
89407
89408 /* Override any gcc2 internal prototype to avoid an error.  */
89409 #ifdef __cplusplus
89410 extern "C"
89411 {
89412 #endif
89413 /* We use char because int might match the return type of a gcc2
89414    builtin and then its argument prototype would still apply.  */
89415 char $ac_func ();
89416 /* The GNU C library defines this for functions which it implements
89417     to always fail with ENOSYS.  Some functions are actually named
89418     something starting with __ and the normal name is an alias.  */
89419 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89420 choke me
89421 #else
89422 char (*f) () = $ac_func;
89423 #endif
89424 #ifdef __cplusplus
89425 }
89426 #endif
89427
89428 int
89429 main ()
89430 {
89431 return f != $ac_func;
89432   ;
89433   return 0;
89434 }
89435 _ACEOF
89436 rm -f conftest.$ac_objext conftest$ac_exeext
89437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89438   (eval $ac_link) 2>conftest.er1
89439   ac_status=$?
89440   grep -v '^ *+' conftest.er1 >conftest.err
89441   rm -f conftest.er1
89442   cat conftest.err >&5
89443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89444   (exit $ac_status); } &&
89445          { ac_try='test -z "$ac_c_werror_flag"
89446                          || test ! -s conftest.err'
89447   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89448   (eval $ac_try) 2>&5
89449   ac_status=$?
89450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89451   (exit $ac_status); }; } &&
89452          { ac_try='test -s conftest$ac_exeext'
89453   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89454   (eval $ac_try) 2>&5
89455   ac_status=$?
89456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89457   (exit $ac_status); }; }; then
89458   eval "$as_ac_var=yes"
89459 else
89460   echo "$as_me: failed program was:" >&5
89461 sed 's/^/| /' conftest.$ac_ext >&5
89462
89463 eval "$as_ac_var=no"
89464 fi
89465 rm -f conftest.err conftest.$ac_objext \
89466       conftest$ac_exeext conftest.$ac_ext
89467 fi
89468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89469 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89470 if test `eval echo '${'$as_ac_var'}'` = yes; then
89471   cat >>confdefs.h <<_ACEOF
89472 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89473 _ACEOF
89474
89475 else
89476   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
89477 fi
89478 done
89479
89480
89481           if test x$ac_cv_func_copysignl = x"yes"; then
89482
89483 for ac_func in __signbitl
89484 do
89485 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89486 echo "$as_me:$LINENO: checking for $ac_func" >&5
89487 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89488 if eval "test \"\${$as_ac_var+set}\" = set"; then
89489   echo $ECHO_N "(cached) $ECHO_C" >&6
89490 else
89491   if test x$gcc_no_link = xyes; then
89492   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89493 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89494    { (exit 1); exit 1; }; }
89495 fi
89496 cat >conftest.$ac_ext <<_ACEOF
89497 /* confdefs.h.  */
89498 _ACEOF
89499 cat confdefs.h >>conftest.$ac_ext
89500 cat >>conftest.$ac_ext <<_ACEOF
89501 /* end confdefs.h.  */
89502 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89503    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
89504 #define $ac_func innocuous_$ac_func
89505
89506 /* System header to define __stub macros and hopefully few prototypes,
89507     which can conflict with char $ac_func (); below.
89508     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89509     <limits.h> exists even on freestanding compilers.  */
89510
89511 #ifdef __STDC__
89512 # include <limits.h>
89513 #else
89514 # include <assert.h>
89515 #endif
89516
89517 #undef $ac_func
89518
89519 /* Override any gcc2 internal prototype to avoid an error.  */
89520 #ifdef __cplusplus
89521 extern "C"
89522 {
89523 #endif
89524 /* We use char because int might match the return type of a gcc2
89525    builtin and then its argument prototype would still apply.  */
89526 char $ac_func ();
89527 /* The GNU C library defines this for functions which it implements
89528     to always fail with ENOSYS.  Some functions are actually named
89529     something starting with __ and the normal name is an alias.  */
89530 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89531 choke me
89532 #else
89533 char (*f) () = $ac_func;
89534 #endif
89535 #ifdef __cplusplus
89536 }
89537 #endif
89538
89539 int
89540 main ()
89541 {
89542 return f != $ac_func;
89543   ;
89544   return 0;
89545 }
89546 _ACEOF
89547 rm -f conftest.$ac_objext conftest$ac_exeext
89548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89549   (eval $ac_link) 2>conftest.er1
89550   ac_status=$?
89551   grep -v '^ *+' conftest.er1 >conftest.err
89552   rm -f conftest.er1
89553   cat conftest.err >&5
89554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89555   (exit $ac_status); } &&
89556          { ac_try='test -z "$ac_c_werror_flag"
89557                          || test ! -s conftest.err'
89558   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89559   (eval $ac_try) 2>&5
89560   ac_status=$?
89561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89562   (exit $ac_status); }; } &&
89563          { ac_try='test -s conftest$ac_exeext'
89564   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89565   (eval $ac_try) 2>&5
89566   ac_status=$?
89567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89568   (exit $ac_status); }; }; then
89569   eval "$as_ac_var=yes"
89570 else
89571   echo "$as_me: failed program was:" >&5
89572 sed 's/^/| /' conftest.$ac_ext >&5
89573
89574 eval "$as_ac_var=no"
89575 fi
89576 rm -f conftest.err conftest.$ac_objext \
89577       conftest$ac_exeext conftest.$ac_ext
89578 fi
89579 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89580 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89581 if test `eval echo '${'$as_ac_var'}'` = yes; then
89582   cat >>confdefs.h <<_ACEOF
89583 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89584 _ACEOF
89585
89586 else
89587   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
89588 fi
89589 done
89590
89591   fi
89592
89593   # Used in libmath/Makefile.am.
89594   if test -n "$LIBMATHOBJS"; then
89595     need_libmath=yes
89596   fi
89597
89598
89599
89600   # Test wchar.h for mbstate_t, which is needed for char_traits and
89601   # others even if wchar_t support is not on.
89602   echo "$as_me:$LINENO: checking for mbstate_t" >&5
89603 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
89604   cat >conftest.$ac_ext <<_ACEOF
89605 /* confdefs.h.  */
89606 _ACEOF
89607 cat confdefs.h >>conftest.$ac_ext
89608 cat >>conftest.$ac_ext <<_ACEOF
89609 /* end confdefs.h.  */
89610 #include <wchar.h>
89611 int
89612 main ()
89613 {
89614 mbstate_t teststate;
89615   ;
89616   return 0;
89617 }
89618 _ACEOF
89619 rm -f conftest.$ac_objext
89620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89621   (eval $ac_compile) 2>conftest.er1
89622   ac_status=$?
89623   grep -v '^ *+' conftest.er1 >conftest.err
89624   rm -f conftest.er1
89625   cat conftest.err >&5
89626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89627   (exit $ac_status); } &&
89628          { ac_try='test -z "$ac_c_werror_flag"
89629                          || test ! -s conftest.err'
89630   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89631   (eval $ac_try) 2>&5
89632   ac_status=$?
89633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89634   (exit $ac_status); }; } &&
89635          { ac_try='test -s conftest.$ac_objext'
89636   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89637   (eval $ac_try) 2>&5
89638   ac_status=$?
89639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89640   (exit $ac_status); }; }; then
89641   have_mbstate_t=yes
89642 else
89643   echo "$as_me: failed program was:" >&5
89644 sed 's/^/| /' conftest.$ac_ext >&5
89645
89646 have_mbstate_t=no
89647 fi
89648 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89649   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
89650 echo "${ECHO_T}$have_mbstate_t" >&6
89651   if test x"$have_mbstate_t" = xyes; then
89652     cat >>confdefs.h <<\_ACEOF
89653 #define HAVE_MBSTATE_T 1
89654 _ACEOF
89655
89656   fi
89657
89658   # Sanity check for existence of ISO C99 headers for extended encoding.
89659
89660 for ac_header in wchar.h
89661 do
89662 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
89663 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89664   echo "$as_me:$LINENO: checking for $ac_header" >&5
89665 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
89666 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89667   echo $ECHO_N "(cached) $ECHO_C" >&6
89668 fi
89669 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
89670 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
89671 else
89672   # Is the header compilable?
89673 echo "$as_me:$LINENO: checking $ac_header usability" >&5
89674 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
89675 cat >conftest.$ac_ext <<_ACEOF
89676 /* confdefs.h.  */
89677 _ACEOF
89678 cat confdefs.h >>conftest.$ac_ext
89679 cat >>conftest.$ac_ext <<_ACEOF
89680 /* end confdefs.h.  */
89681 $ac_includes_default
89682 #include <$ac_header>
89683 _ACEOF
89684 rm -f conftest.$ac_objext
89685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89686   (eval $ac_compile) 2>conftest.er1
89687   ac_status=$?
89688   grep -v '^ *+' conftest.er1 >conftest.err
89689   rm -f conftest.er1
89690   cat conftest.err >&5
89691   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89692   (exit $ac_status); } &&
89693          { ac_try='test -z "$ac_c_werror_flag"
89694                          || test ! -s conftest.err'
89695   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89696   (eval $ac_try) 2>&5
89697   ac_status=$?
89698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89699   (exit $ac_status); }; } &&
89700          { ac_try='test -s conftest.$ac_objext'
89701   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89702   (eval $ac_try) 2>&5
89703   ac_status=$?
89704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89705   (exit $ac_status); }; }; then
89706   ac_header_compiler=yes
89707 else
89708   echo "$as_me: failed program was:" >&5
89709 sed 's/^/| /' conftest.$ac_ext >&5
89710
89711 ac_header_compiler=no
89712 fi
89713 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89714 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
89715 echo "${ECHO_T}$ac_header_compiler" >&6
89716
89717 # Is the header present?
89718 echo "$as_me:$LINENO: checking $ac_header presence" >&5
89719 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
89720 cat >conftest.$ac_ext <<_ACEOF
89721 /* confdefs.h.  */
89722 _ACEOF
89723 cat confdefs.h >>conftest.$ac_ext
89724 cat >>conftest.$ac_ext <<_ACEOF
89725 /* end confdefs.h.  */
89726 #include <$ac_header>
89727 _ACEOF
89728 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
89729   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
89730   ac_status=$?
89731   grep -v '^ *+' conftest.er1 >conftest.err
89732   rm -f conftest.er1
89733   cat conftest.err >&5
89734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89735   (exit $ac_status); } >/dev/null; then
89736   if test -s conftest.err; then
89737     ac_cpp_err=$ac_c_preproc_warn_flag
89738     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
89739   else
89740     ac_cpp_err=
89741   fi
89742 else
89743   ac_cpp_err=yes
89744 fi
89745 if test -z "$ac_cpp_err"; then
89746   ac_header_preproc=yes
89747 else
89748   echo "$as_me: failed program was:" >&5
89749 sed 's/^/| /' conftest.$ac_ext >&5
89750
89751   ac_header_preproc=no
89752 fi
89753 rm -f conftest.err conftest.$ac_ext
89754 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
89755 echo "${ECHO_T}$ac_header_preproc" >&6
89756
89757 # So?  What about this header?
89758 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
89759   yes:no: )
89760     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
89761 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
89762     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
89763 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
89764     ac_header_preproc=yes
89765     ;;
89766   no:yes:* )
89767     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
89768 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
89769     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
89770 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
89771     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
89772 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
89773     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
89774 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
89775     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
89776 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
89777     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
89778 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
89779     (
89780       cat <<\_ASBOX
89781 ## ----------------------------------------- ##
89782 ## Report this to the package-unused lists.  ##
89783 ## ----------------------------------------- ##
89784 _ASBOX
89785     ) |
89786       sed "s/^/$as_me: WARNING:     /" >&2
89787     ;;
89788 esac
89789 echo "$as_me:$LINENO: checking for $ac_header" >&5
89790 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
89791 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89792   echo $ECHO_N "(cached) $ECHO_C" >&6
89793 else
89794   eval "$as_ac_Header=\$ac_header_preproc"
89795 fi
89796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
89797 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
89798
89799 fi
89800 if test `eval echo '${'$as_ac_Header'}'` = yes; then
89801   cat >>confdefs.h <<_ACEOF
89802 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
89803 _ACEOF
89804  ac_has_wchar_h=yes
89805 else
89806   ac_has_wchar_h=no
89807 fi
89808
89809 done
89810
89811
89812 for ac_header in wctype.h
89813 do
89814 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
89815 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89816   echo "$as_me:$LINENO: checking for $ac_header" >&5
89817 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
89818 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89819   echo $ECHO_N "(cached) $ECHO_C" >&6
89820 fi
89821 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
89822 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
89823 else
89824   # Is the header compilable?
89825 echo "$as_me:$LINENO: checking $ac_header usability" >&5
89826 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
89827 cat >conftest.$ac_ext <<_ACEOF
89828 /* confdefs.h.  */
89829 _ACEOF
89830 cat confdefs.h >>conftest.$ac_ext
89831 cat >>conftest.$ac_ext <<_ACEOF
89832 /* end confdefs.h.  */
89833 $ac_includes_default
89834 #include <$ac_header>
89835 _ACEOF
89836 rm -f conftest.$ac_objext
89837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89838   (eval $ac_compile) 2>conftest.er1
89839   ac_status=$?
89840   grep -v '^ *+' conftest.er1 >conftest.err
89841   rm -f conftest.er1
89842   cat conftest.err >&5
89843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89844   (exit $ac_status); } &&
89845          { ac_try='test -z "$ac_c_werror_flag"
89846                          || test ! -s conftest.err'
89847   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89848   (eval $ac_try) 2>&5
89849   ac_status=$?
89850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89851   (exit $ac_status); }; } &&
89852          { ac_try='test -s conftest.$ac_objext'
89853   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89854   (eval $ac_try) 2>&5
89855   ac_status=$?
89856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89857   (exit $ac_status); }; }; then
89858   ac_header_compiler=yes
89859 else
89860   echo "$as_me: failed program was:" >&5
89861 sed 's/^/| /' conftest.$ac_ext >&5
89862
89863 ac_header_compiler=no
89864 fi
89865 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89866 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
89867 echo "${ECHO_T}$ac_header_compiler" >&6
89868
89869 # Is the header present?
89870 echo "$as_me:$LINENO: checking $ac_header presence" >&5
89871 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
89872 cat >conftest.$ac_ext <<_ACEOF
89873 /* confdefs.h.  */
89874 _ACEOF
89875 cat confdefs.h >>conftest.$ac_ext
89876 cat >>conftest.$ac_ext <<_ACEOF
89877 /* end confdefs.h.  */
89878 #include <$ac_header>
89879 _ACEOF
89880 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
89881   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
89882   ac_status=$?
89883   grep -v '^ *+' conftest.er1 >conftest.err
89884   rm -f conftest.er1
89885   cat conftest.err >&5
89886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89887   (exit $ac_status); } >/dev/null; then
89888   if test -s conftest.err; then
89889     ac_cpp_err=$ac_c_preproc_warn_flag
89890     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
89891   else
89892     ac_cpp_err=
89893   fi
89894 else
89895   ac_cpp_err=yes
89896 fi
89897 if test -z "$ac_cpp_err"; then
89898   ac_header_preproc=yes
89899 else
89900   echo "$as_me: failed program was:" >&5
89901 sed 's/^/| /' conftest.$ac_ext >&5
89902
89903   ac_header_preproc=no
89904 fi
89905 rm -f conftest.err conftest.$ac_ext
89906 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
89907 echo "${ECHO_T}$ac_header_preproc" >&6
89908
89909 # So?  What about this header?
89910 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
89911   yes:no: )
89912     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
89913 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
89914     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
89915 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
89916     ac_header_preproc=yes
89917     ;;
89918   no:yes:* )
89919     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
89920 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
89921     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
89922 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
89923     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
89924 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
89925     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
89926 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
89927     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
89928 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
89929     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
89930 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
89931     (
89932       cat <<\_ASBOX
89933 ## ----------------------------------------- ##
89934 ## Report this to the package-unused lists.  ##
89935 ## ----------------------------------------- ##
89936 _ASBOX
89937     ) |
89938       sed "s/^/$as_me: WARNING:     /" >&2
89939     ;;
89940 esac
89941 echo "$as_me:$LINENO: checking for $ac_header" >&5
89942 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
89943 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89944   echo $ECHO_N "(cached) $ECHO_C" >&6
89945 else
89946   eval "$as_ac_Header=\$ac_header_preproc"
89947 fi
89948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
89949 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
89950
89951 fi
89952 if test `eval echo '${'$as_ac_Header'}'` = yes; then
89953   cat >>confdefs.h <<_ACEOF
89954 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
89955 _ACEOF
89956  ac_has_wctype_h=yes
89957 else
89958   ac_has_wctype_h=no
89959 fi
89960
89961 done
89962
89963
89964   # Only continue checking if the ISO C99 headers exist and support is on.
89965   if test x"$ac_has_wchar_h" = xyes &&
89966      test x"$ac_has_wctype_h" = xyes &&
89967      test x"$enable_c_mbchar" != xno; then
89968
89969     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
89970     # numeric_limits can instantiate type_traits<wchar_t>
89971     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
89972 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
89973     cat >conftest.$ac_ext <<_ACEOF
89974 /* confdefs.h.  */
89975 _ACEOF
89976 cat confdefs.h >>conftest.$ac_ext
89977 cat >>conftest.$ac_ext <<_ACEOF
89978 /* end confdefs.h.  */
89979 #include <wchar.h>
89980 int
89981 main ()
89982 {
89983 int i = WCHAR_MIN; int j = WCHAR_MAX;
89984   ;
89985   return 0;
89986 }
89987 _ACEOF
89988 rm -f conftest.$ac_objext
89989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89990   (eval $ac_compile) 2>conftest.er1
89991   ac_status=$?
89992   grep -v '^ *+' conftest.er1 >conftest.err
89993   rm -f conftest.er1
89994   cat conftest.err >&5
89995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
89996   (exit $ac_status); } &&
89997          { ac_try='test -z "$ac_c_werror_flag"
89998                          || test ! -s conftest.err'
89999   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90000   (eval $ac_try) 2>&5
90001   ac_status=$?
90002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90003   (exit $ac_status); }; } &&
90004          { ac_try='test -s conftest.$ac_objext'
90005   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90006   (eval $ac_try) 2>&5
90007   ac_status=$?
90008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90009   (exit $ac_status); }; }; then
90010   has_wchar_minmax=yes
90011 else
90012   echo "$as_me: failed program was:" >&5
90013 sed 's/^/| /' conftest.$ac_ext >&5
90014
90015 has_wchar_minmax=no
90016 fi
90017 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90018     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
90019 echo "${ECHO_T}$has_wchar_minmax" >&6
90020
90021     # Test wchar.h for WEOF, which is what we use to determine whether
90022     # to specialize for char_traits<wchar_t> or not.
90023     echo "$as_me:$LINENO: checking for WEOF" >&5
90024 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
90025     cat >conftest.$ac_ext <<_ACEOF
90026 /* confdefs.h.  */
90027 _ACEOF
90028 cat confdefs.h >>conftest.$ac_ext
90029 cat >>conftest.$ac_ext <<_ACEOF
90030 /* end confdefs.h.  */
90031
90032       #include <wchar.h>
90033       #include <stddef.h>
90034 int
90035 main ()
90036 {
90037 wint_t i = WEOF;
90038   ;
90039   return 0;
90040 }
90041 _ACEOF
90042 rm -f conftest.$ac_objext
90043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90044   (eval $ac_compile) 2>conftest.er1
90045   ac_status=$?
90046   grep -v '^ *+' conftest.er1 >conftest.err
90047   rm -f conftest.er1
90048   cat conftest.err >&5
90049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90050   (exit $ac_status); } &&
90051          { ac_try='test -z "$ac_c_werror_flag"
90052                          || test ! -s conftest.err'
90053   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90054   (eval $ac_try) 2>&5
90055   ac_status=$?
90056   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90057   (exit $ac_status); }; } &&
90058          { ac_try='test -s conftest.$ac_objext'
90059   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90060   (eval $ac_try) 2>&5
90061   ac_status=$?
90062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90063   (exit $ac_status); }; }; then
90064   has_weof=yes
90065 else
90066   echo "$as_me: failed program was:" >&5
90067 sed 's/^/| /' conftest.$ac_ext >&5
90068
90069 has_weof=no
90070 fi
90071 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90072     echo "$as_me:$LINENO: result: $has_weof" >&5
90073 echo "${ECHO_T}$has_weof" >&6
90074
90075     # Tests for wide character functions used in char_traits<wchar_t>.
90076     ac_wfuncs=yes
90077
90078
90079
90080
90081
90082
90083 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
90084 do
90085 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90086 echo "$as_me:$LINENO: checking for $ac_func" >&5
90087 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90088 if eval "test \"\${$as_ac_var+set}\" = set"; then
90089   echo $ECHO_N "(cached) $ECHO_C" >&6
90090 else
90091   if test x$gcc_no_link = xyes; then
90092   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90093 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90094    { (exit 1); exit 1; }; }
90095 fi
90096 cat >conftest.$ac_ext <<_ACEOF
90097 /* confdefs.h.  */
90098 _ACEOF
90099 cat confdefs.h >>conftest.$ac_ext
90100 cat >>conftest.$ac_ext <<_ACEOF
90101 /* end confdefs.h.  */
90102 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90103    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90104 #define $ac_func innocuous_$ac_func
90105
90106 /* System header to define __stub macros and hopefully few prototypes,
90107     which can conflict with char $ac_func (); below.
90108     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90109     <limits.h> exists even on freestanding compilers.  */
90110
90111 #ifdef __STDC__
90112 # include <limits.h>
90113 #else
90114 # include <assert.h>
90115 #endif
90116
90117 #undef $ac_func
90118
90119 /* Override any gcc2 internal prototype to avoid an error.  */
90120 #ifdef __cplusplus
90121 extern "C"
90122 {
90123 #endif
90124 /* We use char because int might match the return type of a gcc2
90125    builtin and then its argument prototype would still apply.  */
90126 char $ac_func ();
90127 /* The GNU C library defines this for functions which it implements
90128     to always fail with ENOSYS.  Some functions are actually named
90129     something starting with __ and the normal name is an alias.  */
90130 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90131 choke me
90132 #else
90133 char (*f) () = $ac_func;
90134 #endif
90135 #ifdef __cplusplus
90136 }
90137 #endif
90138
90139 int
90140 main ()
90141 {
90142 return f != $ac_func;
90143   ;
90144   return 0;
90145 }
90146 _ACEOF
90147 rm -f conftest.$ac_objext conftest$ac_exeext
90148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90149   (eval $ac_link) 2>conftest.er1
90150   ac_status=$?
90151   grep -v '^ *+' conftest.er1 >conftest.err
90152   rm -f conftest.er1
90153   cat conftest.err >&5
90154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90155   (exit $ac_status); } &&
90156          { ac_try='test -z "$ac_c_werror_flag"
90157                          || test ! -s conftest.err'
90158   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90159   (eval $ac_try) 2>&5
90160   ac_status=$?
90161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90162   (exit $ac_status); }; } &&
90163          { ac_try='test -s conftest$ac_exeext'
90164   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90165   (eval $ac_try) 2>&5
90166   ac_status=$?
90167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90168   (exit $ac_status); }; }; then
90169   eval "$as_ac_var=yes"
90170 else
90171   echo "$as_me: failed program was:" >&5
90172 sed 's/^/| /' conftest.$ac_ext >&5
90173
90174 eval "$as_ac_var=no"
90175 fi
90176 rm -f conftest.err conftest.$ac_objext \
90177       conftest$ac_exeext conftest.$ac_ext
90178 fi
90179 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90180 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90181 if test `eval echo '${'$as_ac_var'}'` = yes; then
90182   cat >>confdefs.h <<_ACEOF
90183 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90184 _ACEOF
90185
90186 else
90187   ac_wfuncs=no
90188 fi
90189 done
90190
90191
90192     # Checks for names injected into std:: by the c_std headers.
90193
90194
90195
90196
90197
90198
90199
90200
90201
90202
90203
90204
90205
90206
90207
90208
90209
90210
90211
90212
90213
90214
90215
90216
90217
90218
90219
90220
90221
90222
90223
90224
90225
90226
90227
90228
90229
90230
90231
90232
90233
90234
90235
90236
90237
90238
90239 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
90240     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
90241     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
90242     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
90243     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
90244     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
90245 do
90246 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90247 echo "$as_me:$LINENO: checking for $ac_func" >&5
90248 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90249 if eval "test \"\${$as_ac_var+set}\" = set"; then
90250   echo $ECHO_N "(cached) $ECHO_C" >&6
90251 else
90252   if test x$gcc_no_link = xyes; then
90253   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90254 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90255    { (exit 1); exit 1; }; }
90256 fi
90257 cat >conftest.$ac_ext <<_ACEOF
90258 /* confdefs.h.  */
90259 _ACEOF
90260 cat confdefs.h >>conftest.$ac_ext
90261 cat >>conftest.$ac_ext <<_ACEOF
90262 /* end confdefs.h.  */
90263 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90264    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90265 #define $ac_func innocuous_$ac_func
90266
90267 /* System header to define __stub macros and hopefully few prototypes,
90268     which can conflict with char $ac_func (); below.
90269     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90270     <limits.h> exists even on freestanding compilers.  */
90271
90272 #ifdef __STDC__
90273 # include <limits.h>
90274 #else
90275 # include <assert.h>
90276 #endif
90277
90278 #undef $ac_func
90279
90280 /* Override any gcc2 internal prototype to avoid an error.  */
90281 #ifdef __cplusplus
90282 extern "C"
90283 {
90284 #endif
90285 /* We use char because int might match the return type of a gcc2
90286    builtin and then its argument prototype would still apply.  */
90287 char $ac_func ();
90288 /* The GNU C library defines this for functions which it implements
90289     to always fail with ENOSYS.  Some functions are actually named
90290     something starting with __ and the normal name is an alias.  */
90291 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90292 choke me
90293 #else
90294 char (*f) () = $ac_func;
90295 #endif
90296 #ifdef __cplusplus
90297 }
90298 #endif
90299
90300 int
90301 main ()
90302 {
90303 return f != $ac_func;
90304   ;
90305   return 0;
90306 }
90307 _ACEOF
90308 rm -f conftest.$ac_objext conftest$ac_exeext
90309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90310   (eval $ac_link) 2>conftest.er1
90311   ac_status=$?
90312   grep -v '^ *+' conftest.er1 >conftest.err
90313   rm -f conftest.er1
90314   cat conftest.err >&5
90315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90316   (exit $ac_status); } &&
90317          { ac_try='test -z "$ac_c_werror_flag"
90318                          || test ! -s conftest.err'
90319   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90320   (eval $ac_try) 2>&5
90321   ac_status=$?
90322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90323   (exit $ac_status); }; } &&
90324          { ac_try='test -s conftest$ac_exeext'
90325   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90326   (eval $ac_try) 2>&5
90327   ac_status=$?
90328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90329   (exit $ac_status); }; }; then
90330   eval "$as_ac_var=yes"
90331 else
90332   echo "$as_me: failed program was:" >&5
90333 sed 's/^/| /' conftest.$ac_ext >&5
90334
90335 eval "$as_ac_var=no"
90336 fi
90337 rm -f conftest.err conftest.$ac_objext \
90338       conftest$ac_exeext conftest.$ac_ext
90339 fi
90340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90341 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90342 if test `eval echo '${'$as_ac_var'}'` = yes; then
90343   cat >>confdefs.h <<_ACEOF
90344 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90345 _ACEOF
90346
90347 else
90348   ac_wfuncs=no
90349 fi
90350 done
90351
90352
90353     # Checks for wide character functions that are not required
90354     # for basic wchar_t support.  Don't disable support if they are missing.
90355     # Injection of these is wrapped with guard macros.
90356
90357
90358
90359
90360
90361 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
90362 do
90363 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90364 echo "$as_me:$LINENO: checking for $ac_func" >&5
90365 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90366 if eval "test \"\${$as_ac_var+set}\" = set"; then
90367   echo $ECHO_N "(cached) $ECHO_C" >&6
90368 else
90369   if test x$gcc_no_link = xyes; then
90370   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90371 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90372    { (exit 1); exit 1; }; }
90373 fi
90374 cat >conftest.$ac_ext <<_ACEOF
90375 /* confdefs.h.  */
90376 _ACEOF
90377 cat confdefs.h >>conftest.$ac_ext
90378 cat >>conftest.$ac_ext <<_ACEOF
90379 /* end confdefs.h.  */
90380 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90381    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90382 #define $ac_func innocuous_$ac_func
90383
90384 /* System header to define __stub macros and hopefully few prototypes,
90385     which can conflict with char $ac_func (); below.
90386     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90387     <limits.h> exists even on freestanding compilers.  */
90388
90389 #ifdef __STDC__
90390 # include <limits.h>
90391 #else
90392 # include <assert.h>
90393 #endif
90394
90395 #undef $ac_func
90396
90397 /* Override any gcc2 internal prototype to avoid an error.  */
90398 #ifdef __cplusplus
90399 extern "C"
90400 {
90401 #endif
90402 /* We use char because int might match the return type of a gcc2
90403    builtin and then its argument prototype would still apply.  */
90404 char $ac_func ();
90405 /* The GNU C library defines this for functions which it implements
90406     to always fail with ENOSYS.  Some functions are actually named
90407     something starting with __ and the normal name is an alias.  */
90408 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90409 choke me
90410 #else
90411 char (*f) () = $ac_func;
90412 #endif
90413 #ifdef __cplusplus
90414 }
90415 #endif
90416
90417 int
90418 main ()
90419 {
90420 return f != $ac_func;
90421   ;
90422   return 0;
90423 }
90424 _ACEOF
90425 rm -f conftest.$ac_objext conftest$ac_exeext
90426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90427   (eval $ac_link) 2>conftest.er1
90428   ac_status=$?
90429   grep -v '^ *+' conftest.er1 >conftest.err
90430   rm -f conftest.er1
90431   cat conftest.err >&5
90432   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90433   (exit $ac_status); } &&
90434          { ac_try='test -z "$ac_c_werror_flag"
90435                          || test ! -s conftest.err'
90436   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90437   (eval $ac_try) 2>&5
90438   ac_status=$?
90439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90440   (exit $ac_status); }; } &&
90441          { ac_try='test -s conftest$ac_exeext'
90442   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90443   (eval $ac_try) 2>&5
90444   ac_status=$?
90445   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90446   (exit $ac_status); }; }; then
90447   eval "$as_ac_var=yes"
90448 else
90449   echo "$as_me: failed program was:" >&5
90450 sed 's/^/| /' conftest.$ac_ext >&5
90451
90452 eval "$as_ac_var=no"
90453 fi
90454 rm -f conftest.err conftest.$ac_objext \
90455       conftest$ac_exeext conftest.$ac_ext
90456 fi
90457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90458 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90459 if test `eval echo '${'$as_ac_var'}'` = yes; then
90460   cat >>confdefs.h <<_ACEOF
90461 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90462 _ACEOF
90463
90464 fi
90465 done
90466
90467
90468     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
90469 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
90470     if test x"$has_weof" = xyes &&
90471        test x"$has_wchar_minmax" = xyes &&
90472        test x"$ac_wfuncs" = xyes;
90473     then
90474       ac_isoC99_wchar_t=yes
90475     else
90476       ac_isoC99_wchar_t=no
90477     fi
90478     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
90479 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
90480
90481     # Use iconv for wchar_t to char conversions. As such, check for
90482     # X/Open Portability Guide, version 2 features (XPG2).
90483     if test "${ac_cv_header_iconv_h+set}" = set; then
90484   echo "$as_me:$LINENO: checking for iconv.h" >&5
90485 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
90486 if test "${ac_cv_header_iconv_h+set}" = set; then
90487   echo $ECHO_N "(cached) $ECHO_C" >&6
90488 fi
90489 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
90490 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
90491 else
90492   # Is the header compilable?
90493 echo "$as_me:$LINENO: checking iconv.h usability" >&5
90494 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
90495 cat >conftest.$ac_ext <<_ACEOF
90496 /* confdefs.h.  */
90497 _ACEOF
90498 cat confdefs.h >>conftest.$ac_ext
90499 cat >>conftest.$ac_ext <<_ACEOF
90500 /* end confdefs.h.  */
90501 $ac_includes_default
90502 #include <iconv.h>
90503 _ACEOF
90504 rm -f conftest.$ac_objext
90505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90506   (eval $ac_compile) 2>conftest.er1
90507   ac_status=$?
90508   grep -v '^ *+' conftest.er1 >conftest.err
90509   rm -f conftest.er1
90510   cat conftest.err >&5
90511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90512   (exit $ac_status); } &&
90513          { ac_try='test -z "$ac_c_werror_flag"
90514                          || test ! -s conftest.err'
90515   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90516   (eval $ac_try) 2>&5
90517   ac_status=$?
90518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90519   (exit $ac_status); }; } &&
90520          { ac_try='test -s conftest.$ac_objext'
90521   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90522   (eval $ac_try) 2>&5
90523   ac_status=$?
90524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90525   (exit $ac_status); }; }; then
90526   ac_header_compiler=yes
90527 else
90528   echo "$as_me: failed program was:" >&5
90529 sed 's/^/| /' conftest.$ac_ext >&5
90530
90531 ac_header_compiler=no
90532 fi
90533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90534 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
90535 echo "${ECHO_T}$ac_header_compiler" >&6
90536
90537 # Is the header present?
90538 echo "$as_me:$LINENO: checking iconv.h presence" >&5
90539 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
90540 cat >conftest.$ac_ext <<_ACEOF
90541 /* confdefs.h.  */
90542 _ACEOF
90543 cat confdefs.h >>conftest.$ac_ext
90544 cat >>conftest.$ac_ext <<_ACEOF
90545 /* end confdefs.h.  */
90546 #include <iconv.h>
90547 _ACEOF
90548 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
90549   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
90550   ac_status=$?
90551   grep -v '^ *+' conftest.er1 >conftest.err
90552   rm -f conftest.er1
90553   cat conftest.err >&5
90554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90555   (exit $ac_status); } >/dev/null; then
90556   if test -s conftest.err; then
90557     ac_cpp_err=$ac_c_preproc_warn_flag
90558     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
90559   else
90560     ac_cpp_err=
90561   fi
90562 else
90563   ac_cpp_err=yes
90564 fi
90565 if test -z "$ac_cpp_err"; then
90566   ac_header_preproc=yes
90567 else
90568   echo "$as_me: failed program was:" >&5
90569 sed 's/^/| /' conftest.$ac_ext >&5
90570
90571   ac_header_preproc=no
90572 fi
90573 rm -f conftest.err conftest.$ac_ext
90574 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
90575 echo "${ECHO_T}$ac_header_preproc" >&6
90576
90577 # So?  What about this header?
90578 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
90579   yes:no: )
90580     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
90581 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
90582     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
90583 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
90584     ac_header_preproc=yes
90585     ;;
90586   no:yes:* )
90587     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
90588 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
90589     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
90590 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
90591     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
90592 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
90593     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
90594 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
90595     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
90596 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
90597     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
90598 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
90599     (
90600       cat <<\_ASBOX
90601 ## ----------------------------------------- ##
90602 ## Report this to the package-unused lists.  ##
90603 ## ----------------------------------------- ##
90604 _ASBOX
90605     ) |
90606       sed "s/^/$as_me: WARNING:     /" >&2
90607     ;;
90608 esac
90609 echo "$as_me:$LINENO: checking for iconv.h" >&5
90610 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
90611 if test "${ac_cv_header_iconv_h+set}" = set; then
90612   echo $ECHO_N "(cached) $ECHO_C" >&6
90613 else
90614   ac_cv_header_iconv_h=$ac_header_preproc
90615 fi
90616 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
90617 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
90618
90619 fi
90620 if test $ac_cv_header_iconv_h = yes; then
90621   ac_has_iconv_h=yes
90622 else
90623   ac_has_iconv_h=no
90624 fi
90625
90626
90627     if test "${ac_cv_header_langinfo_h+set}" = set; then
90628   echo "$as_me:$LINENO: checking for langinfo.h" >&5
90629 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
90630 if test "${ac_cv_header_langinfo_h+set}" = set; then
90631   echo $ECHO_N "(cached) $ECHO_C" >&6
90632 fi
90633 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
90634 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
90635 else
90636   # Is the header compilable?
90637 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
90638 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
90639 cat >conftest.$ac_ext <<_ACEOF
90640 /* confdefs.h.  */
90641 _ACEOF
90642 cat confdefs.h >>conftest.$ac_ext
90643 cat >>conftest.$ac_ext <<_ACEOF
90644 /* end confdefs.h.  */
90645 $ac_includes_default
90646 #include <langinfo.h>
90647 _ACEOF
90648 rm -f conftest.$ac_objext
90649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90650   (eval $ac_compile) 2>conftest.er1
90651   ac_status=$?
90652   grep -v '^ *+' conftest.er1 >conftest.err
90653   rm -f conftest.er1
90654   cat conftest.err >&5
90655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90656   (exit $ac_status); } &&
90657          { ac_try='test -z "$ac_c_werror_flag"
90658                          || test ! -s conftest.err'
90659   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90660   (eval $ac_try) 2>&5
90661   ac_status=$?
90662   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90663   (exit $ac_status); }; } &&
90664          { ac_try='test -s conftest.$ac_objext'
90665   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90666   (eval $ac_try) 2>&5
90667   ac_status=$?
90668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90669   (exit $ac_status); }; }; then
90670   ac_header_compiler=yes
90671 else
90672   echo "$as_me: failed program was:" >&5
90673 sed 's/^/| /' conftest.$ac_ext >&5
90674
90675 ac_header_compiler=no
90676 fi
90677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90678 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
90679 echo "${ECHO_T}$ac_header_compiler" >&6
90680
90681 # Is the header present?
90682 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
90683 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
90684 cat >conftest.$ac_ext <<_ACEOF
90685 /* confdefs.h.  */
90686 _ACEOF
90687 cat confdefs.h >>conftest.$ac_ext
90688 cat >>conftest.$ac_ext <<_ACEOF
90689 /* end confdefs.h.  */
90690 #include <langinfo.h>
90691 _ACEOF
90692 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
90693   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
90694   ac_status=$?
90695   grep -v '^ *+' conftest.er1 >conftest.err
90696   rm -f conftest.er1
90697   cat conftest.err >&5
90698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90699   (exit $ac_status); } >/dev/null; then
90700   if test -s conftest.err; then
90701     ac_cpp_err=$ac_c_preproc_warn_flag
90702     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
90703   else
90704     ac_cpp_err=
90705   fi
90706 else
90707   ac_cpp_err=yes
90708 fi
90709 if test -z "$ac_cpp_err"; then
90710   ac_header_preproc=yes
90711 else
90712   echo "$as_me: failed program was:" >&5
90713 sed 's/^/| /' conftest.$ac_ext >&5
90714
90715   ac_header_preproc=no
90716 fi
90717 rm -f conftest.err conftest.$ac_ext
90718 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
90719 echo "${ECHO_T}$ac_header_preproc" >&6
90720
90721 # So?  What about this header?
90722 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
90723   yes:no: )
90724     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
90725 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
90726     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
90727 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
90728     ac_header_preproc=yes
90729     ;;
90730   no:yes:* )
90731     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
90732 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
90733     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
90734 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
90735     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
90736 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
90737     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
90738 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
90739     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
90740 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
90741     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
90742 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
90743     (
90744       cat <<\_ASBOX
90745 ## ----------------------------------------- ##
90746 ## Report this to the package-unused lists.  ##
90747 ## ----------------------------------------- ##
90748 _ASBOX
90749     ) |
90750       sed "s/^/$as_me: WARNING:     /" >&2
90751     ;;
90752 esac
90753 echo "$as_me:$LINENO: checking for langinfo.h" >&5
90754 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
90755 if test "${ac_cv_header_langinfo_h+set}" = set; then
90756   echo $ECHO_N "(cached) $ECHO_C" >&6
90757 else
90758   ac_cv_header_langinfo_h=$ac_header_preproc
90759 fi
90760 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
90761 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
90762
90763 fi
90764 if test $ac_cv_header_langinfo_h = yes; then
90765   ac_has_langinfo_h=yes
90766 else
90767   ac_has_langinfo_h=no
90768 fi
90769
90770
90771
90772     # Check for existence of libiconv.a providing XPG2 wchar_t support.
90773     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
90774 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
90775 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
90776   echo $ECHO_N "(cached) $ECHO_C" >&6
90777 else
90778   ac_check_lib_save_LIBS=$LIBS
90779 LIBS="-liconv  $LIBS"
90780 if test x$gcc_no_link = xyes; then
90781   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90782 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90783    { (exit 1); exit 1; }; }
90784 fi
90785 cat >conftest.$ac_ext <<_ACEOF
90786 /* confdefs.h.  */
90787 _ACEOF
90788 cat confdefs.h >>conftest.$ac_ext
90789 cat >>conftest.$ac_ext <<_ACEOF
90790 /* end confdefs.h.  */
90791
90792 /* Override any gcc2 internal prototype to avoid an error.  */
90793 #ifdef __cplusplus
90794 extern "C"
90795 #endif
90796 /* We use char because int might match the return type of a gcc2
90797    builtin and then its argument prototype would still apply.  */
90798 char iconv ();
90799 int
90800 main ()
90801 {
90802 iconv ();
90803   ;
90804   return 0;
90805 }
90806 _ACEOF
90807 rm -f conftest.$ac_objext conftest$ac_exeext
90808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90809   (eval $ac_link) 2>conftest.er1
90810   ac_status=$?
90811   grep -v '^ *+' conftest.er1 >conftest.err
90812   rm -f conftest.er1
90813   cat conftest.err >&5
90814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90815   (exit $ac_status); } &&
90816          { ac_try='test -z "$ac_c_werror_flag"
90817                          || test ! -s conftest.err'
90818   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90819   (eval $ac_try) 2>&5
90820   ac_status=$?
90821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90822   (exit $ac_status); }; } &&
90823          { ac_try='test -s conftest$ac_exeext'
90824   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90825   (eval $ac_try) 2>&5
90826   ac_status=$?
90827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90828   (exit $ac_status); }; }; then
90829   ac_cv_lib_iconv_iconv=yes
90830 else
90831   echo "$as_me: failed program was:" >&5
90832 sed 's/^/| /' conftest.$ac_ext >&5
90833
90834 ac_cv_lib_iconv_iconv=no
90835 fi
90836 rm -f conftest.err conftest.$ac_objext \
90837       conftest$ac_exeext conftest.$ac_ext
90838 LIBS=$ac_check_lib_save_LIBS
90839 fi
90840 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
90841 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
90842 if test $ac_cv_lib_iconv_iconv = yes; then
90843   LIBICONV="-liconv"
90844 fi
90845
90846     ac_save_LIBS="$LIBS"
90847     LIBS="$LIBS $LIBICONV"
90848
90849
90850
90851
90852
90853
90854 for ac_func in iconv_open iconv_close iconv nl_langinfo
90855 do
90856 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90857 echo "$as_me:$LINENO: checking for $ac_func" >&5
90858 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90859 if eval "test \"\${$as_ac_var+set}\" = set"; then
90860   echo $ECHO_N "(cached) $ECHO_C" >&6
90861 else
90862   if test x$gcc_no_link = xyes; then
90863   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90864 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90865    { (exit 1); exit 1; }; }
90866 fi
90867 cat >conftest.$ac_ext <<_ACEOF
90868 /* confdefs.h.  */
90869 _ACEOF
90870 cat confdefs.h >>conftest.$ac_ext
90871 cat >>conftest.$ac_ext <<_ACEOF
90872 /* end confdefs.h.  */
90873 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90874    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
90875 #define $ac_func innocuous_$ac_func
90876
90877 /* System header to define __stub macros and hopefully few prototypes,
90878     which can conflict with char $ac_func (); below.
90879     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90880     <limits.h> exists even on freestanding compilers.  */
90881
90882 #ifdef __STDC__
90883 # include <limits.h>
90884 #else
90885 # include <assert.h>
90886 #endif
90887
90888 #undef $ac_func
90889
90890 /* Override any gcc2 internal prototype to avoid an error.  */
90891 #ifdef __cplusplus
90892 extern "C"
90893 {
90894 #endif
90895 /* We use char because int might match the return type of a gcc2
90896    builtin and then its argument prototype would still apply.  */
90897 char $ac_func ();
90898 /* The GNU C library defines this for functions which it implements
90899     to always fail with ENOSYS.  Some functions are actually named
90900     something starting with __ and the normal name is an alias.  */
90901 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90902 choke me
90903 #else
90904 char (*f) () = $ac_func;
90905 #endif
90906 #ifdef __cplusplus
90907 }
90908 #endif
90909
90910 int
90911 main ()
90912 {
90913 return f != $ac_func;
90914   ;
90915   return 0;
90916 }
90917 _ACEOF
90918 rm -f conftest.$ac_objext conftest$ac_exeext
90919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90920   (eval $ac_link) 2>conftest.er1
90921   ac_status=$?
90922   grep -v '^ *+' conftest.er1 >conftest.err
90923   rm -f conftest.er1
90924   cat conftest.err >&5
90925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90926   (exit $ac_status); } &&
90927          { ac_try='test -z "$ac_c_werror_flag"
90928                          || test ! -s conftest.err'
90929   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90930   (eval $ac_try) 2>&5
90931   ac_status=$?
90932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90933   (exit $ac_status); }; } &&
90934          { ac_try='test -s conftest$ac_exeext'
90935   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90936   (eval $ac_try) 2>&5
90937   ac_status=$?
90938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
90939   (exit $ac_status); }; }; then
90940   eval "$as_ac_var=yes"
90941 else
90942   echo "$as_me: failed program was:" >&5
90943 sed 's/^/| /' conftest.$ac_ext >&5
90944
90945 eval "$as_ac_var=no"
90946 fi
90947 rm -f conftest.err conftest.$ac_objext \
90948       conftest$ac_exeext conftest.$ac_ext
90949 fi
90950 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90951 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90952 if test `eval echo '${'$as_ac_var'}'` = yes; then
90953   cat >>confdefs.h <<_ACEOF
90954 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90955 _ACEOF
90956  ac_XPG2funcs=yes
90957 else
90958   ac_XPG2funcs=no
90959 fi
90960 done
90961
90962
90963     LIBS="$ac_save_LIBS"
90964
90965     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
90966 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
90967     if test x"$ac_has_iconv_h" = xyes &&
90968        test x"$ac_has_langinfo_h" = xyes &&
90969        test x"$ac_XPG2funcs" = xyes;
90970     then
90971       ac_XPG2_wchar_t=yes
90972     else
90973       ac_XPG2_wchar_t=no
90974     fi
90975     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
90976 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
90977
90978     # At the moment, only enable wchar_t specializations if all the
90979     # above support is present.
90980     if test x"$ac_isoC99_wchar_t" = xyes &&
90981        test x"$ac_XPG2_wchar_t" = xyes;
90982     then
90983       cat >>confdefs.h <<\_ACEOF
90984 #define _GLIBCXX_USE_WCHAR_T 1
90985 _ACEOF
90986
90987       enable_wchar_t=yes
90988     fi
90989   fi
90990   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
90991 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
90992   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
90993 echo "${ECHO_T}$enable_wchar_t" >&6
90994
90995
90996     # For showmanyc_helper().
90997
90998
90999 for ac_header in sys/ioctl.h sys/filio.h
91000 do
91001 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
91002 if eval "test \"\${$as_ac_Header+set}\" = set"; then
91003   echo "$as_me:$LINENO: checking for $ac_header" >&5
91004 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
91005 if eval "test \"\${$as_ac_Header+set}\" = set"; then
91006   echo $ECHO_N "(cached) $ECHO_C" >&6
91007 fi
91008 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
91009 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
91010 else
91011   # Is the header compilable?
91012 echo "$as_me:$LINENO: checking $ac_header usability" >&5
91013 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
91014 cat >conftest.$ac_ext <<_ACEOF
91015 /* confdefs.h.  */
91016 _ACEOF
91017 cat confdefs.h >>conftest.$ac_ext
91018 cat >>conftest.$ac_ext <<_ACEOF
91019 /* end confdefs.h.  */
91020 $ac_includes_default
91021 #include <$ac_header>
91022 _ACEOF
91023 rm -f conftest.$ac_objext
91024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91025   (eval $ac_compile) 2>conftest.er1
91026   ac_status=$?
91027   grep -v '^ *+' conftest.er1 >conftest.err
91028   rm -f conftest.er1
91029   cat conftest.err >&5
91030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91031   (exit $ac_status); } &&
91032          { ac_try='test -z "$ac_c_werror_flag"
91033                          || test ! -s conftest.err'
91034   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91035   (eval $ac_try) 2>&5
91036   ac_status=$?
91037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91038   (exit $ac_status); }; } &&
91039          { ac_try='test -s conftest.$ac_objext'
91040   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91041   (eval $ac_try) 2>&5
91042   ac_status=$?
91043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91044   (exit $ac_status); }; }; then
91045   ac_header_compiler=yes
91046 else
91047   echo "$as_me: failed program was:" >&5
91048 sed 's/^/| /' conftest.$ac_ext >&5
91049
91050 ac_header_compiler=no
91051 fi
91052 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91053 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
91054 echo "${ECHO_T}$ac_header_compiler" >&6
91055
91056 # Is the header present?
91057 echo "$as_me:$LINENO: checking $ac_header presence" >&5
91058 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
91059 cat >conftest.$ac_ext <<_ACEOF
91060 /* confdefs.h.  */
91061 _ACEOF
91062 cat confdefs.h >>conftest.$ac_ext
91063 cat >>conftest.$ac_ext <<_ACEOF
91064 /* end confdefs.h.  */
91065 #include <$ac_header>
91066 _ACEOF
91067 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
91068   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
91069   ac_status=$?
91070   grep -v '^ *+' conftest.er1 >conftest.err
91071   rm -f conftest.er1
91072   cat conftest.err >&5
91073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91074   (exit $ac_status); } >/dev/null; then
91075   if test -s conftest.err; then
91076     ac_cpp_err=$ac_c_preproc_warn_flag
91077     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
91078   else
91079     ac_cpp_err=
91080   fi
91081 else
91082   ac_cpp_err=yes
91083 fi
91084 if test -z "$ac_cpp_err"; then
91085   ac_header_preproc=yes
91086 else
91087   echo "$as_me: failed program was:" >&5
91088 sed 's/^/| /' conftest.$ac_ext >&5
91089
91090   ac_header_preproc=no
91091 fi
91092 rm -f conftest.err conftest.$ac_ext
91093 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
91094 echo "${ECHO_T}$ac_header_preproc" >&6
91095
91096 # So?  What about this header?
91097 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
91098   yes:no: )
91099     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
91100 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
91101     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
91102 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
91103     ac_header_preproc=yes
91104     ;;
91105   no:yes:* )
91106     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
91107 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
91108     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
91109 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
91110     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
91111 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
91112     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
91113 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
91114     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
91115 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
91116     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
91117 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
91118     (
91119       cat <<\_ASBOX
91120 ## ----------------------------------------- ##
91121 ## Report this to the package-unused lists.  ##
91122 ## ----------------------------------------- ##
91123 _ASBOX
91124     ) |
91125       sed "s/^/$as_me: WARNING:     /" >&2
91126     ;;
91127 esac
91128 echo "$as_me:$LINENO: checking for $ac_header" >&5
91129 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
91130 if eval "test \"\${$as_ac_Header+set}\" = set"; then
91131   echo $ECHO_N "(cached) $ECHO_C" >&6
91132 else
91133   eval "$as_ac_Header=\$ac_header_preproc"
91134 fi
91135 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
91136 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
91137
91138 fi
91139 if test `eval echo '${'$as_ac_Header'}'` = yes; then
91140   cat >>confdefs.h <<_ACEOF
91141 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
91142 _ACEOF
91143
91144 fi
91145
91146 done
91147
91148
91149   if test "${glibcxx_cv_POLL+set}" = set; then
91150   echo $ECHO_N "(cached) $ECHO_C" >&6
91151 else
91152
91153     if test x$gcc_no_link = xyes; then
91154   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91155 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91156    { (exit 1); exit 1; }; }
91157 fi
91158 cat >conftest.$ac_ext <<_ACEOF
91159 /* confdefs.h.  */
91160 _ACEOF
91161 cat confdefs.h >>conftest.$ac_ext
91162 cat >>conftest.$ac_ext <<_ACEOF
91163 /* end confdefs.h.  */
91164 #include <poll.h>
91165 int
91166 main ()
91167 {
91168 struct pollfd pfd[1];
91169        pfd[0].events = POLLIN;
91170        poll(pfd, 1, 0);
91171   ;
91172   return 0;
91173 }
91174 _ACEOF
91175 rm -f conftest.$ac_objext conftest$ac_exeext
91176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91177   (eval $ac_link) 2>conftest.er1
91178   ac_status=$?
91179   grep -v '^ *+' conftest.er1 >conftest.err
91180   rm -f conftest.er1
91181   cat conftest.err >&5
91182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91183   (exit $ac_status); } &&
91184          { ac_try='test -z "$ac_c_werror_flag"
91185                          || test ! -s conftest.err'
91186   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91187   (eval $ac_try) 2>&5
91188   ac_status=$?
91189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91190   (exit $ac_status); }; } &&
91191          { ac_try='test -s conftest$ac_exeext'
91192   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91193   (eval $ac_try) 2>&5
91194   ac_status=$?
91195   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91196   (exit $ac_status); }; }; then
91197   glibcxx_cv_POLL=yes
91198 else
91199   echo "$as_me: failed program was:" >&5
91200 sed 's/^/| /' conftest.$ac_ext >&5
91201
91202 glibcxx_cv_POLL=no
91203 fi
91204 rm -f conftest.err conftest.$ac_objext \
91205       conftest$ac_exeext conftest.$ac_ext
91206
91207 fi
91208
91209   if test $glibcxx_cv_POLL = yes; then
91210     cat >>confdefs.h <<\_ACEOF
91211 #define HAVE_POLL 1
91212 _ACEOF
91213
91214   fi
91215
91216
91217   if test "${glibcxx_cv_S_ISREG+set}" = set; then
91218   echo $ECHO_N "(cached) $ECHO_C" >&6
91219 else
91220
91221     if test x$gcc_no_link = xyes; then
91222   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91223 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91224    { (exit 1); exit 1; }; }
91225 fi
91226 cat >conftest.$ac_ext <<_ACEOF
91227 /* confdefs.h.  */
91228 _ACEOF
91229 cat confdefs.h >>conftest.$ac_ext
91230 cat >>conftest.$ac_ext <<_ACEOF
91231 /* end confdefs.h.  */
91232 #include <sys/stat.h>
91233 int
91234 main ()
91235 {
91236 struct stat buffer;
91237        fstat(0, &buffer);
91238        S_ISREG(buffer.st_mode);
91239   ;
91240   return 0;
91241 }
91242 _ACEOF
91243 rm -f conftest.$ac_objext conftest$ac_exeext
91244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91245   (eval $ac_link) 2>conftest.er1
91246   ac_status=$?
91247   grep -v '^ *+' conftest.er1 >conftest.err
91248   rm -f conftest.er1
91249   cat conftest.err >&5
91250   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91251   (exit $ac_status); } &&
91252          { ac_try='test -z "$ac_c_werror_flag"
91253                          || test ! -s conftest.err'
91254   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91255   (eval $ac_try) 2>&5
91256   ac_status=$?
91257   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91258   (exit $ac_status); }; } &&
91259          { ac_try='test -s conftest$ac_exeext'
91260   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91261   (eval $ac_try) 2>&5
91262   ac_status=$?
91263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91264   (exit $ac_status); }; }; then
91265   glibcxx_cv_S_ISREG=yes
91266 else
91267   echo "$as_me: failed program was:" >&5
91268 sed 's/^/| /' conftest.$ac_ext >&5
91269
91270 glibcxx_cv_S_ISREG=no
91271 fi
91272 rm -f conftest.err conftest.$ac_objext \
91273       conftest$ac_exeext conftest.$ac_ext
91274
91275 fi
91276
91277   if test "${glibcxx_cv_S_IFREG+set}" = set; then
91278   echo $ECHO_N "(cached) $ECHO_C" >&6
91279 else
91280
91281     if test x$gcc_no_link = xyes; then
91282   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91283 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91284    { (exit 1); exit 1; }; }
91285 fi
91286 cat >conftest.$ac_ext <<_ACEOF
91287 /* confdefs.h.  */
91288 _ACEOF
91289 cat confdefs.h >>conftest.$ac_ext
91290 cat >>conftest.$ac_ext <<_ACEOF
91291 /* end confdefs.h.  */
91292 #include <sys/stat.h>
91293 int
91294 main ()
91295 {
91296 struct stat buffer;
91297        fstat(0, &buffer);
91298        S_IFREG & buffer.st_mode;
91299   ;
91300   return 0;
91301 }
91302 _ACEOF
91303 rm -f conftest.$ac_objext conftest$ac_exeext
91304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91305   (eval $ac_link) 2>conftest.er1
91306   ac_status=$?
91307   grep -v '^ *+' conftest.er1 >conftest.err
91308   rm -f conftest.er1
91309   cat conftest.err >&5
91310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91311   (exit $ac_status); } &&
91312          { ac_try='test -z "$ac_c_werror_flag"
91313                          || test ! -s conftest.err'
91314   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91315   (eval $ac_try) 2>&5
91316   ac_status=$?
91317   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91318   (exit $ac_status); }; } &&
91319          { ac_try='test -s conftest$ac_exeext'
91320   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91321   (eval $ac_try) 2>&5
91322   ac_status=$?
91323   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91324   (exit $ac_status); }; }; then
91325   glibcxx_cv_S_IFREG=yes
91326 else
91327   echo "$as_me: failed program was:" >&5
91328 sed 's/^/| /' conftest.$ac_ext >&5
91329
91330 glibcxx_cv_S_IFREG=no
91331 fi
91332 rm -f conftest.err conftest.$ac_objext \
91333       conftest$ac_exeext conftest.$ac_ext
91334
91335 fi
91336
91337   if test $glibcxx_cv_S_ISREG = yes; then
91338     cat >>confdefs.h <<\_ACEOF
91339 #define HAVE_S_ISREG 1
91340 _ACEOF
91341
91342   elif test $glibcxx_cv_S_IFREG = yes; then
91343     cat >>confdefs.h <<\_ACEOF
91344 #define HAVE_S_IFREG 1
91345 _ACEOF
91346
91347   fi
91348
91349
91350     # For xsputn_2().
91351
91352 for ac_header in sys/uio.h
91353 do
91354 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
91355 if eval "test \"\${$as_ac_Header+set}\" = set"; then
91356   echo "$as_me:$LINENO: checking for $ac_header" >&5
91357 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
91358 if eval "test \"\${$as_ac_Header+set}\" = set"; then
91359   echo $ECHO_N "(cached) $ECHO_C" >&6
91360 fi
91361 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
91362 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
91363 else
91364   # Is the header compilable?
91365 echo "$as_me:$LINENO: checking $ac_header usability" >&5
91366 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
91367 cat >conftest.$ac_ext <<_ACEOF
91368 /* confdefs.h.  */
91369 _ACEOF
91370 cat confdefs.h >>conftest.$ac_ext
91371 cat >>conftest.$ac_ext <<_ACEOF
91372 /* end confdefs.h.  */
91373 $ac_includes_default
91374 #include <$ac_header>
91375 _ACEOF
91376 rm -f conftest.$ac_objext
91377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91378   (eval $ac_compile) 2>conftest.er1
91379   ac_status=$?
91380   grep -v '^ *+' conftest.er1 >conftest.err
91381   rm -f conftest.er1
91382   cat conftest.err >&5
91383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91384   (exit $ac_status); } &&
91385          { ac_try='test -z "$ac_c_werror_flag"
91386                          || test ! -s conftest.err'
91387   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91388   (eval $ac_try) 2>&5
91389   ac_status=$?
91390   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91391   (exit $ac_status); }; } &&
91392          { ac_try='test -s conftest.$ac_objext'
91393   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91394   (eval $ac_try) 2>&5
91395   ac_status=$?
91396   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91397   (exit $ac_status); }; }; then
91398   ac_header_compiler=yes
91399 else
91400   echo "$as_me: failed program was:" >&5
91401 sed 's/^/| /' conftest.$ac_ext >&5
91402
91403 ac_header_compiler=no
91404 fi
91405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91406 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
91407 echo "${ECHO_T}$ac_header_compiler" >&6
91408
91409 # Is the header present?
91410 echo "$as_me:$LINENO: checking $ac_header presence" >&5
91411 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
91412 cat >conftest.$ac_ext <<_ACEOF
91413 /* confdefs.h.  */
91414 _ACEOF
91415 cat confdefs.h >>conftest.$ac_ext
91416 cat >>conftest.$ac_ext <<_ACEOF
91417 /* end confdefs.h.  */
91418 #include <$ac_header>
91419 _ACEOF
91420 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
91421   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
91422   ac_status=$?
91423   grep -v '^ *+' conftest.er1 >conftest.err
91424   rm -f conftest.er1
91425   cat conftest.err >&5
91426   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91427   (exit $ac_status); } >/dev/null; then
91428   if test -s conftest.err; then
91429     ac_cpp_err=$ac_c_preproc_warn_flag
91430     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
91431   else
91432     ac_cpp_err=
91433   fi
91434 else
91435   ac_cpp_err=yes
91436 fi
91437 if test -z "$ac_cpp_err"; then
91438   ac_header_preproc=yes
91439 else
91440   echo "$as_me: failed program was:" >&5
91441 sed 's/^/| /' conftest.$ac_ext >&5
91442
91443   ac_header_preproc=no
91444 fi
91445 rm -f conftest.err conftest.$ac_ext
91446 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
91447 echo "${ECHO_T}$ac_header_preproc" >&6
91448
91449 # So?  What about this header?
91450 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
91451   yes:no: )
91452     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
91453 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
91454     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
91455 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
91456     ac_header_preproc=yes
91457     ;;
91458   no:yes:* )
91459     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
91460 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
91461     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
91462 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
91463     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
91464 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
91465     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
91466 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
91467     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
91468 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
91469     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
91470 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
91471     (
91472       cat <<\_ASBOX
91473 ## ----------------------------------------- ##
91474 ## Report this to the package-unused lists.  ##
91475 ## ----------------------------------------- ##
91476 _ASBOX
91477     ) |
91478       sed "s/^/$as_me: WARNING:     /" >&2
91479     ;;
91480 esac
91481 echo "$as_me:$LINENO: checking for $ac_header" >&5
91482 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
91483 if eval "test \"\${$as_ac_Header+set}\" = set"; then
91484   echo $ECHO_N "(cached) $ECHO_C" >&6
91485 else
91486   eval "$as_ac_Header=\$ac_header_preproc"
91487 fi
91488 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
91489 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
91490
91491 fi
91492 if test `eval echo '${'$as_ac_Header'}'` = yes; then
91493   cat >>confdefs.h <<_ACEOF
91494 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
91495 _ACEOF
91496
91497 fi
91498
91499 done
91500
91501
91502   if test "${glibcxx_cv_WRITEV+set}" = set; then
91503   echo $ECHO_N "(cached) $ECHO_C" >&6
91504 else
91505
91506     if test x$gcc_no_link = xyes; then
91507   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91508 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91509    { (exit 1); exit 1; }; }
91510 fi
91511 cat >conftest.$ac_ext <<_ACEOF
91512 /* confdefs.h.  */
91513 _ACEOF
91514 cat confdefs.h >>conftest.$ac_ext
91515 cat >>conftest.$ac_ext <<_ACEOF
91516 /* end confdefs.h.  */
91517 #include <sys/uio.h>
91518 int
91519 main ()
91520 {
91521 struct iovec iov[2];
91522        writev(0, iov, 0);
91523   ;
91524   return 0;
91525 }
91526 _ACEOF
91527 rm -f conftest.$ac_objext conftest$ac_exeext
91528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91529   (eval $ac_link) 2>conftest.er1
91530   ac_status=$?
91531   grep -v '^ *+' conftest.er1 >conftest.err
91532   rm -f conftest.er1
91533   cat conftest.err >&5
91534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91535   (exit $ac_status); } &&
91536          { ac_try='test -z "$ac_c_werror_flag"
91537                          || test ! -s conftest.err'
91538   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91539   (eval $ac_try) 2>&5
91540   ac_status=$?
91541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91542   (exit $ac_status); }; } &&
91543          { ac_try='test -s conftest$ac_exeext'
91544   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91545   (eval $ac_try) 2>&5
91546   ac_status=$?
91547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91548   (exit $ac_status); }; }; then
91549   glibcxx_cv_WRITEV=yes
91550 else
91551   echo "$as_me: failed program was:" >&5
91552 sed 's/^/| /' conftest.$ac_ext >&5
91553
91554 glibcxx_cv_WRITEV=no
91555 fi
91556 rm -f conftest.err conftest.$ac_objext \
91557       conftest$ac_exeext conftest.$ac_ext
91558
91559 fi
91560
91561   if test $glibcxx_cv_WRITEV = yes; then
91562     cat >>confdefs.h <<\_ACEOF
91563 #define HAVE_WRITEV 1
91564 _ACEOF
91565
91566   fi
91567
91568     ;;
91569   *-qnx6.1* | *-qnx6.2*)
91570     SECTION_FLAGS='-ffunction-sections -fdata-sections'
91571
91572
91573   # If we're not using GNU ld, then there's no point in even trying these
91574   # tests.  Check for that first.  We should have already tested for gld
91575   # by now (in libtool), but require it now just to be safe...
91576   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
91577   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
91578
91579
91580
91581   # The name set by libtool depends on the version of libtool.  Shame on us
91582   # for depending on an impl detail, but c'est la vie.  Older versions used
91583   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
91584   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
91585   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
91586   # set (hence we're using an older libtool), then set it.
91587   if test x${with_gnu_ld+set} != xset; then
91588     if test x${ac_cv_prog_gnu_ld+set} != xset; then
91589       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
91590       with_gnu_ld=no
91591     else
91592       with_gnu_ld=$ac_cv_prog_gnu_ld
91593     fi
91594   fi
91595
91596   # Start by getting the version number.  I think the libtool test already
91597   # does some of this, but throws away the result.
91598
91599   ldver=`$LD --version 2>/dev/null | head -1 | \
91600          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
91601
91602   glibcxx_gnu_ld_version=`echo $ldver | \
91603          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
91604
91605   # Set --gc-sections.
91606   if test "$with_gnu_ld" = "notbroken"; then
91607     # GNU ld it is!  Joy and bunny rabbits!
91608
91609     # All these tests are for C++; save the language and the compiler flags.
91610     # Need to do this so that g++ won't try to link in libstdc++
91611     ac_test_CFLAGS="${CFLAGS+set}"
91612     ac_save_CFLAGS="$CFLAGS"
91613     CFLAGS='-x c++  -Wl,--gc-sections'
91614
91615     # Check for -Wl,--gc-sections
91616     # XXX This test is broken at the moment, as symbols required for linking
91617     # are now in libsupc++ (not built yet).  In addition, this test has
91618     # cored on solaris in the past.  In addition, --gc-sections doesn't
91619     # really work at the moment (keeps on discarding used sections, first
91620     # .eh_frame and now some of the glibc sections for iconv).
91621     # Bzzzzt.  Thanks for playing, maybe next time.
91622     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
91623 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
91624     if test "$cross_compiling" = yes; then
91625   ac_sectionLDflags=yes
91626 else
91627   cat >conftest.$ac_ext <<_ACEOF
91628 /* confdefs.h.  */
91629 _ACEOF
91630 cat confdefs.h >>conftest.$ac_ext
91631 cat >>conftest.$ac_ext <<_ACEOF
91632 /* end confdefs.h.  */
91633
91634      int main(void)
91635      {
91636        try { throw 1; }
91637        catch (...) { };
91638        return 0;
91639      }
91640
91641 _ACEOF
91642 rm -f conftest$ac_exeext
91643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91644   (eval $ac_link) 2>&5
91645   ac_status=$?
91646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91647   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
91648   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91649   (eval $ac_try) 2>&5
91650   ac_status=$?
91651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91652   (exit $ac_status); }; }; then
91653   ac_sectionLDflags=yes
91654 else
91655   echo "$as_me: program exited with status $ac_status" >&5
91656 echo "$as_me: failed program was:" >&5
91657 sed 's/^/| /' conftest.$ac_ext >&5
91658
91659 ( exit $ac_status )
91660 ac_sectionLDflags=no
91661 fi
91662 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
91663 fi
91664     if test "$ac_test_CFLAGS" = set; then
91665       CFLAGS="$ac_save_CFLAGS"
91666     else
91667       # this is the suspicious part
91668       CFLAGS=''
91669     fi
91670     if test "$ac_sectionLDflags" = "yes"; then
91671       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
91672     fi
91673     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
91674 echo "${ECHO_T}$ac_sectionLDflags" >&6
91675   fi
91676
91677   # Set linker optimization flags.
91678   if test x"$with_gnu_ld" = x"yes"; then
91679     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
91680   fi
91681
91682
91683
91684
91685
91686
91687 echo "$as_me:$LINENO: checking for main in -lm" >&5
91688 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
91689 if test "${ac_cv_lib_m_main+set}" = set; then
91690   echo $ECHO_N "(cached) $ECHO_C" >&6
91691 else
91692   ac_check_lib_save_LIBS=$LIBS
91693 LIBS="-lm  $LIBS"
91694 if test x$gcc_no_link = xyes; then
91695   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91696 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91697    { (exit 1); exit 1; }; }
91698 fi
91699 cat >conftest.$ac_ext <<_ACEOF
91700 /* confdefs.h.  */
91701 _ACEOF
91702 cat confdefs.h >>conftest.$ac_ext
91703 cat >>conftest.$ac_ext <<_ACEOF
91704 /* end confdefs.h.  */
91705
91706
91707 int
91708 main ()
91709 {
91710 main ();
91711   ;
91712   return 0;
91713 }
91714 _ACEOF
91715 rm -f conftest.$ac_objext conftest$ac_exeext
91716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91717   (eval $ac_link) 2>conftest.er1
91718   ac_status=$?
91719   grep -v '^ *+' conftest.er1 >conftest.err
91720   rm -f conftest.er1
91721   cat conftest.err >&5
91722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91723   (exit $ac_status); } &&
91724          { ac_try='test -z "$ac_c_werror_flag"
91725                          || test ! -s conftest.err'
91726   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91727   (eval $ac_try) 2>&5
91728   ac_status=$?
91729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91730   (exit $ac_status); }; } &&
91731          { ac_try='test -s conftest$ac_exeext'
91732   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91733   (eval $ac_try) 2>&5
91734   ac_status=$?
91735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91736   (exit $ac_status); }; }; then
91737   ac_cv_lib_m_main=yes
91738 else
91739   echo "$as_me: failed program was:" >&5
91740 sed 's/^/| /' conftest.$ac_ext >&5
91741
91742 ac_cv_lib_m_main=no
91743 fi
91744 rm -f conftest.err conftest.$ac_objext \
91745       conftest$ac_exeext conftest.$ac_ext
91746 LIBS=$ac_check_lib_save_LIBS
91747 fi
91748 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
91749 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
91750 if test $ac_cv_lib_m_main = yes; then
91751   cat >>confdefs.h <<_ACEOF
91752 #define HAVE_LIBM 1
91753 _ACEOF
91754
91755   LIBS="-lm $LIBS"
91756
91757 fi
91758
91759
91760 for ac_func in copysignf
91761 do
91762 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91763 echo "$as_me:$LINENO: checking for $ac_func" >&5
91764 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91765 if eval "test \"\${$as_ac_var+set}\" = set"; then
91766   echo $ECHO_N "(cached) $ECHO_C" >&6
91767 else
91768   if test x$gcc_no_link = xyes; then
91769   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91770 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91771    { (exit 1); exit 1; }; }
91772 fi
91773 cat >conftest.$ac_ext <<_ACEOF
91774 /* confdefs.h.  */
91775 _ACEOF
91776 cat confdefs.h >>conftest.$ac_ext
91777 cat >>conftest.$ac_ext <<_ACEOF
91778 /* end confdefs.h.  */
91779 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91780    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91781 #define $ac_func innocuous_$ac_func
91782
91783 /* System header to define __stub macros and hopefully few prototypes,
91784     which can conflict with char $ac_func (); below.
91785     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91786     <limits.h> exists even on freestanding compilers.  */
91787
91788 #ifdef __STDC__
91789 # include <limits.h>
91790 #else
91791 # include <assert.h>
91792 #endif
91793
91794 #undef $ac_func
91795
91796 /* Override any gcc2 internal prototype to avoid an error.  */
91797 #ifdef __cplusplus
91798 extern "C"
91799 {
91800 #endif
91801 /* We use char because int might match the return type of a gcc2
91802    builtin and then its argument prototype would still apply.  */
91803 char $ac_func ();
91804 /* The GNU C library defines this for functions which it implements
91805     to always fail with ENOSYS.  Some functions are actually named
91806     something starting with __ and the normal name is an alias.  */
91807 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91808 choke me
91809 #else
91810 char (*f) () = $ac_func;
91811 #endif
91812 #ifdef __cplusplus
91813 }
91814 #endif
91815
91816 int
91817 main ()
91818 {
91819 return f != $ac_func;
91820   ;
91821   return 0;
91822 }
91823 _ACEOF
91824 rm -f conftest.$ac_objext conftest$ac_exeext
91825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91826   (eval $ac_link) 2>conftest.er1
91827   ac_status=$?
91828   grep -v '^ *+' conftest.er1 >conftest.err
91829   rm -f conftest.er1
91830   cat conftest.err >&5
91831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91832   (exit $ac_status); } &&
91833          { ac_try='test -z "$ac_c_werror_flag"
91834                          || test ! -s conftest.err'
91835   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91836   (eval $ac_try) 2>&5
91837   ac_status=$?
91838   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91839   (exit $ac_status); }; } &&
91840          { ac_try='test -s conftest$ac_exeext'
91841   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91842   (eval $ac_try) 2>&5
91843   ac_status=$?
91844   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91845   (exit $ac_status); }; }; then
91846   eval "$as_ac_var=yes"
91847 else
91848   echo "$as_me: failed program was:" >&5
91849 sed 's/^/| /' conftest.$ac_ext >&5
91850
91851 eval "$as_ac_var=no"
91852 fi
91853 rm -f conftest.err conftest.$ac_objext \
91854       conftest$ac_exeext conftest.$ac_ext
91855 fi
91856 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91857 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91858 if test `eval echo '${'$as_ac_var'}'` = yes; then
91859   cat >>confdefs.h <<_ACEOF
91860 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91861 _ACEOF
91862
91863 else
91864   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
91865 fi
91866 done
91867
91868
91869
91870 for ac_func in __signbit
91871 do
91872 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91873 echo "$as_me:$LINENO: checking for $ac_func" >&5
91874 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91875 if eval "test \"\${$as_ac_var+set}\" = set"; then
91876   echo $ECHO_N "(cached) $ECHO_C" >&6
91877 else
91878   if test x$gcc_no_link = xyes; then
91879   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91880 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91881    { (exit 1); exit 1; }; }
91882 fi
91883 cat >conftest.$ac_ext <<_ACEOF
91884 /* confdefs.h.  */
91885 _ACEOF
91886 cat confdefs.h >>conftest.$ac_ext
91887 cat >>conftest.$ac_ext <<_ACEOF
91888 /* end confdefs.h.  */
91889 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91890    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
91891 #define $ac_func innocuous_$ac_func
91892
91893 /* System header to define __stub macros and hopefully few prototypes,
91894     which can conflict with char $ac_func (); below.
91895     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91896     <limits.h> exists even on freestanding compilers.  */
91897
91898 #ifdef __STDC__
91899 # include <limits.h>
91900 #else
91901 # include <assert.h>
91902 #endif
91903
91904 #undef $ac_func
91905
91906 /* Override any gcc2 internal prototype to avoid an error.  */
91907 #ifdef __cplusplus
91908 extern "C"
91909 {
91910 #endif
91911 /* We use char because int might match the return type of a gcc2
91912    builtin and then its argument prototype would still apply.  */
91913 char $ac_func ();
91914 /* The GNU C library defines this for functions which it implements
91915     to always fail with ENOSYS.  Some functions are actually named
91916     something starting with __ and the normal name is an alias.  */
91917 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91918 choke me
91919 #else
91920 char (*f) () = $ac_func;
91921 #endif
91922 #ifdef __cplusplus
91923 }
91924 #endif
91925
91926 int
91927 main ()
91928 {
91929 return f != $ac_func;
91930   ;
91931   return 0;
91932 }
91933 _ACEOF
91934 rm -f conftest.$ac_objext conftest$ac_exeext
91935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91936   (eval $ac_link) 2>conftest.er1
91937   ac_status=$?
91938   grep -v '^ *+' conftest.er1 >conftest.err
91939   rm -f conftest.er1
91940   cat conftest.err >&5
91941   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91942   (exit $ac_status); } &&
91943          { ac_try='test -z "$ac_c_werror_flag"
91944                          || test ! -s conftest.err'
91945   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91946   (eval $ac_try) 2>&5
91947   ac_status=$?
91948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91949   (exit $ac_status); }; } &&
91950          { ac_try='test -s conftest$ac_exeext'
91951   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91952   (eval $ac_try) 2>&5
91953   ac_status=$?
91954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
91955   (exit $ac_status); }; }; then
91956   eval "$as_ac_var=yes"
91957 else
91958   echo "$as_me: failed program was:" >&5
91959 sed 's/^/| /' conftest.$ac_ext >&5
91960
91961 eval "$as_ac_var=no"
91962 fi
91963 rm -f conftest.err conftest.$ac_objext \
91964       conftest$ac_exeext conftest.$ac_ext
91965 fi
91966 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91967 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91968 if test `eval echo '${'$as_ac_var'}'` = yes; then
91969   cat >>confdefs.h <<_ACEOF
91970 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91971 _ACEOF
91972
91973 else
91974   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
91975 fi
91976 done
91977
91978
91979
91980 for ac_func in __signbitf
91981 do
91982 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91983 echo "$as_me:$LINENO: checking for $ac_func" >&5
91984 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91985 if eval "test \"\${$as_ac_var+set}\" = set"; then
91986   echo $ECHO_N "(cached) $ECHO_C" >&6
91987 else
91988   if test x$gcc_no_link = xyes; then
91989   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91990 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91991    { (exit 1); exit 1; }; }
91992 fi
91993 cat >conftest.$ac_ext <<_ACEOF
91994 /* confdefs.h.  */
91995 _ACEOF
91996 cat confdefs.h >>conftest.$ac_ext
91997 cat >>conftest.$ac_ext <<_ACEOF
91998 /* end confdefs.h.  */
91999 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92000    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92001 #define $ac_func innocuous_$ac_func
92002
92003 /* System header to define __stub macros and hopefully few prototypes,
92004     which can conflict with char $ac_func (); below.
92005     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92006     <limits.h> exists even on freestanding compilers.  */
92007
92008 #ifdef __STDC__
92009 # include <limits.h>
92010 #else
92011 # include <assert.h>
92012 #endif
92013
92014 #undef $ac_func
92015
92016 /* Override any gcc2 internal prototype to avoid an error.  */
92017 #ifdef __cplusplus
92018 extern "C"
92019 {
92020 #endif
92021 /* We use char because int might match the return type of a gcc2
92022    builtin and then its argument prototype would still apply.  */
92023 char $ac_func ();
92024 /* The GNU C library defines this for functions which it implements
92025     to always fail with ENOSYS.  Some functions are actually named
92026     something starting with __ and the normal name is an alias.  */
92027 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92028 choke me
92029 #else
92030 char (*f) () = $ac_func;
92031 #endif
92032 #ifdef __cplusplus
92033 }
92034 #endif
92035
92036 int
92037 main ()
92038 {
92039 return f != $ac_func;
92040   ;
92041   return 0;
92042 }
92043 _ACEOF
92044 rm -f conftest.$ac_objext conftest$ac_exeext
92045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92046   (eval $ac_link) 2>conftest.er1
92047   ac_status=$?
92048   grep -v '^ *+' conftest.er1 >conftest.err
92049   rm -f conftest.er1
92050   cat conftest.err >&5
92051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92052   (exit $ac_status); } &&
92053          { ac_try='test -z "$ac_c_werror_flag"
92054                          || test ! -s conftest.err'
92055   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92056   (eval $ac_try) 2>&5
92057   ac_status=$?
92058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92059   (exit $ac_status); }; } &&
92060          { ac_try='test -s conftest$ac_exeext'
92061   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92062   (eval $ac_try) 2>&5
92063   ac_status=$?
92064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92065   (exit $ac_status); }; }; then
92066   eval "$as_ac_var=yes"
92067 else
92068   echo "$as_me: failed program was:" >&5
92069 sed 's/^/| /' conftest.$ac_ext >&5
92070
92071 eval "$as_ac_var=no"
92072 fi
92073 rm -f conftest.err conftest.$ac_objext \
92074       conftest$ac_exeext conftest.$ac_ext
92075 fi
92076 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92077 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92078 if test `eval echo '${'$as_ac_var'}'` = yes; then
92079   cat >>confdefs.h <<_ACEOF
92080 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92081 _ACEOF
92082
92083 else
92084   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
92085 fi
92086 done
92087
92088
92089           if test x$ac_cv_func_copysignl = x"yes"; then
92090
92091 for ac_func in __signbitl
92092 do
92093 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92094 echo "$as_me:$LINENO: checking for $ac_func" >&5
92095 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92096 if eval "test \"\${$as_ac_var+set}\" = set"; then
92097   echo $ECHO_N "(cached) $ECHO_C" >&6
92098 else
92099   if test x$gcc_no_link = xyes; then
92100   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92101 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92102    { (exit 1); exit 1; }; }
92103 fi
92104 cat >conftest.$ac_ext <<_ACEOF
92105 /* confdefs.h.  */
92106 _ACEOF
92107 cat confdefs.h >>conftest.$ac_ext
92108 cat >>conftest.$ac_ext <<_ACEOF
92109 /* end confdefs.h.  */
92110 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92111    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92112 #define $ac_func innocuous_$ac_func
92113
92114 /* System header to define __stub macros and hopefully few prototypes,
92115     which can conflict with char $ac_func (); below.
92116     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92117     <limits.h> exists even on freestanding compilers.  */
92118
92119 #ifdef __STDC__
92120 # include <limits.h>
92121 #else
92122 # include <assert.h>
92123 #endif
92124
92125 #undef $ac_func
92126
92127 /* Override any gcc2 internal prototype to avoid an error.  */
92128 #ifdef __cplusplus
92129 extern "C"
92130 {
92131 #endif
92132 /* We use char because int might match the return type of a gcc2
92133    builtin and then its argument prototype would still apply.  */
92134 char $ac_func ();
92135 /* The GNU C library defines this for functions which it implements
92136     to always fail with ENOSYS.  Some functions are actually named
92137     something starting with __ and the normal name is an alias.  */
92138 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92139 choke me
92140 #else
92141 char (*f) () = $ac_func;
92142 #endif
92143 #ifdef __cplusplus
92144 }
92145 #endif
92146
92147 int
92148 main ()
92149 {
92150 return f != $ac_func;
92151   ;
92152   return 0;
92153 }
92154 _ACEOF
92155 rm -f conftest.$ac_objext conftest$ac_exeext
92156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92157   (eval $ac_link) 2>conftest.er1
92158   ac_status=$?
92159   grep -v '^ *+' conftest.er1 >conftest.err
92160   rm -f conftest.er1
92161   cat conftest.err >&5
92162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92163   (exit $ac_status); } &&
92164          { ac_try='test -z "$ac_c_werror_flag"
92165                          || test ! -s conftest.err'
92166   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92167   (eval $ac_try) 2>&5
92168   ac_status=$?
92169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92170   (exit $ac_status); }; } &&
92171          { ac_try='test -s conftest$ac_exeext'
92172   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92173   (eval $ac_try) 2>&5
92174   ac_status=$?
92175   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92176   (exit $ac_status); }; }; then
92177   eval "$as_ac_var=yes"
92178 else
92179   echo "$as_me: failed program was:" >&5
92180 sed 's/^/| /' conftest.$ac_ext >&5
92181
92182 eval "$as_ac_var=no"
92183 fi
92184 rm -f conftest.err conftest.$ac_objext \
92185       conftest$ac_exeext conftest.$ac_ext
92186 fi
92187 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92188 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92189 if test `eval echo '${'$as_ac_var'}'` = yes; then
92190   cat >>confdefs.h <<_ACEOF
92191 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92192 _ACEOF
92193
92194 else
92195   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
92196 fi
92197 done
92198
92199   fi
92200
92201   # Used in libmath/Makefile.am.
92202   if test -n "$LIBMATHOBJS"; then
92203     need_libmath=yes
92204   fi
92205
92206
92207
92208   # Test wchar.h for mbstate_t, which is needed for char_traits and
92209   # others even if wchar_t support is not on.
92210   echo "$as_me:$LINENO: checking for mbstate_t" >&5
92211 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
92212   cat >conftest.$ac_ext <<_ACEOF
92213 /* confdefs.h.  */
92214 _ACEOF
92215 cat confdefs.h >>conftest.$ac_ext
92216 cat >>conftest.$ac_ext <<_ACEOF
92217 /* end confdefs.h.  */
92218 #include <wchar.h>
92219 int
92220 main ()
92221 {
92222 mbstate_t teststate;
92223   ;
92224   return 0;
92225 }
92226 _ACEOF
92227 rm -f conftest.$ac_objext
92228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92229   (eval $ac_compile) 2>conftest.er1
92230   ac_status=$?
92231   grep -v '^ *+' conftest.er1 >conftest.err
92232   rm -f conftest.er1
92233   cat conftest.err >&5
92234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92235   (exit $ac_status); } &&
92236          { ac_try='test -z "$ac_c_werror_flag"
92237                          || test ! -s conftest.err'
92238   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92239   (eval $ac_try) 2>&5
92240   ac_status=$?
92241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92242   (exit $ac_status); }; } &&
92243          { ac_try='test -s conftest.$ac_objext'
92244   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92245   (eval $ac_try) 2>&5
92246   ac_status=$?
92247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92248   (exit $ac_status); }; }; then
92249   have_mbstate_t=yes
92250 else
92251   echo "$as_me: failed program was:" >&5
92252 sed 's/^/| /' conftest.$ac_ext >&5
92253
92254 have_mbstate_t=no
92255 fi
92256 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92257   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
92258 echo "${ECHO_T}$have_mbstate_t" >&6
92259   if test x"$have_mbstate_t" = xyes; then
92260     cat >>confdefs.h <<\_ACEOF
92261 #define HAVE_MBSTATE_T 1
92262 _ACEOF
92263
92264   fi
92265
92266   # Sanity check for existence of ISO C99 headers for extended encoding.
92267
92268 for ac_header in wchar.h
92269 do
92270 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
92271 if eval "test \"\${$as_ac_Header+set}\" = set"; then
92272   echo "$as_me:$LINENO: checking for $ac_header" >&5
92273 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
92274 if eval "test \"\${$as_ac_Header+set}\" = set"; then
92275   echo $ECHO_N "(cached) $ECHO_C" >&6
92276 fi
92277 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
92278 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
92279 else
92280   # Is the header compilable?
92281 echo "$as_me:$LINENO: checking $ac_header usability" >&5
92282 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
92283 cat >conftest.$ac_ext <<_ACEOF
92284 /* confdefs.h.  */
92285 _ACEOF
92286 cat confdefs.h >>conftest.$ac_ext
92287 cat >>conftest.$ac_ext <<_ACEOF
92288 /* end confdefs.h.  */
92289 $ac_includes_default
92290 #include <$ac_header>
92291 _ACEOF
92292 rm -f conftest.$ac_objext
92293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92294   (eval $ac_compile) 2>conftest.er1
92295   ac_status=$?
92296   grep -v '^ *+' conftest.er1 >conftest.err
92297   rm -f conftest.er1
92298   cat conftest.err >&5
92299   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92300   (exit $ac_status); } &&
92301          { ac_try='test -z "$ac_c_werror_flag"
92302                          || test ! -s conftest.err'
92303   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92304   (eval $ac_try) 2>&5
92305   ac_status=$?
92306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92307   (exit $ac_status); }; } &&
92308          { ac_try='test -s conftest.$ac_objext'
92309   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92310   (eval $ac_try) 2>&5
92311   ac_status=$?
92312   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92313   (exit $ac_status); }; }; then
92314   ac_header_compiler=yes
92315 else
92316   echo "$as_me: failed program was:" >&5
92317 sed 's/^/| /' conftest.$ac_ext >&5
92318
92319 ac_header_compiler=no
92320 fi
92321 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92322 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
92323 echo "${ECHO_T}$ac_header_compiler" >&6
92324
92325 # Is the header present?
92326 echo "$as_me:$LINENO: checking $ac_header presence" >&5
92327 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
92328 cat >conftest.$ac_ext <<_ACEOF
92329 /* confdefs.h.  */
92330 _ACEOF
92331 cat confdefs.h >>conftest.$ac_ext
92332 cat >>conftest.$ac_ext <<_ACEOF
92333 /* end confdefs.h.  */
92334 #include <$ac_header>
92335 _ACEOF
92336 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
92337   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
92338   ac_status=$?
92339   grep -v '^ *+' conftest.er1 >conftest.err
92340   rm -f conftest.er1
92341   cat conftest.err >&5
92342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92343   (exit $ac_status); } >/dev/null; then
92344   if test -s conftest.err; then
92345     ac_cpp_err=$ac_c_preproc_warn_flag
92346     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
92347   else
92348     ac_cpp_err=
92349   fi
92350 else
92351   ac_cpp_err=yes
92352 fi
92353 if test -z "$ac_cpp_err"; then
92354   ac_header_preproc=yes
92355 else
92356   echo "$as_me: failed program was:" >&5
92357 sed 's/^/| /' conftest.$ac_ext >&5
92358
92359   ac_header_preproc=no
92360 fi
92361 rm -f conftest.err conftest.$ac_ext
92362 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
92363 echo "${ECHO_T}$ac_header_preproc" >&6
92364
92365 # So?  What about this header?
92366 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
92367   yes:no: )
92368     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
92369 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
92370     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
92371 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
92372     ac_header_preproc=yes
92373     ;;
92374   no:yes:* )
92375     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
92376 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
92377     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
92378 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
92379     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
92380 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
92381     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
92382 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
92383     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
92384 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
92385     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
92386 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
92387     (
92388       cat <<\_ASBOX
92389 ## ----------------------------------------- ##
92390 ## Report this to the package-unused lists.  ##
92391 ## ----------------------------------------- ##
92392 _ASBOX
92393     ) |
92394       sed "s/^/$as_me: WARNING:     /" >&2
92395     ;;
92396 esac
92397 echo "$as_me:$LINENO: checking for $ac_header" >&5
92398 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
92399 if eval "test \"\${$as_ac_Header+set}\" = set"; then
92400   echo $ECHO_N "(cached) $ECHO_C" >&6
92401 else
92402   eval "$as_ac_Header=\$ac_header_preproc"
92403 fi
92404 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
92405 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
92406
92407 fi
92408 if test `eval echo '${'$as_ac_Header'}'` = yes; then
92409   cat >>confdefs.h <<_ACEOF
92410 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
92411 _ACEOF
92412  ac_has_wchar_h=yes
92413 else
92414   ac_has_wchar_h=no
92415 fi
92416
92417 done
92418
92419
92420 for ac_header in wctype.h
92421 do
92422 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
92423 if eval "test \"\${$as_ac_Header+set}\" = set"; then
92424   echo "$as_me:$LINENO: checking for $ac_header" >&5
92425 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
92426 if eval "test \"\${$as_ac_Header+set}\" = set"; then
92427   echo $ECHO_N "(cached) $ECHO_C" >&6
92428 fi
92429 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
92430 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
92431 else
92432   # Is the header compilable?
92433 echo "$as_me:$LINENO: checking $ac_header usability" >&5
92434 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
92435 cat >conftest.$ac_ext <<_ACEOF
92436 /* confdefs.h.  */
92437 _ACEOF
92438 cat confdefs.h >>conftest.$ac_ext
92439 cat >>conftest.$ac_ext <<_ACEOF
92440 /* end confdefs.h.  */
92441 $ac_includes_default
92442 #include <$ac_header>
92443 _ACEOF
92444 rm -f conftest.$ac_objext
92445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92446   (eval $ac_compile) 2>conftest.er1
92447   ac_status=$?
92448   grep -v '^ *+' conftest.er1 >conftest.err
92449   rm -f conftest.er1
92450   cat conftest.err >&5
92451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92452   (exit $ac_status); } &&
92453          { ac_try='test -z "$ac_c_werror_flag"
92454                          || test ! -s conftest.err'
92455   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92456   (eval $ac_try) 2>&5
92457   ac_status=$?
92458   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92459   (exit $ac_status); }; } &&
92460          { ac_try='test -s conftest.$ac_objext'
92461   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92462   (eval $ac_try) 2>&5
92463   ac_status=$?
92464   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92465   (exit $ac_status); }; }; then
92466   ac_header_compiler=yes
92467 else
92468   echo "$as_me: failed program was:" >&5
92469 sed 's/^/| /' conftest.$ac_ext >&5
92470
92471 ac_header_compiler=no
92472 fi
92473 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92474 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
92475 echo "${ECHO_T}$ac_header_compiler" >&6
92476
92477 # Is the header present?
92478 echo "$as_me:$LINENO: checking $ac_header presence" >&5
92479 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
92480 cat >conftest.$ac_ext <<_ACEOF
92481 /* confdefs.h.  */
92482 _ACEOF
92483 cat confdefs.h >>conftest.$ac_ext
92484 cat >>conftest.$ac_ext <<_ACEOF
92485 /* end confdefs.h.  */
92486 #include <$ac_header>
92487 _ACEOF
92488 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
92489   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
92490   ac_status=$?
92491   grep -v '^ *+' conftest.er1 >conftest.err
92492   rm -f conftest.er1
92493   cat conftest.err >&5
92494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92495   (exit $ac_status); } >/dev/null; then
92496   if test -s conftest.err; then
92497     ac_cpp_err=$ac_c_preproc_warn_flag
92498     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
92499   else
92500     ac_cpp_err=
92501   fi
92502 else
92503   ac_cpp_err=yes
92504 fi
92505 if test -z "$ac_cpp_err"; then
92506   ac_header_preproc=yes
92507 else
92508   echo "$as_me: failed program was:" >&5
92509 sed 's/^/| /' conftest.$ac_ext >&5
92510
92511   ac_header_preproc=no
92512 fi
92513 rm -f conftest.err conftest.$ac_ext
92514 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
92515 echo "${ECHO_T}$ac_header_preproc" >&6
92516
92517 # So?  What about this header?
92518 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
92519   yes:no: )
92520     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
92521 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
92522     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
92523 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
92524     ac_header_preproc=yes
92525     ;;
92526   no:yes:* )
92527     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
92528 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
92529     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
92530 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
92531     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
92532 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
92533     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
92534 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
92535     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
92536 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
92537     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
92538 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
92539     (
92540       cat <<\_ASBOX
92541 ## ----------------------------------------- ##
92542 ## Report this to the package-unused lists.  ##
92543 ## ----------------------------------------- ##
92544 _ASBOX
92545     ) |
92546       sed "s/^/$as_me: WARNING:     /" >&2
92547     ;;
92548 esac
92549 echo "$as_me:$LINENO: checking for $ac_header" >&5
92550 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
92551 if eval "test \"\${$as_ac_Header+set}\" = set"; then
92552   echo $ECHO_N "(cached) $ECHO_C" >&6
92553 else
92554   eval "$as_ac_Header=\$ac_header_preproc"
92555 fi
92556 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
92557 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
92558
92559 fi
92560 if test `eval echo '${'$as_ac_Header'}'` = yes; then
92561   cat >>confdefs.h <<_ACEOF
92562 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
92563 _ACEOF
92564  ac_has_wctype_h=yes
92565 else
92566   ac_has_wctype_h=no
92567 fi
92568
92569 done
92570
92571
92572   # Only continue checking if the ISO C99 headers exist and support is on.
92573   if test x"$ac_has_wchar_h" = xyes &&
92574      test x"$ac_has_wctype_h" = xyes &&
92575      test x"$enable_c_mbchar" != xno; then
92576
92577     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
92578     # numeric_limits can instantiate type_traits<wchar_t>
92579     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
92580 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
92581     cat >conftest.$ac_ext <<_ACEOF
92582 /* confdefs.h.  */
92583 _ACEOF
92584 cat confdefs.h >>conftest.$ac_ext
92585 cat >>conftest.$ac_ext <<_ACEOF
92586 /* end confdefs.h.  */
92587 #include <wchar.h>
92588 int
92589 main ()
92590 {
92591 int i = WCHAR_MIN; int j = WCHAR_MAX;
92592   ;
92593   return 0;
92594 }
92595 _ACEOF
92596 rm -f conftest.$ac_objext
92597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92598   (eval $ac_compile) 2>conftest.er1
92599   ac_status=$?
92600   grep -v '^ *+' conftest.er1 >conftest.err
92601   rm -f conftest.er1
92602   cat conftest.err >&5
92603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92604   (exit $ac_status); } &&
92605          { ac_try='test -z "$ac_c_werror_flag"
92606                          || test ! -s conftest.err'
92607   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92608   (eval $ac_try) 2>&5
92609   ac_status=$?
92610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92611   (exit $ac_status); }; } &&
92612          { ac_try='test -s conftest.$ac_objext'
92613   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92614   (eval $ac_try) 2>&5
92615   ac_status=$?
92616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92617   (exit $ac_status); }; }; then
92618   has_wchar_minmax=yes
92619 else
92620   echo "$as_me: failed program was:" >&5
92621 sed 's/^/| /' conftest.$ac_ext >&5
92622
92623 has_wchar_minmax=no
92624 fi
92625 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92626     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
92627 echo "${ECHO_T}$has_wchar_minmax" >&6
92628
92629     # Test wchar.h for WEOF, which is what we use to determine whether
92630     # to specialize for char_traits<wchar_t> or not.
92631     echo "$as_me:$LINENO: checking for WEOF" >&5
92632 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
92633     cat >conftest.$ac_ext <<_ACEOF
92634 /* confdefs.h.  */
92635 _ACEOF
92636 cat confdefs.h >>conftest.$ac_ext
92637 cat >>conftest.$ac_ext <<_ACEOF
92638 /* end confdefs.h.  */
92639
92640       #include <wchar.h>
92641       #include <stddef.h>
92642 int
92643 main ()
92644 {
92645 wint_t i = WEOF;
92646   ;
92647   return 0;
92648 }
92649 _ACEOF
92650 rm -f conftest.$ac_objext
92651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92652   (eval $ac_compile) 2>conftest.er1
92653   ac_status=$?
92654   grep -v '^ *+' conftest.er1 >conftest.err
92655   rm -f conftest.er1
92656   cat conftest.err >&5
92657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92658   (exit $ac_status); } &&
92659          { ac_try='test -z "$ac_c_werror_flag"
92660                          || test ! -s conftest.err'
92661   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92662   (eval $ac_try) 2>&5
92663   ac_status=$?
92664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92665   (exit $ac_status); }; } &&
92666          { ac_try='test -s conftest.$ac_objext'
92667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92668   (eval $ac_try) 2>&5
92669   ac_status=$?
92670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92671   (exit $ac_status); }; }; then
92672   has_weof=yes
92673 else
92674   echo "$as_me: failed program was:" >&5
92675 sed 's/^/| /' conftest.$ac_ext >&5
92676
92677 has_weof=no
92678 fi
92679 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92680     echo "$as_me:$LINENO: result: $has_weof" >&5
92681 echo "${ECHO_T}$has_weof" >&6
92682
92683     # Tests for wide character functions used in char_traits<wchar_t>.
92684     ac_wfuncs=yes
92685
92686
92687
92688
92689
92690
92691 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
92692 do
92693 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92694 echo "$as_me:$LINENO: checking for $ac_func" >&5
92695 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92696 if eval "test \"\${$as_ac_var+set}\" = set"; then
92697   echo $ECHO_N "(cached) $ECHO_C" >&6
92698 else
92699   if test x$gcc_no_link = xyes; then
92700   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92701 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92702    { (exit 1); exit 1; }; }
92703 fi
92704 cat >conftest.$ac_ext <<_ACEOF
92705 /* confdefs.h.  */
92706 _ACEOF
92707 cat confdefs.h >>conftest.$ac_ext
92708 cat >>conftest.$ac_ext <<_ACEOF
92709 /* end confdefs.h.  */
92710 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92711    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92712 #define $ac_func innocuous_$ac_func
92713
92714 /* System header to define __stub macros and hopefully few prototypes,
92715     which can conflict with char $ac_func (); below.
92716     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92717     <limits.h> exists even on freestanding compilers.  */
92718
92719 #ifdef __STDC__
92720 # include <limits.h>
92721 #else
92722 # include <assert.h>
92723 #endif
92724
92725 #undef $ac_func
92726
92727 /* Override any gcc2 internal prototype to avoid an error.  */
92728 #ifdef __cplusplus
92729 extern "C"
92730 {
92731 #endif
92732 /* We use char because int might match the return type of a gcc2
92733    builtin and then its argument prototype would still apply.  */
92734 char $ac_func ();
92735 /* The GNU C library defines this for functions which it implements
92736     to always fail with ENOSYS.  Some functions are actually named
92737     something starting with __ and the normal name is an alias.  */
92738 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92739 choke me
92740 #else
92741 char (*f) () = $ac_func;
92742 #endif
92743 #ifdef __cplusplus
92744 }
92745 #endif
92746
92747 int
92748 main ()
92749 {
92750 return f != $ac_func;
92751   ;
92752   return 0;
92753 }
92754 _ACEOF
92755 rm -f conftest.$ac_objext conftest$ac_exeext
92756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92757   (eval $ac_link) 2>conftest.er1
92758   ac_status=$?
92759   grep -v '^ *+' conftest.er1 >conftest.err
92760   rm -f conftest.er1
92761   cat conftest.err >&5
92762   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92763   (exit $ac_status); } &&
92764          { ac_try='test -z "$ac_c_werror_flag"
92765                          || test ! -s conftest.err'
92766   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92767   (eval $ac_try) 2>&5
92768   ac_status=$?
92769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92770   (exit $ac_status); }; } &&
92771          { ac_try='test -s conftest$ac_exeext'
92772   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92773   (eval $ac_try) 2>&5
92774   ac_status=$?
92775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92776   (exit $ac_status); }; }; then
92777   eval "$as_ac_var=yes"
92778 else
92779   echo "$as_me: failed program was:" >&5
92780 sed 's/^/| /' conftest.$ac_ext >&5
92781
92782 eval "$as_ac_var=no"
92783 fi
92784 rm -f conftest.err conftest.$ac_objext \
92785       conftest$ac_exeext conftest.$ac_ext
92786 fi
92787 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92788 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92789 if test `eval echo '${'$as_ac_var'}'` = yes; then
92790   cat >>confdefs.h <<_ACEOF
92791 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92792 _ACEOF
92793
92794 else
92795   ac_wfuncs=no
92796 fi
92797 done
92798
92799
92800     # Checks for names injected into std:: by the c_std headers.
92801
92802
92803
92804
92805
92806
92807
92808
92809
92810
92811
92812
92813
92814
92815
92816
92817
92818
92819
92820
92821
92822
92823
92824
92825
92826
92827
92828
92829
92830
92831
92832
92833
92834
92835
92836
92837
92838
92839
92840
92841
92842
92843
92844
92845
92846
92847 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
92848     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
92849     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
92850     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
92851     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
92852     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
92853 do
92854 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92855 echo "$as_me:$LINENO: checking for $ac_func" >&5
92856 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92857 if eval "test \"\${$as_ac_var+set}\" = set"; then
92858   echo $ECHO_N "(cached) $ECHO_C" >&6
92859 else
92860   if test x$gcc_no_link = xyes; then
92861   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92862 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92863    { (exit 1); exit 1; }; }
92864 fi
92865 cat >conftest.$ac_ext <<_ACEOF
92866 /* confdefs.h.  */
92867 _ACEOF
92868 cat confdefs.h >>conftest.$ac_ext
92869 cat >>conftest.$ac_ext <<_ACEOF
92870 /* end confdefs.h.  */
92871 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92872    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92873 #define $ac_func innocuous_$ac_func
92874
92875 /* System header to define __stub macros and hopefully few prototypes,
92876     which can conflict with char $ac_func (); below.
92877     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92878     <limits.h> exists even on freestanding compilers.  */
92879
92880 #ifdef __STDC__
92881 # include <limits.h>
92882 #else
92883 # include <assert.h>
92884 #endif
92885
92886 #undef $ac_func
92887
92888 /* Override any gcc2 internal prototype to avoid an error.  */
92889 #ifdef __cplusplus
92890 extern "C"
92891 {
92892 #endif
92893 /* We use char because int might match the return type of a gcc2
92894    builtin and then its argument prototype would still apply.  */
92895 char $ac_func ();
92896 /* The GNU C library defines this for functions which it implements
92897     to always fail with ENOSYS.  Some functions are actually named
92898     something starting with __ and the normal name is an alias.  */
92899 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92900 choke me
92901 #else
92902 char (*f) () = $ac_func;
92903 #endif
92904 #ifdef __cplusplus
92905 }
92906 #endif
92907
92908 int
92909 main ()
92910 {
92911 return f != $ac_func;
92912   ;
92913   return 0;
92914 }
92915 _ACEOF
92916 rm -f conftest.$ac_objext conftest$ac_exeext
92917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92918   (eval $ac_link) 2>conftest.er1
92919   ac_status=$?
92920   grep -v '^ *+' conftest.er1 >conftest.err
92921   rm -f conftest.er1
92922   cat conftest.err >&5
92923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92924   (exit $ac_status); } &&
92925          { ac_try='test -z "$ac_c_werror_flag"
92926                          || test ! -s conftest.err'
92927   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92928   (eval $ac_try) 2>&5
92929   ac_status=$?
92930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92931   (exit $ac_status); }; } &&
92932          { ac_try='test -s conftest$ac_exeext'
92933   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92934   (eval $ac_try) 2>&5
92935   ac_status=$?
92936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
92937   (exit $ac_status); }; }; then
92938   eval "$as_ac_var=yes"
92939 else
92940   echo "$as_me: failed program was:" >&5
92941 sed 's/^/| /' conftest.$ac_ext >&5
92942
92943 eval "$as_ac_var=no"
92944 fi
92945 rm -f conftest.err conftest.$ac_objext \
92946       conftest$ac_exeext conftest.$ac_ext
92947 fi
92948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92949 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92950 if test `eval echo '${'$as_ac_var'}'` = yes; then
92951   cat >>confdefs.h <<_ACEOF
92952 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92953 _ACEOF
92954
92955 else
92956   ac_wfuncs=no
92957 fi
92958 done
92959
92960
92961     # Checks for wide character functions that are not required
92962     # for basic wchar_t support.  Don't disable support if they are missing.
92963     # Injection of these is wrapped with guard macros.
92964
92965
92966
92967
92968
92969 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
92970 do
92971 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92972 echo "$as_me:$LINENO: checking for $ac_func" >&5
92973 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92974 if eval "test \"\${$as_ac_var+set}\" = set"; then
92975   echo $ECHO_N "(cached) $ECHO_C" >&6
92976 else
92977   if test x$gcc_no_link = xyes; then
92978   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92979 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92980    { (exit 1); exit 1; }; }
92981 fi
92982 cat >conftest.$ac_ext <<_ACEOF
92983 /* confdefs.h.  */
92984 _ACEOF
92985 cat confdefs.h >>conftest.$ac_ext
92986 cat >>conftest.$ac_ext <<_ACEOF
92987 /* end confdefs.h.  */
92988 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92989    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
92990 #define $ac_func innocuous_$ac_func
92991
92992 /* System header to define __stub macros and hopefully few prototypes,
92993     which can conflict with char $ac_func (); below.
92994     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92995     <limits.h> exists even on freestanding compilers.  */
92996
92997 #ifdef __STDC__
92998 # include <limits.h>
92999 #else
93000 # include <assert.h>
93001 #endif
93002
93003 #undef $ac_func
93004
93005 /* Override any gcc2 internal prototype to avoid an error.  */
93006 #ifdef __cplusplus
93007 extern "C"
93008 {
93009 #endif
93010 /* We use char because int might match the return type of a gcc2
93011    builtin and then its argument prototype would still apply.  */
93012 char $ac_func ();
93013 /* The GNU C library defines this for functions which it implements
93014     to always fail with ENOSYS.  Some functions are actually named
93015     something starting with __ and the normal name is an alias.  */
93016 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93017 choke me
93018 #else
93019 char (*f) () = $ac_func;
93020 #endif
93021 #ifdef __cplusplus
93022 }
93023 #endif
93024
93025 int
93026 main ()
93027 {
93028 return f != $ac_func;
93029   ;
93030   return 0;
93031 }
93032 _ACEOF
93033 rm -f conftest.$ac_objext conftest$ac_exeext
93034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93035   (eval $ac_link) 2>conftest.er1
93036   ac_status=$?
93037   grep -v '^ *+' conftest.er1 >conftest.err
93038   rm -f conftest.er1
93039   cat conftest.err >&5
93040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93041   (exit $ac_status); } &&
93042          { ac_try='test -z "$ac_c_werror_flag"
93043                          || test ! -s conftest.err'
93044   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93045   (eval $ac_try) 2>&5
93046   ac_status=$?
93047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93048   (exit $ac_status); }; } &&
93049          { ac_try='test -s conftest$ac_exeext'
93050   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93051   (eval $ac_try) 2>&5
93052   ac_status=$?
93053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93054   (exit $ac_status); }; }; then
93055   eval "$as_ac_var=yes"
93056 else
93057   echo "$as_me: failed program was:" >&5
93058 sed 's/^/| /' conftest.$ac_ext >&5
93059
93060 eval "$as_ac_var=no"
93061 fi
93062 rm -f conftest.err conftest.$ac_objext \
93063       conftest$ac_exeext conftest.$ac_ext
93064 fi
93065 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93066 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93067 if test `eval echo '${'$as_ac_var'}'` = yes; then
93068   cat >>confdefs.h <<_ACEOF
93069 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93070 _ACEOF
93071
93072 fi
93073 done
93074
93075
93076     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
93077 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
93078     if test x"$has_weof" = xyes &&
93079        test x"$has_wchar_minmax" = xyes &&
93080        test x"$ac_wfuncs" = xyes;
93081     then
93082       ac_isoC99_wchar_t=yes
93083     else
93084       ac_isoC99_wchar_t=no
93085     fi
93086     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
93087 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
93088
93089     # Use iconv for wchar_t to char conversions. As such, check for
93090     # X/Open Portability Guide, version 2 features (XPG2).
93091     if test "${ac_cv_header_iconv_h+set}" = set; then
93092   echo "$as_me:$LINENO: checking for iconv.h" >&5
93093 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
93094 if test "${ac_cv_header_iconv_h+set}" = set; then
93095   echo $ECHO_N "(cached) $ECHO_C" >&6
93096 fi
93097 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
93098 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
93099 else
93100   # Is the header compilable?
93101 echo "$as_me:$LINENO: checking iconv.h usability" >&5
93102 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
93103 cat >conftest.$ac_ext <<_ACEOF
93104 /* confdefs.h.  */
93105 _ACEOF
93106 cat confdefs.h >>conftest.$ac_ext
93107 cat >>conftest.$ac_ext <<_ACEOF
93108 /* end confdefs.h.  */
93109 $ac_includes_default
93110 #include <iconv.h>
93111 _ACEOF
93112 rm -f conftest.$ac_objext
93113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93114   (eval $ac_compile) 2>conftest.er1
93115   ac_status=$?
93116   grep -v '^ *+' conftest.er1 >conftest.err
93117   rm -f conftest.er1
93118   cat conftest.err >&5
93119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93120   (exit $ac_status); } &&
93121          { ac_try='test -z "$ac_c_werror_flag"
93122                          || test ! -s conftest.err'
93123   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93124   (eval $ac_try) 2>&5
93125   ac_status=$?
93126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93127   (exit $ac_status); }; } &&
93128          { ac_try='test -s conftest.$ac_objext'
93129   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93130   (eval $ac_try) 2>&5
93131   ac_status=$?
93132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93133   (exit $ac_status); }; }; then
93134   ac_header_compiler=yes
93135 else
93136   echo "$as_me: failed program was:" >&5
93137 sed 's/^/| /' conftest.$ac_ext >&5
93138
93139 ac_header_compiler=no
93140 fi
93141 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93142 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
93143 echo "${ECHO_T}$ac_header_compiler" >&6
93144
93145 # Is the header present?
93146 echo "$as_me:$LINENO: checking iconv.h presence" >&5
93147 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
93148 cat >conftest.$ac_ext <<_ACEOF
93149 /* confdefs.h.  */
93150 _ACEOF
93151 cat confdefs.h >>conftest.$ac_ext
93152 cat >>conftest.$ac_ext <<_ACEOF
93153 /* end confdefs.h.  */
93154 #include <iconv.h>
93155 _ACEOF
93156 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
93157   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
93158   ac_status=$?
93159   grep -v '^ *+' conftest.er1 >conftest.err
93160   rm -f conftest.er1
93161   cat conftest.err >&5
93162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93163   (exit $ac_status); } >/dev/null; then
93164   if test -s conftest.err; then
93165     ac_cpp_err=$ac_c_preproc_warn_flag
93166     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
93167   else
93168     ac_cpp_err=
93169   fi
93170 else
93171   ac_cpp_err=yes
93172 fi
93173 if test -z "$ac_cpp_err"; then
93174   ac_header_preproc=yes
93175 else
93176   echo "$as_me: failed program was:" >&5
93177 sed 's/^/| /' conftest.$ac_ext >&5
93178
93179   ac_header_preproc=no
93180 fi
93181 rm -f conftest.err conftest.$ac_ext
93182 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
93183 echo "${ECHO_T}$ac_header_preproc" >&6
93184
93185 # So?  What about this header?
93186 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
93187   yes:no: )
93188     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
93189 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
93190     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
93191 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
93192     ac_header_preproc=yes
93193     ;;
93194   no:yes:* )
93195     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
93196 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
93197     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
93198 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
93199     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
93200 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
93201     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
93202 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
93203     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
93204 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
93205     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
93206 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
93207     (
93208       cat <<\_ASBOX
93209 ## ----------------------------------------- ##
93210 ## Report this to the package-unused lists.  ##
93211 ## ----------------------------------------- ##
93212 _ASBOX
93213     ) |
93214       sed "s/^/$as_me: WARNING:     /" >&2
93215     ;;
93216 esac
93217 echo "$as_me:$LINENO: checking for iconv.h" >&5
93218 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
93219 if test "${ac_cv_header_iconv_h+set}" = set; then
93220   echo $ECHO_N "(cached) $ECHO_C" >&6
93221 else
93222   ac_cv_header_iconv_h=$ac_header_preproc
93223 fi
93224 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
93225 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
93226
93227 fi
93228 if test $ac_cv_header_iconv_h = yes; then
93229   ac_has_iconv_h=yes
93230 else
93231   ac_has_iconv_h=no
93232 fi
93233
93234
93235     if test "${ac_cv_header_langinfo_h+set}" = set; then
93236   echo "$as_me:$LINENO: checking for langinfo.h" >&5
93237 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
93238 if test "${ac_cv_header_langinfo_h+set}" = set; then
93239   echo $ECHO_N "(cached) $ECHO_C" >&6
93240 fi
93241 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
93242 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
93243 else
93244   # Is the header compilable?
93245 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
93246 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
93247 cat >conftest.$ac_ext <<_ACEOF
93248 /* confdefs.h.  */
93249 _ACEOF
93250 cat confdefs.h >>conftest.$ac_ext
93251 cat >>conftest.$ac_ext <<_ACEOF
93252 /* end confdefs.h.  */
93253 $ac_includes_default
93254 #include <langinfo.h>
93255 _ACEOF
93256 rm -f conftest.$ac_objext
93257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93258   (eval $ac_compile) 2>conftest.er1
93259   ac_status=$?
93260   grep -v '^ *+' conftest.er1 >conftest.err
93261   rm -f conftest.er1
93262   cat conftest.err >&5
93263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93264   (exit $ac_status); } &&
93265          { ac_try='test -z "$ac_c_werror_flag"
93266                          || test ! -s conftest.err'
93267   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93268   (eval $ac_try) 2>&5
93269   ac_status=$?
93270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93271   (exit $ac_status); }; } &&
93272          { ac_try='test -s conftest.$ac_objext'
93273   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93274   (eval $ac_try) 2>&5
93275   ac_status=$?
93276   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93277   (exit $ac_status); }; }; then
93278   ac_header_compiler=yes
93279 else
93280   echo "$as_me: failed program was:" >&5
93281 sed 's/^/| /' conftest.$ac_ext >&5
93282
93283 ac_header_compiler=no
93284 fi
93285 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93286 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
93287 echo "${ECHO_T}$ac_header_compiler" >&6
93288
93289 # Is the header present?
93290 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
93291 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
93292 cat >conftest.$ac_ext <<_ACEOF
93293 /* confdefs.h.  */
93294 _ACEOF
93295 cat confdefs.h >>conftest.$ac_ext
93296 cat >>conftest.$ac_ext <<_ACEOF
93297 /* end confdefs.h.  */
93298 #include <langinfo.h>
93299 _ACEOF
93300 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
93301   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
93302   ac_status=$?
93303   grep -v '^ *+' conftest.er1 >conftest.err
93304   rm -f conftest.er1
93305   cat conftest.err >&5
93306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93307   (exit $ac_status); } >/dev/null; then
93308   if test -s conftest.err; then
93309     ac_cpp_err=$ac_c_preproc_warn_flag
93310     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
93311   else
93312     ac_cpp_err=
93313   fi
93314 else
93315   ac_cpp_err=yes
93316 fi
93317 if test -z "$ac_cpp_err"; then
93318   ac_header_preproc=yes
93319 else
93320   echo "$as_me: failed program was:" >&5
93321 sed 's/^/| /' conftest.$ac_ext >&5
93322
93323   ac_header_preproc=no
93324 fi
93325 rm -f conftest.err conftest.$ac_ext
93326 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
93327 echo "${ECHO_T}$ac_header_preproc" >&6
93328
93329 # So?  What about this header?
93330 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
93331   yes:no: )
93332     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
93333 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
93334     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
93335 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
93336     ac_header_preproc=yes
93337     ;;
93338   no:yes:* )
93339     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
93340 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
93341     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
93342 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
93343     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
93344 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
93345     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
93346 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
93347     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
93348 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
93349     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
93350 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
93351     (
93352       cat <<\_ASBOX
93353 ## ----------------------------------------- ##
93354 ## Report this to the package-unused lists.  ##
93355 ## ----------------------------------------- ##
93356 _ASBOX
93357     ) |
93358       sed "s/^/$as_me: WARNING:     /" >&2
93359     ;;
93360 esac
93361 echo "$as_me:$LINENO: checking for langinfo.h" >&5
93362 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
93363 if test "${ac_cv_header_langinfo_h+set}" = set; then
93364   echo $ECHO_N "(cached) $ECHO_C" >&6
93365 else
93366   ac_cv_header_langinfo_h=$ac_header_preproc
93367 fi
93368 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
93369 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
93370
93371 fi
93372 if test $ac_cv_header_langinfo_h = yes; then
93373   ac_has_langinfo_h=yes
93374 else
93375   ac_has_langinfo_h=no
93376 fi
93377
93378
93379
93380     # Check for existence of libiconv.a providing XPG2 wchar_t support.
93381     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
93382 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
93383 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
93384   echo $ECHO_N "(cached) $ECHO_C" >&6
93385 else
93386   ac_check_lib_save_LIBS=$LIBS
93387 LIBS="-liconv  $LIBS"
93388 if test x$gcc_no_link = xyes; then
93389   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93390 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93391    { (exit 1); exit 1; }; }
93392 fi
93393 cat >conftest.$ac_ext <<_ACEOF
93394 /* confdefs.h.  */
93395 _ACEOF
93396 cat confdefs.h >>conftest.$ac_ext
93397 cat >>conftest.$ac_ext <<_ACEOF
93398 /* end confdefs.h.  */
93399
93400 /* Override any gcc2 internal prototype to avoid an error.  */
93401 #ifdef __cplusplus
93402 extern "C"
93403 #endif
93404 /* We use char because int might match the return type of a gcc2
93405    builtin and then its argument prototype would still apply.  */
93406 char iconv ();
93407 int
93408 main ()
93409 {
93410 iconv ();
93411   ;
93412   return 0;
93413 }
93414 _ACEOF
93415 rm -f conftest.$ac_objext conftest$ac_exeext
93416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93417   (eval $ac_link) 2>conftest.er1
93418   ac_status=$?
93419   grep -v '^ *+' conftest.er1 >conftest.err
93420   rm -f conftest.er1
93421   cat conftest.err >&5
93422   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93423   (exit $ac_status); } &&
93424          { ac_try='test -z "$ac_c_werror_flag"
93425                          || test ! -s conftest.err'
93426   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93427   (eval $ac_try) 2>&5
93428   ac_status=$?
93429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93430   (exit $ac_status); }; } &&
93431          { ac_try='test -s conftest$ac_exeext'
93432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93433   (eval $ac_try) 2>&5
93434   ac_status=$?
93435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93436   (exit $ac_status); }; }; then
93437   ac_cv_lib_iconv_iconv=yes
93438 else
93439   echo "$as_me: failed program was:" >&5
93440 sed 's/^/| /' conftest.$ac_ext >&5
93441
93442 ac_cv_lib_iconv_iconv=no
93443 fi
93444 rm -f conftest.err conftest.$ac_objext \
93445       conftest$ac_exeext conftest.$ac_ext
93446 LIBS=$ac_check_lib_save_LIBS
93447 fi
93448 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
93449 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
93450 if test $ac_cv_lib_iconv_iconv = yes; then
93451   LIBICONV="-liconv"
93452 fi
93453
93454     ac_save_LIBS="$LIBS"
93455     LIBS="$LIBS $LIBICONV"
93456
93457
93458
93459
93460
93461
93462 for ac_func in iconv_open iconv_close iconv nl_langinfo
93463 do
93464 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93465 echo "$as_me:$LINENO: checking for $ac_func" >&5
93466 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93467 if eval "test \"\${$as_ac_var+set}\" = set"; then
93468   echo $ECHO_N "(cached) $ECHO_C" >&6
93469 else
93470   if test x$gcc_no_link = xyes; then
93471   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93472 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93473    { (exit 1); exit 1; }; }
93474 fi
93475 cat >conftest.$ac_ext <<_ACEOF
93476 /* confdefs.h.  */
93477 _ACEOF
93478 cat confdefs.h >>conftest.$ac_ext
93479 cat >>conftest.$ac_ext <<_ACEOF
93480 /* end confdefs.h.  */
93481 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93482    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
93483 #define $ac_func innocuous_$ac_func
93484
93485 /* System header to define __stub macros and hopefully few prototypes,
93486     which can conflict with char $ac_func (); below.
93487     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93488     <limits.h> exists even on freestanding compilers.  */
93489
93490 #ifdef __STDC__
93491 # include <limits.h>
93492 #else
93493 # include <assert.h>
93494 #endif
93495
93496 #undef $ac_func
93497
93498 /* Override any gcc2 internal prototype to avoid an error.  */
93499 #ifdef __cplusplus
93500 extern "C"
93501 {
93502 #endif
93503 /* We use char because int might match the return type of a gcc2
93504    builtin and then its argument prototype would still apply.  */
93505 char $ac_func ();
93506 /* The GNU C library defines this for functions which it implements
93507     to always fail with ENOSYS.  Some functions are actually named
93508     something starting with __ and the normal name is an alias.  */
93509 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93510 choke me
93511 #else
93512 char (*f) () = $ac_func;
93513 #endif
93514 #ifdef __cplusplus
93515 }
93516 #endif
93517
93518 int
93519 main ()
93520 {
93521 return f != $ac_func;
93522   ;
93523   return 0;
93524 }
93525 _ACEOF
93526 rm -f conftest.$ac_objext conftest$ac_exeext
93527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93528   (eval $ac_link) 2>conftest.er1
93529   ac_status=$?
93530   grep -v '^ *+' conftest.er1 >conftest.err
93531   rm -f conftest.er1
93532   cat conftest.err >&5
93533   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93534   (exit $ac_status); } &&
93535          { ac_try='test -z "$ac_c_werror_flag"
93536                          || test ! -s conftest.err'
93537   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93538   (eval $ac_try) 2>&5
93539   ac_status=$?
93540   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93541   (exit $ac_status); }; } &&
93542          { ac_try='test -s conftest$ac_exeext'
93543   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93544   (eval $ac_try) 2>&5
93545   ac_status=$?
93546   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93547   (exit $ac_status); }; }; then
93548   eval "$as_ac_var=yes"
93549 else
93550   echo "$as_me: failed program was:" >&5
93551 sed 's/^/| /' conftest.$ac_ext >&5
93552
93553 eval "$as_ac_var=no"
93554 fi
93555 rm -f conftest.err conftest.$ac_objext \
93556       conftest$ac_exeext conftest.$ac_ext
93557 fi
93558 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93559 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93560 if test `eval echo '${'$as_ac_var'}'` = yes; then
93561   cat >>confdefs.h <<_ACEOF
93562 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93563 _ACEOF
93564  ac_XPG2funcs=yes
93565 else
93566   ac_XPG2funcs=no
93567 fi
93568 done
93569
93570
93571     LIBS="$ac_save_LIBS"
93572
93573     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
93574 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
93575     if test x"$ac_has_iconv_h" = xyes &&
93576        test x"$ac_has_langinfo_h" = xyes &&
93577        test x"$ac_XPG2funcs" = xyes;
93578     then
93579       ac_XPG2_wchar_t=yes
93580     else
93581       ac_XPG2_wchar_t=no
93582     fi
93583     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
93584 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
93585
93586     # At the moment, only enable wchar_t specializations if all the
93587     # above support is present.
93588     if test x"$ac_isoC99_wchar_t" = xyes &&
93589        test x"$ac_XPG2_wchar_t" = xyes;
93590     then
93591       cat >>confdefs.h <<\_ACEOF
93592 #define _GLIBCXX_USE_WCHAR_T 1
93593 _ACEOF
93594
93595       enable_wchar_t=yes
93596     fi
93597   fi
93598   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
93599 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
93600   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
93601 echo "${ECHO_T}$enable_wchar_t" >&6
93602
93603     cat >>confdefs.h <<\_ACEOF
93604 #define HAVE_COSF 1
93605 _ACEOF
93606
93607     cat >>confdefs.h <<\_ACEOF
93608 #define HAVE_COSL 1
93609 _ACEOF
93610
93611     cat >>confdefs.h <<\_ACEOF
93612 #define HAVE_COSHF 1
93613 _ACEOF
93614
93615     cat >>confdefs.h <<\_ACEOF
93616 #define HAVE_COSHL 1
93617 _ACEOF
93618
93619     cat >>confdefs.h <<\_ACEOF
93620 #define HAVE_LOGF 1
93621 _ACEOF
93622
93623     cat >>confdefs.h <<\_ACEOF
93624 #define HAVE_LOGL 1
93625 _ACEOF
93626
93627     cat >>confdefs.h <<\_ACEOF
93628 #define HAVE_LOG10F 1
93629 _ACEOF
93630
93631     cat >>confdefs.h <<\_ACEOF
93632 #define HAVE_LOG10L 1
93633 _ACEOF
93634
93635     cat >>confdefs.h <<\_ACEOF
93636 #define HAVE_SINF 1
93637 _ACEOF
93638
93639     cat >>confdefs.h <<\_ACEOF
93640 #define HAVE_SINL 1
93641 _ACEOF
93642
93643     cat >>confdefs.h <<\_ACEOF
93644 #define HAVE_SINHF 1
93645 _ACEOF
93646
93647     cat >>confdefs.h <<\_ACEOF
93648 #define HAVE_SINHL 1
93649 _ACEOF
93650
93651     ;;
93652   *-solaris*)
93653     case "$target" in
93654     #  *-solaris2.5)
93655     #    os_include_dir="os/solaris/solaris2.5"
93656     #    ;;
93657     #  *-solaris2.6)
93658     #    os_include_dir="os/solaris/solaris2.6"
93659     #    ;;
93660       *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
93661          cat >>confdefs.h <<\_ACEOF
93662 #define HAVE_GETPAGESIZE 1
93663 _ACEOF
93664
93665          cat >>confdefs.h <<\_ACEOF
93666 #define HAVE_SIGSETJMP 1
93667 _ACEOF
93668
93669          cat >>confdefs.h <<\_ACEOF
93670 #define HAVE_MBSTATE_T 1
93671 _ACEOF
93672
93673          cat >>confdefs.h <<\_ACEOF
93674 #define HAVE_POLL 1
93675 _ACEOF
93676
93677          cat >>confdefs.h <<\_ACEOF
93678 #define HAVE_S_ISREG 1
93679 _ACEOF
93680
93681          cat >>confdefs.h <<\_ACEOF
93682 #define HAVE_LC_MESSAGES 1
93683 _ACEOF
93684
93685          cat >>confdefs.h <<\_ACEOF
93686 #define HAVE_BTOWC 1
93687 _ACEOF
93688
93689          cat >>confdefs.h <<\_ACEOF
93690 #define HAVE_FGETWC 1
93691 _ACEOF
93692
93693          cat >>confdefs.h <<\_ACEOF
93694 #define HAVE_FGETWS 1
93695 _ACEOF
93696
93697          cat >>confdefs.h <<\_ACEOF
93698 #define HAVE_FINITE 1
93699 _ACEOF
93700
93701          cat >>confdefs.h <<\_ACEOF
93702 #define HAVE_FPCLASS 1
93703 _ACEOF
93704
93705          cat >>confdefs.h <<\_ACEOF
93706 #define HAVE_FPUTWC 1
93707 _ACEOF
93708
93709          cat >>confdefs.h <<\_ACEOF
93710 #define HAVE_FPUTWS 1
93711 _ACEOF
93712
93713          cat >>confdefs.h <<\_ACEOF
93714 #define HAVE_FWIDE 1
93715 _ACEOF
93716
93717          cat >>confdefs.h <<\_ACEOF
93718 #define HAVE_FWPRINTF 1
93719 _ACEOF
93720
93721          cat >>confdefs.h <<\_ACEOF
93722 #define HAVE_FWSCANF 1
93723 _ACEOF
93724
93725          cat >>confdefs.h <<\_ACEOF
93726 #define HAVE_GETPAGESIZE 1
93727 _ACEOF
93728
93729          cat >>confdefs.h <<\_ACEOF
93730 #define HAVE_GETWC 1
93731 _ACEOF
93732
93733          cat >>confdefs.h <<\_ACEOF
93734 #define HAVE_GETWCHAR 1
93735 _ACEOF
93736
93737          cat >>confdefs.h <<\_ACEOF
93738 #define HAVE_MBRLEN 1
93739 _ACEOF
93740
93741          cat >>confdefs.h <<\_ACEOF
93742 #define HAVE_MBRTOWC 1
93743 _ACEOF
93744
93745          cat >>confdefs.h <<\_ACEOF
93746 #define HAVE_MBSINIT 1
93747 _ACEOF
93748
93749          cat >>confdefs.h <<\_ACEOF
93750 #define HAVE_MBSRTOWCS 1
93751 _ACEOF
93752
93753          cat >>confdefs.h <<\_ACEOF
93754 #define HAVE_NL_LANGINFO 1
93755 _ACEOF
93756
93757          cat >>confdefs.h <<\_ACEOF
93758 #define HAVE_PUTWC 1
93759 _ACEOF
93760
93761          cat >>confdefs.h <<\_ACEOF
93762 #define HAVE_PUTWCHAR 1
93763 _ACEOF
93764
93765          cat >>confdefs.h <<\_ACEOF
93766 #define HAVE_SWPRINTF 1
93767 _ACEOF
93768
93769          cat >>confdefs.h <<\_ACEOF
93770 #define HAVE_SWSCANF 1
93771 _ACEOF
93772
93773          cat >>confdefs.h <<\_ACEOF
93774 #define HAVE_UNGETWC 1
93775 _ACEOF
93776
93777          cat >>confdefs.h <<\_ACEOF
93778 #define HAVE_VFWPRINTF 1
93779 _ACEOF
93780
93781          cat >>confdefs.h <<\_ACEOF
93782 #define HAVE_VSWPRINTF 1
93783 _ACEOF
93784
93785          cat >>confdefs.h <<\_ACEOF
93786 #define HAVE_VWPRINTF 1
93787 _ACEOF
93788
93789          cat >>confdefs.h <<\_ACEOF
93790 #define HAVE_WCRTOMB 1
93791 _ACEOF
93792
93793          cat >>confdefs.h <<\_ACEOF
93794 #define HAVE_WCSCAT 1
93795 _ACEOF
93796
93797          cat >>confdefs.h <<\_ACEOF
93798 #define HAVE_WCSCHR 1
93799 _ACEOF
93800
93801          cat >>confdefs.h <<\_ACEOF
93802 #define HAVE_WCSCMP 1
93803 _ACEOF
93804
93805          cat >>confdefs.h <<\_ACEOF
93806 #define HAVE_WCSCOLL 1
93807 _ACEOF
93808
93809          cat >>confdefs.h <<\_ACEOF
93810 #define HAVE_WCSCPY 1
93811 _ACEOF
93812
93813          cat >>confdefs.h <<\_ACEOF
93814 #define HAVE_WCSCSPN 1
93815 _ACEOF
93816
93817          cat >>confdefs.h <<\_ACEOF
93818 #define HAVE_WCSFTIME 1
93819 _ACEOF
93820
93821          cat >>confdefs.h <<\_ACEOF
93822 #define HAVE_WCSLEN 1
93823 _ACEOF
93824
93825          cat >>confdefs.h <<\_ACEOF
93826 #define HAVE_WCSNCAT 1
93827 _ACEOF
93828
93829          cat >>confdefs.h <<\_ACEOF
93830 #define HAVE_WCSNCMP 1
93831 _ACEOF
93832
93833          cat >>confdefs.h <<\_ACEOF
93834 #define HAVE_WCSNCPY 1
93835 _ACEOF
93836
93837          cat >>confdefs.h <<\_ACEOF
93838 #define HAVE_WCSPBRK 1
93839 _ACEOF
93840
93841          cat >>confdefs.h <<\_ACEOF
93842 #define HAVE_WCSRCHR 1
93843 _ACEOF
93844
93845          cat >>confdefs.h <<\_ACEOF
93846 #define HAVE_WCSRTOMBS 1
93847 _ACEOF
93848
93849          cat >>confdefs.h <<\_ACEOF
93850 #define HAVE_WCSSPN 1
93851 _ACEOF
93852
93853          cat >>confdefs.h <<\_ACEOF
93854 #define HAVE_WCSSTR 1
93855 _ACEOF
93856
93857          cat >>confdefs.h <<\_ACEOF
93858 #define HAVE_WCSTOD 1
93859 _ACEOF
93860
93861          cat >>confdefs.h <<\_ACEOF
93862 #define HAVE_WCSTOK 1
93863 _ACEOF
93864
93865          cat >>confdefs.h <<\_ACEOF
93866 #define HAVE_WCSTOL 1
93867 _ACEOF
93868
93869          cat >>confdefs.h <<\_ACEOF
93870 #define HAVE_WCSTOUL 1
93871 _ACEOF
93872
93873          cat >>confdefs.h <<\_ACEOF
93874 #define HAVE_WCSXFRM 1
93875 _ACEOF
93876
93877          cat >>confdefs.h <<\_ACEOF
93878 #define HAVE_WCTOB 1
93879 _ACEOF
93880
93881          cat >>confdefs.h <<\_ACEOF
93882 #define HAVE_WMEMCHR 1
93883 _ACEOF
93884
93885          cat >>confdefs.h <<\_ACEOF
93886 #define HAVE_WMEMCMP 1
93887 _ACEOF
93888
93889          cat >>confdefs.h <<\_ACEOF
93890 #define HAVE_WMEMCPY 1
93891 _ACEOF
93892
93893          cat >>confdefs.h <<\_ACEOF
93894 #define HAVE_WMEMMOVE 1
93895 _ACEOF
93896
93897          cat >>confdefs.h <<\_ACEOF
93898 #define HAVE_WMEMSET 1
93899 _ACEOF
93900
93901          cat >>confdefs.h <<\_ACEOF
93902 #define HAVE_WPRINTF 1
93903 _ACEOF
93904
93905          cat >>confdefs.h <<\_ACEOF
93906 #define HAVE_WSCANF 1
93907 _ACEOF
93908
93909          cat >>confdefs.h <<\_ACEOF
93910 #define HAVE_ICONV 1
93911 _ACEOF
93912
93913          cat >>confdefs.h <<\_ACEOF
93914 #define HAVE_ICONV_CLOSE 1
93915 _ACEOF
93916
93917          cat >>confdefs.h <<\_ACEOF
93918 #define HAVE_ICONV_OPEN 1
93919 _ACEOF
93920
93921          # Look for the pieces required for wchar_t support in order to
93922          # get all the right HAVE_* macros defined.
93923
93924   # Test wchar.h for mbstate_t, which is needed for char_traits and
93925   # others even if wchar_t support is not on.
93926   echo "$as_me:$LINENO: checking for mbstate_t" >&5
93927 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
93928   cat >conftest.$ac_ext <<_ACEOF
93929 /* confdefs.h.  */
93930 _ACEOF
93931 cat confdefs.h >>conftest.$ac_ext
93932 cat >>conftest.$ac_ext <<_ACEOF
93933 /* end confdefs.h.  */
93934 #include <wchar.h>
93935 int
93936 main ()
93937 {
93938 mbstate_t teststate;
93939   ;
93940   return 0;
93941 }
93942 _ACEOF
93943 rm -f conftest.$ac_objext
93944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93945   (eval $ac_compile) 2>conftest.er1
93946   ac_status=$?
93947   grep -v '^ *+' conftest.er1 >conftest.err
93948   rm -f conftest.er1
93949   cat conftest.err >&5
93950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93951   (exit $ac_status); } &&
93952          { ac_try='test -z "$ac_c_werror_flag"
93953                          || test ! -s conftest.err'
93954   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93955   (eval $ac_try) 2>&5
93956   ac_status=$?
93957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93958   (exit $ac_status); }; } &&
93959          { ac_try='test -s conftest.$ac_objext'
93960   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93961   (eval $ac_try) 2>&5
93962   ac_status=$?
93963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
93964   (exit $ac_status); }; }; then
93965   have_mbstate_t=yes
93966 else
93967   echo "$as_me: failed program was:" >&5
93968 sed 's/^/| /' conftest.$ac_ext >&5
93969
93970 have_mbstate_t=no
93971 fi
93972 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93973   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
93974 echo "${ECHO_T}$have_mbstate_t" >&6
93975   if test x"$have_mbstate_t" = xyes; then
93976     cat >>confdefs.h <<\_ACEOF
93977 #define HAVE_MBSTATE_T 1
93978 _ACEOF
93979
93980   fi
93981
93982   # Sanity check for existence of ISO C99 headers for extended encoding.
93983
93984 for ac_header in wchar.h
93985 do
93986 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
93987 if eval "test \"\${$as_ac_Header+set}\" = set"; then
93988   echo "$as_me:$LINENO: checking for $ac_header" >&5
93989 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
93990 if eval "test \"\${$as_ac_Header+set}\" = set"; then
93991   echo $ECHO_N "(cached) $ECHO_C" >&6
93992 fi
93993 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
93994 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
93995 else
93996   # Is the header compilable?
93997 echo "$as_me:$LINENO: checking $ac_header usability" >&5
93998 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
93999 cat >conftest.$ac_ext <<_ACEOF
94000 /* confdefs.h.  */
94001 _ACEOF
94002 cat confdefs.h >>conftest.$ac_ext
94003 cat >>conftest.$ac_ext <<_ACEOF
94004 /* end confdefs.h.  */
94005 $ac_includes_default
94006 #include <$ac_header>
94007 _ACEOF
94008 rm -f conftest.$ac_objext
94009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94010   (eval $ac_compile) 2>conftest.er1
94011   ac_status=$?
94012   grep -v '^ *+' conftest.er1 >conftest.err
94013   rm -f conftest.er1
94014   cat conftest.err >&5
94015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94016   (exit $ac_status); } &&
94017          { ac_try='test -z "$ac_c_werror_flag"
94018                          || test ! -s conftest.err'
94019   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94020   (eval $ac_try) 2>&5
94021   ac_status=$?
94022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94023   (exit $ac_status); }; } &&
94024          { ac_try='test -s conftest.$ac_objext'
94025   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94026   (eval $ac_try) 2>&5
94027   ac_status=$?
94028   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94029   (exit $ac_status); }; }; then
94030   ac_header_compiler=yes
94031 else
94032   echo "$as_me: failed program was:" >&5
94033 sed 's/^/| /' conftest.$ac_ext >&5
94034
94035 ac_header_compiler=no
94036 fi
94037 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94038 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
94039 echo "${ECHO_T}$ac_header_compiler" >&6
94040
94041 # Is the header present?
94042 echo "$as_me:$LINENO: checking $ac_header presence" >&5
94043 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
94044 cat >conftest.$ac_ext <<_ACEOF
94045 /* confdefs.h.  */
94046 _ACEOF
94047 cat confdefs.h >>conftest.$ac_ext
94048 cat >>conftest.$ac_ext <<_ACEOF
94049 /* end confdefs.h.  */
94050 #include <$ac_header>
94051 _ACEOF
94052 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
94053   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
94054   ac_status=$?
94055   grep -v '^ *+' conftest.er1 >conftest.err
94056   rm -f conftest.er1
94057   cat conftest.err >&5
94058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94059   (exit $ac_status); } >/dev/null; then
94060   if test -s conftest.err; then
94061     ac_cpp_err=$ac_c_preproc_warn_flag
94062     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
94063   else
94064     ac_cpp_err=
94065   fi
94066 else
94067   ac_cpp_err=yes
94068 fi
94069 if test -z "$ac_cpp_err"; then
94070   ac_header_preproc=yes
94071 else
94072   echo "$as_me: failed program was:" >&5
94073 sed 's/^/| /' conftest.$ac_ext >&5
94074
94075   ac_header_preproc=no
94076 fi
94077 rm -f conftest.err conftest.$ac_ext
94078 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
94079 echo "${ECHO_T}$ac_header_preproc" >&6
94080
94081 # So?  What about this header?
94082 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
94083   yes:no: )
94084     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
94085 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
94086     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
94087 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
94088     ac_header_preproc=yes
94089     ;;
94090   no:yes:* )
94091     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
94092 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
94093     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
94094 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
94095     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
94096 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
94097     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
94098 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
94099     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
94100 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
94101     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
94102 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
94103     (
94104       cat <<\_ASBOX
94105 ## ----------------------------------------- ##
94106 ## Report this to the package-unused lists.  ##
94107 ## ----------------------------------------- ##
94108 _ASBOX
94109     ) |
94110       sed "s/^/$as_me: WARNING:     /" >&2
94111     ;;
94112 esac
94113 echo "$as_me:$LINENO: checking for $ac_header" >&5
94114 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
94115 if eval "test \"\${$as_ac_Header+set}\" = set"; then
94116   echo $ECHO_N "(cached) $ECHO_C" >&6
94117 else
94118   eval "$as_ac_Header=\$ac_header_preproc"
94119 fi
94120 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
94121 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
94122
94123 fi
94124 if test `eval echo '${'$as_ac_Header'}'` = yes; then
94125   cat >>confdefs.h <<_ACEOF
94126 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
94127 _ACEOF
94128  ac_has_wchar_h=yes
94129 else
94130   ac_has_wchar_h=no
94131 fi
94132
94133 done
94134
94135
94136 for ac_header in wctype.h
94137 do
94138 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
94139 if eval "test \"\${$as_ac_Header+set}\" = set"; then
94140   echo "$as_me:$LINENO: checking for $ac_header" >&5
94141 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
94142 if eval "test \"\${$as_ac_Header+set}\" = set"; then
94143   echo $ECHO_N "(cached) $ECHO_C" >&6
94144 fi
94145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
94146 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
94147 else
94148   # Is the header compilable?
94149 echo "$as_me:$LINENO: checking $ac_header usability" >&5
94150 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
94151 cat >conftest.$ac_ext <<_ACEOF
94152 /* confdefs.h.  */
94153 _ACEOF
94154 cat confdefs.h >>conftest.$ac_ext
94155 cat >>conftest.$ac_ext <<_ACEOF
94156 /* end confdefs.h.  */
94157 $ac_includes_default
94158 #include <$ac_header>
94159 _ACEOF
94160 rm -f conftest.$ac_objext
94161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94162   (eval $ac_compile) 2>conftest.er1
94163   ac_status=$?
94164   grep -v '^ *+' conftest.er1 >conftest.err
94165   rm -f conftest.er1
94166   cat conftest.err >&5
94167   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94168   (exit $ac_status); } &&
94169          { ac_try='test -z "$ac_c_werror_flag"
94170                          || test ! -s conftest.err'
94171   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94172   (eval $ac_try) 2>&5
94173   ac_status=$?
94174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94175   (exit $ac_status); }; } &&
94176          { ac_try='test -s conftest.$ac_objext'
94177   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94178   (eval $ac_try) 2>&5
94179   ac_status=$?
94180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94181   (exit $ac_status); }; }; then
94182   ac_header_compiler=yes
94183 else
94184   echo "$as_me: failed program was:" >&5
94185 sed 's/^/| /' conftest.$ac_ext >&5
94186
94187 ac_header_compiler=no
94188 fi
94189 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94190 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
94191 echo "${ECHO_T}$ac_header_compiler" >&6
94192
94193 # Is the header present?
94194 echo "$as_me:$LINENO: checking $ac_header presence" >&5
94195 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
94196 cat >conftest.$ac_ext <<_ACEOF
94197 /* confdefs.h.  */
94198 _ACEOF
94199 cat confdefs.h >>conftest.$ac_ext
94200 cat >>conftest.$ac_ext <<_ACEOF
94201 /* end confdefs.h.  */
94202 #include <$ac_header>
94203 _ACEOF
94204 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
94205   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
94206   ac_status=$?
94207   grep -v '^ *+' conftest.er1 >conftest.err
94208   rm -f conftest.er1
94209   cat conftest.err >&5
94210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94211   (exit $ac_status); } >/dev/null; then
94212   if test -s conftest.err; then
94213     ac_cpp_err=$ac_c_preproc_warn_flag
94214     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
94215   else
94216     ac_cpp_err=
94217   fi
94218 else
94219   ac_cpp_err=yes
94220 fi
94221 if test -z "$ac_cpp_err"; then
94222   ac_header_preproc=yes
94223 else
94224   echo "$as_me: failed program was:" >&5
94225 sed 's/^/| /' conftest.$ac_ext >&5
94226
94227   ac_header_preproc=no
94228 fi
94229 rm -f conftest.err conftest.$ac_ext
94230 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
94231 echo "${ECHO_T}$ac_header_preproc" >&6
94232
94233 # So?  What about this header?
94234 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
94235   yes:no: )
94236     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
94237 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
94238     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
94239 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
94240     ac_header_preproc=yes
94241     ;;
94242   no:yes:* )
94243     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
94244 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
94245     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
94246 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
94247     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
94248 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
94249     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
94250 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
94251     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
94252 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
94253     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
94254 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
94255     (
94256       cat <<\_ASBOX
94257 ## ----------------------------------------- ##
94258 ## Report this to the package-unused lists.  ##
94259 ## ----------------------------------------- ##
94260 _ASBOX
94261     ) |
94262       sed "s/^/$as_me: WARNING:     /" >&2
94263     ;;
94264 esac
94265 echo "$as_me:$LINENO: checking for $ac_header" >&5
94266 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
94267 if eval "test \"\${$as_ac_Header+set}\" = set"; then
94268   echo $ECHO_N "(cached) $ECHO_C" >&6
94269 else
94270   eval "$as_ac_Header=\$ac_header_preproc"
94271 fi
94272 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
94273 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
94274
94275 fi
94276 if test `eval echo '${'$as_ac_Header'}'` = yes; then
94277   cat >>confdefs.h <<_ACEOF
94278 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
94279 _ACEOF
94280  ac_has_wctype_h=yes
94281 else
94282   ac_has_wctype_h=no
94283 fi
94284
94285 done
94286
94287
94288   # Only continue checking if the ISO C99 headers exist and support is on.
94289   if test x"$ac_has_wchar_h" = xyes &&
94290      test x"$ac_has_wctype_h" = xyes &&
94291      test x"$enable_c_mbchar" != xno; then
94292
94293     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
94294     # numeric_limits can instantiate type_traits<wchar_t>
94295     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
94296 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
94297     cat >conftest.$ac_ext <<_ACEOF
94298 /* confdefs.h.  */
94299 _ACEOF
94300 cat confdefs.h >>conftest.$ac_ext
94301 cat >>conftest.$ac_ext <<_ACEOF
94302 /* end confdefs.h.  */
94303 #include <wchar.h>
94304 int
94305 main ()
94306 {
94307 int i = WCHAR_MIN; int j = WCHAR_MAX;
94308   ;
94309   return 0;
94310 }
94311 _ACEOF
94312 rm -f conftest.$ac_objext
94313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94314   (eval $ac_compile) 2>conftest.er1
94315   ac_status=$?
94316   grep -v '^ *+' conftest.er1 >conftest.err
94317   rm -f conftest.er1
94318   cat conftest.err >&5
94319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94320   (exit $ac_status); } &&
94321          { ac_try='test -z "$ac_c_werror_flag"
94322                          || test ! -s conftest.err'
94323   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94324   (eval $ac_try) 2>&5
94325   ac_status=$?
94326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94327   (exit $ac_status); }; } &&
94328          { ac_try='test -s conftest.$ac_objext'
94329   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94330   (eval $ac_try) 2>&5
94331   ac_status=$?
94332   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94333   (exit $ac_status); }; }; then
94334   has_wchar_minmax=yes
94335 else
94336   echo "$as_me: failed program was:" >&5
94337 sed 's/^/| /' conftest.$ac_ext >&5
94338
94339 has_wchar_minmax=no
94340 fi
94341 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94342     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
94343 echo "${ECHO_T}$has_wchar_minmax" >&6
94344
94345     # Test wchar.h for WEOF, which is what we use to determine whether
94346     # to specialize for char_traits<wchar_t> or not.
94347     echo "$as_me:$LINENO: checking for WEOF" >&5
94348 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
94349     cat >conftest.$ac_ext <<_ACEOF
94350 /* confdefs.h.  */
94351 _ACEOF
94352 cat confdefs.h >>conftest.$ac_ext
94353 cat >>conftest.$ac_ext <<_ACEOF
94354 /* end confdefs.h.  */
94355
94356       #include <wchar.h>
94357       #include <stddef.h>
94358 int
94359 main ()
94360 {
94361 wint_t i = WEOF;
94362   ;
94363   return 0;
94364 }
94365 _ACEOF
94366 rm -f conftest.$ac_objext
94367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94368   (eval $ac_compile) 2>conftest.er1
94369   ac_status=$?
94370   grep -v '^ *+' conftest.er1 >conftest.err
94371   rm -f conftest.er1
94372   cat conftest.err >&5
94373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94374   (exit $ac_status); } &&
94375          { ac_try='test -z "$ac_c_werror_flag"
94376                          || test ! -s conftest.err'
94377   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94378   (eval $ac_try) 2>&5
94379   ac_status=$?
94380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94381   (exit $ac_status); }; } &&
94382          { ac_try='test -s conftest.$ac_objext'
94383   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94384   (eval $ac_try) 2>&5
94385   ac_status=$?
94386   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94387   (exit $ac_status); }; }; then
94388   has_weof=yes
94389 else
94390   echo "$as_me: failed program was:" >&5
94391 sed 's/^/| /' conftest.$ac_ext >&5
94392
94393 has_weof=no
94394 fi
94395 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94396     echo "$as_me:$LINENO: result: $has_weof" >&5
94397 echo "${ECHO_T}$has_weof" >&6
94398
94399     # Tests for wide character functions used in char_traits<wchar_t>.
94400     ac_wfuncs=yes
94401
94402
94403
94404
94405
94406
94407 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
94408 do
94409 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94410 echo "$as_me:$LINENO: checking for $ac_func" >&5
94411 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94412 if eval "test \"\${$as_ac_var+set}\" = set"; then
94413   echo $ECHO_N "(cached) $ECHO_C" >&6
94414 else
94415   if test x$gcc_no_link = xyes; then
94416   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94417 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94418    { (exit 1); exit 1; }; }
94419 fi
94420 cat >conftest.$ac_ext <<_ACEOF
94421 /* confdefs.h.  */
94422 _ACEOF
94423 cat confdefs.h >>conftest.$ac_ext
94424 cat >>conftest.$ac_ext <<_ACEOF
94425 /* end confdefs.h.  */
94426 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94427    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94428 #define $ac_func innocuous_$ac_func
94429
94430 /* System header to define __stub macros and hopefully few prototypes,
94431     which can conflict with char $ac_func (); below.
94432     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94433     <limits.h> exists even on freestanding compilers.  */
94434
94435 #ifdef __STDC__
94436 # include <limits.h>
94437 #else
94438 # include <assert.h>
94439 #endif
94440
94441 #undef $ac_func
94442
94443 /* Override any gcc2 internal prototype to avoid an error.  */
94444 #ifdef __cplusplus
94445 extern "C"
94446 {
94447 #endif
94448 /* We use char because int might match the return type of a gcc2
94449    builtin and then its argument prototype would still apply.  */
94450 char $ac_func ();
94451 /* The GNU C library defines this for functions which it implements
94452     to always fail with ENOSYS.  Some functions are actually named
94453     something starting with __ and the normal name is an alias.  */
94454 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94455 choke me
94456 #else
94457 char (*f) () = $ac_func;
94458 #endif
94459 #ifdef __cplusplus
94460 }
94461 #endif
94462
94463 int
94464 main ()
94465 {
94466 return f != $ac_func;
94467   ;
94468   return 0;
94469 }
94470 _ACEOF
94471 rm -f conftest.$ac_objext conftest$ac_exeext
94472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94473   (eval $ac_link) 2>conftest.er1
94474   ac_status=$?
94475   grep -v '^ *+' conftest.er1 >conftest.err
94476   rm -f conftest.er1
94477   cat conftest.err >&5
94478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94479   (exit $ac_status); } &&
94480          { ac_try='test -z "$ac_c_werror_flag"
94481                          || test ! -s conftest.err'
94482   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94483   (eval $ac_try) 2>&5
94484   ac_status=$?
94485   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94486   (exit $ac_status); }; } &&
94487          { ac_try='test -s conftest$ac_exeext'
94488   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94489   (eval $ac_try) 2>&5
94490   ac_status=$?
94491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94492   (exit $ac_status); }; }; then
94493   eval "$as_ac_var=yes"
94494 else
94495   echo "$as_me: failed program was:" >&5
94496 sed 's/^/| /' conftest.$ac_ext >&5
94497
94498 eval "$as_ac_var=no"
94499 fi
94500 rm -f conftest.err conftest.$ac_objext \
94501       conftest$ac_exeext conftest.$ac_ext
94502 fi
94503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94504 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94505 if test `eval echo '${'$as_ac_var'}'` = yes; then
94506   cat >>confdefs.h <<_ACEOF
94507 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94508 _ACEOF
94509
94510 else
94511   ac_wfuncs=no
94512 fi
94513 done
94514
94515
94516     # Checks for names injected into std:: by the c_std headers.
94517
94518
94519
94520
94521
94522
94523
94524
94525
94526
94527
94528
94529
94530
94531
94532
94533
94534
94535
94536
94537
94538
94539
94540
94541
94542
94543
94544
94545
94546
94547
94548
94549
94550
94551
94552
94553
94554
94555
94556
94557
94558
94559
94560
94561
94562
94563 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
94564     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
94565     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
94566     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
94567     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
94568     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
94569 do
94570 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94571 echo "$as_me:$LINENO: checking for $ac_func" >&5
94572 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94573 if eval "test \"\${$as_ac_var+set}\" = set"; then
94574   echo $ECHO_N "(cached) $ECHO_C" >&6
94575 else
94576   if test x$gcc_no_link = xyes; then
94577   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94578 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94579    { (exit 1); exit 1; }; }
94580 fi
94581 cat >conftest.$ac_ext <<_ACEOF
94582 /* confdefs.h.  */
94583 _ACEOF
94584 cat confdefs.h >>conftest.$ac_ext
94585 cat >>conftest.$ac_ext <<_ACEOF
94586 /* end confdefs.h.  */
94587 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94588    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94589 #define $ac_func innocuous_$ac_func
94590
94591 /* System header to define __stub macros and hopefully few prototypes,
94592     which can conflict with char $ac_func (); below.
94593     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94594     <limits.h> exists even on freestanding compilers.  */
94595
94596 #ifdef __STDC__
94597 # include <limits.h>
94598 #else
94599 # include <assert.h>
94600 #endif
94601
94602 #undef $ac_func
94603
94604 /* Override any gcc2 internal prototype to avoid an error.  */
94605 #ifdef __cplusplus
94606 extern "C"
94607 {
94608 #endif
94609 /* We use char because int might match the return type of a gcc2
94610    builtin and then its argument prototype would still apply.  */
94611 char $ac_func ();
94612 /* The GNU C library defines this for functions which it implements
94613     to always fail with ENOSYS.  Some functions are actually named
94614     something starting with __ and the normal name is an alias.  */
94615 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94616 choke me
94617 #else
94618 char (*f) () = $ac_func;
94619 #endif
94620 #ifdef __cplusplus
94621 }
94622 #endif
94623
94624 int
94625 main ()
94626 {
94627 return f != $ac_func;
94628   ;
94629   return 0;
94630 }
94631 _ACEOF
94632 rm -f conftest.$ac_objext conftest$ac_exeext
94633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94634   (eval $ac_link) 2>conftest.er1
94635   ac_status=$?
94636   grep -v '^ *+' conftest.er1 >conftest.err
94637   rm -f conftest.er1
94638   cat conftest.err >&5
94639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94640   (exit $ac_status); } &&
94641          { ac_try='test -z "$ac_c_werror_flag"
94642                          || test ! -s conftest.err'
94643   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94644   (eval $ac_try) 2>&5
94645   ac_status=$?
94646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94647   (exit $ac_status); }; } &&
94648          { ac_try='test -s conftest$ac_exeext'
94649   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94650   (eval $ac_try) 2>&5
94651   ac_status=$?
94652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94653   (exit $ac_status); }; }; then
94654   eval "$as_ac_var=yes"
94655 else
94656   echo "$as_me: failed program was:" >&5
94657 sed 's/^/| /' conftest.$ac_ext >&5
94658
94659 eval "$as_ac_var=no"
94660 fi
94661 rm -f conftest.err conftest.$ac_objext \
94662       conftest$ac_exeext conftest.$ac_ext
94663 fi
94664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94665 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94666 if test `eval echo '${'$as_ac_var'}'` = yes; then
94667   cat >>confdefs.h <<_ACEOF
94668 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94669 _ACEOF
94670
94671 else
94672   ac_wfuncs=no
94673 fi
94674 done
94675
94676
94677     # Checks for wide character functions that are not required
94678     # for basic wchar_t support.  Don't disable support if they are missing.
94679     # Injection of these is wrapped with guard macros.
94680
94681
94682
94683
94684
94685 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
94686 do
94687 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94688 echo "$as_me:$LINENO: checking for $ac_func" >&5
94689 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94690 if eval "test \"\${$as_ac_var+set}\" = set"; then
94691   echo $ECHO_N "(cached) $ECHO_C" >&6
94692 else
94693   if test x$gcc_no_link = xyes; then
94694   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94695 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94696    { (exit 1); exit 1; }; }
94697 fi
94698 cat >conftest.$ac_ext <<_ACEOF
94699 /* confdefs.h.  */
94700 _ACEOF
94701 cat confdefs.h >>conftest.$ac_ext
94702 cat >>conftest.$ac_ext <<_ACEOF
94703 /* end confdefs.h.  */
94704 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94705    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
94706 #define $ac_func innocuous_$ac_func
94707
94708 /* System header to define __stub macros and hopefully few prototypes,
94709     which can conflict with char $ac_func (); below.
94710     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94711     <limits.h> exists even on freestanding compilers.  */
94712
94713 #ifdef __STDC__
94714 # include <limits.h>
94715 #else
94716 # include <assert.h>
94717 #endif
94718
94719 #undef $ac_func
94720
94721 /* Override any gcc2 internal prototype to avoid an error.  */
94722 #ifdef __cplusplus
94723 extern "C"
94724 {
94725 #endif
94726 /* We use char because int might match the return type of a gcc2
94727    builtin and then its argument prototype would still apply.  */
94728 char $ac_func ();
94729 /* The GNU C library defines this for functions which it implements
94730     to always fail with ENOSYS.  Some functions are actually named
94731     something starting with __ and the normal name is an alias.  */
94732 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94733 choke me
94734 #else
94735 char (*f) () = $ac_func;
94736 #endif
94737 #ifdef __cplusplus
94738 }
94739 #endif
94740
94741 int
94742 main ()
94743 {
94744 return f != $ac_func;
94745   ;
94746   return 0;
94747 }
94748 _ACEOF
94749 rm -f conftest.$ac_objext conftest$ac_exeext
94750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94751   (eval $ac_link) 2>conftest.er1
94752   ac_status=$?
94753   grep -v '^ *+' conftest.er1 >conftest.err
94754   rm -f conftest.er1
94755   cat conftest.err >&5
94756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94757   (exit $ac_status); } &&
94758          { ac_try='test -z "$ac_c_werror_flag"
94759                          || test ! -s conftest.err'
94760   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94761   (eval $ac_try) 2>&5
94762   ac_status=$?
94763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94764   (exit $ac_status); }; } &&
94765          { ac_try='test -s conftest$ac_exeext'
94766   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94767   (eval $ac_try) 2>&5
94768   ac_status=$?
94769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94770   (exit $ac_status); }; }; then
94771   eval "$as_ac_var=yes"
94772 else
94773   echo "$as_me: failed program was:" >&5
94774 sed 's/^/| /' conftest.$ac_ext >&5
94775
94776 eval "$as_ac_var=no"
94777 fi
94778 rm -f conftest.err conftest.$ac_objext \
94779       conftest$ac_exeext conftest.$ac_ext
94780 fi
94781 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94782 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94783 if test `eval echo '${'$as_ac_var'}'` = yes; then
94784   cat >>confdefs.h <<_ACEOF
94785 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94786 _ACEOF
94787
94788 fi
94789 done
94790
94791
94792     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
94793 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
94794     if test x"$has_weof" = xyes &&
94795        test x"$has_wchar_minmax" = xyes &&
94796        test x"$ac_wfuncs" = xyes;
94797     then
94798       ac_isoC99_wchar_t=yes
94799     else
94800       ac_isoC99_wchar_t=no
94801     fi
94802     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
94803 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
94804
94805     # Use iconv for wchar_t to char conversions. As such, check for
94806     # X/Open Portability Guide, version 2 features (XPG2).
94807     if test "${ac_cv_header_iconv_h+set}" = set; then
94808   echo "$as_me:$LINENO: checking for iconv.h" >&5
94809 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
94810 if test "${ac_cv_header_iconv_h+set}" = set; then
94811   echo $ECHO_N "(cached) $ECHO_C" >&6
94812 fi
94813 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
94814 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
94815 else
94816   # Is the header compilable?
94817 echo "$as_me:$LINENO: checking iconv.h usability" >&5
94818 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
94819 cat >conftest.$ac_ext <<_ACEOF
94820 /* confdefs.h.  */
94821 _ACEOF
94822 cat confdefs.h >>conftest.$ac_ext
94823 cat >>conftest.$ac_ext <<_ACEOF
94824 /* end confdefs.h.  */
94825 $ac_includes_default
94826 #include <iconv.h>
94827 _ACEOF
94828 rm -f conftest.$ac_objext
94829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94830   (eval $ac_compile) 2>conftest.er1
94831   ac_status=$?
94832   grep -v '^ *+' conftest.er1 >conftest.err
94833   rm -f conftest.er1
94834   cat conftest.err >&5
94835   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94836   (exit $ac_status); } &&
94837          { ac_try='test -z "$ac_c_werror_flag"
94838                          || test ! -s conftest.err'
94839   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94840   (eval $ac_try) 2>&5
94841   ac_status=$?
94842   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94843   (exit $ac_status); }; } &&
94844          { ac_try='test -s conftest.$ac_objext'
94845   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94846   (eval $ac_try) 2>&5
94847   ac_status=$?
94848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94849   (exit $ac_status); }; }; then
94850   ac_header_compiler=yes
94851 else
94852   echo "$as_me: failed program was:" >&5
94853 sed 's/^/| /' conftest.$ac_ext >&5
94854
94855 ac_header_compiler=no
94856 fi
94857 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94858 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
94859 echo "${ECHO_T}$ac_header_compiler" >&6
94860
94861 # Is the header present?
94862 echo "$as_me:$LINENO: checking iconv.h presence" >&5
94863 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
94864 cat >conftest.$ac_ext <<_ACEOF
94865 /* confdefs.h.  */
94866 _ACEOF
94867 cat confdefs.h >>conftest.$ac_ext
94868 cat >>conftest.$ac_ext <<_ACEOF
94869 /* end confdefs.h.  */
94870 #include <iconv.h>
94871 _ACEOF
94872 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
94873   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
94874   ac_status=$?
94875   grep -v '^ *+' conftest.er1 >conftest.err
94876   rm -f conftest.er1
94877   cat conftest.err >&5
94878   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94879   (exit $ac_status); } >/dev/null; then
94880   if test -s conftest.err; then
94881     ac_cpp_err=$ac_c_preproc_warn_flag
94882     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
94883   else
94884     ac_cpp_err=
94885   fi
94886 else
94887   ac_cpp_err=yes
94888 fi
94889 if test -z "$ac_cpp_err"; then
94890   ac_header_preproc=yes
94891 else
94892   echo "$as_me: failed program was:" >&5
94893 sed 's/^/| /' conftest.$ac_ext >&5
94894
94895   ac_header_preproc=no
94896 fi
94897 rm -f conftest.err conftest.$ac_ext
94898 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
94899 echo "${ECHO_T}$ac_header_preproc" >&6
94900
94901 # So?  What about this header?
94902 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
94903   yes:no: )
94904     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
94905 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
94906     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
94907 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
94908     ac_header_preproc=yes
94909     ;;
94910   no:yes:* )
94911     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
94912 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
94913     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
94914 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
94915     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
94916 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
94917     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
94918 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
94919     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
94920 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
94921     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
94922 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
94923     (
94924       cat <<\_ASBOX
94925 ## ----------------------------------------- ##
94926 ## Report this to the package-unused lists.  ##
94927 ## ----------------------------------------- ##
94928 _ASBOX
94929     ) |
94930       sed "s/^/$as_me: WARNING:     /" >&2
94931     ;;
94932 esac
94933 echo "$as_me:$LINENO: checking for iconv.h" >&5
94934 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
94935 if test "${ac_cv_header_iconv_h+set}" = set; then
94936   echo $ECHO_N "(cached) $ECHO_C" >&6
94937 else
94938   ac_cv_header_iconv_h=$ac_header_preproc
94939 fi
94940 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
94941 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
94942
94943 fi
94944 if test $ac_cv_header_iconv_h = yes; then
94945   ac_has_iconv_h=yes
94946 else
94947   ac_has_iconv_h=no
94948 fi
94949
94950
94951     if test "${ac_cv_header_langinfo_h+set}" = set; then
94952   echo "$as_me:$LINENO: checking for langinfo.h" >&5
94953 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
94954 if test "${ac_cv_header_langinfo_h+set}" = set; then
94955   echo $ECHO_N "(cached) $ECHO_C" >&6
94956 fi
94957 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
94958 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
94959 else
94960   # Is the header compilable?
94961 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
94962 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
94963 cat >conftest.$ac_ext <<_ACEOF
94964 /* confdefs.h.  */
94965 _ACEOF
94966 cat confdefs.h >>conftest.$ac_ext
94967 cat >>conftest.$ac_ext <<_ACEOF
94968 /* end confdefs.h.  */
94969 $ac_includes_default
94970 #include <langinfo.h>
94971 _ACEOF
94972 rm -f conftest.$ac_objext
94973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94974   (eval $ac_compile) 2>conftest.er1
94975   ac_status=$?
94976   grep -v '^ *+' conftest.er1 >conftest.err
94977   rm -f conftest.er1
94978   cat conftest.err >&5
94979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94980   (exit $ac_status); } &&
94981          { ac_try='test -z "$ac_c_werror_flag"
94982                          || test ! -s conftest.err'
94983   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94984   (eval $ac_try) 2>&5
94985   ac_status=$?
94986   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94987   (exit $ac_status); }; } &&
94988          { ac_try='test -s conftest.$ac_objext'
94989   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94990   (eval $ac_try) 2>&5
94991   ac_status=$?
94992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
94993   (exit $ac_status); }; }; then
94994   ac_header_compiler=yes
94995 else
94996   echo "$as_me: failed program was:" >&5
94997 sed 's/^/| /' conftest.$ac_ext >&5
94998
94999 ac_header_compiler=no
95000 fi
95001 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95002 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
95003 echo "${ECHO_T}$ac_header_compiler" >&6
95004
95005 # Is the header present?
95006 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
95007 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
95008 cat >conftest.$ac_ext <<_ACEOF
95009 /* confdefs.h.  */
95010 _ACEOF
95011 cat confdefs.h >>conftest.$ac_ext
95012 cat >>conftest.$ac_ext <<_ACEOF
95013 /* end confdefs.h.  */
95014 #include <langinfo.h>
95015 _ACEOF
95016 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
95017   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
95018   ac_status=$?
95019   grep -v '^ *+' conftest.er1 >conftest.err
95020   rm -f conftest.er1
95021   cat conftest.err >&5
95022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95023   (exit $ac_status); } >/dev/null; then
95024   if test -s conftest.err; then
95025     ac_cpp_err=$ac_c_preproc_warn_flag
95026     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
95027   else
95028     ac_cpp_err=
95029   fi
95030 else
95031   ac_cpp_err=yes
95032 fi
95033 if test -z "$ac_cpp_err"; then
95034   ac_header_preproc=yes
95035 else
95036   echo "$as_me: failed program was:" >&5
95037 sed 's/^/| /' conftest.$ac_ext >&5
95038
95039   ac_header_preproc=no
95040 fi
95041 rm -f conftest.err conftest.$ac_ext
95042 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
95043 echo "${ECHO_T}$ac_header_preproc" >&6
95044
95045 # So?  What about this header?
95046 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
95047   yes:no: )
95048     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
95049 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
95050     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
95051 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
95052     ac_header_preproc=yes
95053     ;;
95054   no:yes:* )
95055     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
95056 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
95057     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
95058 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
95059     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
95060 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
95061     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
95062 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
95063     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
95064 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
95065     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
95066 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
95067     (
95068       cat <<\_ASBOX
95069 ## ----------------------------------------- ##
95070 ## Report this to the package-unused lists.  ##
95071 ## ----------------------------------------- ##
95072 _ASBOX
95073     ) |
95074       sed "s/^/$as_me: WARNING:     /" >&2
95075     ;;
95076 esac
95077 echo "$as_me:$LINENO: checking for langinfo.h" >&5
95078 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
95079 if test "${ac_cv_header_langinfo_h+set}" = set; then
95080   echo $ECHO_N "(cached) $ECHO_C" >&6
95081 else
95082   ac_cv_header_langinfo_h=$ac_header_preproc
95083 fi
95084 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
95085 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
95086
95087 fi
95088 if test $ac_cv_header_langinfo_h = yes; then
95089   ac_has_langinfo_h=yes
95090 else
95091   ac_has_langinfo_h=no
95092 fi
95093
95094
95095
95096     # Check for existence of libiconv.a providing XPG2 wchar_t support.
95097     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
95098 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
95099 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
95100   echo $ECHO_N "(cached) $ECHO_C" >&6
95101 else
95102   ac_check_lib_save_LIBS=$LIBS
95103 LIBS="-liconv  $LIBS"
95104 if test x$gcc_no_link = xyes; then
95105   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95106 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95107    { (exit 1); exit 1; }; }
95108 fi
95109 cat >conftest.$ac_ext <<_ACEOF
95110 /* confdefs.h.  */
95111 _ACEOF
95112 cat confdefs.h >>conftest.$ac_ext
95113 cat >>conftest.$ac_ext <<_ACEOF
95114 /* end confdefs.h.  */
95115
95116 /* Override any gcc2 internal prototype to avoid an error.  */
95117 #ifdef __cplusplus
95118 extern "C"
95119 #endif
95120 /* We use char because int might match the return type of a gcc2
95121    builtin and then its argument prototype would still apply.  */
95122 char iconv ();
95123 int
95124 main ()
95125 {
95126 iconv ();
95127   ;
95128   return 0;
95129 }
95130 _ACEOF
95131 rm -f conftest.$ac_objext conftest$ac_exeext
95132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95133   (eval $ac_link) 2>conftest.er1
95134   ac_status=$?
95135   grep -v '^ *+' conftest.er1 >conftest.err
95136   rm -f conftest.er1
95137   cat conftest.err >&5
95138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95139   (exit $ac_status); } &&
95140          { ac_try='test -z "$ac_c_werror_flag"
95141                          || test ! -s conftest.err'
95142   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95143   (eval $ac_try) 2>&5
95144   ac_status=$?
95145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95146   (exit $ac_status); }; } &&
95147          { ac_try='test -s conftest$ac_exeext'
95148   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95149   (eval $ac_try) 2>&5
95150   ac_status=$?
95151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95152   (exit $ac_status); }; }; then
95153   ac_cv_lib_iconv_iconv=yes
95154 else
95155   echo "$as_me: failed program was:" >&5
95156 sed 's/^/| /' conftest.$ac_ext >&5
95157
95158 ac_cv_lib_iconv_iconv=no
95159 fi
95160 rm -f conftest.err conftest.$ac_objext \
95161       conftest$ac_exeext conftest.$ac_ext
95162 LIBS=$ac_check_lib_save_LIBS
95163 fi
95164 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
95165 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
95166 if test $ac_cv_lib_iconv_iconv = yes; then
95167   LIBICONV="-liconv"
95168 fi
95169
95170     ac_save_LIBS="$LIBS"
95171     LIBS="$LIBS $LIBICONV"
95172
95173
95174
95175
95176
95177
95178 for ac_func in iconv_open iconv_close iconv nl_langinfo
95179 do
95180 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95181 echo "$as_me:$LINENO: checking for $ac_func" >&5
95182 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95183 if eval "test \"\${$as_ac_var+set}\" = set"; then
95184   echo $ECHO_N "(cached) $ECHO_C" >&6
95185 else
95186   if test x$gcc_no_link = xyes; then
95187   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95188 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95189    { (exit 1); exit 1; }; }
95190 fi
95191 cat >conftest.$ac_ext <<_ACEOF
95192 /* confdefs.h.  */
95193 _ACEOF
95194 cat confdefs.h >>conftest.$ac_ext
95195 cat >>conftest.$ac_ext <<_ACEOF
95196 /* end confdefs.h.  */
95197 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95198    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95199 #define $ac_func innocuous_$ac_func
95200
95201 /* System header to define __stub macros and hopefully few prototypes,
95202     which can conflict with char $ac_func (); below.
95203     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95204     <limits.h> exists even on freestanding compilers.  */
95205
95206 #ifdef __STDC__
95207 # include <limits.h>
95208 #else
95209 # include <assert.h>
95210 #endif
95211
95212 #undef $ac_func
95213
95214 /* Override any gcc2 internal prototype to avoid an error.  */
95215 #ifdef __cplusplus
95216 extern "C"
95217 {
95218 #endif
95219 /* We use char because int might match the return type of a gcc2
95220    builtin and then its argument prototype would still apply.  */
95221 char $ac_func ();
95222 /* The GNU C library defines this for functions which it implements
95223     to always fail with ENOSYS.  Some functions are actually named
95224     something starting with __ and the normal name is an alias.  */
95225 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95226 choke me
95227 #else
95228 char (*f) () = $ac_func;
95229 #endif
95230 #ifdef __cplusplus
95231 }
95232 #endif
95233
95234 int
95235 main ()
95236 {
95237 return f != $ac_func;
95238   ;
95239   return 0;
95240 }
95241 _ACEOF
95242 rm -f conftest.$ac_objext conftest$ac_exeext
95243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95244   (eval $ac_link) 2>conftest.er1
95245   ac_status=$?
95246   grep -v '^ *+' conftest.er1 >conftest.err
95247   rm -f conftest.er1
95248   cat conftest.err >&5
95249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95250   (exit $ac_status); } &&
95251          { ac_try='test -z "$ac_c_werror_flag"
95252                          || test ! -s conftest.err'
95253   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95254   (eval $ac_try) 2>&5
95255   ac_status=$?
95256   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95257   (exit $ac_status); }; } &&
95258          { ac_try='test -s conftest$ac_exeext'
95259   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95260   (eval $ac_try) 2>&5
95261   ac_status=$?
95262   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95263   (exit $ac_status); }; }; then
95264   eval "$as_ac_var=yes"
95265 else
95266   echo "$as_me: failed program was:" >&5
95267 sed 's/^/| /' conftest.$ac_ext >&5
95268
95269 eval "$as_ac_var=no"
95270 fi
95271 rm -f conftest.err conftest.$ac_objext \
95272       conftest$ac_exeext conftest.$ac_ext
95273 fi
95274 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95275 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95276 if test `eval echo '${'$as_ac_var'}'` = yes; then
95277   cat >>confdefs.h <<_ACEOF
95278 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95279 _ACEOF
95280  ac_XPG2funcs=yes
95281 else
95282   ac_XPG2funcs=no
95283 fi
95284 done
95285
95286
95287     LIBS="$ac_save_LIBS"
95288
95289     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
95290 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
95291     if test x"$ac_has_iconv_h" = xyes &&
95292        test x"$ac_has_langinfo_h" = xyes &&
95293        test x"$ac_XPG2funcs" = xyes;
95294     then
95295       ac_XPG2_wchar_t=yes
95296     else
95297       ac_XPG2_wchar_t=no
95298     fi
95299     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
95300 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
95301
95302     # At the moment, only enable wchar_t specializations if all the
95303     # above support is present.
95304     if test x"$ac_isoC99_wchar_t" = xyes &&
95305        test x"$ac_XPG2_wchar_t" = xyes;
95306     then
95307       cat >>confdefs.h <<\_ACEOF
95308 #define _GLIBCXX_USE_WCHAR_T 1
95309 _ACEOF
95310
95311       enable_wchar_t=yes
95312     fi
95313   fi
95314   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
95315 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
95316   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
95317 echo "${ECHO_T}$enable_wchar_t" >&6
95318
95319          # All of the dependencies for wide character support are here, so
95320          # turn it on.  This requires some syncronization with the
95321          # GLIBCXX_CHECK_WCHAR_T_SUPPORT in acinclude.m4
95322          cat >>confdefs.h <<\_ACEOF
95323 #define _GLIBCXX_USE_WCHAR_T 1
95324 _ACEOF
95325
95326          # Are these tested for even when cross?
95327          cat >>confdefs.h <<\_ACEOF
95328 #define HAVE_FLOAT_H 1
95329 _ACEOF
95330
95331          cat >>confdefs.h <<\_ACEOF
95332 #define HAVE_IEEEFP_H 1
95333 _ACEOF
95334
95335          cat >>confdefs.h <<\_ACEOF
95336 #define HAVE_INTTYPES_H 1
95337 _ACEOF
95338
95339          cat >>confdefs.h <<\_ACEOF
95340 #define HAVE_LOCALE_H 1
95341 _ACEOF
95342
95343          cat >>confdefs.h <<\_ACEOF
95344 #define HAVE_NAN_H 1
95345 _ACEOF
95346
95347          cat >>confdefs.h <<\_ACEOF
95348 #define HAVE_SYS_FILIO_H 1
95349 _ACEOF
95350
95351          cat >>confdefs.h <<\_ACEOF
95352 #define HAVE_SYS_IOCTL_H 1
95353 _ACEOF
95354
95355          cat >>confdefs.h <<\_ACEOF
95356 #define HAVE_SYS_ISA_DEFS_H 1
95357 _ACEOF
95358
95359          cat >>confdefs.h <<\_ACEOF
95360 #define HAVE_SYS_RESOURCE_H 1
95361 _ACEOF
95362
95363          cat >>confdefs.h <<\_ACEOF
95364 #define HAVE_SYS_TIME_H 1
95365 _ACEOF
95366
95367          cat >>confdefs.h <<\_ACEOF
95368 #define HAVE_SYS_TYPES_H 1
95369 _ACEOF
95370
95371          cat >>confdefs.h <<\_ACEOF
95372 #define HAVE_UNISTD_H 1
95373 _ACEOF
95374
95375          cat >>confdefs.h <<\_ACEOF
95376 #define HAVE_WCHAR_H 1
95377 _ACEOF
95378
95379          cat >>confdefs.h <<\_ACEOF
95380 #define HAVE_WCTYPE_H 1
95381 _ACEOF
95382
95383          cat >>confdefs.h <<\_ACEOF
95384 #define HAVE_LIBM 1
95385 _ACEOF
95386
95387         ;;
95388     esac
95389     case "$target" in
95390       sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
95391         # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
95392         cat >>confdefs.h <<\_ACEOF
95393 #define HAVE___BUILTIN_ABS 1
95394 _ACEOF
95395
95396         cat >>confdefs.h <<\_ACEOF
95397 #define HAVE___BUILTIN_LABS 1
95398 _ACEOF
95399
95400         cat >>confdefs.h <<\_ACEOF
95401 #define HAVE___BUILTIN_FABS 1
95402 _ACEOF
95403
95404         cat >>confdefs.h <<\_ACEOF
95405 #define HAVE___BUILTIN_FABSF 1
95406 _ACEOF
95407
95408         cat >>confdefs.h <<\_ACEOF
95409 #define HAVE___BUILTIN_FABSL 1
95410 _ACEOF
95411
95412         cat >>confdefs.h <<\_ACEOF
95413 #define HAVE___BUILTIN_COS 1
95414 _ACEOF
95415
95416         cat >>confdefs.h <<\_ACEOF
95417 #define HAVE___BUILTIN_COSF 1
95418 _ACEOF
95419
95420         cat >>confdefs.h <<\_ACEOF
95421 #define HAVE___BUILTIN_SIN 1
95422 _ACEOF
95423
95424         cat >>confdefs.h <<\_ACEOF
95425 #define HAVE___BUILTIN_SINF 1
95426 _ACEOF
95427
95428        ;;
95429     esac
95430     case "$target" in
95431       *-*-solaris2.10)
95432       # These two C99 functions are present only in Solaris >= 10
95433       cat >>confdefs.h <<\_ACEOF
95434 #define HAVE_STRTOF 1
95435 _ACEOF
95436
95437       cat >>confdefs.h <<\_ACEOF
95438 #define HAVE_STRTOLD 1
95439 _ACEOF
95440
95441      ;;
95442     esac
95443     cat >>confdefs.h <<\_ACEOF
95444 #define HAVE_MMAP 1
95445 _ACEOF
95446
95447     cat >>confdefs.h <<\_ACEOF
95448 #define HAVE_COPYSIGN 1
95449 _ACEOF
95450
95451     cat >>confdefs.h <<\_ACEOF
95452 #define HAVE_ISNAN 1
95453 _ACEOF
95454
95455     cat >>confdefs.h <<\_ACEOF
95456 #define HAVE_ISNANF 1
95457 _ACEOF
95458
95459     cat >>confdefs.h <<\_ACEOF
95460 #define HAVE_MODFF 1
95461 _ACEOF
95462
95463     cat >>confdefs.h <<\_ACEOF
95464 #define HAVE_HYPOT 1
95465 _ACEOF
95466
95467     ;;
95468   *-tpf)
95469
95470
95471
95472
95473
95474
95475
95476
95477 for ac_header in nan.h endian.h machine/endian.h  \
95478       sys/param.h sys/types.h locale.h float.h inttypes.h
95479 do
95480 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
95481 if eval "test \"\${$as_ac_Header+set}\" = set"; then
95482   echo "$as_me:$LINENO: checking for $ac_header" >&5
95483 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
95484 if eval "test \"\${$as_ac_Header+set}\" = set"; then
95485   echo $ECHO_N "(cached) $ECHO_C" >&6
95486 fi
95487 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
95488 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
95489 else
95490   # Is the header compilable?
95491 echo "$as_me:$LINENO: checking $ac_header usability" >&5
95492 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
95493 cat >conftest.$ac_ext <<_ACEOF
95494 /* confdefs.h.  */
95495 _ACEOF
95496 cat confdefs.h >>conftest.$ac_ext
95497 cat >>conftest.$ac_ext <<_ACEOF
95498 /* end confdefs.h.  */
95499 $ac_includes_default
95500 #include <$ac_header>
95501 _ACEOF
95502 rm -f conftest.$ac_objext
95503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95504   (eval $ac_compile) 2>conftest.er1
95505   ac_status=$?
95506   grep -v '^ *+' conftest.er1 >conftest.err
95507   rm -f conftest.er1
95508   cat conftest.err >&5
95509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95510   (exit $ac_status); } &&
95511          { ac_try='test -z "$ac_c_werror_flag"
95512                          || test ! -s conftest.err'
95513   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95514   (eval $ac_try) 2>&5
95515   ac_status=$?
95516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95517   (exit $ac_status); }; } &&
95518          { ac_try='test -s conftest.$ac_objext'
95519   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95520   (eval $ac_try) 2>&5
95521   ac_status=$?
95522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95523   (exit $ac_status); }; }; then
95524   ac_header_compiler=yes
95525 else
95526   echo "$as_me: failed program was:" >&5
95527 sed 's/^/| /' conftest.$ac_ext >&5
95528
95529 ac_header_compiler=no
95530 fi
95531 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95532 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
95533 echo "${ECHO_T}$ac_header_compiler" >&6
95534
95535 # Is the header present?
95536 echo "$as_me:$LINENO: checking $ac_header presence" >&5
95537 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
95538 cat >conftest.$ac_ext <<_ACEOF
95539 /* confdefs.h.  */
95540 _ACEOF
95541 cat confdefs.h >>conftest.$ac_ext
95542 cat >>conftest.$ac_ext <<_ACEOF
95543 /* end confdefs.h.  */
95544 #include <$ac_header>
95545 _ACEOF
95546 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
95547   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
95548   ac_status=$?
95549   grep -v '^ *+' conftest.er1 >conftest.err
95550   rm -f conftest.er1
95551   cat conftest.err >&5
95552   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95553   (exit $ac_status); } >/dev/null; then
95554   if test -s conftest.err; then
95555     ac_cpp_err=$ac_c_preproc_warn_flag
95556     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
95557   else
95558     ac_cpp_err=
95559   fi
95560 else
95561   ac_cpp_err=yes
95562 fi
95563 if test -z "$ac_cpp_err"; then
95564   ac_header_preproc=yes
95565 else
95566   echo "$as_me: failed program was:" >&5
95567 sed 's/^/| /' conftest.$ac_ext >&5
95568
95569   ac_header_preproc=no
95570 fi
95571 rm -f conftest.err conftest.$ac_ext
95572 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
95573 echo "${ECHO_T}$ac_header_preproc" >&6
95574
95575 # So?  What about this header?
95576 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
95577   yes:no: )
95578     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
95579 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
95580     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
95581 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
95582     ac_header_preproc=yes
95583     ;;
95584   no:yes:* )
95585     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
95586 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
95587     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
95588 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
95589     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
95590 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
95591     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
95592 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
95593     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
95594 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
95595     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
95596 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
95597     (
95598       cat <<\_ASBOX
95599 ## ----------------------------------------- ##
95600 ## Report this to the package-unused lists.  ##
95601 ## ----------------------------------------- ##
95602 _ASBOX
95603     ) |
95604       sed "s/^/$as_me: WARNING:     /" >&2
95605     ;;
95606 esac
95607 echo "$as_me:$LINENO: checking for $ac_header" >&5
95608 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
95609 if eval "test \"\${$as_ac_Header+set}\" = set"; then
95610   echo $ECHO_N "(cached) $ECHO_C" >&6
95611 else
95612   eval "$as_ac_Header=\$ac_header_preproc"
95613 fi
95614 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
95615 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
95616
95617 fi
95618 if test `eval echo '${'$as_ac_Header'}'` = yes; then
95619   cat >>confdefs.h <<_ACEOF
95620 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
95621 _ACEOF
95622
95623 fi
95624
95625 done
95626
95627     SECTION_FLAGS='-ffunction-sections -fdata-sections'
95628
95629
95630   # If we're not using GNU ld, then there's no point in even trying these
95631   # tests.  Check for that first.  We should have already tested for gld
95632   # by now (in libtool), but require it now just to be safe...
95633   test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
95634   test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
95635
95636
95637
95638   # The name set by libtool depends on the version of libtool.  Shame on us
95639   # for depending on an impl detail, but c'est la vie.  Older versions used
95640   # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
95641   # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
95642   # makes sense).  We'll test with_gnu_ld everywhere else, so if that isn't
95643   # set (hence we're using an older libtool), then set it.
95644   if test x${with_gnu_ld+set} != xset; then
95645     if test x${ac_cv_prog_gnu_ld+set} != xset; then
95646       # We got through "ac_require(ac_prog_ld)" and still not set?  Huh?
95647       with_gnu_ld=no
95648     else
95649       with_gnu_ld=$ac_cv_prog_gnu_ld
95650     fi
95651   fi
95652
95653   # Start by getting the version number.  I think the libtool test already
95654   # does some of this, but throws away the result.
95655
95656   ldver=`$LD --version 2>/dev/null | head -1 | \
95657          sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
95658
95659   glibcxx_gnu_ld_version=`echo $ldver | \
95660          $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
95661
95662   # Set --gc-sections.
95663   if test "$with_gnu_ld" = "notbroken"; then
95664     # GNU ld it is!  Joy and bunny rabbits!
95665
95666     # All these tests are for C++; save the language and the compiler flags.
95667     # Need to do this so that g++ won't try to link in libstdc++
95668     ac_test_CFLAGS="${CFLAGS+set}"
95669     ac_save_CFLAGS="$CFLAGS"
95670     CFLAGS='-x c++  -Wl,--gc-sections'
95671
95672     # Check for -Wl,--gc-sections
95673     # XXX This test is broken at the moment, as symbols required for linking
95674     # are now in libsupc++ (not built yet).  In addition, this test has
95675     # cored on solaris in the past.  In addition, --gc-sections doesn't
95676     # really work at the moment (keeps on discarding used sections, first
95677     # .eh_frame and now some of the glibc sections for iconv).
95678     # Bzzzzt.  Thanks for playing, maybe next time.
95679     echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
95680 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
95681     if test "$cross_compiling" = yes; then
95682   ac_sectionLDflags=yes
95683 else
95684   cat >conftest.$ac_ext <<_ACEOF
95685 /* confdefs.h.  */
95686 _ACEOF
95687 cat confdefs.h >>conftest.$ac_ext
95688 cat >>conftest.$ac_ext <<_ACEOF
95689 /* end confdefs.h.  */
95690
95691      int main(void)
95692      {
95693        try { throw 1; }
95694        catch (...) { };
95695        return 0;
95696      }
95697
95698 _ACEOF
95699 rm -f conftest$ac_exeext
95700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95701   (eval $ac_link) 2>&5
95702   ac_status=$?
95703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95704   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
95705   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95706   (eval $ac_try) 2>&5
95707   ac_status=$?
95708   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95709   (exit $ac_status); }; }; then
95710   ac_sectionLDflags=yes
95711 else
95712   echo "$as_me: program exited with status $ac_status" >&5
95713 echo "$as_me: failed program was:" >&5
95714 sed 's/^/| /' conftest.$ac_ext >&5
95715
95716 ( exit $ac_status )
95717 ac_sectionLDflags=no
95718 fi
95719 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
95720 fi
95721     if test "$ac_test_CFLAGS" = set; then
95722       CFLAGS="$ac_save_CFLAGS"
95723     else
95724       # this is the suspicious part
95725       CFLAGS=''
95726     fi
95727     if test "$ac_sectionLDflags" = "yes"; then
95728       SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
95729     fi
95730     echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
95731 echo "${ECHO_T}$ac_sectionLDflags" >&6
95732   fi
95733
95734   # Set linker optimization flags.
95735   if test x"$with_gnu_ld" = x"yes"; then
95736     OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
95737   fi
95738
95739
95740
95741
95742
95743
95744 echo "$as_me:$LINENO: checking for main in -lm" >&5
95745 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
95746 if test "${ac_cv_lib_m_main+set}" = set; then
95747   echo $ECHO_N "(cached) $ECHO_C" >&6
95748 else
95749   ac_check_lib_save_LIBS=$LIBS
95750 LIBS="-lm  $LIBS"
95751 if test x$gcc_no_link = xyes; then
95752   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95753 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95754    { (exit 1); exit 1; }; }
95755 fi
95756 cat >conftest.$ac_ext <<_ACEOF
95757 /* confdefs.h.  */
95758 _ACEOF
95759 cat confdefs.h >>conftest.$ac_ext
95760 cat >>conftest.$ac_ext <<_ACEOF
95761 /* end confdefs.h.  */
95762
95763
95764 int
95765 main ()
95766 {
95767 main ();
95768   ;
95769   return 0;
95770 }
95771 _ACEOF
95772 rm -f conftest.$ac_objext conftest$ac_exeext
95773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95774   (eval $ac_link) 2>conftest.er1
95775   ac_status=$?
95776   grep -v '^ *+' conftest.er1 >conftest.err
95777   rm -f conftest.er1
95778   cat conftest.err >&5
95779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95780   (exit $ac_status); } &&
95781          { ac_try='test -z "$ac_c_werror_flag"
95782                          || test ! -s conftest.err'
95783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95784   (eval $ac_try) 2>&5
95785   ac_status=$?
95786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95787   (exit $ac_status); }; } &&
95788          { ac_try='test -s conftest$ac_exeext'
95789   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95790   (eval $ac_try) 2>&5
95791   ac_status=$?
95792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95793   (exit $ac_status); }; }; then
95794   ac_cv_lib_m_main=yes
95795 else
95796   echo "$as_me: failed program was:" >&5
95797 sed 's/^/| /' conftest.$ac_ext >&5
95798
95799 ac_cv_lib_m_main=no
95800 fi
95801 rm -f conftest.err conftest.$ac_objext \
95802       conftest$ac_exeext conftest.$ac_ext
95803 LIBS=$ac_check_lib_save_LIBS
95804 fi
95805 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
95806 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
95807 if test $ac_cv_lib_m_main = yes; then
95808   cat >>confdefs.h <<_ACEOF
95809 #define HAVE_LIBM 1
95810 _ACEOF
95811
95812   LIBS="-lm $LIBS"
95813
95814 fi
95815
95816
95817 for ac_func in copysignf
95818 do
95819 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95820 echo "$as_me:$LINENO: checking for $ac_func" >&5
95821 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95822 if eval "test \"\${$as_ac_var+set}\" = set"; then
95823   echo $ECHO_N "(cached) $ECHO_C" >&6
95824 else
95825   if test x$gcc_no_link = xyes; then
95826   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95827 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95828    { (exit 1); exit 1; }; }
95829 fi
95830 cat >conftest.$ac_ext <<_ACEOF
95831 /* confdefs.h.  */
95832 _ACEOF
95833 cat confdefs.h >>conftest.$ac_ext
95834 cat >>conftest.$ac_ext <<_ACEOF
95835 /* end confdefs.h.  */
95836 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95837    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95838 #define $ac_func innocuous_$ac_func
95839
95840 /* System header to define __stub macros and hopefully few prototypes,
95841     which can conflict with char $ac_func (); below.
95842     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95843     <limits.h> exists even on freestanding compilers.  */
95844
95845 #ifdef __STDC__
95846 # include <limits.h>
95847 #else
95848 # include <assert.h>
95849 #endif
95850
95851 #undef $ac_func
95852
95853 /* Override any gcc2 internal prototype to avoid an error.  */
95854 #ifdef __cplusplus
95855 extern "C"
95856 {
95857 #endif
95858 /* We use char because int might match the return type of a gcc2
95859    builtin and then its argument prototype would still apply.  */
95860 char $ac_func ();
95861 /* The GNU C library defines this for functions which it implements
95862     to always fail with ENOSYS.  Some functions are actually named
95863     something starting with __ and the normal name is an alias.  */
95864 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95865 choke me
95866 #else
95867 char (*f) () = $ac_func;
95868 #endif
95869 #ifdef __cplusplus
95870 }
95871 #endif
95872
95873 int
95874 main ()
95875 {
95876 return f != $ac_func;
95877   ;
95878   return 0;
95879 }
95880 _ACEOF
95881 rm -f conftest.$ac_objext conftest$ac_exeext
95882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95883   (eval $ac_link) 2>conftest.er1
95884   ac_status=$?
95885   grep -v '^ *+' conftest.er1 >conftest.err
95886   rm -f conftest.er1
95887   cat conftest.err >&5
95888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95889   (exit $ac_status); } &&
95890          { ac_try='test -z "$ac_c_werror_flag"
95891                          || test ! -s conftest.err'
95892   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95893   (eval $ac_try) 2>&5
95894   ac_status=$?
95895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95896   (exit $ac_status); }; } &&
95897          { ac_try='test -s conftest$ac_exeext'
95898   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95899   (eval $ac_try) 2>&5
95900   ac_status=$?
95901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95902   (exit $ac_status); }; }; then
95903   eval "$as_ac_var=yes"
95904 else
95905   echo "$as_me: failed program was:" >&5
95906 sed 's/^/| /' conftest.$ac_ext >&5
95907
95908 eval "$as_ac_var=no"
95909 fi
95910 rm -f conftest.err conftest.$ac_objext \
95911       conftest$ac_exeext conftest.$ac_ext
95912 fi
95913 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95914 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95915 if test `eval echo '${'$as_ac_var'}'` = yes; then
95916   cat >>confdefs.h <<_ACEOF
95917 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95918 _ACEOF
95919
95920 else
95921   LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
95922 fi
95923 done
95924
95925
95926
95927 for ac_func in __signbit
95928 do
95929 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95930 echo "$as_me:$LINENO: checking for $ac_func" >&5
95931 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95932 if eval "test \"\${$as_ac_var+set}\" = set"; then
95933   echo $ECHO_N "(cached) $ECHO_C" >&6
95934 else
95935   if test x$gcc_no_link = xyes; then
95936   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95937 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95938    { (exit 1); exit 1; }; }
95939 fi
95940 cat >conftest.$ac_ext <<_ACEOF
95941 /* confdefs.h.  */
95942 _ACEOF
95943 cat confdefs.h >>conftest.$ac_ext
95944 cat >>conftest.$ac_ext <<_ACEOF
95945 /* end confdefs.h.  */
95946 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95947    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
95948 #define $ac_func innocuous_$ac_func
95949
95950 /* System header to define __stub macros and hopefully few prototypes,
95951     which can conflict with char $ac_func (); below.
95952     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95953     <limits.h> exists even on freestanding compilers.  */
95954
95955 #ifdef __STDC__
95956 # include <limits.h>
95957 #else
95958 # include <assert.h>
95959 #endif
95960
95961 #undef $ac_func
95962
95963 /* Override any gcc2 internal prototype to avoid an error.  */
95964 #ifdef __cplusplus
95965 extern "C"
95966 {
95967 #endif
95968 /* We use char because int might match the return type of a gcc2
95969    builtin and then its argument prototype would still apply.  */
95970 char $ac_func ();
95971 /* The GNU C library defines this for functions which it implements
95972     to always fail with ENOSYS.  Some functions are actually named
95973     something starting with __ and the normal name is an alias.  */
95974 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95975 choke me
95976 #else
95977 char (*f) () = $ac_func;
95978 #endif
95979 #ifdef __cplusplus
95980 }
95981 #endif
95982
95983 int
95984 main ()
95985 {
95986 return f != $ac_func;
95987   ;
95988   return 0;
95989 }
95990 _ACEOF
95991 rm -f conftest.$ac_objext conftest$ac_exeext
95992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95993   (eval $ac_link) 2>conftest.er1
95994   ac_status=$?
95995   grep -v '^ *+' conftest.er1 >conftest.err
95996   rm -f conftest.er1
95997   cat conftest.err >&5
95998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
95999   (exit $ac_status); } &&
96000          { ac_try='test -z "$ac_c_werror_flag"
96001                          || test ! -s conftest.err'
96002   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96003   (eval $ac_try) 2>&5
96004   ac_status=$?
96005   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96006   (exit $ac_status); }; } &&
96007          { ac_try='test -s conftest$ac_exeext'
96008   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96009   (eval $ac_try) 2>&5
96010   ac_status=$?
96011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96012   (exit $ac_status); }; }; then
96013   eval "$as_ac_var=yes"
96014 else
96015   echo "$as_me: failed program was:" >&5
96016 sed 's/^/| /' conftest.$ac_ext >&5
96017
96018 eval "$as_ac_var=no"
96019 fi
96020 rm -f conftest.err conftest.$ac_objext \
96021       conftest$ac_exeext conftest.$ac_ext
96022 fi
96023 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96024 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96025 if test `eval echo '${'$as_ac_var'}'` = yes; then
96026   cat >>confdefs.h <<_ACEOF
96027 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96028 _ACEOF
96029
96030 else
96031   LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
96032 fi
96033 done
96034
96035
96036
96037 for ac_func in __signbitf
96038 do
96039 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96040 echo "$as_me:$LINENO: checking for $ac_func" >&5
96041 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96042 if eval "test \"\${$as_ac_var+set}\" = set"; then
96043   echo $ECHO_N "(cached) $ECHO_C" >&6
96044 else
96045   if test x$gcc_no_link = xyes; then
96046   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96047 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96048    { (exit 1); exit 1; }; }
96049 fi
96050 cat >conftest.$ac_ext <<_ACEOF
96051 /* confdefs.h.  */
96052 _ACEOF
96053 cat confdefs.h >>conftest.$ac_ext
96054 cat >>conftest.$ac_ext <<_ACEOF
96055 /* end confdefs.h.  */
96056 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96057    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
96058 #define $ac_func innocuous_$ac_func
96059
96060 /* System header to define __stub macros and hopefully few prototypes,
96061     which can conflict with char $ac_func (); below.
96062     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96063     <limits.h> exists even on freestanding compilers.  */
96064
96065 #ifdef __STDC__
96066 # include <limits.h>
96067 #else
96068 # include <assert.h>
96069 #endif
96070
96071 #undef $ac_func
96072
96073 /* Override any gcc2 internal prototype to avoid an error.  */
96074 #ifdef __cplusplus
96075 extern "C"
96076 {
96077 #endif
96078 /* We use char because int might match the return type of a gcc2
96079    builtin and then its argument prototype would still apply.  */
96080 char $ac_func ();
96081 /* The GNU C library defines this for functions which it implements
96082     to always fail with ENOSYS.  Some functions are actually named
96083     something starting with __ and the normal name is an alias.  */
96084 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96085 choke me
96086 #else
96087 char (*f) () = $ac_func;
96088 #endif
96089 #ifdef __cplusplus
96090 }
96091 #endif
96092
96093 int
96094 main ()
96095 {
96096 return f != $ac_func;
96097   ;
96098   return 0;
96099 }
96100 _ACEOF
96101 rm -f conftest.$ac_objext conftest$ac_exeext
96102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96103   (eval $ac_link) 2>conftest.er1
96104   ac_status=$?
96105   grep -v '^ *+' conftest.er1 >conftest.err
96106   rm -f conftest.er1
96107   cat conftest.err >&5
96108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96109   (exit $ac_status); } &&
96110          { ac_try='test -z "$ac_c_werror_flag"
96111                          || test ! -s conftest.err'
96112   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96113   (eval $ac_try) 2>&5
96114   ac_status=$?
96115   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96116   (exit $ac_status); }; } &&
96117          { ac_try='test -s conftest$ac_exeext'
96118   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96119   (eval $ac_try) 2>&5
96120   ac_status=$?
96121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96122   (exit $ac_status); }; }; then
96123   eval "$as_ac_var=yes"
96124 else
96125   echo "$as_me: failed program was:" >&5
96126 sed 's/^/| /' conftest.$ac_ext >&5
96127
96128 eval "$as_ac_var=no"
96129 fi
96130 rm -f conftest.err conftest.$ac_objext \
96131       conftest$ac_exeext conftest.$ac_ext
96132 fi
96133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96134 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96135 if test `eval echo '${'$as_ac_var'}'` = yes; then
96136   cat >>confdefs.h <<_ACEOF
96137 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96138 _ACEOF
96139
96140 else
96141   LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
96142 fi
96143 done
96144
96145
96146           if test x$ac_cv_func_copysignl = x"yes"; then
96147
96148 for ac_func in __signbitl
96149 do
96150 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96151 echo "$as_me:$LINENO: checking for $ac_func" >&5
96152 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96153 if eval "test \"\${$as_ac_var+set}\" = set"; then
96154   echo $ECHO_N "(cached) $ECHO_C" >&6
96155 else
96156   if test x$gcc_no_link = xyes; then
96157   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96158 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96159    { (exit 1); exit 1; }; }
96160 fi
96161 cat >conftest.$ac_ext <<_ACEOF
96162 /* confdefs.h.  */
96163 _ACEOF
96164 cat confdefs.h >>conftest.$ac_ext
96165 cat >>conftest.$ac_ext <<_ACEOF
96166 /* end confdefs.h.  */
96167 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96168    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
96169 #define $ac_func innocuous_$ac_func
96170
96171 /* System header to define __stub macros and hopefully few prototypes,
96172     which can conflict with char $ac_func (); below.
96173     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96174     <limits.h> exists even on freestanding compilers.  */
96175
96176 #ifdef __STDC__
96177 # include <limits.h>
96178 #else
96179 # include <assert.h>
96180 #endif
96181
96182 #undef $ac_func
96183
96184 /* Override any gcc2 internal prototype to avoid an error.  */
96185 #ifdef __cplusplus
96186 extern "C"
96187 {
96188 #endif
96189 /* We use char because int might match the return type of a gcc2
96190    builtin and then its argument prototype would still apply.  */
96191 char $ac_func ();
96192 /* The GNU C library defines this for functions which it implements
96193     to always fail with ENOSYS.  Some functions are actually named
96194     something starting with __ and the normal name is an alias.  */
96195 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96196 choke me
96197 #else
96198 char (*f) () = $ac_func;
96199 #endif
96200 #ifdef __cplusplus
96201 }
96202 #endif
96203
96204 int
96205 main ()
96206 {
96207 return f != $ac_func;
96208   ;
96209   return 0;
96210 }
96211 _ACEOF
96212 rm -f conftest.$ac_objext conftest$ac_exeext
96213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96214   (eval $ac_link) 2>conftest.er1
96215   ac_status=$?
96216   grep -v '^ *+' conftest.er1 >conftest.err
96217   rm -f conftest.er1
96218   cat conftest.err >&5
96219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96220   (exit $ac_status); } &&
96221          { ac_try='test -z "$ac_c_werror_flag"
96222                          || test ! -s conftest.err'
96223   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96224   (eval $ac_try) 2>&5
96225   ac_status=$?
96226   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96227   (exit $ac_status); }; } &&
96228          { ac_try='test -s conftest$ac_exeext'
96229   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96230   (eval $ac_try) 2>&5
96231   ac_status=$?
96232   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96233   (exit $ac_status); }; }; then
96234   eval "$as_ac_var=yes"
96235 else
96236   echo "$as_me: failed program was:" >&5
96237 sed 's/^/| /' conftest.$ac_ext >&5
96238
96239 eval "$as_ac_var=no"
96240 fi
96241 rm -f conftest.err conftest.$ac_objext \
96242       conftest$ac_exeext conftest.$ac_ext
96243 fi
96244 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96245 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96246 if test `eval echo '${'$as_ac_var'}'` = yes; then
96247   cat >>confdefs.h <<_ACEOF
96248 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96249 _ACEOF
96250
96251 else
96252   LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
96253 fi
96254 done
96255
96256   fi
96257
96258   # Used in libmath/Makefile.am.
96259   if test -n "$LIBMATHOBJS"; then
96260     need_libmath=yes
96261   fi
96262
96263
96264
96265   # Test wchar.h for mbstate_t, which is needed for char_traits and
96266   # others even if wchar_t support is not on.
96267   echo "$as_me:$LINENO: checking for mbstate_t" >&5
96268 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
96269   cat >conftest.$ac_ext <<_ACEOF
96270 /* confdefs.h.  */
96271 _ACEOF
96272 cat confdefs.h >>conftest.$ac_ext
96273 cat >>conftest.$ac_ext <<_ACEOF
96274 /* end confdefs.h.  */
96275 #include <wchar.h>
96276 int
96277 main ()
96278 {
96279 mbstate_t teststate;
96280   ;
96281   return 0;
96282 }
96283 _ACEOF
96284 rm -f conftest.$ac_objext
96285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96286   (eval $ac_compile) 2>conftest.er1
96287   ac_status=$?
96288   grep -v '^ *+' conftest.er1 >conftest.err
96289   rm -f conftest.er1
96290   cat conftest.err >&5
96291   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96292   (exit $ac_status); } &&
96293          { ac_try='test -z "$ac_c_werror_flag"
96294                          || test ! -s conftest.err'
96295   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96296   (eval $ac_try) 2>&5
96297   ac_status=$?
96298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96299   (exit $ac_status); }; } &&
96300          { ac_try='test -s conftest.$ac_objext'
96301   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96302   (eval $ac_try) 2>&5
96303   ac_status=$?
96304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96305   (exit $ac_status); }; }; then
96306   have_mbstate_t=yes
96307 else
96308   echo "$as_me: failed program was:" >&5
96309 sed 's/^/| /' conftest.$ac_ext >&5
96310
96311 have_mbstate_t=no
96312 fi
96313 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96314   echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
96315 echo "${ECHO_T}$have_mbstate_t" >&6
96316   if test x"$have_mbstate_t" = xyes; then
96317     cat >>confdefs.h <<\_ACEOF
96318 #define HAVE_MBSTATE_T 1
96319 _ACEOF
96320
96321   fi
96322
96323   # Sanity check for existence of ISO C99 headers for extended encoding.
96324
96325 for ac_header in wchar.h
96326 do
96327 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
96328 if eval "test \"\${$as_ac_Header+set}\" = set"; then
96329   echo "$as_me:$LINENO: checking for $ac_header" >&5
96330 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
96331 if eval "test \"\${$as_ac_Header+set}\" = set"; then
96332   echo $ECHO_N "(cached) $ECHO_C" >&6
96333 fi
96334 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
96335 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
96336 else
96337   # Is the header compilable?
96338 echo "$as_me:$LINENO: checking $ac_header usability" >&5
96339 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
96340 cat >conftest.$ac_ext <<_ACEOF
96341 /* confdefs.h.  */
96342 _ACEOF
96343 cat confdefs.h >>conftest.$ac_ext
96344 cat >>conftest.$ac_ext <<_ACEOF
96345 /* end confdefs.h.  */
96346 $ac_includes_default
96347 #include <$ac_header>
96348 _ACEOF
96349 rm -f conftest.$ac_objext
96350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96351   (eval $ac_compile) 2>conftest.er1
96352   ac_status=$?
96353   grep -v '^ *+' conftest.er1 >conftest.err
96354   rm -f conftest.er1
96355   cat conftest.err >&5
96356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96357   (exit $ac_status); } &&
96358          { ac_try='test -z "$ac_c_werror_flag"
96359                          || test ! -s conftest.err'
96360   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96361   (eval $ac_try) 2>&5
96362   ac_status=$?
96363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96364   (exit $ac_status); }; } &&
96365          { ac_try='test -s conftest.$ac_objext'
96366   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96367   (eval $ac_try) 2>&5
96368   ac_status=$?
96369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96370   (exit $ac_status); }; }; then
96371   ac_header_compiler=yes
96372 else
96373   echo "$as_me: failed program was:" >&5
96374 sed 's/^/| /' conftest.$ac_ext >&5
96375
96376 ac_header_compiler=no
96377 fi
96378 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96379 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
96380 echo "${ECHO_T}$ac_header_compiler" >&6
96381
96382 # Is the header present?
96383 echo "$as_me:$LINENO: checking $ac_header presence" >&5
96384 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
96385 cat >conftest.$ac_ext <<_ACEOF
96386 /* confdefs.h.  */
96387 _ACEOF
96388 cat confdefs.h >>conftest.$ac_ext
96389 cat >>conftest.$ac_ext <<_ACEOF
96390 /* end confdefs.h.  */
96391 #include <$ac_header>
96392 _ACEOF
96393 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
96394   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
96395   ac_status=$?
96396   grep -v '^ *+' conftest.er1 >conftest.err
96397   rm -f conftest.er1
96398   cat conftest.err >&5
96399   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96400   (exit $ac_status); } >/dev/null; then
96401   if test -s conftest.err; then
96402     ac_cpp_err=$ac_c_preproc_warn_flag
96403     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
96404   else
96405     ac_cpp_err=
96406   fi
96407 else
96408   ac_cpp_err=yes
96409 fi
96410 if test -z "$ac_cpp_err"; then
96411   ac_header_preproc=yes
96412 else
96413   echo "$as_me: failed program was:" >&5
96414 sed 's/^/| /' conftest.$ac_ext >&5
96415
96416   ac_header_preproc=no
96417 fi
96418 rm -f conftest.err conftest.$ac_ext
96419 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
96420 echo "${ECHO_T}$ac_header_preproc" >&6
96421
96422 # So?  What about this header?
96423 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
96424   yes:no: )
96425     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
96426 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
96427     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
96428 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
96429     ac_header_preproc=yes
96430     ;;
96431   no:yes:* )
96432     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
96433 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
96434     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
96435 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
96436     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
96437 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
96438     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
96439 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
96440     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
96441 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
96442     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
96443 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
96444     (
96445       cat <<\_ASBOX
96446 ## ----------------------------------------- ##
96447 ## Report this to the package-unused lists.  ##
96448 ## ----------------------------------------- ##
96449 _ASBOX
96450     ) |
96451       sed "s/^/$as_me: WARNING:     /" >&2
96452     ;;
96453 esac
96454 echo "$as_me:$LINENO: checking for $ac_header" >&5
96455 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
96456 if eval "test \"\${$as_ac_Header+set}\" = set"; then
96457   echo $ECHO_N "(cached) $ECHO_C" >&6
96458 else
96459   eval "$as_ac_Header=\$ac_header_preproc"
96460 fi
96461 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
96462 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
96463
96464 fi
96465 if test `eval echo '${'$as_ac_Header'}'` = yes; then
96466   cat >>confdefs.h <<_ACEOF
96467 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
96468 _ACEOF
96469  ac_has_wchar_h=yes
96470 else
96471   ac_has_wchar_h=no
96472 fi
96473
96474 done
96475
96476
96477 for ac_header in wctype.h
96478 do
96479 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
96480 if eval "test \"\${$as_ac_Header+set}\" = set"; then
96481   echo "$as_me:$LINENO: checking for $ac_header" >&5
96482 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
96483 if eval "test \"\${$as_ac_Header+set}\" = set"; then
96484   echo $ECHO_N "(cached) $ECHO_C" >&6
96485 fi
96486 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
96487 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
96488 else
96489   # Is the header compilable?
96490 echo "$as_me:$LINENO: checking $ac_header usability" >&5
96491 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
96492 cat >conftest.$ac_ext <<_ACEOF
96493 /* confdefs.h.  */
96494 _ACEOF
96495 cat confdefs.h >>conftest.$ac_ext
96496 cat >>conftest.$ac_ext <<_ACEOF
96497 /* end confdefs.h.  */
96498 $ac_includes_default
96499 #include <$ac_header>
96500 _ACEOF
96501 rm -f conftest.$ac_objext
96502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96503   (eval $ac_compile) 2>conftest.er1
96504   ac_status=$?
96505   grep -v '^ *+' conftest.er1 >conftest.err
96506   rm -f conftest.er1
96507   cat conftest.err >&5
96508   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96509   (exit $ac_status); } &&
96510          { ac_try='test -z "$ac_c_werror_flag"
96511                          || test ! -s conftest.err'
96512   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96513   (eval $ac_try) 2>&5
96514   ac_status=$?
96515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96516   (exit $ac_status); }; } &&
96517          { ac_try='test -s conftest.$ac_objext'
96518   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96519   (eval $ac_try) 2>&5
96520   ac_status=$?
96521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96522   (exit $ac_status); }; }; then
96523   ac_header_compiler=yes
96524 else
96525   echo "$as_me: failed program was:" >&5
96526 sed 's/^/| /' conftest.$ac_ext >&5
96527
96528 ac_header_compiler=no
96529 fi
96530 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96531 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
96532 echo "${ECHO_T}$ac_header_compiler" >&6
96533
96534 # Is the header present?
96535 echo "$as_me:$LINENO: checking $ac_header presence" >&5
96536 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
96537 cat >conftest.$ac_ext <<_ACEOF
96538 /* confdefs.h.  */
96539 _ACEOF
96540 cat confdefs.h >>conftest.$ac_ext
96541 cat >>conftest.$ac_ext <<_ACEOF
96542 /* end confdefs.h.  */
96543 #include <$ac_header>
96544 _ACEOF
96545 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
96546   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
96547   ac_status=$?
96548   grep -v '^ *+' conftest.er1 >conftest.err
96549   rm -f conftest.er1
96550   cat conftest.err >&5
96551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96552   (exit $ac_status); } >/dev/null; then
96553   if test -s conftest.err; then
96554     ac_cpp_err=$ac_c_preproc_warn_flag
96555     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
96556   else
96557     ac_cpp_err=
96558   fi
96559 else
96560   ac_cpp_err=yes
96561 fi
96562 if test -z "$ac_cpp_err"; then
96563   ac_header_preproc=yes
96564 else
96565   echo "$as_me: failed program was:" >&5
96566 sed 's/^/| /' conftest.$ac_ext >&5
96567
96568   ac_header_preproc=no
96569 fi
96570 rm -f conftest.err conftest.$ac_ext
96571 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
96572 echo "${ECHO_T}$ac_header_preproc" >&6
96573
96574 # So?  What about this header?
96575 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
96576   yes:no: )
96577     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
96578 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
96579     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
96580 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
96581     ac_header_preproc=yes
96582     ;;
96583   no:yes:* )
96584     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
96585 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
96586     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
96587 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
96588     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
96589 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
96590     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
96591 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
96592     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
96593 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
96594     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
96595 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
96596     (
96597       cat <<\_ASBOX
96598 ## ----------------------------------------- ##
96599 ## Report this to the package-unused lists.  ##
96600 ## ----------------------------------------- ##
96601 _ASBOX
96602     ) |
96603       sed "s/^/$as_me: WARNING:     /" >&2
96604     ;;
96605 esac
96606 echo "$as_me:$LINENO: checking for $ac_header" >&5
96607 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
96608 if eval "test \"\${$as_ac_Header+set}\" = set"; then
96609   echo $ECHO_N "(cached) $ECHO_C" >&6
96610 else
96611   eval "$as_ac_Header=\$ac_header_preproc"
96612 fi
96613 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
96614 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
96615
96616 fi
96617 if test `eval echo '${'$as_ac_Header'}'` = yes; then
96618   cat >>confdefs.h <<_ACEOF
96619 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
96620 _ACEOF
96621  ac_has_wctype_h=yes
96622 else
96623   ac_has_wctype_h=no
96624 fi
96625
96626 done
96627
96628
96629   # Only continue checking if the ISO C99 headers exist and support is on.
96630   if test x"$ac_has_wchar_h" = xyes &&
96631      test x"$ac_has_wctype_h" = xyes &&
96632      test x"$enable_c_mbchar" != xno; then
96633
96634     # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
96635     # numeric_limits can instantiate type_traits<wchar_t>
96636     echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
96637 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
96638     cat >conftest.$ac_ext <<_ACEOF
96639 /* confdefs.h.  */
96640 _ACEOF
96641 cat confdefs.h >>conftest.$ac_ext
96642 cat >>conftest.$ac_ext <<_ACEOF
96643 /* end confdefs.h.  */
96644 #include <wchar.h>
96645 int
96646 main ()
96647 {
96648 int i = WCHAR_MIN; int j = WCHAR_MAX;
96649   ;
96650   return 0;
96651 }
96652 _ACEOF
96653 rm -f conftest.$ac_objext
96654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96655   (eval $ac_compile) 2>conftest.er1
96656   ac_status=$?
96657   grep -v '^ *+' conftest.er1 >conftest.err
96658   rm -f conftest.er1
96659   cat conftest.err >&5
96660   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96661   (exit $ac_status); } &&
96662          { ac_try='test -z "$ac_c_werror_flag"
96663                          || test ! -s conftest.err'
96664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96665   (eval $ac_try) 2>&5
96666   ac_status=$?
96667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96668   (exit $ac_status); }; } &&
96669          { ac_try='test -s conftest.$ac_objext'
96670   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96671   (eval $ac_try) 2>&5
96672   ac_status=$?
96673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96674   (exit $ac_status); }; }; then
96675   has_wchar_minmax=yes
96676 else
96677   echo "$as_me: failed program was:" >&5
96678 sed 's/^/| /' conftest.$ac_ext >&5
96679
96680 has_wchar_minmax=no
96681 fi
96682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96683     echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
96684 echo "${ECHO_T}$has_wchar_minmax" >&6
96685
96686     # Test wchar.h for WEOF, which is what we use to determine whether
96687     # to specialize for char_traits<wchar_t> or not.
96688     echo "$as_me:$LINENO: checking for WEOF" >&5
96689 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
96690     cat >conftest.$ac_ext <<_ACEOF
96691 /* confdefs.h.  */
96692 _ACEOF
96693 cat confdefs.h >>conftest.$ac_ext
96694 cat >>conftest.$ac_ext <<_ACEOF
96695 /* end confdefs.h.  */
96696
96697       #include <wchar.h>
96698       #include <stddef.h>
96699 int
96700 main ()
96701 {
96702 wint_t i = WEOF;
96703   ;
96704   return 0;
96705 }
96706 _ACEOF
96707 rm -f conftest.$ac_objext
96708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96709   (eval $ac_compile) 2>conftest.er1
96710   ac_status=$?
96711   grep -v '^ *+' conftest.er1 >conftest.err
96712   rm -f conftest.er1
96713   cat conftest.err >&5
96714   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96715   (exit $ac_status); } &&
96716          { ac_try='test -z "$ac_c_werror_flag"
96717                          || test ! -s conftest.err'
96718   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96719   (eval $ac_try) 2>&5
96720   ac_status=$?
96721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96722   (exit $ac_status); }; } &&
96723          { ac_try='test -s conftest.$ac_objext'
96724   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96725   (eval $ac_try) 2>&5
96726   ac_status=$?
96727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96728   (exit $ac_status); }; }; then
96729   has_weof=yes
96730 else
96731   echo "$as_me: failed program was:" >&5
96732 sed 's/^/| /' conftest.$ac_ext >&5
96733
96734 has_weof=no
96735 fi
96736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96737     echo "$as_me:$LINENO: result: $has_weof" >&5
96738 echo "${ECHO_T}$has_weof" >&6
96739
96740     # Tests for wide character functions used in char_traits<wchar_t>.
96741     ac_wfuncs=yes
96742
96743
96744
96745
96746
96747
96748 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
96749 do
96750 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96751 echo "$as_me:$LINENO: checking for $ac_func" >&5
96752 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96753 if eval "test \"\${$as_ac_var+set}\" = set"; then
96754   echo $ECHO_N "(cached) $ECHO_C" >&6
96755 else
96756   if test x$gcc_no_link = xyes; then
96757   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96758 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96759    { (exit 1); exit 1; }; }
96760 fi
96761 cat >conftest.$ac_ext <<_ACEOF
96762 /* confdefs.h.  */
96763 _ACEOF
96764 cat confdefs.h >>conftest.$ac_ext
96765 cat >>conftest.$ac_ext <<_ACEOF
96766 /* end confdefs.h.  */
96767 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96768    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
96769 #define $ac_func innocuous_$ac_func
96770
96771 /* System header to define __stub macros and hopefully few prototypes,
96772     which can conflict with char $ac_func (); below.
96773     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96774     <limits.h> exists even on freestanding compilers.  */
96775
96776 #ifdef __STDC__
96777 # include <limits.h>
96778 #else
96779 # include <assert.h>
96780 #endif
96781
96782 #undef $ac_func
96783
96784 /* Override any gcc2 internal prototype to avoid an error.  */
96785 #ifdef __cplusplus
96786 extern "C"
96787 {
96788 #endif
96789 /* We use char because int might match the return type of a gcc2
96790    builtin and then its argument prototype would still apply.  */
96791 char $ac_func ();
96792 /* The GNU C library defines this for functions which it implements
96793     to always fail with ENOSYS.  Some functions are actually named
96794     something starting with __ and the normal name is an alias.  */
96795 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96796 choke me
96797 #else
96798 char (*f) () = $ac_func;
96799 #endif
96800 #ifdef __cplusplus
96801 }
96802 #endif
96803
96804 int
96805 main ()
96806 {
96807 return f != $ac_func;
96808   ;
96809   return 0;
96810 }
96811 _ACEOF
96812 rm -f conftest.$ac_objext conftest$ac_exeext
96813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96814   (eval $ac_link) 2>conftest.er1
96815   ac_status=$?
96816   grep -v '^ *+' conftest.er1 >conftest.err
96817   rm -f conftest.er1
96818   cat conftest.err >&5
96819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96820   (exit $ac_status); } &&
96821          { ac_try='test -z "$ac_c_werror_flag"
96822                          || test ! -s conftest.err'
96823   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96824   (eval $ac_try) 2>&5
96825   ac_status=$?
96826   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96827   (exit $ac_status); }; } &&
96828          { ac_try='test -s conftest$ac_exeext'
96829   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96830   (eval $ac_try) 2>&5
96831   ac_status=$?
96832   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96833   (exit $ac_status); }; }; then
96834   eval "$as_ac_var=yes"
96835 else
96836   echo "$as_me: failed program was:" >&5
96837 sed 's/^/| /' conftest.$ac_ext >&5
96838
96839 eval "$as_ac_var=no"
96840 fi
96841 rm -f conftest.err conftest.$ac_objext \
96842       conftest$ac_exeext conftest.$ac_ext
96843 fi
96844 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96845 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96846 if test `eval echo '${'$as_ac_var'}'` = yes; then
96847   cat >>confdefs.h <<_ACEOF
96848 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96849 _ACEOF
96850
96851 else
96852   ac_wfuncs=no
96853 fi
96854 done
96855
96856
96857     # Checks for names injected into std:: by the c_std headers.
96858
96859
96860
96861
96862
96863
96864
96865
96866
96867
96868
96869
96870
96871
96872
96873
96874
96875
96876
96877
96878
96879
96880
96881
96882
96883
96884
96885
96886
96887
96888
96889
96890
96891
96892
96893
96894
96895
96896
96897
96898
96899
96900
96901
96902
96903
96904 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
96905     fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
96906     vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
96907     mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
96908     wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
96909     wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
96910 do
96911 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96912 echo "$as_me:$LINENO: checking for $ac_func" >&5
96913 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96914 if eval "test \"\${$as_ac_var+set}\" = set"; then
96915   echo $ECHO_N "(cached) $ECHO_C" >&6
96916 else
96917   if test x$gcc_no_link = xyes; then
96918   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96919 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96920    { (exit 1); exit 1; }; }
96921 fi
96922 cat >conftest.$ac_ext <<_ACEOF
96923 /* confdefs.h.  */
96924 _ACEOF
96925 cat confdefs.h >>conftest.$ac_ext
96926 cat >>conftest.$ac_ext <<_ACEOF
96927 /* end confdefs.h.  */
96928 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96929    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
96930 #define $ac_func innocuous_$ac_func
96931
96932 /* System header to define __stub macros and hopefully few prototypes,
96933     which can conflict with char $ac_func (); below.
96934     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96935     <limits.h> exists even on freestanding compilers.  */
96936
96937 #ifdef __STDC__
96938 # include <limits.h>
96939 #else
96940 # include <assert.h>
96941 #endif
96942
96943 #undef $ac_func
96944
96945 /* Override any gcc2 internal prototype to avoid an error.  */
96946 #ifdef __cplusplus
96947 extern "C"
96948 {
96949 #endif
96950 /* We use char because int might match the return type of a gcc2
96951    builtin and then its argument prototype would still apply.  */
96952 char $ac_func ();
96953 /* The GNU C library defines this for functions which it implements
96954     to always fail with ENOSYS.  Some functions are actually named
96955     something starting with __ and the normal name is an alias.  */
96956 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96957 choke me
96958 #else
96959 char (*f) () = $ac_func;
96960 #endif
96961 #ifdef __cplusplus
96962 }
96963 #endif
96964
96965 int
96966 main ()
96967 {
96968 return f != $ac_func;
96969   ;
96970   return 0;
96971 }
96972 _ACEOF
96973 rm -f conftest.$ac_objext conftest$ac_exeext
96974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96975   (eval $ac_link) 2>conftest.er1
96976   ac_status=$?
96977   grep -v '^ *+' conftest.er1 >conftest.err
96978   rm -f conftest.er1
96979   cat conftest.err >&5
96980   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96981   (exit $ac_status); } &&
96982          { ac_try='test -z "$ac_c_werror_flag"
96983                          || test ! -s conftest.err'
96984   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96985   (eval $ac_try) 2>&5
96986   ac_status=$?
96987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96988   (exit $ac_status); }; } &&
96989          { ac_try='test -s conftest$ac_exeext'
96990   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96991   (eval $ac_try) 2>&5
96992   ac_status=$?
96993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
96994   (exit $ac_status); }; }; then
96995   eval "$as_ac_var=yes"
96996 else
96997   echo "$as_me: failed program was:" >&5
96998 sed 's/^/| /' conftest.$ac_ext >&5
96999
97000 eval "$as_ac_var=no"
97001 fi
97002 rm -f conftest.err conftest.$ac_objext \
97003       conftest$ac_exeext conftest.$ac_ext
97004 fi
97005 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97006 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97007 if test `eval echo '${'$as_ac_var'}'` = yes; then
97008   cat >>confdefs.h <<_ACEOF
97009 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97010 _ACEOF
97011
97012 else
97013   ac_wfuncs=no
97014 fi
97015 done
97016
97017
97018     # Checks for wide character functions that are not required
97019     # for basic wchar_t support.  Don't disable support if they are missing.
97020     # Injection of these is wrapped with guard macros.
97021
97022
97023
97024
97025
97026 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
97027 do
97028 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97029 echo "$as_me:$LINENO: checking for $ac_func" >&5
97030 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97031 if eval "test \"\${$as_ac_var+set}\" = set"; then
97032   echo $ECHO_N "(cached) $ECHO_C" >&6
97033 else
97034   if test x$gcc_no_link = xyes; then
97035   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97036 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97037    { (exit 1); exit 1; }; }
97038 fi
97039 cat >conftest.$ac_ext <<_ACEOF
97040 /* confdefs.h.  */
97041 _ACEOF
97042 cat confdefs.h >>conftest.$ac_ext
97043 cat >>conftest.$ac_ext <<_ACEOF
97044 /* end confdefs.h.  */
97045 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97046    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
97047 #define $ac_func innocuous_$ac_func
97048
97049 /* System header to define __stub macros and hopefully few prototypes,
97050     which can conflict with char $ac_func (); below.
97051     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97052     <limits.h> exists even on freestanding compilers.  */
97053
97054 #ifdef __STDC__
97055 # include <limits.h>
97056 #else
97057 # include <assert.h>
97058 #endif
97059
97060 #undef $ac_func
97061
97062 /* Override any gcc2 internal prototype to avoid an error.  */
97063 #ifdef __cplusplus
97064 extern "C"
97065 {
97066 #endif
97067 /* We use char because int might match the return type of a gcc2
97068    builtin and then its argument prototype would still apply.  */
97069 char $ac_func ();
97070 /* The GNU C library defines this for functions which it implements
97071     to always fail with ENOSYS.  Some functions are actually named
97072     something starting with __ and the normal name is an alias.  */
97073 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97074 choke me
97075 #else
97076 char (*f) () = $ac_func;
97077 #endif
97078 #ifdef __cplusplus
97079 }
97080 #endif
97081
97082 int
97083 main ()
97084 {
97085 return f != $ac_func;
97086   ;
97087   return 0;
97088 }
97089 _ACEOF
97090 rm -f conftest.$ac_objext conftest$ac_exeext
97091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97092   (eval $ac_link) 2>conftest.er1
97093   ac_status=$?
97094   grep -v '^ *+' conftest.er1 >conftest.err
97095   rm -f conftest.er1
97096   cat conftest.err >&5
97097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97098   (exit $ac_status); } &&
97099          { ac_try='test -z "$ac_c_werror_flag"
97100                          || test ! -s conftest.err'
97101   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97102   (eval $ac_try) 2>&5
97103   ac_status=$?
97104   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97105   (exit $ac_status); }; } &&
97106          { ac_try='test -s conftest$ac_exeext'
97107   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97108   (eval $ac_try) 2>&5
97109   ac_status=$?
97110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97111   (exit $ac_status); }; }; then
97112   eval "$as_ac_var=yes"
97113 else
97114   echo "$as_me: failed program was:" >&5
97115 sed 's/^/| /' conftest.$ac_ext >&5
97116
97117 eval "$as_ac_var=no"
97118 fi
97119 rm -f conftest.err conftest.$ac_objext \
97120       conftest$ac_exeext conftest.$ac_ext
97121 fi
97122 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97123 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97124 if test `eval echo '${'$as_ac_var'}'` = yes; then
97125   cat >>confdefs.h <<_ACEOF
97126 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97127 _ACEOF
97128
97129 fi
97130 done
97131
97132
97133     echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
97134 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
97135     if test x"$has_weof" = xyes &&
97136        test x"$has_wchar_minmax" = xyes &&
97137        test x"$ac_wfuncs" = xyes;
97138     then
97139       ac_isoC99_wchar_t=yes
97140     else
97141       ac_isoC99_wchar_t=no
97142     fi
97143     echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
97144 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
97145
97146     # Use iconv for wchar_t to char conversions. As such, check for
97147     # X/Open Portability Guide, version 2 features (XPG2).
97148     if test "${ac_cv_header_iconv_h+set}" = set; then
97149   echo "$as_me:$LINENO: checking for iconv.h" >&5
97150 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
97151 if test "${ac_cv_header_iconv_h+set}" = set; then
97152   echo $ECHO_N "(cached) $ECHO_C" >&6
97153 fi
97154 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
97155 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
97156 else
97157   # Is the header compilable?
97158 echo "$as_me:$LINENO: checking iconv.h usability" >&5
97159 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
97160 cat >conftest.$ac_ext <<_ACEOF
97161 /* confdefs.h.  */
97162 _ACEOF
97163 cat confdefs.h >>conftest.$ac_ext
97164 cat >>conftest.$ac_ext <<_ACEOF
97165 /* end confdefs.h.  */
97166 $ac_includes_default
97167 #include <iconv.h>
97168 _ACEOF
97169 rm -f conftest.$ac_objext
97170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97171   (eval $ac_compile) 2>conftest.er1
97172   ac_status=$?
97173   grep -v '^ *+' conftest.er1 >conftest.err
97174   rm -f conftest.er1
97175   cat conftest.err >&5
97176   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97177   (exit $ac_status); } &&
97178          { ac_try='test -z "$ac_c_werror_flag"
97179                          || test ! -s conftest.err'
97180   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97181   (eval $ac_try) 2>&5
97182   ac_status=$?
97183   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97184   (exit $ac_status); }; } &&
97185          { ac_try='test -s conftest.$ac_objext'
97186   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97187   (eval $ac_try) 2>&5
97188   ac_status=$?
97189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97190   (exit $ac_status); }; }; then
97191   ac_header_compiler=yes
97192 else
97193   echo "$as_me: failed program was:" >&5
97194 sed 's/^/| /' conftest.$ac_ext >&5
97195
97196 ac_header_compiler=no
97197 fi
97198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97199 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
97200 echo "${ECHO_T}$ac_header_compiler" >&6
97201
97202 # Is the header present?
97203 echo "$as_me:$LINENO: checking iconv.h presence" >&5
97204 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
97205 cat >conftest.$ac_ext <<_ACEOF
97206 /* confdefs.h.  */
97207 _ACEOF
97208 cat confdefs.h >>conftest.$ac_ext
97209 cat >>conftest.$ac_ext <<_ACEOF
97210 /* end confdefs.h.  */
97211 #include <iconv.h>
97212 _ACEOF
97213 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
97214   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
97215   ac_status=$?
97216   grep -v '^ *+' conftest.er1 >conftest.err
97217   rm -f conftest.er1
97218   cat conftest.err >&5
97219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97220   (exit $ac_status); } >/dev/null; then
97221   if test -s conftest.err; then
97222     ac_cpp_err=$ac_c_preproc_warn_flag
97223     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
97224   else
97225     ac_cpp_err=
97226   fi
97227 else
97228   ac_cpp_err=yes
97229 fi
97230 if test -z "$ac_cpp_err"; then
97231   ac_header_preproc=yes
97232 else
97233   echo "$as_me: failed program was:" >&5
97234 sed 's/^/| /' conftest.$ac_ext >&5
97235
97236   ac_header_preproc=no
97237 fi
97238 rm -f conftest.err conftest.$ac_ext
97239 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
97240 echo "${ECHO_T}$ac_header_preproc" >&6
97241
97242 # So?  What about this header?
97243 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
97244   yes:no: )
97245     { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
97246 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
97247     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
97248 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
97249     ac_header_preproc=yes
97250     ;;
97251   no:yes:* )
97252     { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
97253 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
97254     { echo "$as_me:$LINENO: WARNING: iconv.h:     check for missing prerequisite headers?" >&5
97255 echo "$as_me: WARNING: iconv.h:     check for missing prerequisite headers?" >&2;}
97256     { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
97257 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
97258     { echo "$as_me:$LINENO: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&5
97259 echo "$as_me: WARNING: iconv.h:     section \"Present But Cannot Be Compiled\"" >&2;}
97260     { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
97261 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
97262     { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
97263 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
97264     (
97265       cat <<\_ASBOX
97266 ## ----------------------------------------- ##
97267 ## Report this to the package-unused lists.  ##
97268 ## ----------------------------------------- ##
97269 _ASBOX
97270     ) |
97271       sed "s/^/$as_me: WARNING:     /" >&2
97272     ;;
97273 esac
97274 echo "$as_me:$LINENO: checking for iconv.h" >&5
97275 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
97276 if test "${ac_cv_header_iconv_h+set}" = set; then
97277   echo $ECHO_N "(cached) $ECHO_C" >&6
97278 else
97279   ac_cv_header_iconv_h=$ac_header_preproc
97280 fi
97281 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
97282 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
97283
97284 fi
97285 if test $ac_cv_header_iconv_h = yes; then
97286   ac_has_iconv_h=yes
97287 else
97288   ac_has_iconv_h=no
97289 fi
97290
97291
97292     if test "${ac_cv_header_langinfo_h+set}" = set; then
97293   echo "$as_me:$LINENO: checking for langinfo.h" >&5
97294 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
97295 if test "${ac_cv_header_langinfo_h+set}" = set; then
97296   echo $ECHO_N "(cached) $ECHO_C" >&6
97297 fi
97298 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
97299 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
97300 else
97301   # Is the header compilable?
97302 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
97303 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
97304 cat >conftest.$ac_ext <<_ACEOF
97305 /* confdefs.h.  */
97306 _ACEOF
97307 cat confdefs.h >>conftest.$ac_ext
97308 cat >>conftest.$ac_ext <<_ACEOF
97309 /* end confdefs.h.  */
97310 $ac_includes_default
97311 #include <langinfo.h>
97312 _ACEOF
97313 rm -f conftest.$ac_objext
97314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97315   (eval $ac_compile) 2>conftest.er1
97316   ac_status=$?
97317   grep -v '^ *+' conftest.er1 >conftest.err
97318   rm -f conftest.er1
97319   cat conftest.err >&5
97320   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97321   (exit $ac_status); } &&
97322          { ac_try='test -z "$ac_c_werror_flag"
97323                          || test ! -s conftest.err'
97324   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97325   (eval $ac_try) 2>&5
97326   ac_status=$?
97327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97328   (exit $ac_status); }; } &&
97329          { ac_try='test -s conftest.$ac_objext'
97330   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97331   (eval $ac_try) 2>&5
97332   ac_status=$?
97333   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97334   (exit $ac_status); }; }; then
97335   ac_header_compiler=yes
97336 else
97337   echo "$as_me: failed program was:" >&5
97338 sed 's/^/| /' conftest.$ac_ext >&5
97339
97340 ac_header_compiler=no
97341 fi
97342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97343 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
97344 echo "${ECHO_T}$ac_header_compiler" >&6
97345
97346 # Is the header present?
97347 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
97348 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
97349 cat >conftest.$ac_ext <<_ACEOF
97350 /* confdefs.h.  */
97351 _ACEOF
97352 cat confdefs.h >>conftest.$ac_ext
97353 cat >>conftest.$ac_ext <<_ACEOF
97354 /* end confdefs.h.  */
97355 #include <langinfo.h>
97356 _ACEOF
97357 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
97358   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
97359   ac_status=$?
97360   grep -v '^ *+' conftest.er1 >conftest.err
97361   rm -f conftest.er1
97362   cat conftest.err >&5
97363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97364   (exit $ac_status); } >/dev/null; then
97365   if test -s conftest.err; then
97366     ac_cpp_err=$ac_c_preproc_warn_flag
97367     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
97368   else
97369     ac_cpp_err=
97370   fi
97371 else
97372   ac_cpp_err=yes
97373 fi
97374 if test -z "$ac_cpp_err"; then
97375   ac_header_preproc=yes
97376 else
97377   echo "$as_me: failed program was:" >&5
97378 sed 's/^/| /' conftest.$ac_ext >&5
97379
97380   ac_header_preproc=no
97381 fi
97382 rm -f conftest.err conftest.$ac_ext
97383 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
97384 echo "${ECHO_T}$ac_header_preproc" >&6
97385
97386 # So?  What about this header?
97387 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
97388   yes:no: )
97389     { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
97390 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
97391     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
97392 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
97393     ac_header_preproc=yes
97394     ;;
97395   no:yes:* )
97396     { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
97397 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
97398     { echo "$as_me:$LINENO: WARNING: langinfo.h:     check for missing prerequisite headers?" >&5
97399 echo "$as_me: WARNING: langinfo.h:     check for missing prerequisite headers?" >&2;}
97400     { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
97401 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
97402     { echo "$as_me:$LINENO: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&5
97403 echo "$as_me: WARNING: langinfo.h:     section \"Present But Cannot Be Compiled\"" >&2;}
97404     { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
97405 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
97406     { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
97407 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
97408     (
97409       cat <<\_ASBOX
97410 ## ----------------------------------------- ##
97411 ## Report this to the package-unused lists.  ##
97412 ## ----------------------------------------- ##
97413 _ASBOX
97414     ) |
97415       sed "s/^/$as_me: WARNING:     /" >&2
97416     ;;
97417 esac
97418 echo "$as_me:$LINENO: checking for langinfo.h" >&5
97419 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
97420 if test "${ac_cv_header_langinfo_h+set}" = set; then
97421   echo $ECHO_N "(cached) $ECHO_C" >&6
97422 else
97423   ac_cv_header_langinfo_h=$ac_header_preproc
97424 fi
97425 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
97426 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
97427
97428 fi
97429 if test $ac_cv_header_langinfo_h = yes; then
97430   ac_has_langinfo_h=yes
97431 else
97432   ac_has_langinfo_h=no
97433 fi
97434
97435
97436
97437     # Check for existence of libiconv.a providing XPG2 wchar_t support.
97438     echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
97439 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
97440 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
97441   echo $ECHO_N "(cached) $ECHO_C" >&6
97442 else
97443   ac_check_lib_save_LIBS=$LIBS
97444 LIBS="-liconv  $LIBS"
97445 if test x$gcc_no_link = xyes; then
97446   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97447 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97448    { (exit 1); exit 1; }; }
97449 fi
97450 cat >conftest.$ac_ext <<_ACEOF
97451 /* confdefs.h.  */
97452 _ACEOF
97453 cat confdefs.h >>conftest.$ac_ext
97454 cat >>conftest.$ac_ext <<_ACEOF
97455 /* end confdefs.h.  */
97456
97457 /* Override any gcc2 internal prototype to avoid an error.  */
97458 #ifdef __cplusplus
97459 extern "C"
97460 #endif
97461 /* We use char because int might match the return type of a gcc2
97462    builtin and then its argument prototype would still apply.  */
97463 char iconv ();
97464 int
97465 main ()
97466 {
97467 iconv ();
97468   ;
97469   return 0;
97470 }
97471 _ACEOF
97472 rm -f conftest.$ac_objext conftest$ac_exeext
97473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97474   (eval $ac_link) 2>conftest.er1
97475   ac_status=$?
97476   grep -v '^ *+' conftest.er1 >conftest.err
97477   rm -f conftest.er1
97478   cat conftest.err >&5
97479   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97480   (exit $ac_status); } &&
97481          { ac_try='test -z "$ac_c_werror_flag"
97482                          || test ! -s conftest.err'
97483   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97484   (eval $ac_try) 2>&5
97485   ac_status=$?
97486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97487   (exit $ac_status); }; } &&
97488          { ac_try='test -s conftest$ac_exeext'
97489   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97490   (eval $ac_try) 2>&5
97491   ac_status=$?
97492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97493   (exit $ac_status); }; }; then
97494   ac_cv_lib_iconv_iconv=yes
97495 else
97496   echo "$as_me: failed program was:" >&5
97497 sed 's/^/| /' conftest.$ac_ext >&5
97498
97499 ac_cv_lib_iconv_iconv=no
97500 fi
97501 rm -f conftest.err conftest.$ac_objext \
97502       conftest$ac_exeext conftest.$ac_ext
97503 LIBS=$ac_check_lib_save_LIBS
97504 fi
97505 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
97506 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
97507 if test $ac_cv_lib_iconv_iconv = yes; then
97508   LIBICONV="-liconv"
97509 fi
97510
97511     ac_save_LIBS="$LIBS"
97512     LIBS="$LIBS $LIBICONV"
97513
97514
97515
97516
97517
97518
97519 for ac_func in iconv_open iconv_close iconv nl_langinfo
97520 do
97521 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97522 echo "$as_me:$LINENO: checking for $ac_func" >&5
97523 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97524 if eval "test \"\${$as_ac_var+set}\" = set"; then
97525   echo $ECHO_N "(cached) $ECHO_C" >&6
97526 else
97527   if test x$gcc_no_link = xyes; then
97528   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97529 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97530    { (exit 1); exit 1; }; }
97531 fi
97532 cat >conftest.$ac_ext <<_ACEOF
97533 /* confdefs.h.  */
97534 _ACEOF
97535 cat confdefs.h >>conftest.$ac_ext
97536 cat >>conftest.$ac_ext <<_ACEOF
97537 /* end confdefs.h.  */
97538 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97539    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
97540 #define $ac_func innocuous_$ac_func
97541
97542 /* System header to define __stub macros and hopefully few prototypes,
97543     which can conflict with char $ac_func (); below.
97544     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97545     <limits.h> exists even on freestanding compilers.  */
97546
97547 #ifdef __STDC__
97548 # include <limits.h>
97549 #else
97550 # include <assert.h>
97551 #endif
97552
97553 #undef $ac_func
97554
97555 /* Override any gcc2 internal prototype to avoid an error.  */
97556 #ifdef __cplusplus
97557 extern "C"
97558 {
97559 #endif
97560 /* We use char because int might match the return type of a gcc2
97561    builtin and then its argument prototype would still apply.  */
97562 char $ac_func ();
97563 /* The GNU C library defines this for functions which it implements
97564     to always fail with ENOSYS.  Some functions are actually named
97565     something starting with __ and the normal name is an alias.  */
97566 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97567 choke me
97568 #else
97569 char (*f) () = $ac_func;
97570 #endif
97571 #ifdef __cplusplus
97572 }
97573 #endif
97574
97575 int
97576 main ()
97577 {
97578 return f != $ac_func;
97579   ;
97580   return 0;
97581 }
97582 _ACEOF
97583 rm -f conftest.$ac_objext conftest$ac_exeext
97584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97585   (eval $ac_link) 2>conftest.er1
97586   ac_status=$?
97587   grep -v '^ *+' conftest.er1 >conftest.err
97588   rm -f conftest.er1
97589   cat conftest.err >&5
97590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97591   (exit $ac_status); } &&
97592          { ac_try='test -z "$ac_c_werror_flag"
97593                          || test ! -s conftest.err'
97594   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97595   (eval $ac_try) 2>&5
97596   ac_status=$?
97597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97598   (exit $ac_status); }; } &&
97599          { ac_try='test -s conftest$ac_exeext'
97600   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97601   (eval $ac_try) 2>&5
97602   ac_status=$?
97603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
97604   (exit $ac_status); }; }; then
97605   eval "$as_ac_var=yes"
97606 else
97607   echo "$as_me: failed program was:" >&5
97608 sed 's/^/| /' conftest.$ac_ext >&5
97609
97610 eval "$as_ac_var=no"
97611 fi
97612 rm -f conftest.err conftest.$ac_objext \
97613       conftest$ac_exeext conftest.$ac_ext
97614 fi
97615 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97616 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97617 if test `eval echo '${'$as_ac_var'}'` = yes; then
97618   cat >>confdefs.h <<_ACEOF
97619 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97620 _ACEOF
97621  ac_XPG2funcs=yes
97622 else
97623   ac_XPG2funcs=no
97624 fi
97625 done
97626
97627
97628     LIBS="$ac_save_LIBS"
97629
97630     echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
97631 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
97632     if test x"$ac_has_iconv_h" = xyes &&
97633        test x"$ac_has_langinfo_h" = xyes &&
97634        test x"$ac_XPG2funcs" = xyes;
97635     then
97636       ac_XPG2_wchar_t=yes
97637     else
97638       ac_XPG2_wchar_t=no
97639     fi
97640     echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
97641 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
97642
97643     # At the moment, only enable wchar_t specializations if all the
97644     # above support is present.
97645     if test x"$ac_isoC99_wchar_t" = xyes &&
97646        test x"$ac_XPG2_wchar_t" = xyes;
97647     then
97648       cat >>confdefs.h <<\_ACEOF
97649 #define _GLIBCXX_USE_WCHAR_T 1
97650 _ACEOF
97651
97652       enable_wchar_t=yes
97653     fi
97654   fi
97655   echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
97656 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
97657   echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
97658 echo "${ECHO_T}$enable_wchar_t" >&6
97659
97660     cat >>confdefs.h <<\_ACEOF
97661 #define HAVE_COPYSIGN 1
97662 _ACEOF
97663
97664     cat >>confdefs.h <<\_ACEOF
97665 #define HAVE_COPYSIGNF 1
97666 _ACEOF
97667
97668     cat >>confdefs.h <<\_ACEOF
97669 #define HAVE_FINITE 1
97670 _ACEOF
97671
97672     cat >>confdefs.h <<\_ACEOF
97673 #define HAVE_FINITEF 1
97674 _ACEOF
97675
97676     cat >>confdefs.h <<\_ACEOF
97677 #define HAVE_FREXPF 1
97678 _ACEOF
97679
97680     cat >>confdefs.h <<\_ACEOF
97681 #define HAVE_HYPOTF 1
97682 _ACEOF
97683
97684     cat >>confdefs.h <<\_ACEOF
97685 #define HAVE_ISINF 1
97686 _ACEOF
97687
97688     cat >>confdefs.h <<\_ACEOF
97689 #define HAVE_ISINFF 1
97690 _ACEOF
97691
97692     cat >>confdefs.h <<\_ACEOF
97693 #define HAVE_ISNAN 1
97694 _ACEOF
97695
97696     cat >>confdefs.h <<\_ACEOF
97697 #define HAVE_ISNANF 1
97698 _ACEOF
97699
97700     cat >>confdefs.h <<\_ACEOF
97701 #define HAVE_SINCOS 1
97702 _ACEOF
97703
97704     cat >>confdefs.h <<\_ACEOF
97705 #define HAVE_SINCOSF 1
97706 _ACEOF
97707
97708     if test x"long_double_math_on_this_cpu" = x"yes"; then
97709       cat >>confdefs.h <<\_ACEOF
97710 #define HAVE_FINITEL 1
97711 _ACEOF
97712
97713       cat >>confdefs.h <<\_ACEOF
97714 #define HAVE_HYPOTL 1
97715 _ACEOF
97716
97717       cat >>confdefs.h <<\_ACEOF
97718 #define HAVE_ISINFL 1
97719 _ACEOF
97720
97721       cat >>confdefs.h <<\_ACEOF
97722 #define HAVE_ISNANL 1
97723 _ACEOF
97724
97725     fi
97726     ;;
97727   *-vxworks)
97728     cat >>confdefs.h <<\_ACEOF
97729 #define HAVE_MMAP 1
97730 _ACEOF
97731
97732     cat >>confdefs.h <<\_ACEOF
97733 #define HAVE_ACOSF 1
97734 _ACEOF
97735
97736     cat >>confdefs.h <<\_ACEOF
97737 #define HAVE_ASINF 1
97738 _ACEOF
97739
97740     cat >>confdefs.h <<\_ACEOF
97741 #define HAVE_ATAN2F 1
97742 _ACEOF
97743
97744     cat >>confdefs.h <<\_ACEOF
97745 #define HAVE_ATANF 1
97746 _ACEOF
97747
97748     cat >>confdefs.h <<\_ACEOF
97749 #define HAVE_CEILF 1
97750 _ACEOF
97751
97752     cat >>confdefs.h <<\_ACEOF
97753 #define HAVE_COSF 1
97754 _ACEOF
97755
97756     cat >>confdefs.h <<\_ACEOF
97757 #define HAVE_COSHF 1
97758 _ACEOF
97759
97760     cat >>confdefs.h <<\_ACEOF
97761 #define HAVE_EXPF 1
97762 _ACEOF
97763
97764     cat >>confdefs.h <<\_ACEOF
97765 #define HAVE_FABSF 1
97766 _ACEOF
97767
97768     cat >>confdefs.h <<\_ACEOF
97769 #define HAVE_FLOORF 1
97770 _ACEOF
97771
97772     cat >>confdefs.h <<\_ACEOF
97773 #define HAVE_FMODF 1
97774 _ACEOF
97775
97776     cat >>confdefs.h <<\_ACEOF
97777 #define HAVE_HYPOT 1
97778 _ACEOF
97779
97780     cat >>confdefs.h <<\_ACEOF
97781 #define HAVE_LOG10F 1
97782 _ACEOF
97783
97784     cat >>confdefs.h <<\_ACEOF
97785 #define HAVE_LOGF 1
97786 _ACEOF
97787
97788     cat >>confdefs.h <<\_ACEOF
97789 #define HAVE_POWF 1
97790 _ACEOF
97791
97792     cat >>confdefs.h <<\_ACEOF
97793 #define HAVE_SINF 1
97794 _ACEOF
97795
97796     cat >>confdefs.h <<\_ACEOF
97797 #define HAVE_SINHF 1
97798 _ACEOF
97799
97800     cat >>confdefs.h <<\_ACEOF
97801 #define HAVE_SQRTF 1
97802 _ACEOF
97803
97804     cat >>confdefs.h <<\_ACEOF
97805 #define HAVE_TANF 1
97806 _ACEOF
97807
97808     cat >>confdefs.h <<\_ACEOF
97809 #define HAVE_TANHF 1
97810 _ACEOF
97811
97812     ;;
97813   *-windiss*)
97814     cat >>confdefs.h <<\_ACEOF
97815 #define HAVE_ACOSF 1
97816 _ACEOF
97817
97818     cat >>confdefs.h <<\_ACEOF
97819 #define HAVE_ACOSL 1
97820 _ACEOF
97821
97822     cat >>confdefs.h <<\_ACEOF
97823 #define HAVE_ASINF 1
97824 _ACEOF
97825
97826     cat >>confdefs.h <<\_ACEOF
97827 #define HAVE_ASINL 1
97828 _ACEOF
97829
97830     cat >>confdefs.h <<\_ACEOF
97831 #define HAVE_ATAN2F 1
97832 _ACEOF
97833
97834     cat >>confdefs.h <<\_ACEOF
97835 #define HAVE_ATAN2L 1
97836 _ACEOF
97837
97838     cat >>confdefs.h <<\_ACEOF
97839 #define HAVE_ATANF 1
97840 _ACEOF
97841
97842     cat >>confdefs.h <<\_ACEOF
97843 #define HAVE_ATANL 1
97844 _ACEOF
97845
97846     cat >>confdefs.h <<\_ACEOF
97847 #define HAVE_CEILF 1
97848 _ACEOF
97849
97850     cat >>confdefs.h <<\_ACEOF
97851 #define HAVE_CEILL 1
97852 _ACEOF
97853
97854     cat >>confdefs.h <<\_ACEOF
97855 #define HAVE_COPYSIGN 1
97856 _ACEOF
97857
97858     cat >>confdefs.h <<\_ACEOF
97859 #define HAVE_COPYSIGNF 1
97860 _ACEOF
97861
97862     cat >>confdefs.h <<\_ACEOF
97863 #define HAVE_COSF 1
97864 _ACEOF
97865
97866     cat >>confdefs.h <<\_ACEOF
97867 #define HAVE_COSL 1
97868 _ACEOF
97869
97870     cat >>confdefs.h <<\_ACEOF
97871 #define HAVE_COSHF 1
97872 _ACEOF
97873
97874     cat >>confdefs.h <<\_ACEOF
97875 #define HAVE_COSHL 1
97876 _ACEOF
97877
97878     cat >>confdefs.h <<\_ACEOF
97879 #define HAVE_EXPF 1
97880 _ACEOF
97881
97882     cat >>confdefs.h <<\_ACEOF
97883 #define HAVE_EXPL 1
97884 _ACEOF
97885
97886     cat >>confdefs.h <<\_ACEOF
97887 #define HAVE_FABSF 1
97888 _ACEOF
97889
97890     cat >>confdefs.h <<\_ACEOF
97891 #define HAVE_FABSL 1
97892 _ACEOF
97893
97894     cat >>confdefs.h <<\_ACEOF
97895 #define HAVE_FLOORF 1
97896 _ACEOF
97897
97898     cat >>confdefs.h <<\_ACEOF
97899 #define HAVE_FLOORL 1
97900 _ACEOF
97901
97902     cat >>confdefs.h <<\_ACEOF
97903 #define HAVE_FMODF 1
97904 _ACEOF
97905
97906     cat >>confdefs.h <<\_ACEOF
97907 #define HAVE_FMODL 1
97908 _ACEOF
97909
97910     cat >>confdefs.h <<\_ACEOF
97911 #define HAVE_FREXPF 1
97912 _ACEOF
97913
97914     cat >>confdefs.h <<\_ACEOF
97915 #define HAVE_FREXPL 1
97916 _ACEOF
97917
97918     cat >>confdefs.h <<\_ACEOF
97919 #define HAVE_LDEXPF 1
97920 _ACEOF
97921
97922     cat >>confdefs.h <<\_ACEOF
97923 #define HAVE_LDEXPL 1
97924 _ACEOF
97925
97926     cat >>confdefs.h <<\_ACEOF
97927 #define HAVE_LOG10F 1
97928 _ACEOF
97929
97930     cat >>confdefs.h <<\_ACEOF
97931 #define HAVE_LOG10L 1
97932 _ACEOF
97933
97934     cat >>confdefs.h <<\_ACEOF
97935 #define HAVE_LOGF 1
97936 _ACEOF
97937
97938     cat >>confdefs.h <<\_ACEOF
97939 #define HAVE_MODFF 1
97940 _ACEOF
97941
97942     cat >>confdefs.h <<\_ACEOF
97943 #define HAVE_MODFL 1
97944 _ACEOF
97945
97946     cat >>confdefs.h <<\_ACEOF
97947 #define HAVE_POWF 1
97948 _ACEOF
97949
97950     cat >>confdefs.h <<\_ACEOF
97951 #define HAVE_POWL 1
97952 _ACEOF
97953
97954     cat >>confdefs.h <<\_ACEOF
97955 #define HAVE_SINF 1
97956 _ACEOF
97957
97958     cat >>confdefs.h <<\_ACEOF
97959 #define HAVE_SINL 1
97960 _ACEOF
97961
97962     cat >>confdefs.h <<\_ACEOF
97963 #define HAVE_SINHF 1
97964 _ACEOF
97965
97966     cat >>confdefs.h <<\_ACEOF
97967 #define HAVE_SINHL 1
97968 _ACEOF
97969
97970     cat >>confdefs.h <<\_ACEOF
97971 #define HAVE_SQRTF 1
97972 _ACEOF
97973
97974     cat >>confdefs.h <<\_ACEOF
97975 #define HAVE_SQRTL 1
97976 _ACEOF
97977
97978     cat >>confdefs.h <<\_ACEOF
97979 #define HAVE_TANF 1
97980 _ACEOF
97981
97982     cat >>confdefs.h <<\_ACEOF
97983 #define HAVE_TANL 1
97984 _ACEOF
97985
97986     cat >>confdefs.h <<\_ACEOF
97987 #define HAVE_TANHF 1
97988 _ACEOF
97989
97990     cat >>confdefs.h <<\_ACEOF
97991 #define HAVE_TANHL 1
97992 _ACEOF
97993
97994     ;;
97995   *)
97996     { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
97997 echo "$as_me: error: No support for this host/target combination." >&2;}
97998    { (exit 1); exit 1; }; }
97999    ;;
98000 esac
98001
98002
98003   fi
98004
98005   # At some point, we should differentiate between architectures
98006   # like x86, which have long double versions, and alpha/powerpc/etc.,
98007   # which don't. For the time being, punt.
98008   if test x"long_double_math_on_this_cpu" = x"yes"; then
98009     cat >>confdefs.h <<\_ACEOF
98010 #define HAVE_ACOSL 1
98011 _ACEOF
98012
98013     cat >>confdefs.h <<\_ACEOF
98014 #define HAVE_ASINL 1
98015 _ACEOF
98016
98017     cat >>confdefs.h <<\_ACEOF
98018 #define HAVE_ATAN2L 1
98019 _ACEOF
98020
98021     cat >>confdefs.h <<\_ACEOF
98022 #define HAVE_ATANL 1
98023 _ACEOF
98024
98025     cat >>confdefs.h <<\_ACEOF
98026 #define HAVE_CEILL 1
98027 _ACEOF
98028
98029     cat >>confdefs.h <<\_ACEOF
98030 #define HAVE_COPYSIGNL 1
98031 _ACEOF
98032
98033     cat >>confdefs.h <<\_ACEOF
98034 #define HAVE_COSL 1
98035 _ACEOF
98036
98037     cat >>confdefs.h <<\_ACEOF
98038 #define HAVE_COSHL 1
98039 _ACEOF
98040
98041     cat >>confdefs.h <<\_ACEOF
98042 #define HAVE_EXPL 1
98043 _ACEOF
98044
98045     cat >>confdefs.h <<\_ACEOF
98046 #define HAVE_FABSL 1
98047 _ACEOF
98048
98049     cat >>confdefs.h <<\_ACEOF
98050 #define HAVE_FLOORL 1
98051 _ACEOF
98052
98053     cat >>confdefs.h <<\_ACEOF
98054 #define HAVE_FMODL 1
98055 _ACEOF
98056
98057     cat >>confdefs.h <<\_ACEOF
98058 #define HAVE_FREXPL 1
98059 _ACEOF
98060
98061     cat >>confdefs.h <<\_ACEOF
98062 #define HAVE_LDEXPL 1
98063 _ACEOF
98064
98065     cat >>confdefs.h <<\_ACEOF
98066 #define HAVE_LOG10L 1
98067 _ACEOF
98068
98069     cat >>confdefs.h <<\_ACEOF
98070 #define HAVE_LOGL 1
98071 _ACEOF
98072
98073     cat >>confdefs.h <<\_ACEOF
98074 #define HAVE_MODFL 1
98075 _ACEOF
98076
98077     cat >>confdefs.h <<\_ACEOF
98078 #define HAVE_POWL 1
98079 _ACEOF
98080
98081     cat >>confdefs.h <<\_ACEOF
98082 #define HAVE_SINCOSL 1
98083 _ACEOF
98084
98085     cat >>confdefs.h <<\_ACEOF
98086 #define HAVE_SINL 1
98087 _ACEOF
98088
98089     cat >>confdefs.h <<\_ACEOF
98090 #define HAVE_SINHL 1
98091 _ACEOF
98092
98093     cat >>confdefs.h <<\_ACEOF
98094 #define HAVE_SQRTL 1
98095 _ACEOF
98096
98097     cat >>confdefs.h <<\_ACEOF
98098 #define HAVE_TANL 1
98099 _ACEOF
98100
98101     cat >>confdefs.h <<\_ACEOF
98102 #define HAVE_TANHL 1
98103 _ACEOF
98104
98105   fi
98106
98107 fi
98108
98109 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
98110
98111
98112  # Check whether --enable-symvers or --disable-symvers was given.
98113 if test "${enable_symvers+set}" = set; then
98114   enableval="$enable_symvers"
98115
98116       case "$enableval" in
98117        yes|no|gnu) ;;
98118        *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
98119 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
98120    { (exit 1); exit 1; }; } ;;
98121                           esac
98122
98123 else
98124   enable_symvers=yes
98125 fi;
98126
98127
98128 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
98129 # don't know enough about $LD to do tricks...
98130
98131 # FIXME  The following test is too strict, in theory.
98132 if test $enable_shared = no ||
98133         test "x$LD" = x ||
98134         test x$glibcxx_gnu_ld_version = x; then
98135   enable_symvers=no
98136 fi
98137
98138 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
98139 if test $enable_symvers != no; then
98140   echo "$as_me:$LINENO: checking for shared libgcc" >&5
98141 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
98142   ac_save_CFLAGS="$CFLAGS"
98143   CFLAGS=' -lgcc_s'
98144   if test x$gcc_no_link = xyes; then
98145   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98146 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98147    { (exit 1); exit 1; }; }
98148 fi
98149 cat >conftest.$ac_ext <<_ACEOF
98150 /* confdefs.h.  */
98151 _ACEOF
98152 cat confdefs.h >>conftest.$ac_ext
98153 cat >>conftest.$ac_ext <<_ACEOF
98154 /* end confdefs.h.  */
98155
98156 int
98157 main ()
98158 {
98159 return 0;
98160   ;
98161   return 0;
98162 }
98163 _ACEOF
98164 rm -f conftest.$ac_objext conftest$ac_exeext
98165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98166   (eval $ac_link) 2>conftest.er1
98167   ac_status=$?
98168   grep -v '^ *+' conftest.er1 >conftest.err
98169   rm -f conftest.er1
98170   cat conftest.err >&5
98171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98172   (exit $ac_status); } &&
98173          { ac_try='test -z "$ac_c_werror_flag"
98174                          || test ! -s conftest.err'
98175   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98176   (eval $ac_try) 2>&5
98177   ac_status=$?
98178   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98179   (exit $ac_status); }; } &&
98180          { ac_try='test -s conftest$ac_exeext'
98181   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98182   (eval $ac_try) 2>&5
98183   ac_status=$?
98184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98185   (exit $ac_status); }; }; then
98186   glibcxx_shared_libgcc=yes
98187 else
98188   echo "$as_me: failed program was:" >&5
98189 sed 's/^/| /' conftest.$ac_ext >&5
98190
98191 glibcxx_shared_libgcc=no
98192 fi
98193 rm -f conftest.err conftest.$ac_objext \
98194       conftest$ac_exeext conftest.$ac_ext
98195   CFLAGS="$ac_save_CFLAGS"
98196   if test $glibcxx_shared_libgcc = no; then
98197     cat > conftest.c <<EOF
98198 int main (void) { return 0; }
98199 EOF
98200     glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
98201                              -shared -shared-libgcc -o conftest.so \
98202                              conftest.c -v 2>&1 >/dev/null \
98203                              | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
98204     rm -f conftest.c conftest.so
98205     if test x${glibcxx_libgcc_s_suffix+set} = xset; then
98206       CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
98207       if test x$gcc_no_link = xyes; then
98208   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98209 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98210    { (exit 1); exit 1; }; }
98211 fi
98212 cat >conftest.$ac_ext <<_ACEOF
98213 /* confdefs.h.  */
98214 _ACEOF
98215 cat confdefs.h >>conftest.$ac_ext
98216 cat >>conftest.$ac_ext <<_ACEOF
98217 /* end confdefs.h.  */
98218
98219 int
98220 main ()
98221 {
98222 return 0;
98223   ;
98224   return 0;
98225 }
98226 _ACEOF
98227 rm -f conftest.$ac_objext conftest$ac_exeext
98228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98229   (eval $ac_link) 2>conftest.er1
98230   ac_status=$?
98231   grep -v '^ *+' conftest.er1 >conftest.err
98232   rm -f conftest.er1
98233   cat conftest.err >&5
98234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98235   (exit $ac_status); } &&
98236          { ac_try='test -z "$ac_c_werror_flag"
98237                          || test ! -s conftest.err'
98238   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98239   (eval $ac_try) 2>&5
98240   ac_status=$?
98241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98242   (exit $ac_status); }; } &&
98243          { ac_try='test -s conftest$ac_exeext'
98244   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98245   (eval $ac_try) 2>&5
98246   ac_status=$?
98247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98248   (exit $ac_status); }; }; then
98249   glibcxx_shared_libgcc=yes
98250 else
98251   echo "$as_me: failed program was:" >&5
98252 sed 's/^/| /' conftest.$ac_ext >&5
98253
98254 fi
98255 rm -f conftest.err conftest.$ac_objext \
98256       conftest$ac_exeext conftest.$ac_ext
98257       CFLAGS="$ac_save_CFLAGS"
98258     fi
98259   fi
98260   echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
98261 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
98262 fi
98263
98264 # For GNU ld, we need at least this version.  The format is described in
98265 # GLIBCXX_CHECK_LINKER_FEATURES above.
98266 glibcxx_min_gnu_ld_version=21400
98267 # XXXXXXXXXXX glibcxx_gnu_ld_version=21390
98268
98269 # Check to see if unspecified "yes" value can win, given results above.
98270 # Change "yes" into either "no" or a style name.
98271 if test $enable_symvers = yes; then
98272   if test $with_gnu_ld = yes &&
98273      test $glibcxx_shared_libgcc = yes;
98274   then
98275     if test $glibcxx_gnu_ld_version -ge $glibcxx_min_gnu_ld_version ; then
98276       enable_symvers=gnu
98277     else
98278       # The right tools, the right setup, but too old.  Fallbacks?
98279       { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
98280 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
98281       { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
98282 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
98283       { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
98284 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
98285       { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
98286 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
98287       if test $glibcxx_gnu_ld_version -ge 21200 ; then
98288         # Globbing fix is present, proper block support is not.
98289                         { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
98290 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
98291         enable_symvers=no
98292       else
98293         # 2.11 or older.
98294         { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
98295 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
98296         enable_symvers=no
98297       fi
98298     fi
98299   else
98300     # just fail for now
98301     { echo "$as_me:$LINENO: WARNING: === You have requested some kind of symbol versioning, but" >&5
98302 echo "$as_me: WARNING: === You have requested some kind of symbol versioning, but" >&2;}
98303     { echo "$as_me:$LINENO: WARNING: === either you are not using a supported linker, or you are" >&5
98304 echo "$as_me: WARNING: === either you are not using a supported linker, or you are" >&2;}
98305     { echo "$as_me:$LINENO: WARNING: === not building a shared libgcc_s (which is required)." >&5
98306 echo "$as_me: WARNING: === not building a shared libgcc_s (which is required)." >&2;}
98307     { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
98308 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
98309     enable_symvers=no
98310   fi
98311 fi
98312
98313 # Everything parsed; figure out what file to use.
98314 case $enable_symvers in
98315   no)
98316     SYMVER_MAP=config/linker-map.dummy
98317     ;;
98318   gnu)
98319     SYMVER_MAP=config/linker-map.gnu
98320     cat >>confdefs.h <<\_ACEOF
98321 #define _GLIBCXX_SYMVER 1
98322 _ACEOF
98323
98324     ;;
98325 esac
98326
98327
98328
98329
98330 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
98331 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
98332
98333
98334 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
98335
98336   if $GLIBCXX_IS_NATIVE && test $is_hosted = yes; then
98337     # Do checks for resource limit functions.
98338
98339   setrlimit_have_headers=yes
98340
98341
98342
98343 for ac_header in unistd.h sys/time.h sys/resource.h
98344 do
98345 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
98346 if eval "test \"\${$as_ac_Header+set}\" = set"; then
98347   echo "$as_me:$LINENO: checking for $ac_header" >&5
98348 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
98349 if eval "test \"\${$as_ac_Header+set}\" = set"; then
98350   echo $ECHO_N "(cached) $ECHO_C" >&6
98351 fi
98352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
98353 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
98354 else
98355   # Is the header compilable?
98356 echo "$as_me:$LINENO: checking $ac_header usability" >&5
98357 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
98358 cat >conftest.$ac_ext <<_ACEOF
98359 /* confdefs.h.  */
98360 _ACEOF
98361 cat confdefs.h >>conftest.$ac_ext
98362 cat >>conftest.$ac_ext <<_ACEOF
98363 /* end confdefs.h.  */
98364 $ac_includes_default
98365 #include <$ac_header>
98366 _ACEOF
98367 rm -f conftest.$ac_objext
98368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98369   (eval $ac_compile) 2>conftest.er1
98370   ac_status=$?
98371   grep -v '^ *+' conftest.er1 >conftest.err
98372   rm -f conftest.er1
98373   cat conftest.err >&5
98374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98375   (exit $ac_status); } &&
98376          { ac_try='test -z "$ac_c_werror_flag"
98377                          || test ! -s conftest.err'
98378   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98379   (eval $ac_try) 2>&5
98380   ac_status=$?
98381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98382   (exit $ac_status); }; } &&
98383          { ac_try='test -s conftest.$ac_objext'
98384   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98385   (eval $ac_try) 2>&5
98386   ac_status=$?
98387   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98388   (exit $ac_status); }; }; then
98389   ac_header_compiler=yes
98390 else
98391   echo "$as_me: failed program was:" >&5
98392 sed 's/^/| /' conftest.$ac_ext >&5
98393
98394 ac_header_compiler=no
98395 fi
98396 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98397 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
98398 echo "${ECHO_T}$ac_header_compiler" >&6
98399
98400 # Is the header present?
98401 echo "$as_me:$LINENO: checking $ac_header presence" >&5
98402 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
98403 cat >conftest.$ac_ext <<_ACEOF
98404 /* confdefs.h.  */
98405 _ACEOF
98406 cat confdefs.h >>conftest.$ac_ext
98407 cat >>conftest.$ac_ext <<_ACEOF
98408 /* end confdefs.h.  */
98409 #include <$ac_header>
98410 _ACEOF
98411 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
98412   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
98413   ac_status=$?
98414   grep -v '^ *+' conftest.er1 >conftest.err
98415   rm -f conftest.er1
98416   cat conftest.err >&5
98417   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98418   (exit $ac_status); } >/dev/null; then
98419   if test -s conftest.err; then
98420     ac_cpp_err=$ac_c_preproc_warn_flag
98421     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
98422   else
98423     ac_cpp_err=
98424   fi
98425 else
98426   ac_cpp_err=yes
98427 fi
98428 if test -z "$ac_cpp_err"; then
98429   ac_header_preproc=yes
98430 else
98431   echo "$as_me: failed program was:" >&5
98432 sed 's/^/| /' conftest.$ac_ext >&5
98433
98434   ac_header_preproc=no
98435 fi
98436 rm -f conftest.err conftest.$ac_ext
98437 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
98438 echo "${ECHO_T}$ac_header_preproc" >&6
98439
98440 # So?  What about this header?
98441 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
98442   yes:no: )
98443     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
98444 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
98445     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
98446 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
98447     ac_header_preproc=yes
98448     ;;
98449   no:yes:* )
98450     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
98451 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
98452     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
98453 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
98454     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
98455 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
98456     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
98457 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
98458     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
98459 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
98460     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
98461 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
98462     (
98463       cat <<\_ASBOX
98464 ## ----------------------------------------- ##
98465 ## Report this to the package-unused lists.  ##
98466 ## ----------------------------------------- ##
98467 _ASBOX
98468     ) |
98469       sed "s/^/$as_me: WARNING:     /" >&2
98470     ;;
98471 esac
98472 echo "$as_me:$LINENO: checking for $ac_header" >&5
98473 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
98474 if eval "test \"\${$as_ac_Header+set}\" = set"; then
98475   echo $ECHO_N "(cached) $ECHO_C" >&6
98476 else
98477   eval "$as_ac_Header=\$ac_header_preproc"
98478 fi
98479 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
98480 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
98481
98482 fi
98483 if test `eval echo '${'$as_ac_Header'}'` = yes; then
98484   cat >>confdefs.h <<_ACEOF
98485 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
98486 _ACEOF
98487
98488 else
98489   setrlimit_have_headers=no
98490 fi
98491
98492 done
98493
98494   # If don't have the headers, then we can't run the tests now, and we
98495   # won't be seeing any of these during testsuite compilation.
98496   if test $setrlimit_have_headers = yes; then
98497     # Can't do these in a loop, else the resulting syntax is wrong.
98498
98499   cat >conftest.$ac_ext <<_ACEOF
98500 /* confdefs.h.  */
98501 _ACEOF
98502 cat confdefs.h >>conftest.$ac_ext
98503 cat >>conftest.$ac_ext <<_ACEOF
98504 /* end confdefs.h.  */
98505 #include <unistd.h>
98506      #include <sys/time.h>
98507      #include <sys/resource.h>
98508
98509 int
98510 main ()
98511 {
98512  int f = RLIMIT_DATA ;
98513   ;
98514   return 0;
98515 }
98516 _ACEOF
98517 rm -f conftest.$ac_objext
98518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98519   (eval $ac_compile) 2>conftest.er1
98520   ac_status=$?
98521   grep -v '^ *+' conftest.er1 >conftest.err
98522   rm -f conftest.er1
98523   cat conftest.err >&5
98524   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98525   (exit $ac_status); } &&
98526          { ac_try='test -z "$ac_c_werror_flag"
98527                          || test ! -s conftest.err'
98528   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98529   (eval $ac_try) 2>&5
98530   ac_status=$?
98531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98532   (exit $ac_status); }; } &&
98533          { ac_try='test -s conftest.$ac_objext'
98534   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98535   (eval $ac_try) 2>&5
98536   ac_status=$?
98537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98538   (exit $ac_status); }; }; then
98539   glibcxx_mresult=1
98540 else
98541   echo "$as_me: failed program was:" >&5
98542 sed 's/^/| /' conftest.$ac_ext >&5
98543
98544 glibcxx_mresult=0
98545 fi
98546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98547
98548 cat >>confdefs.h <<_ACEOF
98549 #define HAVE_LIMIT_DATA $glibcxx_mresult
98550 _ACEOF
98551
98552
98553
98554   cat >conftest.$ac_ext <<_ACEOF
98555 /* confdefs.h.  */
98556 _ACEOF
98557 cat confdefs.h >>conftest.$ac_ext
98558 cat >>conftest.$ac_ext <<_ACEOF
98559 /* end confdefs.h.  */
98560 #include <unistd.h>
98561      #include <sys/time.h>
98562      #include <sys/resource.h>
98563
98564 int
98565 main ()
98566 {
98567  int f = RLIMIT_RSS ;
98568   ;
98569   return 0;
98570 }
98571 _ACEOF
98572 rm -f conftest.$ac_objext
98573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98574   (eval $ac_compile) 2>conftest.er1
98575   ac_status=$?
98576   grep -v '^ *+' conftest.er1 >conftest.err
98577   rm -f conftest.er1
98578   cat conftest.err >&5
98579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98580   (exit $ac_status); } &&
98581          { ac_try='test -z "$ac_c_werror_flag"
98582                          || test ! -s conftest.err'
98583   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98584   (eval $ac_try) 2>&5
98585   ac_status=$?
98586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98587   (exit $ac_status); }; } &&
98588          { ac_try='test -s conftest.$ac_objext'
98589   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98590   (eval $ac_try) 2>&5
98591   ac_status=$?
98592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98593   (exit $ac_status); }; }; then
98594   glibcxx_mresult=1
98595 else
98596   echo "$as_me: failed program was:" >&5
98597 sed 's/^/| /' conftest.$ac_ext >&5
98598
98599 glibcxx_mresult=0
98600 fi
98601 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98602
98603 cat >>confdefs.h <<_ACEOF
98604 #define HAVE_LIMIT_RSS $glibcxx_mresult
98605 _ACEOF
98606
98607
98608
98609   cat >conftest.$ac_ext <<_ACEOF
98610 /* confdefs.h.  */
98611 _ACEOF
98612 cat confdefs.h >>conftest.$ac_ext
98613 cat >>conftest.$ac_ext <<_ACEOF
98614 /* end confdefs.h.  */
98615 #include <unistd.h>
98616      #include <sys/time.h>
98617      #include <sys/resource.h>
98618
98619 int
98620 main ()
98621 {
98622  int f = RLIMIT_VMEM ;
98623   ;
98624   return 0;
98625 }
98626 _ACEOF
98627 rm -f conftest.$ac_objext
98628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98629   (eval $ac_compile) 2>conftest.er1
98630   ac_status=$?
98631   grep -v '^ *+' conftest.er1 >conftest.err
98632   rm -f conftest.er1
98633   cat conftest.err >&5
98634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98635   (exit $ac_status); } &&
98636          { ac_try='test -z "$ac_c_werror_flag"
98637                          || test ! -s conftest.err'
98638   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98639   (eval $ac_try) 2>&5
98640   ac_status=$?
98641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98642   (exit $ac_status); }; } &&
98643          { ac_try='test -s conftest.$ac_objext'
98644   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98645   (eval $ac_try) 2>&5
98646   ac_status=$?
98647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98648   (exit $ac_status); }; }; then
98649   glibcxx_mresult=1
98650 else
98651   echo "$as_me: failed program was:" >&5
98652 sed 's/^/| /' conftest.$ac_ext >&5
98653
98654 glibcxx_mresult=0
98655 fi
98656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98657
98658 cat >>confdefs.h <<_ACEOF
98659 #define HAVE_LIMIT_VMEM $glibcxx_mresult
98660 _ACEOF
98661
98662
98663
98664   cat >conftest.$ac_ext <<_ACEOF
98665 /* confdefs.h.  */
98666 _ACEOF
98667 cat confdefs.h >>conftest.$ac_ext
98668 cat >>conftest.$ac_ext <<_ACEOF
98669 /* end confdefs.h.  */
98670 #include <unistd.h>
98671      #include <sys/time.h>
98672      #include <sys/resource.h>
98673
98674 int
98675 main ()
98676 {
98677  int f = RLIMIT_AS ;
98678   ;
98679   return 0;
98680 }
98681 _ACEOF
98682 rm -f conftest.$ac_objext
98683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98684   (eval $ac_compile) 2>conftest.er1
98685   ac_status=$?
98686   grep -v '^ *+' conftest.er1 >conftest.err
98687   rm -f conftest.er1
98688   cat conftest.err >&5
98689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98690   (exit $ac_status); } &&
98691          { ac_try='test -z "$ac_c_werror_flag"
98692                          || test ! -s conftest.err'
98693   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98694   (eval $ac_try) 2>&5
98695   ac_status=$?
98696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98697   (exit $ac_status); }; } &&
98698          { ac_try='test -s conftest.$ac_objext'
98699   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98700   (eval $ac_try) 2>&5
98701   ac_status=$?
98702   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98703   (exit $ac_status); }; }; then
98704   glibcxx_mresult=1
98705 else
98706   echo "$as_me: failed program was:" >&5
98707 sed 's/^/| /' conftest.$ac_ext >&5
98708
98709 glibcxx_mresult=0
98710 fi
98711 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98712
98713 cat >>confdefs.h <<_ACEOF
98714 #define HAVE_LIMIT_AS $glibcxx_mresult
98715 _ACEOF
98716
98717
98718
98719   cat >conftest.$ac_ext <<_ACEOF
98720 /* confdefs.h.  */
98721 _ACEOF
98722 cat confdefs.h >>conftest.$ac_ext
98723 cat >>conftest.$ac_ext <<_ACEOF
98724 /* end confdefs.h.  */
98725 #include <unistd.h>
98726      #include <sys/time.h>
98727      #include <sys/resource.h>
98728
98729 int
98730 main ()
98731 {
98732  int f = RLIMIT_FSIZE ;
98733   ;
98734   return 0;
98735 }
98736 _ACEOF
98737 rm -f conftest.$ac_objext
98738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98739   (eval $ac_compile) 2>conftest.er1
98740   ac_status=$?
98741   grep -v '^ *+' conftest.er1 >conftest.err
98742   rm -f conftest.er1
98743   cat conftest.err >&5
98744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98745   (exit $ac_status); } &&
98746          { ac_try='test -z "$ac_c_werror_flag"
98747                          || test ! -s conftest.err'
98748   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98749   (eval $ac_try) 2>&5
98750   ac_status=$?
98751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98752   (exit $ac_status); }; } &&
98753          { ac_try='test -s conftest.$ac_objext'
98754   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98755   (eval $ac_try) 2>&5
98756   ac_status=$?
98757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98758   (exit $ac_status); }; }; then
98759   glibcxx_mresult=1
98760 else
98761   echo "$as_me: failed program was:" >&5
98762 sed 's/^/| /' conftest.$ac_ext >&5
98763
98764 glibcxx_mresult=0
98765 fi
98766 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98767
98768 cat >>confdefs.h <<_ACEOF
98769 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
98770 _ACEOF
98771
98772
98773
98774     # Check for rlimit, setrlimit.
98775     if test "${ac_setrlimit+set}" = set; then
98776   echo $ECHO_N "(cached) $ECHO_C" >&6
98777 else
98778
98779       cat >conftest.$ac_ext <<_ACEOF
98780 /* confdefs.h.  */
98781 _ACEOF
98782 cat confdefs.h >>conftest.$ac_ext
98783 cat >>conftest.$ac_ext <<_ACEOF
98784 /* end confdefs.h.  */
98785 #include <unistd.h>
98786          #include <sys/time.h>
98787          #include <sys/resource.h>
98788
98789 int
98790 main ()
98791 {
98792 struct rlimit r;
98793          setrlimit(0, &r);
98794   ;
98795   return 0;
98796 }
98797 _ACEOF
98798 rm -f conftest.$ac_objext
98799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98800   (eval $ac_compile) 2>conftest.er1
98801   ac_status=$?
98802   grep -v '^ *+' conftest.er1 >conftest.err
98803   rm -f conftest.er1
98804   cat conftest.err >&5
98805   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98806   (exit $ac_status); } &&
98807          { ac_try='test -z "$ac_c_werror_flag"
98808                          || test ! -s conftest.err'
98809   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98810   (eval $ac_try) 2>&5
98811   ac_status=$?
98812   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98813   (exit $ac_status); }; } &&
98814          { ac_try='test -s conftest.$ac_objext'
98815   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98816   (eval $ac_try) 2>&5
98817   ac_status=$?
98818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98819   (exit $ac_status); }; }; then
98820   ac_setrlimit=yes
98821 else
98822   echo "$as_me: failed program was:" >&5
98823 sed 's/^/| /' conftest.$ac_ext >&5
98824
98825 ac_setrlimit=no
98826 fi
98827 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98828
98829 fi
98830
98831   fi
98832
98833   echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
98834 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
98835   if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
98836     ac_res_limits=yes
98837     cat >>confdefs.h <<\_ACEOF
98838 #define _GLIBCXX_RES_LIMITS 1
98839 _ACEOF
98840
98841   else
98842     ac_res_limits=no
98843   fi
98844   echo "$as_me:$LINENO: result: $ac_res_limits" >&5
98845 echo "${ECHO_T}$ac_res_limits" >&6
98846
98847
98848     # Look for setenv, so that extended locale tests can be performed.
98849
98850   echo "$as_me:$LINENO: checking for setenv declaration" >&5
98851 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
98852   if test x${glibcxx_cv_func_setenv_use+set} != xset; then
98853     if test "${glibcxx_cv_func_setenv_use+set}" = set; then
98854   echo $ECHO_N "(cached) $ECHO_C" >&6
98855 else
98856
98857
98858
98859       ac_ext=cc
98860 ac_cpp='$CXXCPP $CPPFLAGS'
98861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98864
98865       cat >conftest.$ac_ext <<_ACEOF
98866 /* confdefs.h.  */
98867 _ACEOF
98868 cat confdefs.h >>conftest.$ac_ext
98869 cat >>conftest.$ac_ext <<_ACEOF
98870 /* end confdefs.h.  */
98871 #include <stdlib.h>
98872 int
98873 main ()
98874 {
98875  setenv(0, 0, 0);
98876   ;
98877   return 0;
98878 }
98879 _ACEOF
98880 rm -f conftest.$ac_objext
98881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98882   (eval $ac_compile) 2>conftest.er1
98883   ac_status=$?
98884   grep -v '^ *+' conftest.er1 >conftest.err
98885   rm -f conftest.er1
98886   cat conftest.err >&5
98887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98888   (exit $ac_status); } &&
98889          { ac_try='test -z "$ac_cxx_werror_flag"
98890                          || test ! -s conftest.err'
98891   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98892   (eval $ac_try) 2>&5
98893   ac_status=$?
98894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98895   (exit $ac_status); }; } &&
98896          { ac_try='test -s conftest.$ac_objext'
98897   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98898   (eval $ac_try) 2>&5
98899   ac_status=$?
98900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98901   (exit $ac_status); }; }; then
98902   glibcxx_cv_func_setenv_use=yes
98903 else
98904   echo "$as_me: failed program was:" >&5
98905 sed 's/^/| /' conftest.$ac_ext >&5
98906
98907 glibcxx_cv_func_setenv_use=no
98908 fi
98909 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98910       ac_ext=c
98911 ac_cpp='$CPP $CPPFLAGS'
98912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98915
98916
98917 fi
98918
98919   fi
98920   echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
98921 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
98922   if test x$glibcxx_cv_func_setenv_use = x"yes"; then
98923
98924 for ac_func in setenv
98925 do
98926 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98927 echo "$as_me:$LINENO: checking for $ac_func" >&5
98928 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98929 if eval "test \"\${$as_ac_var+set}\" = set"; then
98930   echo $ECHO_N "(cached) $ECHO_C" >&6
98931 else
98932   if test x$gcc_no_link = xyes; then
98933   { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98934 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98935    { (exit 1); exit 1; }; }
98936 fi
98937 cat >conftest.$ac_ext <<_ACEOF
98938 /* confdefs.h.  */
98939 _ACEOF
98940 cat confdefs.h >>conftest.$ac_ext
98941 cat >>conftest.$ac_ext <<_ACEOF
98942 /* end confdefs.h.  */
98943 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98944    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
98945 #define $ac_func innocuous_$ac_func
98946
98947 /* System header to define __stub macros and hopefully few prototypes,
98948     which can conflict with char $ac_func (); below.
98949     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98950     <limits.h> exists even on freestanding compilers.  */
98951
98952 #ifdef __STDC__
98953 # include <limits.h>
98954 #else
98955 # include <assert.h>
98956 #endif
98957
98958 #undef $ac_func
98959
98960 /* Override any gcc2 internal prototype to avoid an error.  */
98961 #ifdef __cplusplus
98962 extern "C"
98963 {
98964 #endif
98965 /* We use char because int might match the return type of a gcc2
98966    builtin and then its argument prototype would still apply.  */
98967 char $ac_func ();
98968 /* The GNU C library defines this for functions which it implements
98969     to always fail with ENOSYS.  Some functions are actually named
98970     something starting with __ and the normal name is an alias.  */
98971 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98972 choke me
98973 #else
98974 char (*f) () = $ac_func;
98975 #endif
98976 #ifdef __cplusplus
98977 }
98978 #endif
98979
98980 int
98981 main ()
98982 {
98983 return f != $ac_func;
98984   ;
98985   return 0;
98986 }
98987 _ACEOF
98988 rm -f conftest.$ac_objext conftest$ac_exeext
98989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98990   (eval $ac_link) 2>conftest.er1
98991   ac_status=$?
98992   grep -v '^ *+' conftest.er1 >conftest.err
98993   rm -f conftest.er1
98994   cat conftest.err >&5
98995   echo "$as_me:$LINENO: \$? = $ac_status" >&5
98996   (exit $ac_status); } &&
98997          { ac_try='test -z "$ac_c_werror_flag"
98998                          || test ! -s conftest.err'
98999   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99000   (eval $ac_try) 2>&5
99001   ac_status=$?
99002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99003   (exit $ac_status); }; } &&
99004          { ac_try='test -s conftest$ac_exeext'
99005   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99006   (eval $ac_try) 2>&5
99007   ac_status=$?
99008   echo "$as_me:$LINENO: \$? = $ac_status" >&5
99009   (exit $ac_status); }; }; then
99010   eval "$as_ac_var=yes"
99011 else
99012   echo "$as_me: failed program was:" >&5
99013 sed 's/^/| /' conftest.$ac_ext >&5
99014
99015 eval "$as_ac_var=no"
99016 fi
99017 rm -f conftest.err conftest.$ac_objext \
99018       conftest$ac_exeext conftest.$ac_ext
99019 fi
99020 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99021 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99022 if test `eval echo '${'$as_ac_var'}'` = yes; then
99023   cat >>confdefs.h <<_ACEOF
99024 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99025 _ACEOF
99026
99027 fi
99028 done
99029
99030   fi
99031
99032
99033     if test $enable_symvers = no; then
99034       enable_abi_check=no
99035     else
99036       case "$host" in
99037         *-*-cygwin*)
99038           enable_abi_check=no ;;
99039         *)
99040           enable_abi_check=yes ;;
99041       esac
99042     fi
99043   else
99044     # Only build this as native, since automake does not understand
99045     # CXX_FOR_BUILD.
99046     enable_abi_check=no
99047   fi
99048
99049   # Export file names for ABI checking.
99050   baseline_dir="$glibcxx_srcdir/config/abi/${abi_baseline_pair}\$(MULTISUBDIR)"
99051
99052
99053
99054
99055
99056
99057
99058 # Propagate the target-specific source directories through the build chain.
99059 ATOMICITY_SRCDIR=config/${atomicity_dir}
99060 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
99061 OS_INC_SRCDIR=config/${os_include_dir}
99062 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
99063
99064
99065
99066
99067
99068 # Determine cross-compile flags and AM_CONDITIONALs.
99069 #AC_SUBST(GLIBCXX_IS_NATIVE)
99070 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
99071 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
99072 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH,  test $need_libmath = yes)
99073
99074
99075 if test $is_hosted = yes; then
99076   GLIBCXX_HOSTED_TRUE=
99077   GLIBCXX_HOSTED_FALSE='#'
99078 else
99079   GLIBCXX_HOSTED_TRUE='#'
99080   GLIBCXX_HOSTED_FALSE=
99081 fi
99082
99083
99084
99085
99086 if test $enable_libstdcxx_pch = yes; then
99087   GLIBCXX_BUILD_PCH_TRUE=
99088   GLIBCXX_BUILD_PCH_FALSE='#'
99089 else
99090   GLIBCXX_BUILD_PCH_TRUE='#'
99091   GLIBCXX_BUILD_PCH_FALSE=
99092 fi
99093
99094
99095
99096
99097 if test $enable_cheaders = c; then
99098   GLIBCXX_C_HEADERS_C_TRUE=
99099   GLIBCXX_C_HEADERS_C_FALSE='#'
99100 else
99101   GLIBCXX_C_HEADERS_C_TRUE='#'
99102   GLIBCXX_C_HEADERS_C_FALSE=
99103 fi
99104
99105
99106
99107
99108 if test $enable_cheaders = c_std; then
99109   GLIBCXX_C_HEADERS_C_STD_TRUE=
99110   GLIBCXX_C_HEADERS_C_STD_FALSE='#'
99111 else
99112   GLIBCXX_C_HEADERS_C_STD_TRUE='#'
99113   GLIBCXX_C_HEADERS_C_STD_FALSE=
99114 fi
99115
99116
99117
99118
99119 if test $c_compatibility = yes; then
99120   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
99121   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
99122 else
99123   GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
99124   GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
99125 fi
99126
99127
99128
99129
99130 if test $enable_libstdcxx_debug = yes; then
99131   GLIBCXX_BUILD_DEBUG_TRUE=
99132   GLIBCXX_BUILD_DEBUG_FALSE='#'
99133 else
99134   GLIBCXX_BUILD_DEBUG_TRUE='#'
99135   GLIBCXX_BUILD_DEBUG_FALSE=
99136 fi
99137
99138
99139
99140
99141 if test $enable_symvers != no; then
99142   GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE=
99143   GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE='#'
99144 else
99145   GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE='#'
99146   GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE=
99147 fi
99148
99149
99150
99151
99152 if test $enable_wchar_t = yes; then
99153   GLIBCXX_TEST_WCHAR_T_TRUE=
99154   GLIBCXX_TEST_WCHAR_T_FALSE='#'
99155 else
99156   GLIBCXX_TEST_WCHAR_T_TRUE='#'
99157   GLIBCXX_TEST_WCHAR_T_FALSE=
99158 fi
99159
99160
99161
99162
99163 if test $enable_thread = yes; then
99164   GLIBCXX_TEST_THREAD_TRUE=
99165   GLIBCXX_TEST_THREAD_FALSE='#'
99166 else
99167   GLIBCXX_TEST_THREAD_TRUE='#'
99168   GLIBCXX_TEST_THREAD_FALSE=
99169 fi
99170
99171
99172
99173
99174 if test $enable_abi_check = yes; then
99175   GLIBCXX_TEST_ABI_TRUE=
99176   GLIBCXX_TEST_ABI_FALSE='#'
99177 else
99178   GLIBCXX_TEST_ABI_TRUE='#'
99179   GLIBCXX_TEST_ABI_FALSE=
99180 fi
99181
99182
99183
99184
99185 cat >confcache <<\_ACEOF
99186 # This file is a shell script that caches the results of configure
99187 # tests run on this system so they can be shared between configure
99188 # scripts and configure runs, see configure's option --config-cache.
99189 # It is not useful on other systems.  If it contains results you don't
99190 # want to keep, you may remove or edit it.
99191 #
99192 # config.status only pays attention to the cache file if you give it
99193 # the --recheck option to rerun configure.
99194 #
99195 # `ac_cv_env_foo' variables (set or unset) will be overridden when
99196 # loading this file, other *unset* `ac_cv_foo' will be assigned the
99197 # following values.
99198
99199 _ACEOF
99200
99201 # The following way of writing the cache mishandles newlines in values,
99202 # but we know of no workaround that is simple, portable, and efficient.
99203 # So, don't put newlines in cache variables' values.
99204 # Ultrix sh set writes to stderr and can't be redirected directly,
99205 # and sets the high bit in the cache file unless we assign to the vars.
99206 {
99207   (set) 2>&1 |
99208     case `(ac_space=' '; set | grep ac_space) 2>&1` in
99209     *ac_space=\ *)
99210       # `set' does not quote correctly, so add quotes (double-quote
99211       # substitution turns \\\\ into \\, and sed turns \\ into \).
99212       sed -n \
99213         "s/'/'\\\\''/g;
99214           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
99215       ;;
99216     *)
99217       # `set' quotes correctly as required by POSIX, so do not add quotes.
99218       sed -n \
99219         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
99220       ;;
99221     esac;
99222 } |
99223   sed '
99224      t clear
99225      : clear
99226      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
99227      t end
99228      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
99229      : end' >>confcache
99230 if diff $cache_file confcache >/dev/null 2>&1; then :; else
99231   if test -w $cache_file; then
99232     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
99233     cat confcache >$cache_file
99234   else
99235     echo "not updating unwritable cache $cache_file"
99236   fi
99237 fi
99238 rm -f confcache
99239
99240 if test ${multilib} = yes; then
99241   multilib_arg="--enable-multilib"
99242 else
99243   multilib_arg=
99244 fi
99245
99246 # Export all the install information.
99247
99248   glibcxx_toolexecdir=no
99249   glibcxx_toolexeclibdir=no
99250   glibcxx_prefixdir=$prefix
99251
99252   echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
99253 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
99254
99255 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
99256 if test "${with_gxx_include_dir+set}" = set; then
99257   withval="$with_gxx_include_dir"
99258   case "$withval" in
99259       yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
99260 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
99261    { (exit 1); exit 1; }; } ;;
99262       no)  gxx_include_dir=no ;;
99263       *)   gxx_include_dir=$withval ;;
99264      esac
99265 else
99266   gxx_include_dir=no
99267 fi;
99268   echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
99269 echo "${ECHO_T}$gxx_include_dir" >&6
99270
99271   echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
99272 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
99273   # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
99274 if test "${enable_version_specific_runtime_libs+set}" = set; then
99275   enableval="$enable_version_specific_runtime_libs"
99276   case "$enableval" in
99277       yes) version_specific_libs=yes ;;
99278       no)  version_specific_libs=no ;;
99279       *)   { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
99280 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
99281    { (exit 1); exit 1; }; };;
99282      esac
99283 else
99284   version_specific_libs=no
99285 fi;
99286   echo "$as_me:$LINENO: result: $version_specific_libs" >&5
99287 echo "${ECHO_T}$version_specific_libs" >&6
99288
99289   # Default case for install directory for include files.
99290   if test $version_specific_libs = no && test $gxx_include_dir = no; then
99291     gxx_include_dir='${prefix}/include/c++/${gcc_version}'
99292   fi
99293
99294   # Version-specific runtime libs processing.
99295   if test $version_specific_libs = yes; then
99296     # Need the gcc compiler version to know where to install libraries
99297     # and header files if --enable-version-specific-runtime-libs option
99298     # is selected.  FIXME: these variables are misnamed, there are
99299     # no executables installed in _toolexecdir or _toolexeclibdir.
99300     if test x"$gxx_include_dir" = x"no"; then
99301       gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
99302     fi
99303     glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
99304     glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
99305   fi
99306
99307   # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
99308   # Install a library built with a cross compiler in tooldir, not libdir.
99309   if test x"$glibcxx_toolexecdir" = x"no"; then
99310     if test -n "$with_cross_host" &&
99311        test x"$with_cross_host" != x"no"; then
99312       glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
99313       glibcxx_toolexeclibdir='${toolexecdir}/lib'
99314     else
99315       glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
99316       glibcxx_toolexeclibdir='${libdir}'
99317     fi
99318     multi_os_directory=`$CXX -print-multi-os-directory`
99319     case $multi_os_directory in
99320       .) ;; # Avoid trailing /.
99321       *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
99322     esac
99323   fi
99324
99325   echo "$as_me:$LINENO: checking for install location" >&5
99326 echo $ECHO_N "checking for install location... $ECHO_C" >&6
99327   echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
99328 echo "${ECHO_T}$gxx_include_dir" >&6
99329
99330
99331
99332
99333
99334
99335
99336 # Export all the include and flag information to Makefiles.
99337
99338   # Used for every C++ compile we perform.
99339   GLIBCXX_INCLUDES="\
99340 -I$glibcxx_builddir/include/$host_alias \
99341 -I$glibcxx_builddir/include \
99342 -I$glibcxx_srcdir/libsupc++"
99343
99344   # For Canadian crosses, pick this up too.
99345   if test $CANADIAN = yes; then
99346     GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
99347   fi
99348
99349   # Stuff in the actual top level.  Currently only used by libsupc++ to
99350   # get unwind* headers from the gcc dir.
99351   #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
99352   TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
99353
99354   # Now, export this to all the little Makefiles....
99355
99356
99357
99358
99359   # Optimization flags that are probably a good idea for thrill-seekers. Just
99360   # uncomment the lines below and make, everything else is ready to go...
99361   # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
99362   OPTIMIZE_CXXFLAGS=
99363
99364
99365   WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
99366
99367
99368
99369 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
99370    grep "enable shared" > /dev/null;
99371 then
99372   LIBSUPCXX_PICFLAGS=-prefer-pic
99373 else
99374   LIBSUPCXX_PICFLAGS=
99375 fi
99376
99377
99378                                                                       ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile po/Makefile testsuite/Makefile"
99379
99380           ac_config_files="$ac_config_files scripts/check_survey"
99381
99382           ac_config_files="$ac_config_files scripts/testsuite_flags"
99383
99384
99385           ac_config_commands="$ac_config_commands default"
99386
99387
99388 cat >confcache <<\_ACEOF
99389 # This file is a shell script that caches the results of configure
99390 # tests run on this system so they can be shared between configure
99391 # scripts and configure runs, see configure's option --config-cache.
99392 # It is not useful on other systems.  If it contains results you don't
99393 # want to keep, you may remove or edit it.
99394 #
99395 # config.status only pays attention to the cache file if you give it
99396 # the --recheck option to rerun configure.
99397 #
99398 # `ac_cv_env_foo' variables (set or unset) will be overridden when
99399 # loading this file, other *unset* `ac_cv_foo' will be assigned the
99400 # following values.
99401
99402 _ACEOF
99403
99404 # The following way of writing the cache mishandles newlines in values,
99405 # but we know of no workaround that is simple, portable, and efficient.
99406 # So, don't put newlines in cache variables' values.
99407 # Ultrix sh set writes to stderr and can't be redirected directly,
99408 # and sets the high bit in the cache file unless we assign to the vars.
99409 {
99410   (set) 2>&1 |
99411     case `(ac_space=' '; set | grep ac_space) 2>&1` in
99412     *ac_space=\ *)
99413       # `set' does not quote correctly, so add quotes (double-quote
99414       # substitution turns \\\\ into \\, and sed turns \\ into \).
99415       sed -n \
99416         "s/'/'\\\\''/g;
99417           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
99418       ;;
99419     *)
99420       # `set' quotes correctly as required by POSIX, so do not add quotes.
99421       sed -n \
99422         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
99423       ;;
99424     esac;
99425 } |
99426   sed '
99427      t clear
99428      : clear
99429      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
99430      t end
99431      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
99432      : end' >>confcache
99433 if diff $cache_file confcache >/dev/null 2>&1; then :; else
99434   if test -w $cache_file; then
99435     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
99436     cat confcache >$cache_file
99437   else
99438     echo "not updating unwritable cache $cache_file"
99439   fi
99440 fi
99441 rm -f confcache
99442
99443 test "x$prefix" = xNONE && prefix=$ac_default_prefix
99444 # Let make expand exec_prefix.
99445 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
99446
99447 # VPATH may cause trouble with some makes, so we remove $(srcdir),
99448 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
99449 # trailing colons and then remove the whole line if VPATH becomes empty
99450 # (actually we leave an empty line to preserve line numbers).
99451 if test "x$srcdir" = x.; then
99452   ac_vpsub='/^[  ]*VPATH[        ]*=/{
99453 s/:*\$(srcdir):*/:/;
99454 s/:*\${srcdir}:*/:/;
99455 s/:*@srcdir@:*/:/;
99456 s/^\([^=]*=[     ]*\):*/\1/;
99457 s/:*$//;
99458 s/^[^=]*=[       ]*$//;
99459 }'
99460 fi
99461
99462 DEFS=-DHAVE_CONFIG_H
99463
99464 ac_libobjs=
99465 ac_ltlibobjs=
99466 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
99467   # 1. Remove the extension, and $U if already installed.
99468   ac_i=`echo "$ac_i" |
99469          sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
99470   # 2. Add them.
99471   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
99472   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
99473 done
99474 LIBOBJS=$ac_libobjs
99475
99476 LTLIBOBJS=$ac_ltlibobjs
99477
99478
99479 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
99480   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
99481 Usually this means the macro was only invoked conditionally." >&5
99482 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
99483 Usually this means the macro was only invoked conditionally." >&2;}
99484    { (exit 1); exit 1; }; }
99485 fi
99486 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
99487   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
99488 Usually this means the macro was only invoked conditionally." >&5
99489 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
99490 Usually this means the macro was only invoked conditionally." >&2;}
99491    { (exit 1); exit 1; }; }
99492 fi
99493 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
99494   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
99495 Usually this means the macro was only invoked conditionally." >&5
99496 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
99497 Usually this means the macro was only invoked conditionally." >&2;}
99498    { (exit 1); exit 1; }; }
99499 fi
99500 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
99501   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
99502 Usually this means the macro was only invoked conditionally." >&5
99503 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
99504 Usually this means the macro was only invoked conditionally." >&2;}
99505    { (exit 1); exit 1; }; }
99506 fi
99507 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
99508   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
99509 Usually this means the macro was only invoked conditionally." >&5
99510 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
99511 Usually this means the macro was only invoked conditionally." >&2;}
99512    { (exit 1); exit 1; }; }
99513 fi
99514 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
99515   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
99516 Usually this means the macro was only invoked conditionally." >&5
99517 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
99518 Usually this means the macro was only invoked conditionally." >&2;}
99519    { (exit 1); exit 1; }; }
99520 fi
99521 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
99522   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
99523 Usually this means the macro was only invoked conditionally." >&5
99524 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
99525 Usually this means the macro was only invoked conditionally." >&2;}
99526    { (exit 1); exit 1; }; }
99527 fi
99528 if test -z "${GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE}" && test -z "${GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE}"; then
99529   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_VERSIONED_SHLIB\" was never defined.
99530 Usually this means the macro was only invoked conditionally." >&5
99531 echo "$as_me: error: conditional \"GLIBCXX_BUILD_VERSIONED_SHLIB\" was never defined.
99532 Usually this means the macro was only invoked conditionally." >&2;}
99533    { (exit 1); exit 1; }; }
99534 fi
99535 if test -z "${GLIBCXX_TEST_WCHAR_T_TRUE}" && test -z "${GLIBCXX_TEST_WCHAR_T_FALSE}"; then
99536   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_WCHAR_T\" was never defined.
99537 Usually this means the macro was only invoked conditionally." >&5
99538 echo "$as_me: error: conditional \"GLIBCXX_TEST_WCHAR_T\" was never defined.
99539 Usually this means the macro was only invoked conditionally." >&2;}
99540    { (exit 1); exit 1; }; }
99541 fi
99542 if test -z "${GLIBCXX_TEST_THREAD_TRUE}" && test -z "${GLIBCXX_TEST_THREAD_FALSE}"; then
99543   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_THREAD\" was never defined.
99544 Usually this means the macro was only invoked conditionally." >&5
99545 echo "$as_me: error: conditional \"GLIBCXX_TEST_THREAD\" was never defined.
99546 Usually this means the macro was only invoked conditionally." >&2;}
99547    { (exit 1); exit 1; }; }
99548 fi
99549 if test -z "${GLIBCXX_TEST_ABI_TRUE}" && test -z "${GLIBCXX_TEST_ABI_FALSE}"; then
99550   { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_ABI\" was never defined.
99551 Usually this means the macro was only invoked conditionally." >&5
99552 echo "$as_me: error: conditional \"GLIBCXX_TEST_ABI\" was never defined.
99553 Usually this means the macro was only invoked conditionally." >&2;}
99554    { (exit 1); exit 1; }; }
99555 fi
99556
99557 : ${CONFIG_STATUS=./config.status}
99558 ac_clean_files_save=$ac_clean_files
99559 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
99560 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
99561 echo "$as_me: creating $CONFIG_STATUS" >&6;}
99562 cat >$CONFIG_STATUS <<_ACEOF
99563 #! $SHELL
99564 # Generated by $as_me.
99565 # Run this file to recreate the current configuration.
99566 # Compiler output produced by configure, useful for debugging
99567 # configure, is in config.log if it exists.
99568
99569 debug=false
99570 ac_cs_recheck=false
99571 ac_cs_silent=false
99572 SHELL=\${CONFIG_SHELL-$SHELL}
99573 _ACEOF
99574
99575 cat >>$CONFIG_STATUS <<\_ACEOF
99576 ## --------------------- ##
99577 ## M4sh Initialization.  ##
99578 ## --------------------- ##
99579
99580 # Be Bourne compatible
99581 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
99582   emulate sh
99583   NULLCMD=:
99584   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
99585   # is contrary to our usage.  Disable this feature.
99586   alias -g '${1+"$@"}'='"$@"'
99587 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
99588   set -o posix
99589 fi
99590 DUALCASE=1; export DUALCASE # for MKS sh
99591
99592 # Support unset when possible.
99593 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
99594   as_unset=unset
99595 else
99596   as_unset=false
99597 fi
99598
99599
99600 # Work around bugs in pre-3.0 UWIN ksh.
99601 $as_unset ENV MAIL MAILPATH
99602 PS1='$ '
99603 PS2='> '
99604 PS4='+ '
99605
99606 # NLS nuisances.
99607 for as_var in \
99608   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
99609   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
99610   LC_TELEPHONE LC_TIME
99611 do
99612   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
99613     eval $as_var=C; export $as_var
99614   else
99615     $as_unset $as_var
99616   fi
99617 done
99618
99619 # Required to use basename.
99620 if expr a : '\(a\)' >/dev/null 2>&1; then
99621   as_expr=expr
99622 else
99623   as_expr=false
99624 fi
99625
99626 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
99627   as_basename=basename
99628 else
99629   as_basename=false
99630 fi
99631
99632
99633 # Name of the executable.
99634 as_me=`$as_basename "$0" ||
99635 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
99636          X"$0" : 'X\(//\)$' \| \
99637          X"$0" : 'X\(/\)$' \| \
99638          .     : '\(.\)' 2>/dev/null ||
99639 echo X/"$0" |
99640     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
99641           /^X\/\(\/\/\)$/{ s//\1/; q; }
99642           /^X\/\(\/\).*/{ s//\1/; q; }
99643           s/.*/./; q'`
99644
99645
99646 # PATH needs CR, and LINENO needs CR and PATH.
99647 # Avoid depending upon Character Ranges.
99648 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
99649 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
99650 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
99651 as_cr_digits='0123456789'
99652 as_cr_alnum=$as_cr_Letters$as_cr_digits
99653
99654 # The user is always right.
99655 if test "${PATH_SEPARATOR+set}" != set; then
99656   echo "#! /bin/sh" >conf$$.sh
99657   echo  "exit 0"   >>conf$$.sh
99658   chmod +x conf$$.sh
99659   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
99660     PATH_SEPARATOR=';'
99661   else
99662     PATH_SEPARATOR=:
99663   fi
99664   rm -f conf$$.sh
99665 fi
99666
99667
99668   as_lineno_1=$LINENO
99669   as_lineno_2=$LINENO
99670   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
99671   test "x$as_lineno_1" != "x$as_lineno_2" &&
99672   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
99673   # Find who we are.  Look in the path if we contain no path at all
99674   # relative or not.
99675   case $0 in
99676     *[\\/]* ) as_myself=$0 ;;
99677     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99678 for as_dir in $PATH
99679 do
99680   IFS=$as_save_IFS
99681   test -z "$as_dir" && as_dir=.
99682   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99683 done
99684
99685        ;;
99686   esac
99687   # We did not find ourselves, most probably we were run as `sh COMMAND'
99688   # in which case we are not to be found in the path.
99689   if test "x$as_myself" = x; then
99690     as_myself=$0
99691   fi
99692   if test ! -f "$as_myself"; then
99693     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
99694 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
99695    { (exit 1); exit 1; }; }
99696   fi
99697   case $CONFIG_SHELL in
99698   '')
99699     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99700 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
99701 do
99702   IFS=$as_save_IFS
99703   test -z "$as_dir" && as_dir=.
99704   for as_base in sh bash ksh sh5; do
99705          case $as_dir in
99706          /*)
99707            if ("$as_dir/$as_base" -c '
99708   as_lineno_1=$LINENO
99709   as_lineno_2=$LINENO
99710   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
99711   test "x$as_lineno_1" != "x$as_lineno_2" &&
99712   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
99713              $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
99714              $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
99715              CONFIG_SHELL=$as_dir/$as_base
99716              export CONFIG_SHELL
99717              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
99718            fi;;
99719          esac
99720        done
99721 done
99722 ;;
99723   esac
99724
99725   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
99726   # uniformly replaced by the line number.  The first 'sed' inserts a
99727   # line-number line before each line; the second 'sed' does the real
99728   # work.  The second script uses 'N' to pair each line-number line
99729   # with the numbered line, and appends trailing '-' during
99730   # substitution so that $LINENO is not a special case at line end.
99731   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
99732   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
99733   sed '=' <$as_myself |
99734     sed '
99735       N
99736       s,$,-,
99737       : loop
99738       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
99739       t loop
99740       s,-$,,
99741       s,^['$as_cr_digits']*\n,,
99742     ' >$as_me.lineno &&
99743   chmod +x $as_me.lineno ||
99744     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
99745 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
99746    { (exit 1); exit 1; }; }
99747
99748   # Don't try to exec as it changes $[0], causing all sort of problems
99749   # (the dirname of $[0] is not the place where we might find the
99750   # original and so on.  Autoconf is especially sensible to this).
99751   . ./$as_me.lineno
99752   # Exit status is that of the last command.
99753   exit
99754 }
99755
99756
99757 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
99758   *c*,-n*) ECHO_N= ECHO_C='
99759 ' ECHO_T='      ' ;;
99760   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
99761   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
99762 esac
99763
99764 if expr a : '\(a\)' >/dev/null 2>&1; then
99765   as_expr=expr
99766 else
99767   as_expr=false
99768 fi
99769
99770 rm -f conf$$ conf$$.exe conf$$.file
99771 echo >conf$$.file
99772 if ln -s conf$$.file conf$$ 2>/dev/null; then
99773   # We could just check for DJGPP; but this test a) works b) is more generic
99774   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
99775   if test -f conf$$.exe; then
99776     # Don't use ln at all; we don't have any links
99777     as_ln_s='cp -p'
99778   else
99779     as_ln_s='ln -s'
99780   fi
99781 elif ln conf$$.file conf$$ 2>/dev/null; then
99782   as_ln_s=ln
99783 else
99784   as_ln_s='cp -p'
99785 fi
99786 rm -f conf$$ conf$$.exe conf$$.file
99787
99788 if mkdir -p . 2>/dev/null; then
99789   as_mkdir_p=:
99790 else
99791   test -d ./-p && rmdir ./-p
99792   as_mkdir_p=false
99793 fi
99794
99795 as_executable_p="test -f"
99796
99797 # Sed expression to map a string onto a valid CPP name.
99798 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
99799
99800 # Sed expression to map a string onto a valid variable name.
99801 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
99802
99803
99804 # IFS
99805 # We need space, tab and new line, in precisely that order.
99806 as_nl='
99807 '
99808 IFS="   $as_nl"
99809
99810 # CDPATH.
99811 $as_unset CDPATH
99812
99813 exec 6>&1
99814
99815 # Open the log real soon, to keep \$[0] and so on meaningful, and to
99816 # report actual input values of CONFIG_FILES etc. instead of their
99817 # values after options handling.  Logging --version etc. is OK.
99818 exec 5>>config.log
99819 {
99820   echo
99821   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
99822 ## Running $as_me. ##
99823 _ASBOX
99824 } >&5
99825 cat >&5 <<_CSEOF
99826
99827 This file was extended by package-unused $as_me version-unused, which was
99828 generated by GNU Autoconf 2.59.  Invocation command line was
99829
99830   CONFIG_FILES    = $CONFIG_FILES
99831   CONFIG_HEADERS  = $CONFIG_HEADERS
99832   CONFIG_LINKS    = $CONFIG_LINKS
99833   CONFIG_COMMANDS = $CONFIG_COMMANDS
99834   $ $0 $@
99835
99836 _CSEOF
99837 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
99838 echo >&5
99839 _ACEOF
99840
99841 # Files that config.status was made for.
99842 if test -n "$ac_config_files"; then
99843   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
99844 fi
99845
99846 if test -n "$ac_config_headers"; then
99847   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
99848 fi
99849
99850 if test -n "$ac_config_links"; then
99851   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
99852 fi
99853
99854 if test -n "$ac_config_commands"; then
99855   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
99856 fi
99857
99858 cat >>$CONFIG_STATUS <<\_ACEOF
99859
99860 ac_cs_usage="\
99861 \`$as_me' instantiates files from templates according to the
99862 current configuration.
99863
99864 Usage: $0 [OPTIONS] [FILE]...
99865
99866   -h, --help       print this help, then exit
99867   -V, --version    print version number, then exit
99868   -q, --quiet      do not print progress messages
99869   -d, --debug      don't remove temporary files
99870       --recheck    update $as_me by reconfiguring in the same conditions
99871   --file=FILE[:TEMPLATE]
99872                    instantiate the configuration file FILE
99873   --header=FILE[:TEMPLATE]
99874                    instantiate the configuration header FILE
99875
99876 Configuration files:
99877 $config_files
99878
99879 Configuration headers:
99880 $config_headers
99881
99882 Configuration commands:
99883 $config_commands
99884
99885 Report bugs to <bug-autoconf@gnu.org>."
99886 _ACEOF
99887
99888 cat >>$CONFIG_STATUS <<_ACEOF
99889 ac_cs_version="\\
99890 package-unused config.status version-unused
99891 configured by $0, generated by GNU Autoconf 2.59,
99892   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
99893
99894 Copyright (C) 2003 Free Software Foundation, Inc.
99895 This config.status script is free software; the Free Software Foundation
99896 gives unlimited permission to copy, distribute and modify it."
99897 srcdir=$srcdir
99898 INSTALL="$INSTALL"
99899 _ACEOF
99900
99901 cat >>$CONFIG_STATUS <<\_ACEOF
99902 # If no file are specified by the user, then we need to provide default
99903 # value.  By we need to know if files were specified by the user.
99904 ac_need_defaults=:
99905 while test $# != 0
99906 do
99907   case $1 in
99908   --*=*)
99909     ac_option=`expr "x$1" : 'x\([^=]*\)='`
99910     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
99911     ac_shift=:
99912     ;;
99913   -*)
99914     ac_option=$1
99915     ac_optarg=$2
99916     ac_shift=shift
99917     ;;
99918   *) # This is not an option, so the user has probably given explicit
99919      # arguments.
99920      ac_option=$1
99921      ac_need_defaults=false;;
99922   esac
99923
99924   case $ac_option in
99925   # Handling of the options.
99926 _ACEOF
99927 cat >>$CONFIG_STATUS <<\_ACEOF
99928   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
99929     ac_cs_recheck=: ;;
99930   --version | --vers* | -V )
99931     echo "$ac_cs_version"; exit 0 ;;
99932   --he | --h)
99933     # Conflict between --help and --header
99934     { { echo "$as_me:$LINENO: error: ambiguous option: $1
99935 Try \`$0 --help' for more information." >&5
99936 echo "$as_me: error: ambiguous option: $1
99937 Try \`$0 --help' for more information." >&2;}
99938    { (exit 1); exit 1; }; };;
99939   --help | --hel | -h )
99940     echo "$ac_cs_usage"; exit 0 ;;
99941   --debug | --d* | -d )
99942     debug=: ;;
99943   --file | --fil | --fi | --f )
99944     $ac_shift
99945     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
99946     ac_need_defaults=false;;
99947   --header | --heade | --head | --hea )
99948     $ac_shift
99949     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
99950     ac_need_defaults=false;;
99951   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
99952   | -silent | --silent | --silen | --sile | --sil | --si | --s)
99953     ac_cs_silent=: ;;
99954
99955   # This is an error.
99956   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
99957 Try \`$0 --help' for more information." >&5
99958 echo "$as_me: error: unrecognized option: $1
99959 Try \`$0 --help' for more information." >&2;}
99960    { (exit 1); exit 1; }; } ;;
99961
99962   *) ac_config_targets="$ac_config_targets $1" ;;
99963
99964   esac
99965   shift
99966 done
99967
99968 ac_configure_extra_args=
99969
99970 if $ac_cs_silent; then
99971   exec 6>/dev/null
99972   ac_configure_extra_args="$ac_configure_extra_args --silent"
99973 fi
99974
99975 _ACEOF
99976 cat >>$CONFIG_STATUS <<_ACEOF
99977 if \$ac_cs_recheck; then
99978   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
99979   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
99980 fi
99981
99982 _ACEOF
99983
99984 cat >>$CONFIG_STATUS <<_ACEOF
99985 #
99986 # INIT-COMMANDS section.
99987 #
99988
99989
99990 srcdir="$srcdir"
99991 host="$host"
99992 target="$target"
99993 with_multisubdir="$with_multisubdir"
99994 with_multisrctop="$with_multisrctop"
99995 with_target_subdir="$with_target_subdir"
99996 ac_configure_args="${multilib_arg} ${ac_configure_args}"
99997 multi_basedir="$multi_basedir"
99998 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
99999 CC="$CC"
100000
100001 # Variables needed in config.status (file generation) which aren't already
100002 # passed by autoconf.
100003 SUBDIRS="$SUBDIRS"
100004
100005
100006 _ACEOF
100007
100008
100009
100010 cat >>$CONFIG_STATUS <<\_ACEOF
100011 for ac_config_target in $ac_config_targets
100012 do
100013   case "$ac_config_target" in
100014   # Handling of arguments.
100015   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
100016   "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
100017   "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
100018   "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
100019   "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
100020   "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
100021   "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
100022   "scripts/check_survey" ) CONFIG_FILES="$CONFIG_FILES scripts/check_survey" ;;
100023   "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
100024   "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
100025   "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
100026   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
100027   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
100028 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
100029    { (exit 1); exit 1; }; };;
100030   esac
100031 done
100032
100033 # If the user did not use the arguments to specify the items to instantiate,
100034 # then the envvar interface is used.  Set only those that are not.
100035 # We use the long form for the default assignment because of an extremely
100036 # bizarre bug on SunOS 4.1.3.
100037 if $ac_need_defaults; then
100038   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
100039   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
100040   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
100041 fi
100042
100043 # Have a temporary directory for convenience.  Make it in the build tree
100044 # simply because there is no reason to put it here, and in addition,
100045 # creating and moving files from /tmp can sometimes cause problems.
100046 # Create a temporary directory, and hook for its removal unless debugging.
100047 $debug ||
100048 {
100049   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
100050   trap '{ (exit 1); exit 1; }' 1 2 13 15
100051 }
100052
100053 # Create a (secure) tmp directory for tmp files.
100054
100055 {
100056   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
100057   test -n "$tmp" && test -d "$tmp"
100058 }  ||
100059 {
100060   tmp=./confstat$$-$RANDOM
100061   (umask 077 && mkdir $tmp)
100062 } ||
100063 {
100064    echo "$me: cannot create a temporary directory in ." >&2
100065    { (exit 1); exit 1; }
100066 }
100067
100068 _ACEOF
100069
100070 cat >>$CONFIG_STATUS <<_ACEOF
100071
100072 #
100073 # CONFIG_FILES section.
100074 #
100075
100076 # No need to generate the scripts if there are no CONFIG_FILES.
100077 # This happens for instance when ./config.status config.h
100078 if test -n "\$CONFIG_FILES"; then
100079   # Protect against being on the right side of a sed subst in config.status.
100080   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
100081    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
100082 s,@SHELL@,$SHELL,;t t
100083 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
100084 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
100085 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
100086 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
100087 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
100088 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
100089 s,@exec_prefix@,$exec_prefix,;t t
100090 s,@prefix@,$prefix,;t t
100091 s,@program_transform_name@,$program_transform_name,;t t
100092 s,@bindir@,$bindir,;t t
100093 s,@sbindir@,$sbindir,;t t
100094 s,@libexecdir@,$libexecdir,;t t
100095 s,@datadir@,$datadir,;t t
100096 s,@sysconfdir@,$sysconfdir,;t t
100097 s,@sharedstatedir@,$sharedstatedir,;t t
100098 s,@localstatedir@,$localstatedir,;t t
100099 s,@libdir@,$libdir,;t t
100100 s,@includedir@,$includedir,;t t
100101 s,@oldincludedir@,$oldincludedir,;t t
100102 s,@infodir@,$infodir,;t t
100103 s,@mandir@,$mandir,;t t
100104 s,@build_alias@,$build_alias,;t t
100105 s,@host_alias@,$host_alias,;t t
100106 s,@target_alias@,$target_alias,;t t
100107 s,@DEFS@,$DEFS,;t t
100108 s,@ECHO_C@,$ECHO_C,;t t
100109 s,@ECHO_N@,$ECHO_N,;t t
100110 s,@ECHO_T@,$ECHO_T,;t t
100111 s,@LIBS@,$LIBS,;t t
100112 s,@libtool_VERSION@,$libtool_VERSION,;t t
100113 s,@multi_basedir@,$multi_basedir,;t t
100114 s,@build@,$build,;t t
100115 s,@build_cpu@,$build_cpu,;t t
100116 s,@build_vendor@,$build_vendor,;t t
100117 s,@build_os@,$build_os,;t t
100118 s,@host@,$host,;t t
100119 s,@host_cpu@,$host_cpu,;t t
100120 s,@host_vendor@,$host_vendor,;t t
100121 s,@host_os@,$host_os,;t t
100122 s,@target@,$target,;t t
100123 s,@target_cpu@,$target_cpu,;t t
100124 s,@target_vendor@,$target_vendor,;t t
100125 s,@target_os@,$target_os,;t t
100126 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
100127 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
100128 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
100129 s,@CYGPATH_W@,$CYGPATH_W,;t t
100130 s,@PACKAGE@,$PACKAGE,;t t
100131 s,@VERSION@,$VERSION,;t t
100132 s,@ACLOCAL@,$ACLOCAL,;t t
100133 s,@AUTOCONF@,$AUTOCONF,;t t
100134 s,@AUTOMAKE@,$AUTOMAKE,;t t
100135 s,@AUTOHEADER@,$AUTOHEADER,;t t
100136 s,@MAKEINFO@,$MAKEINFO,;t t
100137 s,@install_sh@,$install_sh,;t t
100138 s,@STRIP@,$STRIP,;t t
100139 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
100140 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
100141 s,@mkdir_p@,$mkdir_p,;t t
100142 s,@AWK@,$AWK,;t t
100143 s,@SET_MAKE@,$SET_MAKE,;t t
100144 s,@am__leading_dot@,$am__leading_dot,;t t
100145 s,@AMTAR@,$AMTAR,;t t
100146 s,@am__tar@,$am__tar,;t t
100147 s,@am__untar@,$am__untar,;t t
100148 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
100149 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
100150 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
100151 s,@CC@,$CC,;t t
100152 s,@ac_ct_CC@,$ac_ct_CC,;t t
100153 s,@EXEEXT@,$EXEEXT,;t t
100154 s,@OBJEXT@,$OBJEXT,;t t
100155 s,@CXX@,$CXX,;t t
100156 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
100157 s,@CFLAGS@,$CFLAGS,;t t
100158 s,@CXXFLAGS@,$CXXFLAGS,;t t
100159 s,@LN_S@,$LN_S,;t t
100160 s,@AS@,$AS,;t t
100161 s,@ac_ct_AS@,$ac_ct_AS,;t t
100162 s,@AR@,$AR,;t t
100163 s,@ac_ct_AR@,$ac_ct_AR,;t t
100164 s,@RANLIB@,$RANLIB,;t t
100165 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
100166 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
100167 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
100168 s,@MAINT@,$MAINT,;t t
100169 s,@LIBTOOL@,$LIBTOOL,;t t
100170 s,@CXXCPP@,$CXXCPP,;t t
100171 s,@CPPFLAGS@,$CPPFLAGS,;t t
100172 s,@enable_shared@,$enable_shared,;t t
100173 s,@enable_static@,$enable_static,;t t
100174 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
100175 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
100176 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
100177 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
100178 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
100179 s,@CSTDIO_H@,$CSTDIO_H,;t t
100180 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
100181 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
100182 s,@CPP@,$CPP,;t t
100183 s,@EGREP@,$EGREP,;t t
100184 s,@check_msgfmt@,$check_msgfmt,;t t
100185 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
100186 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
100187 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
100188 s,@USE_NLS@,$USE_NLS,;t t
100189 s,@CLOCALE_H@,$CLOCALE_H,;t t
100190 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
100191 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
100192 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
100193 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
100194 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
100195 s,@CMONEY_CC@,$CMONEY_CC,;t t
100196 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
100197 s,@CTIME_H@,$CTIME_H,;t t
100198 s,@CTIME_CC@,$CTIME_CC,;t t
100199 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
100200 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
100201 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
100202 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
100203 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
100204 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
100205 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
100206 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
100207 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
100208 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
100209 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
100210 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
100211 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
100212 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
100213 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
100214 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
100215 s,@WERROR@,$WERROR,;t t
100216 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
100217 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
100218 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
100219 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
100220 s,@LIBICONV@,$LIBICONV,;t t
100221 s,@SYMVER_MAP@,$SYMVER_MAP,;t t
100222 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
100223 s,@GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE@,$GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE,;t t
100224 s,@GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE@,$GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE,;t t
100225 s,@baseline_dir@,$baseline_dir,;t t
100226 s,@GLIBCXX_TEST_WCHAR_T_TRUE@,$GLIBCXX_TEST_WCHAR_T_TRUE,;t t
100227 s,@GLIBCXX_TEST_WCHAR_T_FALSE@,$GLIBCXX_TEST_WCHAR_T_FALSE,;t t
100228 s,@GLIBCXX_TEST_THREAD_TRUE@,$GLIBCXX_TEST_THREAD_TRUE,;t t
100229 s,@GLIBCXX_TEST_THREAD_FALSE@,$GLIBCXX_TEST_THREAD_FALSE,;t t
100230 s,@GLIBCXX_TEST_ABI_TRUE@,$GLIBCXX_TEST_ABI_TRUE,;t t
100231 s,@GLIBCXX_TEST_ABI_FALSE@,$GLIBCXX_TEST_ABI_FALSE,;t t
100232 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
100233 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
100234 s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
100235 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
100236 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
100237 s,@gxx_include_dir@,$gxx_include_dir,;t t
100238 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
100239 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
100240 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
100241 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
100242 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
100243 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
100244 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
100245 s,@LIBOBJS@,$LIBOBJS,;t t
100246 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
100247 CEOF
100248
100249 _ACEOF
100250
100251   cat >>$CONFIG_STATUS <<\_ACEOF
100252   # Split the substitutions into bite-sized pieces for seds with
100253   # small command number limits, like on Digital OSF/1 and HP-UX.
100254   ac_max_sed_lines=48
100255   ac_sed_frag=1 # Number of current file.
100256   ac_beg=1 # First line for current file.
100257   ac_end=$ac_max_sed_lines # Line after last line for current file.
100258   ac_more_lines=:
100259   ac_sed_cmds=
100260   while $ac_more_lines; do
100261     if test $ac_beg -gt 1; then
100262       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
100263     else
100264       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
100265     fi
100266     if test ! -s $tmp/subs.frag; then
100267       ac_more_lines=false
100268     else
100269       # The purpose of the label and of the branching condition is to
100270       # speed up the sed processing (if there are no `@' at all, there
100271       # is no need to browse any of the substitutions).
100272       # These are the two extra sed commands mentioned above.
100273       (echo ':t
100274   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
100275       if test -z "$ac_sed_cmds"; then
100276         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
100277       else
100278         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
100279       fi
100280       ac_sed_frag=`expr $ac_sed_frag + 1`
100281       ac_beg=$ac_end
100282       ac_end=`expr $ac_end + $ac_max_sed_lines`
100283     fi
100284   done
100285   if test -z "$ac_sed_cmds"; then
100286     ac_sed_cmds=cat
100287   fi
100288 fi # test -n "$CONFIG_FILES"
100289
100290 _ACEOF
100291 cat >>$CONFIG_STATUS <<\_ACEOF
100292 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
100293   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
100294   case $ac_file in
100295   - | *:- | *:-:* ) # input from stdin
100296         cat >$tmp/stdin
100297         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
100298         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
100299   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
100300         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
100301   * )   ac_file_in=$ac_file.in ;;
100302   esac
100303
100304   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
100305   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
100306 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
100307          X"$ac_file" : 'X\(//\)[^/]' \| \
100308          X"$ac_file" : 'X\(//\)$' \| \
100309          X"$ac_file" : 'X\(/\)' \| \
100310          .     : '\(.\)' 2>/dev/null ||
100311 echo X"$ac_file" |
100312     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
100313           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
100314           /^X\(\/\/\)$/{ s//\1/; q; }
100315           /^X\(\/\).*/{ s//\1/; q; }
100316           s/.*/./; q'`
100317   { if $as_mkdir_p; then
100318     mkdir -p "$ac_dir"
100319   else
100320     as_dir="$ac_dir"
100321     as_dirs=
100322     while test ! -d "$as_dir"; do
100323       as_dirs="$as_dir $as_dirs"
100324       as_dir=`(dirname "$as_dir") 2>/dev/null ||
100325 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
100326          X"$as_dir" : 'X\(//\)[^/]' \| \
100327          X"$as_dir" : 'X\(//\)$' \| \
100328          X"$as_dir" : 'X\(/\)' \| \
100329          .     : '\(.\)' 2>/dev/null ||
100330 echo X"$as_dir" |
100331     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
100332           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
100333           /^X\(\/\/\)$/{ s//\1/; q; }
100334           /^X\(\/\).*/{ s//\1/; q; }
100335           s/.*/./; q'`
100336     done
100337     test ! -n "$as_dirs" || mkdir $as_dirs
100338   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
100339 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
100340    { (exit 1); exit 1; }; }; }
100341
100342   ac_builddir=.
100343
100344 if test "$ac_dir" != .; then
100345   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
100346   # A "../" for each directory in $ac_dir_suffix.
100347   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
100348 else
100349   ac_dir_suffix= ac_top_builddir=
100350 fi
100351
100352 case $srcdir in
100353   .)  # No --srcdir option.  We are building in place.
100354     ac_srcdir=.
100355     if test -z "$ac_top_builddir"; then
100356        ac_top_srcdir=.
100357     else
100358        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
100359     fi ;;
100360   [\\/]* | ?:[\\/]* )  # Absolute path.
100361     ac_srcdir=$srcdir$ac_dir_suffix;
100362     ac_top_srcdir=$srcdir ;;
100363   *) # Relative path.
100364     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
100365     ac_top_srcdir=$ac_top_builddir$srcdir ;;
100366 esac
100367
100368 # Do not use `cd foo && pwd` to compute absolute paths, because
100369 # the directories may not exist.
100370 case `pwd` in
100371 .) ac_abs_builddir="$ac_dir";;
100372 *)
100373   case "$ac_dir" in
100374   .) ac_abs_builddir=`pwd`;;
100375   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
100376   *) ac_abs_builddir=`pwd`/"$ac_dir";;
100377   esac;;
100378 esac
100379 case $ac_abs_builddir in
100380 .) ac_abs_top_builddir=${ac_top_builddir}.;;
100381 *)
100382   case ${ac_top_builddir}. in
100383   .) ac_abs_top_builddir=$ac_abs_builddir;;
100384   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
100385   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
100386   esac;;
100387 esac
100388 case $ac_abs_builddir in
100389 .) ac_abs_srcdir=$ac_srcdir;;
100390 *)
100391   case $ac_srcdir in
100392   .) ac_abs_srcdir=$ac_abs_builddir;;
100393   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
100394   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
100395   esac;;
100396 esac
100397 case $ac_abs_builddir in
100398 .) ac_abs_top_srcdir=$ac_top_srcdir;;
100399 *)
100400   case $ac_top_srcdir in
100401   .) ac_abs_top_srcdir=$ac_abs_builddir;;
100402   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
100403   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
100404   esac;;
100405 esac
100406
100407
100408   case $INSTALL in
100409   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
100410   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
100411   esac
100412
100413   if test x"$ac_file" != x-; then
100414     { echo "$as_me:$LINENO: creating $ac_file" >&5
100415 echo "$as_me: creating $ac_file" >&6;}
100416     rm -f "$ac_file"
100417   fi
100418   # Let's still pretend it is `configure' which instantiates (i.e., don't
100419   # use $as_me), people would be surprised to read:
100420   #    /* config.h.  Generated by config.status.  */
100421   if test x"$ac_file" = x-; then
100422     configure_input=
100423   else
100424     configure_input="$ac_file.  "
100425   fi
100426   configure_input=$configure_input"Generated from `echo $ac_file_in |
100427                                      sed 's,.*/,,'` by configure."
100428
100429   # First look for the input files in the build tree, otherwise in the
100430   # src tree.
100431   ac_file_inputs=`IFS=:
100432     for f in $ac_file_in; do
100433       case $f in
100434       -) echo $tmp/stdin ;;
100435       [\\/$]*)
100436          # Absolute (can't be DOS-style, as IFS=:)
100437          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
100438 echo "$as_me: error: cannot find input file: $f" >&2;}
100439    { (exit 1); exit 1; }; }
100440          echo "$f";;
100441       *) # Relative
100442          if test -f "$f"; then
100443            # Build tree
100444            echo "$f"
100445          elif test -f "$srcdir/$f"; then
100446            # Source tree
100447            echo "$srcdir/$f"
100448          else
100449            # /dev/null tree
100450            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
100451 echo "$as_me: error: cannot find input file: $f" >&2;}
100452    { (exit 1); exit 1; }; }
100453          fi;;
100454       esac
100455     done` || { (exit 1); exit 1; }
100456 _ACEOF
100457 cat >>$CONFIG_STATUS <<_ACEOF
100458   sed "$ac_vpsub
100459 $extrasub
100460 _ACEOF
100461 cat >>$CONFIG_STATUS <<\_ACEOF
100462 :t
100463 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
100464 s,@configure_input@,$configure_input,;t t
100465 s,@srcdir@,$ac_srcdir,;t t
100466 s,@abs_srcdir@,$ac_abs_srcdir,;t t
100467 s,@top_srcdir@,$ac_top_srcdir,;t t
100468 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
100469 s,@builddir@,$ac_builddir,;t t
100470 s,@abs_builddir@,$ac_abs_builddir,;t t
100471 s,@top_builddir@,$ac_top_builddir,;t t
100472 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
100473 s,@INSTALL@,$ac_INSTALL,;t t
100474 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
100475   rm -f $tmp/stdin
100476   if test x"$ac_file" != x-; then
100477     mv $tmp/out $ac_file
100478   else
100479     cat $tmp/out
100480     rm -f $tmp/out
100481   fi
100482
100483   # Run the commands associated with the file.
100484   case $ac_file in
100485     scripts/check_survey ) chmod +x scripts/check_survey ;;
100486     scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
100487   esac
100488 done
100489 _ACEOF
100490 cat >>$CONFIG_STATUS <<\_ACEOF
100491
100492 #
100493 # CONFIG_HEADER section.
100494 #
100495
100496 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
100497 # NAME is the cpp macro being defined and VALUE is the value it is being given.
100498 #
100499 # ac_d sets the value in "#define NAME VALUE" lines.
100500 ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
100501 ac_dB='[         ].*$,\1#\2'
100502 ac_dC=' '
100503 ac_dD=',;t'
100504 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
100505 ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
100506 ac_uB='$,\1#\2define\3'
100507 ac_uC=' '
100508 ac_uD=',;t'
100509
100510 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
100511   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
100512   case $ac_file in
100513   - | *:- | *:-:* ) # input from stdin
100514         cat >$tmp/stdin
100515         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
100516         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
100517   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
100518         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
100519   * )   ac_file_in=$ac_file.in ;;
100520   esac
100521
100522   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
100523 echo "$as_me: creating $ac_file" >&6;}
100524
100525   # First look for the input files in the build tree, otherwise in the
100526   # src tree.
100527   ac_file_inputs=`IFS=:
100528     for f in $ac_file_in; do
100529       case $f in
100530       -) echo $tmp/stdin ;;
100531       [\\/$]*)
100532          # Absolute (can't be DOS-style, as IFS=:)
100533          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
100534 echo "$as_me: error: cannot find input file: $f" >&2;}
100535    { (exit 1); exit 1; }; }
100536          # Do quote $f, to prevent DOS paths from being IFS'd.
100537          echo "$f";;
100538       *) # Relative
100539          if test -f "$f"; then
100540            # Build tree
100541            echo "$f"
100542          elif test -f "$srcdir/$f"; then
100543            # Source tree
100544            echo "$srcdir/$f"
100545          else
100546            # /dev/null tree
100547            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
100548 echo "$as_me: error: cannot find input file: $f" >&2;}
100549    { (exit 1); exit 1; }; }
100550          fi;;
100551       esac
100552     done` || { (exit 1); exit 1; }
100553   # Remove the trailing spaces.
100554   sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
100555
100556 _ACEOF
100557
100558 # Transform confdefs.h into two sed scripts, `conftest.defines' and
100559 # `conftest.undefs', that substitutes the proper values into
100560 # config.h.in to produce config.h.  The first handles `#define'
100561 # templates, and the second `#undef' templates.
100562 # And first: Protect against being on the right side of a sed subst in
100563 # config.status.  Protect against being in an unquoted here document
100564 # in config.status.
100565 rm -f conftest.defines conftest.undefs
100566 # Using a here document instead of a string reduces the quoting nightmare.
100567 # Putting comments in sed scripts is not portable.
100568 #
100569 # `end' is used to avoid that the second main sed command (meant for
100570 # 0-ary CPP macros) applies to n-ary macro definitions.
100571 # See the Autoconf documentation for `clear'.
100572 cat >confdef2sed.sed <<\_ACEOF
100573 s/[\\&,]/\\&/g
100574 s,[\\$`],\\&,g
100575 t clear
100576 : clear
100577 s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
100578 t end
100579 s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
100580 : end
100581 _ACEOF
100582 # If some macros were called several times there might be several times
100583 # the same #defines, which is useless.  Nevertheless, we may not want to
100584 # sort them, since we want the *last* AC-DEFINE to be honored.
100585 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
100586 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
100587 rm -f confdef2sed.sed
100588
100589 # This sed command replaces #undef with comments.  This is necessary, for
100590 # example, in the case of _POSIX_SOURCE, which is predefined and required
100591 # on some systems where configure will not decide to define it.
100592 cat >>conftest.undefs <<\_ACEOF
100593 s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
100594 _ACEOF
100595
100596 # Break up conftest.defines because some shells have a limit on the size
100597 # of here documents, and old seds have small limits too (100 cmds).
100598 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
100599 echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
100600 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
100601 echo '  :' >>$CONFIG_STATUS
100602 rm -f conftest.tail
100603 while grep . conftest.defines >/dev/null
100604 do
100605   # Write a limited-size here document to $tmp/defines.sed.
100606   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
100607   # Speed up: don't consider the non `#define' lines.
100608   echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
100609   # Work around the forget-to-reset-the-flag bug.
100610   echo 't clr' >>$CONFIG_STATUS
100611   echo ': clr' >>$CONFIG_STATUS
100612   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
100613   echo 'CEOF
100614   sed -f $tmp/defines.sed $tmp/in >$tmp/out
100615   rm -f $tmp/in
100616   mv $tmp/out $tmp/in
100617 ' >>$CONFIG_STATUS
100618   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
100619   rm -f conftest.defines
100620   mv conftest.tail conftest.defines
100621 done
100622 rm -f conftest.defines
100623 echo '  fi # grep' >>$CONFIG_STATUS
100624 echo >>$CONFIG_STATUS
100625
100626 # Break up conftest.undefs because some shells have a limit on the size
100627 # of here documents, and old seds have small limits too (100 cmds).
100628 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
100629 rm -f conftest.tail
100630 while grep . conftest.undefs >/dev/null
100631 do
100632   # Write a limited-size here document to $tmp/undefs.sed.
100633   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
100634   # Speed up: don't consider the non `#undef'
100635   echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
100636   # Work around the forget-to-reset-the-flag bug.
100637   echo 't clr' >>$CONFIG_STATUS
100638   echo ': clr' >>$CONFIG_STATUS
100639   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
100640   echo 'CEOF
100641   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
100642   rm -f $tmp/in
100643   mv $tmp/out $tmp/in
100644 ' >>$CONFIG_STATUS
100645   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
100646   rm -f conftest.undefs
100647   mv conftest.tail conftest.undefs
100648 done
100649 rm -f conftest.undefs
100650
100651 cat >>$CONFIG_STATUS <<\_ACEOF
100652   # Let's still pretend it is `configure' which instantiates (i.e., don't
100653   # use $as_me), people would be surprised to read:
100654   #    /* config.h.  Generated by config.status.  */
100655   if test x"$ac_file" = x-; then
100656     echo "/* Generated by configure.  */" >$tmp/config.h
100657   else
100658     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
100659   fi
100660   cat $tmp/in >>$tmp/config.h
100661   rm -f $tmp/in
100662   if test x"$ac_file" != x-; then
100663     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
100664       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
100665 echo "$as_me: $ac_file is unchanged" >&6;}
100666     else
100667       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
100668 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
100669          X"$ac_file" : 'X\(//\)[^/]' \| \
100670          X"$ac_file" : 'X\(//\)$' \| \
100671          X"$ac_file" : 'X\(/\)' \| \
100672          .     : '\(.\)' 2>/dev/null ||
100673 echo X"$ac_file" |
100674     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
100675           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
100676           /^X\(\/\/\)$/{ s//\1/; q; }
100677           /^X\(\/\).*/{ s//\1/; q; }
100678           s/.*/./; q'`
100679       { if $as_mkdir_p; then
100680     mkdir -p "$ac_dir"
100681   else
100682     as_dir="$ac_dir"
100683     as_dirs=
100684     while test ! -d "$as_dir"; do
100685       as_dirs="$as_dir $as_dirs"
100686       as_dir=`(dirname "$as_dir") 2>/dev/null ||
100687 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
100688          X"$as_dir" : 'X\(//\)[^/]' \| \
100689          X"$as_dir" : 'X\(//\)$' \| \
100690          X"$as_dir" : 'X\(/\)' \| \
100691          .     : '\(.\)' 2>/dev/null ||
100692 echo X"$as_dir" |
100693     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
100694           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
100695           /^X\(\/\/\)$/{ s//\1/; q; }
100696           /^X\(\/\).*/{ s//\1/; q; }
100697           s/.*/./; q'`
100698     done
100699     test ! -n "$as_dirs" || mkdir $as_dirs
100700   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
100701 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
100702    { (exit 1); exit 1; }; }; }
100703
100704       rm -f $ac_file
100705       mv $tmp/config.h $ac_file
100706     fi
100707   else
100708     cat $tmp/config.h
100709     rm -f $tmp/config.h
100710   fi
100711 # Compute $ac_file's index in $config_headers.
100712 _am_stamp_count=1
100713 for _am_header in $config_headers :; do
100714   case $_am_header in
100715     $ac_file | $ac_file:* )
100716       break ;;
100717     * )
100718       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
100719   esac
100720 done
100721 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
100722 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
100723          X$ac_file : 'X\(//\)[^/]' \| \
100724          X$ac_file : 'X\(//\)$' \| \
100725          X$ac_file : 'X\(/\)' \| \
100726          .     : '\(.\)' 2>/dev/null ||
100727 echo X$ac_file |
100728     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
100729           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
100730           /^X\(\/\/\)$/{ s//\1/; q; }
100731           /^X\(\/\).*/{ s//\1/; q; }
100732           s/.*/./; q'`/stamp-h$_am_stamp_count
100733 done
100734 _ACEOF
100735 cat >>$CONFIG_STATUS <<\_ACEOF
100736
100737 #
100738 # CONFIG_COMMANDS section.
100739 #
100740 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
100741   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
100742   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
100743   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
100744 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
100745          X"$ac_dest" : 'X\(//\)[^/]' \| \
100746          X"$ac_dest" : 'X\(//\)$' \| \
100747          X"$ac_dest" : 'X\(/\)' \| \
100748          .     : '\(.\)' 2>/dev/null ||
100749 echo X"$ac_dest" |
100750     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
100751           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
100752           /^X\(\/\/\)$/{ s//\1/; q; }
100753           /^X\(\/\).*/{ s//\1/; q; }
100754           s/.*/./; q'`
100755   { if $as_mkdir_p; then
100756     mkdir -p "$ac_dir"
100757   else
100758     as_dir="$ac_dir"
100759     as_dirs=
100760     while test ! -d "$as_dir"; do
100761       as_dirs="$as_dir $as_dirs"
100762       as_dir=`(dirname "$as_dir") 2>/dev/null ||
100763 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
100764          X"$as_dir" : 'X\(//\)[^/]' \| \
100765          X"$as_dir" : 'X\(//\)$' \| \
100766          X"$as_dir" : 'X\(/\)' \| \
100767          .     : '\(.\)' 2>/dev/null ||
100768 echo X"$as_dir" |
100769     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
100770           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
100771           /^X\(\/\/\)$/{ s//\1/; q; }
100772           /^X\(\/\).*/{ s//\1/; q; }
100773           s/.*/./; q'`
100774     done
100775     test ! -n "$as_dirs" || mkdir $as_dirs
100776   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
100777 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
100778    { (exit 1); exit 1; }; }; }
100779
100780   ac_builddir=.
100781
100782 if test "$ac_dir" != .; then
100783   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
100784   # A "../" for each directory in $ac_dir_suffix.
100785   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
100786 else
100787   ac_dir_suffix= ac_top_builddir=
100788 fi
100789
100790 case $srcdir in
100791   .)  # No --srcdir option.  We are building in place.
100792     ac_srcdir=.
100793     if test -z "$ac_top_builddir"; then
100794        ac_top_srcdir=.
100795     else
100796        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
100797     fi ;;
100798   [\\/]* | ?:[\\/]* )  # Absolute path.
100799     ac_srcdir=$srcdir$ac_dir_suffix;
100800     ac_top_srcdir=$srcdir ;;
100801   *) # Relative path.
100802     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
100803     ac_top_srcdir=$ac_top_builddir$srcdir ;;
100804 esac
100805
100806 # Do not use `cd foo && pwd` to compute absolute paths, because
100807 # the directories may not exist.
100808 case `pwd` in
100809 .) ac_abs_builddir="$ac_dir";;
100810 *)
100811   case "$ac_dir" in
100812   .) ac_abs_builddir=`pwd`;;
100813   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
100814   *) ac_abs_builddir=`pwd`/"$ac_dir";;
100815   esac;;
100816 esac
100817 case $ac_abs_builddir in
100818 .) ac_abs_top_builddir=${ac_top_builddir}.;;
100819 *)
100820   case ${ac_top_builddir}. in
100821   .) ac_abs_top_builddir=$ac_abs_builddir;;
100822   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
100823   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
100824   esac;;
100825 esac
100826 case $ac_abs_builddir in
100827 .) ac_abs_srcdir=$ac_srcdir;;
100828 *)
100829   case $ac_srcdir in
100830   .) ac_abs_srcdir=$ac_abs_builddir;;
100831   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
100832   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
100833   esac;;
100834 esac
100835 case $ac_abs_builddir in
100836 .) ac_abs_top_srcdir=$ac_top_srcdir;;
100837 *)
100838   case $ac_top_srcdir in
100839   .) ac_abs_top_srcdir=$ac_abs_builddir;;
100840   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
100841   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
100842   esac;;
100843 esac
100844
100845
100846   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
100847 echo "$as_me: executing $ac_dest commands" >&6;}
100848   case $ac_dest in
100849     default-1 )
100850 # Only add multilib support code if we just rebuilt the top-level
100851 # Makefile.
100852 case " $CONFIG_FILES " in
100853  *" Makefile "*)
100854    ac_file=Makefile . ${multi_basedir}/config-ml.in
100855    ;;
100856 esac ;;
100857     default ) if test -n "$CONFIG_FILES"; then
100858    # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
100859    # that multilib installs will end up installed in the correct place.
100860    # The testsuite needs it for multilib-aware ABI baseline files.
100861    # To work around this not being passed down from config-ml.in ->
100862    # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
100863    # append it here.  Only modify Makefiles that have just been created.
100864    #
100865    # Also, get rid of this simulated-VPATH thing that automake does.
100866    cat > vpsed << \_EOF
100867 s!`test -f '$<' || echo '$(srcdir)/'`!!
100868 _EOF
100869    for i in $SUBDIRS; do
100870     case $CONFIG_FILES in
100871      *${i}/Makefile*)
100872        #echo "Adding MULTISUBDIR to $i/Makefile"
100873        sed -f vpsed $i/Makefile > tmp
100874        grep '^MULTISUBDIR =' Makefile >> tmp
100875        mv tmp $i/Makefile
100876        ;;
100877     esac
100878    done
100879    rm vpsed
100880  fi
100881  (cd include && ${MAKE-make})
100882  ;;
100883   esac
100884 done
100885 _ACEOF
100886
100887 cat >>$CONFIG_STATUS <<\_ACEOF
100888
100889 { (exit 0); exit 0; }
100890 _ACEOF
100891 chmod +x $CONFIG_STATUS
100892 ac_clean_files=$ac_clean_files_save
100893
100894
100895 # configure is writing to config.log, and then calls config.status.
100896 # config.status does its own redirection, appending to config.log.
100897 # Unfortunately, on DOS this fails, as config.log is still kept open
100898 # by configure, so config.status won't be able to write to it; its
100899 # output is simply discarded.  So we exec the FD to /dev/null,
100900 # effectively closing config.log, so it can be properly (re)opened and
100901 # appended to by config.status.  When coming back to configure, we
100902 # need to make the FD available again.
100903 if test "$no_create" != yes; then
100904   ac_cs_success=:
100905   ac_config_status_args=
100906   test "$silent" = yes &&
100907     ac_config_status_args="$ac_config_status_args --quiet"
100908   exec 5>/dev/null
100909   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
100910   exec 5>>config.log
100911   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
100912   # would make configure fail if this is the last instruction.
100913   $ac_cs_success || { (exit 1); exit 1; }
100914 fi
100915